Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

xensikundefined

xensik

@xensik
About
Posts
26
Topics
3
Shares
0
Groups
1
Followers
20
Following
27

Posts

Recent Best Controversial

  • [BUG] Entity fields spam
    xensikundefined xensik

    ??????? im talking about calling entity fields in a short period of time. dont have nothing to be with use_hold or playerDamage, u can crash then in other many ways, this was just an example.

    MW3 Modding Support & Discussion

  • Plutonium IW5 - The future of scripting
    xensikundefined xensik

    A comeback to Lua?

    Announcements

  • [BUG] Entity fields spam
    xensikundefined xensik

    When you make calls to entity fields in a short period of time it crashes.

    chai code to reproduce:
    (go to Search & Destroy and spam the plant bomb button for example, the same happen onPlayerDamage that gets called a lot of times per second while shooting)

    def onPlayerConnected(args)
    {
        var player = args[0];
        player.onNotify("use_hold", fun[player](args)
        {
            player.iprintln("planting...");
            var origin = player.get("origin"); // make a field call and spam de F button
        });
    }
    
    level.onNotify("connected", onPlayerConnected);
    

    if you can take a look at field implementation stability
    Sin título.jpg

    MW3 Modding Support & Discussion

  • [Feature Request] Add plugin callback on_frame
    xensikundefined xensik

    I asume you already hook the game frame. If you can provide a new callback for plugins that gets trigger on every frame. So we dont have to install a hook for every plugin.

    DLL_EXPORT void on_frame()
    {
    
    }
    

    It will be handy to play with timers.

    MW3 Modding Support & Discussion
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate