It seems like IW4admin is breaking my server. When I played without it for like 16 rounds it was fine. When playing games with it on it freezes the server like I'm sill in the game but nothing is moving as if it is lagged out? It's only been like this since the update. Anyone know anything?
Trizz
Posts
-
IW4admin causing issues -
Mob of the dead spawning in help? (gsc)This code works for other maps but because in MOTD you spawn in afterlife It's not giving the 2500 cash and speed cola you when the player revives himself at the start of the match.
welcome() { self waittill( "spawned_player" ); wait 7; self thread setmoney(); wait 4; self maps/mp/zombies/_zm_perks::give_perk( "specialty_fastreload" ); wait 3; self iprintln("^2" +self.name + "^7 , your perk limit has been removed. You have been given SpeedCola."); }
I tried changing
self waittill( "spawned_player" );
to
self waittill( "start_of_round" );
as per some advice but no luck? Any tips or help would be appreciated.
-
[Support] GSC Combining ScriptsRentalWTaken (The community is the only reason I know anything so credit to them)
#include common_scripts\utility; #include maps\mp\zombies\_zm; #include maps\mp\zombies\_zm_utility; #include maps\mp\gametypes_zm\_hud_util; #include maps\mp\gametypes_zm\_hud_message; #include maps\mp\_utility; #include common_scripts\utility; init() { level.clientid = 0; level.perk_purchase_limit = 9; level thread onplayerconnect(); drawZombiesCounter(); } onplayerconnect() { for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onplayerspawned() { level endon( "game_ended" ); self endon( "disconnect" ); for(;;) { self welcome(); } } welcome() { self waittill( "spawned_player" ); wait 7; self iprintln("^2" +self.name + "^7 , your perk limit has been removed. Have fun."); } drawZombiesCounter() { level.zombiesCountDisplay = createServerFontString("Objective" , 1.7); level.zombiesCountDisplay setPoint("RIGHT", "CENTER", 315, "CENTER"); thread updateZombiesCounter(); } updateZombiesCounter() { level endon("stopUpdatingZombiesCounter"); while(true) { zombiesCount = get_current_zombie_count(); level.zombiesCountDisplay setText("Zombies: " + zombiesCount); waitForZombieCountChanged("stopUpdatingZombiesCounter"); } } recreateZombiesCounter() { level notify("stopUpdatingZombiesCounter"); thread updateZombiesCounter(); } waitForZombieCountChanged(endonNotification) { level endon(endonNotification); oldZombiesCount = get_current_zombie_count(); while(true) { newZombiesCount = get_current_zombie_count(); if(oldZombiesCount != newZombiesCount) { return; } wait 0.05; } }
-
[Support] How do I find the file path for includes?Thankyou
-
[Support] How do I find the file path for includes?I'm looking for the include that covers refil_mag()
but a list of includes which i might need in the future would help too -
[Support] unresolved external errors?Kalitos Those includes are going to be the death of me thankyou.
-
[Support] unresolved external errors?Kalitos I tried changing it and still the same error It seems to have a problem with createserverfrontstring and setpoint
#include common_scripts\utility; #include maps\mp\zombies\_zm; #include maps\mp\zombies\_zm_utility; #include maps/mp/zombies/_zm_utility; init() { level.clientid = 0; level.perk_purchase_limit = 9; level thread onplayerconnect(); drawZombiesCounter(); } onplayerconnect() { for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onplayerspawned() { level endon( "game_ended" ); self endon( "disconnect" ); for(;;) { self welcome(); } } welcome() { self waittill( "spawned_player" ); self maps/mp/zombies/_zm_perks::give_perk( "specialty_longersprint" ); wait 7; self iprintln("^2" +self.name + "^7 , your perk limit has been removed. Have fun."); } drawZombiesCounter() { level.zombiesCountDisplay = createServerFontString("Objective" , 1.7); level.zombiesCountDisplay setPoint("RIGHT", "CENTER", 315, "CENTER"); thread updateZombiesCounter(); } updateZombiesCounter() { level endon("stopUpdatingZombiesCounter"); while(true) { zombiesCount = get_current_zombie_count(); level.zombiesCountDisplay setText("Zombies: " + zombiesCount); waitForZombieCountChanged("stopUpdatingZombiesCounter"); } } recreateZombiesCounter() { level notify("stopUpdatingZombiesCounter"); thread updateZombiesCounter(); } waitForZombieCountChanged(endonNotification) { level endon(endonNotification); oldZombiesCount = get_current_zombie_count(); while(true) { newZombiesCount = get_current_zombie_count(); if(oldZombiesCount != newZombiesCount) { return; } wait 0.05; } }
this is the error
-
[Support] unresolved external errors?Kalitos I'm new to this, it says in the original post you linked call drawzombiescounter() in your init function so i've ended up trying to thread it but i dont even know if im anywhere close to being correct haha. ```
code_text#include common_scripts\utility; #include maps\mp\zombies\_zm; #include maps\mp\zombies\_zm_utility; init() { level.clientid = 0; level.perk_purchase_limit = 9; level thread onplayerconnect(); level thread drawzombiescounter(); } onplayerconnect() { for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onplayerspawned() { level endon( "game_ended" ); self endon( "disconnect" ); for(;;) { self welcome(); } } welcome() { self waittill( "spawned_player" ); self maps/mp/zombies/_zm_perks::give_perk( "specialty_longersprint" ); wait 7; self iprintln("^2" +self.name + "^7 , your perk limit has been removed. Have fun."); } drawZombiesCounter() { level.zombiesCountDisplay = createServerFontString("Objective" , 1.7); level.zombiesCountDisplay setPoint("RIGHT", "CENTER", 315, "CENTER"); thread updateZombiesCounter(); } updateZombiesCounter() { level endon("stopUpdatingZombiesCounter"); while(true) { zombiesCount = get_current_zombie_count(); level.zombiesCountDisplay setSafeText("Zombies: " + zombiesCount); waitForZombieCountChanged("stopUpdatingZombiesCounter"); } } recreateZombiesCounter() { level notify("stopUpdatingZombiesCounter"); thread updateZombiesCounter(); } waitForZombieCountChanged(endonNotification) { level endon(endonNotification); oldZombiesCount = get_current_zombie_count(); while(true) { newZombiesCount = get_current_zombie_count(); if(oldZombiesCount != newZombiesCount) { return; } wait 0.05; } }``` code_text
-
[Support] unresolved external errors?I'm trying to add the zombie counter script. What is this error trying to tell me i'm doing wrong
-
[Support] More than one custom GSC script?ted said in More than one custom GSC script?:
#include maps\mp_utility;
#include common_scripts\utility;
#include maps\mp\zombies_zm;
#include maps\mp\zombies_zm_utility;init()
{
level.clientid = 0;
level.perk_purchase_limit = 9;
level thread onplayerconnect();
}onplayerconnect()
{
for ( ;; )
{
level waittill( "connecting", player );
player.clientid = level.clientid;
player thread onplayerspawned();
level.clientid++;
}
}onplayerspawned()
{
level endon( "game_ended" );
self endon( "disconnect" );for(;;)
{
self welcome();
}
}welcome()
{
self waittill( "spawned_player" );
self maps/mp/zombies/_zm_perks::give_perk( "specialty_armorvest" );
wait 7;
self iprintln("^2" +self.name + "^7 , your perk limit has been removed");
}Thanks for the script. I will try to practice some more, i appreciate it
-
[Support] More than one custom GSC script?ted The top works but the bottom don't basically
-
[Support] More than one custom GSC script?Ducxy how would i start the second script though? like just start on the line after or something. ted I'm trying to add jugg at round one just for the example for myself so i can see how it's done. then after that works i'm gonna see if there is anything i can do about adding a max ammo refills clip script.
-
[Support] More than one custom GSC script?Cahz I'm trying to add a script to this would it go at the bottom and if so how would i put it? I'm not trying to be spoonfed I'm just sort of struggling tbh
-
[Support] More than one custom GSC script?I already have the unlimited perks gsc but I have been trying to figure out how to add a second one (using gsc studio) I can't add another file called _clientids.gsc to the folder because obviously it will overwrite and if i try to add the script beneath the original it doesn't work I've also tried adding a new script file next to the main but that doesn't work either. any help would be much appreciated
-
Server issues.Many thanks to frosty I changed my batch file to port from 4977 to 4966 then I went back on my router page and also changed internal and external port to 4976
(The reason they were 4977 was because of the tutorial which said MP 4976 and ZM 4977)
Started the server first (which the server connected to 4976)
started the game second (which the server connected to 4977)
type in the command connect Ipv4 adressmany thanks frosty ive been at this for hours
-
Server issues.frosty THANKYOU its going to take me a second to write down everything for people who come across this in the future so proper reply coming in a sec thankyou
-
Server issues.Tried connect IP just shows connecting in blue then nothing.
As for the ports, the server will always go to 4977 but the game will go to 4976
as for the spitting out message its this
-
Server issues.I'm finding it to be pretty difficult to get over this last hurdle. The server keeps spitting out this message. I'd really appreciate the help. I can't connect through local host and don't even know if the server is working or how to even go about sorting it, any help would be very much appreciated ty. (also For some reason when i start the actual zombies exe to play it connects to 4976 instead of 4977)