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

Plutonium

Matrixundefined

Matrix

@Matrix
Plutonium Staff
About
Posts
47
Topics
3
Shares
0
Groups
2
Followers
56
Following
37

Posts

Recent Best Controversial

  • onplayercommand gsc code
    Matrixundefined Matrix

    mikzy said in onplayercommand gsc code:

    onCustomCommand() {
        self endon( "disconnect" );
        
        for(;;) 
        {
            self waittill( "custom_cmd", command );
            
            if( command == "cmd_streaks" ) {
                maps/mp/gametypes/_globallogic_score::_setplayermomentum(player,9999);
            }
        }
    

    theoretically, would this work or not (like shake servers)? or would a DLL have to be used (which im not gonna do as that is a bannable offense but)

    Im 99% sure you've asked me this before. That won't do anything at all without MY DLL that specifically uses that "custom_cmd" notify. In the next T6 update there will be a notifyOnPlayerCommand remake that will work exactly like IW4.

    BO2 Modding Support & Discussion

  • [Resource] Ladder Mod
    Matrixundefined Matrix

    homura said in Ladder Mod:

    Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

    I am curious though, how come you say store it in level?

    Changing the dvar once affects everyone in the game playing. No reason to have multiple variables toggling the same thing. If one "self" sets it to true, the mod is active for everyone in the game while the variable is still false for everyone else. Logically doesn't make any sense

    BO2 Modding Releases & Resources

  • [Support] Looking for bounces
    Matrixundefined Matrix

    NaqzYTH said in Looking for bounces:

    I am looking for a bounces gsc file since the exe will get you banned when the anti-cheat comes out but cannot find it can someone help?

    When the update comes out the exe will be automatically replaced with the correct one. So you are safe to use that one until then. Bounce depatch will also be included as a dvar in the next update as said here so you won't need a gsc script for it then

    BO2 Modding Support & Discussion

  • Any ideas on how to debug GSC caused crashes
    Matrixundefined Matrix

    ImVeryTwisted said in Any ideas on how to debug GSC caused crashes:

    Hi there,
    I’m aware I made an older post around this issue but felt this belongs in a new thread. My sever crashes hourly, as a result of testing it’s obvious this is caused by poorly written gsc. Does anybody know how i can debug this to figure out where I’ve messed up in my gsc. I know from previous experience in C# that memory leaks and incorrect threading can cause these crashes too. Obviously I could rewrite my gsc but i doubt that’ll fix it as its my code is mostly the cause of the issue. Any ideas?

    It's unlikely the GSC would cause a server to crash after multiple games. The game is very good about clearing things out on map rotations and restarts. If the gsc was the problem you'd likely see a crash every game

    BO2 Server Hosting Support

  • [Support] How could I change map rotation dynamically?
    Matrixundefined Matrix

    ImVeryTwisted said in How could I change map rotation dynamically?:

    Hi there, Im working on a map voting system that appears when a game has ended. I’m a little confused to the this since the maps are statistically added in the dedicated.cfg. How would I go about changing the map in gsc?

    SetDvar( "sv_mapRotationCurrent", "mp_carrier" );

    BO2 Modding Support & Discussion

  • [Support] can't get last cooldown to work in game?
    Matrixundefined Matrix

    @MrDucxy said in can't get last cooldown to work in game?:

    onLastReached() {
        self endon( "disconnect" );
        self endon( "cooldownSet" );
       
        self.lastCooldown = true;
           
        for(;;) {
            if( self.lastCooldown && ((level.scorelimit - self.pers["kills"]) == 1) ) {
                self.lastCooldown = false;
                self freezeControls( true );
                self enableInvulnerability();
                self iPrintlnBold("^4YOU'RE ON LAST!");
                wait 1.25;
                self freezeControls( false );
                self disableInvulnerability();
                self notify( "cooldownSet" );
            }
           
            wait 0.25;
        }
    }
    

    looks familiar 😛

    BO2 Modding Support & Discussion gsc black ops 2

  • In-game chat colored names
    Matrixundefined Matrix

    Jax said in In-game chat colored names:

    next update will remove the ability to edit the game's memory and use it on a server but matrix did say he found a way around it

    I don't know where you're getting that information from, but I've never said that or that I have a way around the anti cheat because I don't

    BO2 Server Hosting Support
  • 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