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

Plutonium

Sorexundefined

Sorex

@Sorex
Contributor
About
Posts
696
Topics
34
Shares
0
Groups
1
Followers
160
Following
0

Posts

Recent Best Controversial

  • Is there a tutorial or tips for combining GSC scripts?
    Sorexundefined Sorex

    @misumiel yes, you can find something just google it

    BO2 Modding Support & Discussion

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    Sorexundefined Sorex

    noraze i have ADS to, just don't keep press the button, press it to change then release it

    BO2 Modding Releases & Resources gsc gsc script mapvote

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    Sorexundefined Sorex

    noraze You have to press and then release the key. If you keep pressing it, it is normal for it to go on

    BO2 Modding Releases & Resources gsc gsc script mapvote

  • Requesting help
    Sorexundefined Sorex

    Rassel
    Im DoktorSAS. Yes is 100% an overflow problem
    To fix it you need to clear string everytime after a limit

    init(){
    	level thread overflow_fix();
    }
    
    overflow_fix(){
    	level endon("game_ended");
    	level.isOverflow = false;
        level waittill("connected", player);
        level thread overflowfix();
        level.stringtable = [];
        level.textelementtable = [];
        textanchor = CreateServerFontString("default", 1);
        textanchor SetElementText("Anchor");
        textanchor.alpha = 0; 
        limit = 54;
        if (IsDefined(level.stringoptimization))
            limit += 172;
        while(!level.gameended){      
            if (IsDefined(level.stringoptimization) && level.stringtable.size >= 100 && !IsDefined(textanchor2)){
                textanchor2 = CreateServerFontString("default", 1);
                textanchor2 SetElementText("Anchor2");                
                textanchor2.alpha = 0; 
            }
            if (level.stringtable.size >= limit){
            		foreach(player in level.players){
            	 		player.isO = true;
                		        //inside this space put the not neaded text to ""
                                    // like player.endG SetElementText(&"");
                		       player.isO = false;
            		}
            	}
                if (IsDefined(textanchor2)){
                    textanchor2 ClearAllTextAfterHudElem();
                    textanchor2 DestroyElement();
                } 
                textanchor ClearAllTextAfterHudElem();
                level.stringtable = [];           
                foreach (textelement in level.textelementtable){
                    if (!IsDefined(self.label))
                        textelement SetElementText(textelement.text);
                    else
                        textelement SetElementValueText(textelement.text);
                }
            }            
            wait 0.01;
        }
    }
    

    Use this function to change text or text value

    SetElementText(text){
    	if(!self.isO){
        	self SetText(text);
        	if (self.text != text)
           		self.text = text;
        	if (!IsInArray(level.stringtable, text))
            	level.stringtable[level.stringtable.size] = text;
        	if (!IsInArray(level.textelementtable, self))
            	level.textelementtable[level.textelementtable.size] = self;
            level notify("textset");
        }
    }
    SetElementValueText(text){
    	if(!self.isO){
        	self.label = &"" + text;  
        	if (self.text != text)
           	 	self.text = text;
       		if (!IsInArray(level.stringtable, text))
            	level.stringtable[level.stringtable.size] = text;
        	if (!IsInArray(level.textelementtable, self))
            	level.textelementtable[level.textelementtable.size] = self;
            level notify("textset");
        }
    }
    DestroyElement(){
        if (IsInArray(level.textelementtable, self))
            ArrayRemoveValue(level.textelementtable, self);
        if (IsDefined(self.elemtype)){
            self.frame Destroy();
            self.bar Destroy();
            self.barframe Destroy();
        }       
        self Destroy();
    }
    
    BO2 Modding Support & Discussion

  • Server does not appear to me
    Sorexundefined Sorex

    @misumiel

    1. Where you host the server?
    2. The firewall ports are open?
    3. If you host server on your pc have you opened the firewall ports of your modem?
    BO2 Server Hosting Support

  • Dedicated section to common problems
    Sorexundefined Sorex

    @Mr-Android
    Mine is still an idea, certainly somehow it is realizable.
    Obviously I am proposing an idea that can help you, there is no problem if it is not realizable or not and if it will not change anything.

    Obviously it takes some time, but you'd better dedicate it to Black ops 2 and Modern Warfare 3

    I appreciate that you have read the message and that you have analyzed the possibility of a solution of this kind.

    General Discussion

  • ogni volta che apro cod mi si richiude
    Sorexundefined Sorex

    5omb3r Avvia il piry ancora a verifica di avere tutti i file prima di tutto. Se non va cosi prova a cercare l'errore su google, segui il video so come sistemare e prova ancora

    BO2 Client Support

  • Do I need to have two games? One for the server and one for me to be able to play?
    Sorexundefined Sorex

    Misumi'El You can host server with your game files, you don't need two games to host a server and play. But if you want host a real server u need a Virtual Machine (is not free) with inside the game

    BO2 Server Hosting Support

  • Help me understand Bots
    Sorexundefined Sorex

    MrModz google it, write on google "How to add bots on bo2 GSC"

    BO2 Modding Support & Discussion

  • [Release] Change zombies Speed v1.0.1
    Sorexundefined Sorex

    Change Zombies Speed

    Fixed for Plutonium by DoktorSAS

    How to make the code work?

    1. Put the function change_zombies_speed() inside your mod file
    2. Call level thread change_zombies_speed(); in your init function

    Full code

    /* 
        [[---------------------------------------------------------------------------]]
    	Fixed for Plutonium by DoktorSAS
    	Discord: Discord.io/Sorex
    	The code changes the speed of the zombies when they are in the sprinting phase
    	There 4 different speed for zombies with this system.
    	1. walk   		-> Walking Zombies
    	2. sprint 		-> Sprinting Zombies
    	3. run 			-> Running Zombies
    	4. super_sprint -> Fast running zombies
    	[[---------------------------------------------------------------------------]]
    */
    init(){
    	/*
    		[[---------------------------------------------------------------------------]]
    		To make the code work you have to write level thread change_zombies_speed(); 
    		inside your init function
    		[[---------------------------------------------------------------------------]]
    	*/
    	level thread change_zombies_speed(); 
    }
    change_zombies_speed(){
    	level endon("end_game");
    	sprint = "super_sprint"; //Change this variable to change speed
    	can_sprint = false;
     	while(true){
     		can_sprint = false; 
        	zombies = getAiArray(level.zombie_team);
        	foreach(zombie in zombies)
        	if(!isDefined(zombie.cloned_distance))
        		zombie.cloned_distance = zombie.origin;
        	else if(distance(zombie.cloned_distance, zombie.origin) > 15){
        		can_sprint = true;
        		zombie.cloned_distance = zombie.origin;
        		if(zombie.zombie_move_speed == "run" || zombie.zombie_move_speed != sprint)
        			zombie maps/mp/zombies/_zm_utility::set_zombie_run_cycle(sprint);
        	}else if(distance(zombie.cloned_distance, zombie.origin) <= 15){
        		can_sprint = false;
        		zombie.cloned_distance = zombie.origin;
        		zombie maps/mp/zombies/_zm_utility::set_zombie_run_cycle("run");
        	}
        	wait 0.25;
        }
    }
    

    Bug Fixed in v1.0.1:

    • Zombies now can remove the wooden barrier from the window

    Credits for base code to ProjectSynergy

    BO2 Modding Releases & Resources

  • [Release] Black ops II Zombies: GunGame
    Sorexundefined Sorex

    @PrincessYoshi yea, now im on my new pc, i probaly left the gun in the weapon rotation, you can remove it from the self.weapons and taht should fix it. Now i release a code for zombies speed and then i'll fix it. Continue to report bugs and problem i'll fix everything 👍

    BO2 Modding Releases & Resources

  • Question about movement dvars
    Sorexundefined Sorex

    SpicySpider The zombies have 3 status of speed, "run", "walk" and "sprint"/"super_sprint" you can change all "sprint" status to "super_sprint". But you have to do manualy and set it foreach zombies in the game

    BO2 Modding Support & Discussion

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    Sorexundefined Sorex

    RayAUS if you edit the file you have to use a gsc converter to make the code working on your server. You can use GSC studio or a GSC Compiler

    BO2 Modding Releases & Resources gsc gsc script mapvote

  • Recommended VPS specs? Interested in setting up servers with 0 downtime
    Sorexundefined Sorex

    @TheJoeyDComplex
    I use Mixmlhosting but is not 20 CAD i pay 24 US $ for month for 6 modded zombies server, 1 multiplayer and 1 IW4X,

    I advise you to bet on in I9 and 10 gb of ram or an i7 and 12 gb of ram.

    I have an I7 and 10gb of ram, it is however eight servers keep them. In order not to risk I suggest you to take a better package

    BO2 Server Hosting Support

  • Question about movement dvars
    Sorexundefined Sorex

    SpicySpider you can try to use g_speed to change all players speed. Or if you want change the speed only of a player you can use

    setVelocity( number )
    
    BO2 Modding Support & Discussion

  • [Release] Player bullet was off (meters) from victim
    Sorexundefined Sorex

    mikey To do that you can use the EB code, you can find the code for this type of EB online, is a free to use.
    I don't know why you keep calling radius and mixDist for every single shoot, is not necessary.

    watch_player_near(){
    	radius = 100;
     	for(;;) {
            self waittill("weapon_fired");
            end = vectorScale(anglestoforward(self getPlayerAngles()), 1000000);
            forward = self getTagOrigin("j_head"); 
            predictedLoc = bulletTrace( forward, end, false, self )["position"];
            
            foreach(player in level.players) {
              
                if( isAlive(player) && player != self || (player.team != self.team && level.teamBased) ){
                    if(distance(player.origin, predictedLoc) < radius)
                    	self iprintln("Shot ^6" + int(distance(self.origin, player.origin)*0.0254) + " ^7meters off of ^6" + player.name);
                }
            } 
    	}
    }
    

    I don't know why you use a maximum distance, everyone can be hit if you don't have a limit (like in my servers, in my server you can hit enemy to close).
    The attacker is not defined in this function. I don't know what is the point of calling the attacker.

    BO2 Modding Releases & Resources

  • Game Crashes When Loading Into Servers
    Sorexundefined Sorex

    PsyK You have 10 classes?

    BO2 Client Support

  • Dedicated section to common problems
    Sorexundefined Sorex

    Dss0 Can't you try to highlight those options better? Users ask like 100 thousand questions all the same, I am currently creating virtual machines to make all possible errors appear.
    For every error I will make the guide for the solution.

    An other idea is try to modify the site, perhaps monitoring the accesses, like if a user have less than 10 accesses he will see in evidence the pages dedicated to the support on the client

    It can be a solution that helps you manage new users 👍

    General Discussion

  • how i open the server list??
    Sorexundefined Sorex

    mmutis press F10 or Home button

    BO2 Client Support

  • Dedicated section to common problems
    Sorexundefined Sorex

    In the sections of BO2 and MW3 I very often see many users asking for help on the same problems.
    In my opinion creating a dedicated section you have common problems can simplify the users to solve the problem and can help the staff to indicate the solution.

    General 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