Coder Social home page Coder Social logo

Comments (6)

Misiur avatar Misiur commented on June 5, 2024

It seems the OPU doesn't have any kind of rate limiter. I think we could try something like

#if defined AREAS_USE_TIMER
    ptask Area_Loop[200](playerid)
#else
    hook OnPlayerUpdate(playerid)
#endif
{
//(...)
}

And use code from OPU.

from ysi-includes.

Crayder avatar Crayder commented on June 5, 2024

It looks like it could work, but I wonder what he was planning there...

from ysi-includes.

Y-Less avatar Y-Less commented on June 5, 2024

I planned many many things, then frequently forgot them and came back years later only to wonder why I left code half finished in a weird way... I can only assume that it was done thins way for response times, but OPU is most likely overkill.

The best thing to do in cases like that is look at old versions. If a feature is never completed it likely won't give an error, it just won't be usable at all. If you get a compiler error for certain settings it usually means that it used to work but I removed it for some reason and wanted to alert anyone that was using that method.

from ysi-includes.

Misiur avatar Misiur commented on June 5, 2024

All I could find was initial commit, and pawn-lang/YSI@1286b8d . @Crayder if you are interested, just try using the current OPU body but with timer, then run the YSI-Test-Suite or test ingame.

from ysi-includes.

Y-Less avatar Y-Less commented on June 5, 2024

Check the "master" branch from before files got moved about - a lot of data appears to be an initial commit when it isn't because earlier commits were in a different place. Git can't handle file renames, it does them as a delete and an add so there's no way to see the continuation between the two.

from ysi-includes.

Misiur avatar Misiur commented on June 5, 2024

There's only "first commit" before that with single README file, so before 14 april 2012 there's no more history :(

from ysi-includes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.