DylanBeast777 The best way to learn GSC syntax is to read the stock scripts for the game you want to make mods for.
JezuzLizard
Posts
-
How can I create an array within a GSC script? I keep getting syntax errors. -
What could be the possible cause for this script error mid game? Zombies Tranzit.DylanBeast777 Well the error means you ran out of child script variables. This happened because you have a child variable leak in one or multiple of your scripts. Unfortunately this isn't an easy issue to fix but to help you can use fed's t6-gsc-utils and look at the child variables dump it produces in the minidumps folder when such as an error occurs. This will give you an idea of what functions might be leaking child variables. To fix this in these functions you need to either end the old threads if you are spawning new ones or you need to clear old variables that you aren't using by setting them to be undefined.
-
Waw custom maps arent workingCT_lucifer The error is pretty self explanatory. It means that the mod used a linker that linked the fastfile for a higher version than T4 supports. This mod was likely made for T5 and is therefore not backwards compatible.
Next time make your own topic instead of necroing some random unrelated one.
//Locked
-
What could be the possible cause for this script error mid game? Zombies Tranzit.DylanBeast777 Are you running mods?
-
BO2 zombie rounds restarting after 5th player join.omarionr You need to run the updater to download the patch file that fixes this. Its in the scripts folder so don't delete it next time.
-
Someone help me change the graphics settings for Plutonium Bootstrapper.asdfguejebx What do you have your max fps set to? You can try limiting your fps to 60 by using com_maxfps 60 in the console. This works for all games we support.
-
Feature Request: Whitelisting WARP from VPN ban.Paracaue VPN connections are detected and blocked by IW4mAdmin which is a server management tool many server owners use on their servers. The reason IW4mAdmin blocks VPN connections is because they can be used for ban evading. Since we do not manage servers ourselves and they are hosted by the community it is not up to us whether a player is allowed to join a specific server.
If you want to play on a server that you cannot join for this reason you'll need to contact the owner of the server somehow and ask to get your IP whitelisted. That or stop using a VPN.
-
Double Tap 2.0 for waw and bo1?GhostRider0125 Double tap 2.0 exists as a dvar, perk_weapRateEnhanced on T4 at least, not sure about T5.
-
Help, can’t fix this errorbluesteel76 Did you delete the mod from %localappdata%/Plutonium/storage/t4/mods ?
-
Add points at round start@ElMalambito69 The second for loop in onplayerspawned() is unreachable, I recommend putting it in a different thread.
-
Being unable to join most multiplayer servers on BO2 Zombies.maxesreal You have 90 seconds to load into a match before you timeout due to taking too long to load. This doesn't apply to games you host though.
Some servers might have increased the timeout to be shorter or longer which might be why you can join some servers.
-
I have an error with the bo2, when I enter the menu and select the campaign or multiplayer mode, it gives me the option Are you sure you want to launch Campaign? and I hit yes, and the program closes itself.@Mi6kA74 You cannot use those options to switch to those gamemodes. You have to use the launcher. Also campaign is not supported.
-
[Release] (T6ZM) Prevent Players Joining In-Progress After RoundsCUKServers As funny as that password is, if someone learns that the password is hardcoded to be that they can join anyway.
you can use this simple function to generate a random pin
generate_random_password() { str = ""; for ( i = 0; i < 4; i++ ) { str = str + randomInt( 10 ); } return str; }Additionally, you can use setClientDvar() on all clients in the server with the password dvar set to that pin, and tell clients in the game the password. This way if a client gets disconnected they can still join back if they didn't close their game or they remember the password.
Heres what this would look like
pin = generate_random_password(); setDvar( "g_password", pin ); players = getPlayers(); for ( i = 0; i < players.size; i++ ) { players[ i ] setClientDvar( "password", pin ); players[ i ] iPrintLn( "Server is now locked use " + pin + " password to rejoin" ); } -
Guide On PlutoT6 ZM Server on Ubuntu (2023)dhillonjustin99 Yeah porting the game's to linux isn't going to happen even if you have the Plutonium source code. The games Plutonium supports are not open source and we don't have the source code for them either. Games such as Black Ops 2 were specifically designed for windows and as such rely on many windows functions to work. You would need to make 100s or 1000s of patches for each game to change this. Not only that but the renderer also needs to be switched to something that linux supports, and again no source code is available, but even with the source code changing the renderer is no easy task.
If it was easy to port a game to linux without the source code wine wouldn't need to exist in the first place.
-
[Release] (T6ZM) Prevent Players Joining In-Progress After RoundsCUKServers Alternatively, and probably better than kicking random players from your server would be to set a password on the server. You can do this by setting the dvar g_password to some value that no one can guess and then setting it to blank when the game ends.
-
[HELP][T6:ZM] BO2 Zombies keep losing Perma PerksKlugger The reason the stats file was "frozen" was because ranking was nonfunctional on dedicated servers for ZM. Ranking was fixed a year ago and also the stats file is now on our servers. These reasons are why you cannot set your stats anymore in this method. If you want to keep your perma perks forever you need to write a GSC script that disables the game from taking them away, this will only work for games/servers you host however.
-
can someone please help me with this?AutoTopGR ChatGPT moment.
-
Does the Bot Warfare mod for BO2 use regular BO2 AI or custom AI?Okami Amaterasu T6 bot warfare doesn't really modify the AI of the bots. It does fix the bots the Search and Destroy bot code to work, but because the bots are controlled by the engine in most ways its not currently possible to make a custom bot AI for T6 without modifying the engine to add custom GSC functions to control the bots directly.
-
BO2 Mob of The Dead ProblemLalaDeviluke Delete all scripts in %localappdata%/Plutonium/storage/t6/scripts and maps.
If you have a t6r folder in your root game directory delete that too.