HowTo: Get GG5 working with zBlock

Ask questions and share info about GunGame 5

HowTo: Get GG5 working with zBlock

Postby RideGuy » Fri Sep 19, 2008 2:31 am

As some of you may have found out the hard way, zBlock blocks the creation of cvars, which in turn breaks gungame5. To get around this you need to have zBlock disabled while loading GG5. The cvar zb_active to enable/disable zBlock. When setting zb_active 0 it does not take effect until the next game frame. Because of this, here is the recommended way to disable zBlock and get GG5 loaded.

Located in your cstrike/cfg folder open autoexec.cfg. If the file does not exist, create it. Add the following line.

Located in your cstrike/cfg folder open server.cfg. If the file does not exist, create it. Add the following lines.
es_xdelayed 0.3 es_xload gungame; zb_active 1


Remember that you should not have "es_load gungame" in your autoexec.cfg if you are doing this since you are now loading it from the server.cfg.

RideGuy
RideGuy

Site Admin
Site Admin
User avatar
 
Posts: 201
Joined: Sat Sep 06, 2008 11:30 am

Postby Predator » Fri Sep 19, 2008 9:31 am

Tbh if you do that there is no point even running ZBlock on the server ¬¬

~Edd :P
Predator

Beta Tester
Beta Tester
 
Posts: 59
Joined: Sun Sep 07, 2008 11:13 am
Location: My Computer
Steam Friends Name: predator_teddybear
Xfire Name: gppredator

Postby RideGuy » Fri Sep 19, 2008 12:08 pm

I don't understand what you mean? Would zBlock not still offer the same protection? It will be disabled for all of 2 gameframes, and before any player can join the server.
RideGuy

Site Admin
Site Admin
User avatar
 
Posts: 201
Joined: Sat Sep 06, 2008 11:30 am

Postby Predator » Fri Sep 19, 2008 8:38 pm

Oh misread the fix :P sorry,

But what i still don't get is why people run zblock on a public server.

Also 1 thing, what does zblock protect your server from?

~Edd
Predator

Beta Tester
Beta Tester
 
Posts: 59
Joined: Sun Sep 07, 2008 11:13 am
Location: My Computer
Steam Friends Name: predator_teddybear
Xfire Name: gppredator

Postby Artsemis » Fri Sep 19, 2008 9:10 pm

Artsemis

GunGame5 Developer
GunGame5 Developer
User avatar
 
Posts: 57
Joined: Sun Sep 07, 2008 10:36 pm
Location: Pennsylvania
Steam Friends Name: Artsemis
Xfire Name: Artsemis

Postby Predator » Sat Sep 20, 2008 12:13 pm

# Protects against non-default configurations and exploits
# Prevents Sound based cheats (with sv_consistency 1)

Those are the only 2 which i can see have any real effect, and tbh that list is very small. I always wanted to know what they actually block, i have seen scripts like on ES and SourceMod which block about 30, but zblock claim they have alot more.

Also sound based cheats are silly, it blocks them by blocking all sounds so you can just sv_pure 2 to do that.

~Edd
Predator

Beta Tester
Beta Tester
 
Posts: 59
Joined: Sun Sep 07, 2008 11:13 am
Location: My Computer
Steam Friends Name: predator_teddybear
Xfire Name: gppredator

Postby Warren » Wed Dec 10, 2008 6:43 am

RideGuy. I tested this today and delaying by 0 doesn't work. The shortest delay I could get it to work on was 0.25. I changed the example in your post to 0.3 so that this fix will work for people.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby RideGuy » Wed Dec 10, 2008 2:10 pm

Every server's a little different. :)
RideGuy

Site Admin
Site Admin
User avatar
 
Posts: 201
Joined: Sat Sep 06, 2008 11:30 am

Postby Cisco » Tue Feb 03, 2009 8:28 pm

Can I ask, does the ordering in autoexec.cfg matter?

Could you not put:

zb_active 0
es_xdelayed 0.3 es_xload gungame
es_xdelayed 0.5 zb_active 1

...and get the same effect? The reason I ask is I'm just plain uncomfortable with running one-time configs over and over in server.cfg instead of autoexec.cfg.
Cisco

Private
Private
User avatar
 
Posts: 30
Joined: Mon Jan 26, 2009 10:54 pm
Steam Friends Name: gg_cisco
Xfire Name: th3c1sc0k1d

Re: HowTo: Get GG5 working with zBlock

Postby teabag » Wed Mar 11, 2009 6:19 am

i have tried putting this code in but it dont seem to work i have to keep reloading gungame5 within game
teabag

Recruit
Recruit
 
Posts: 2
Joined: Wed Mar 11, 2009 6:16 am

Re: HowTo: Get GG5 working with zBlock

Postby Warren » Wed Mar 11, 2009 7:06 am

teabag wrote:i have tried putting this code in but it dont seem to work i have to keep reloading gungame5 within game

Please post your ../cfg/autoexec.cfg and ../cfg/server.cfg.

Remember to edit out your rcon_password and sv_password when posting it.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: HowTo: Get GG5 working with zBlock

Postby teabag » Wed Mar 11, 2009 10:29 am

here ya go
Attachments
server files.rar
(1.53 KiB) Downloaded 1345 times
teabag

Recruit
Recruit
 
Posts: 2
Joined: Wed Mar 11, 2009 6:16 am

Re: HowTo: Get GG5 working with zBlock

Postby maccauk » Thu May 28, 2009 7:21 pm

HI lads. i have a server with gg5 and zblock v3.2.3 and works a treat i have it on dmatch to and works mint bodies dissapear..
but i am creating a new server and zblock is now on 4.2. thing is with out zblock it works great on dmatch gg bodies disapear, but soon
as load zblock 4.2 the bodies stay around and don't dissapear. Now i have done the same setttings on how to get it working but it just dont work! for me like it does with 3.2.3, any idea wot zblock mite of done here?
thxs for any help regards macca.


update... i all so get this with zblock 4.2
consistency error....
Server is enforcing consistency for this file:
maps\gg_simpsons_desert.bsp
and kick you from server., but then u reconnect and get on but this is a pain u get gamers go to other server and u loose players.
So i went on zblock forums and seen some one else pos on there with same thing and he got this

"There is no fix for this error, I'm not sure if VALVe have fixed it in the Orange Box/L4D engine yet.

zBlock isn't really for public "fun" servers."
maccauk

Private
Private
User avatar
 
Posts: 63
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Re: HowTo: Get GG5 working with zBlock

Postby your-name-here » Sat Jun 27, 2009 7:50 pm

maccauk wrote:HI lads. i have a server with gg5 and zblock v3.2.3 and works a treat i have it on dmatch to and works mint bodies dissapear..
but i am creating a new server and zblock is now on 4.2. thing is with out zblock it works great on dmatch gg bodies disapear, but soon
as load zblock 4.2 the bodies stay around and don't dissapear. Now i have done the same setttings on how to get it working but it just dont work! for me like it does with 3.2.3, any idea wot zblock mite of done here?
thxs for any help regards macca.


update... i all so get this with zblock 4.2
consistency error....
Server is enforcing consistency for this file:
maps\gg_simpsons_desert.bsp
and kick you from server., but then u reconnect and get on but this is a pain u get gamers go to other server and u loose players.
So i went on zblock forums and seen some one else pos on there with same thing and he got this

"There is no fix for this error, I'm not sure if VALVe have fixed it in the Orange Box/L4D engine yet.

zBlock isn't really for public "fun" servers."


On the servers I admin, we use humans as anti-cheats :P

ZBlock is more hassle than it's worth for a pub if you ask me.
your-name-here

Site Admin
Site Admin
User avatar
 
Posts: 115
Joined: Sat Sep 06, 2008 5:56 pm
Steam Friends Name: your-name-here
Xfire Name: thinkerroad

Re: HowTo: Get GG5 working with zBlock

Postby maccauk » Sat Jun 27, 2009 8:14 pm

On the servers I admin, we use humans as anti-cheats


yeh there is that too , but most humans think when they own u they cheat :lol:
maccauk

Private
Private
User avatar
 
Posts: 63
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Re: HowTo: Get GG5 working with zBlock4.4 "

Postby maccauk » Thu Nov 26, 2009 5:03 pm

Hi all. I noticed when zblock did some updates from 3.2 to 4.4 on my server, i was getting consistency errors....
Server is enforcing consistency for this file:
maps\gg_simpsons_desert.bsp And the rag_dolls stayed about on deathmatch!

But I found away to get ZBLOCK 4.4 working on my server with the help of this fixed viewtopic.php?f=12&t=937 when steam did an update in August and messsed the repawn up on GG5. But this fixed sorted ZBLOCK4.4 out!! for my server !

this how i got it to worked "YOU DONT NEED TO ADD RIDEGUYS COMMAND IF U HAVE THEM REMOVE THEM AND JUST FOLOW THIS SIMPLE COMMAND".

OK instead of adding these command lines to your auto CFG from this thread viewtopic.php?f=12&t=937
es_load gg_spawn
es_load gungame

just ad them to you server CFG, and ZBLOCK4.4 works a treat :D



Image
Last edited by maccauk on Fri Nov 27, 2009 2:47 pm, edited 2 times in total.
maccauk

Private
Private
User avatar
 
Posts: 63
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Postby pyro » Fri Nov 27, 2009 4:23 am

You should still need to delay the gungame load as Rideguy explained in the first post. As ZBlock needs to load before gungame does.
pyro

Private 1st Class
Private 1st Class
User avatar
 
Posts: 181
Joined: Wed Nov 04, 2009 1:26 pm
Location: Melbourne, Australia
Xfire Name: pyromaniac771

Re:

Postby maccauk » Fri Nov 27, 2009 3:19 pm

pyro wrote:You should still need to delay the gungame load as Rideguy explained in the first post. As ZBlock needs to load before gungame does.



Hello. not really you don't even need Rideguys methhod, Rideguys, worked with Zblock3.2 and when zblock updated it stopped working with GG5..
ragdolls stayed about on deatmatch and consistency errors on maps !

Rideguys methhod was there to help with the ragdolls on gungame deathmath thats why the delay was there :D

So no you don't need Rideguys method! as long as you get the ragdols to disapear on gungame deathmatch you dont need the dealy for Zblock to work
All you have to do is follow what i have done to get it to work 8-) .. It as kicked exploiters and no more bunny-hoppers on my server ! :lol:

So all i'm trying to do is let you know it works ;)
maccauk

Private
Private
User avatar
 
Posts: 63
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Postby RideGuy » Fri Nov 27, 2009 8:52 pm

Hi maccauk,

I don't think you understand what zblock does to GG5.

zBlock stops the creation of public cvars. Without them gungame cannot function properly. This is why we disable zblock. Only zblock does not turn off right away, it takes at least 1 gameframe (more than 1 gameframe on Linux) which is why we delay starting GG5 and re-enabling zblock).

Ragdolls not being removed could easily be caused by this issue.


Hope that helps,

RideGuy
RideGuy

Site Admin
Site Admin
User avatar
 
Posts: 201
Joined: Sat Sep 06, 2008 11:30 am

Re: HowTo: Get GG5 working with zBlock

Postby maccauk » Sat Nov 28, 2009 3:13 pm

RideGuy wrote:Hi maccauk,

I don't think you understand what zblock does to GG5.

zBlock stops the creation of public cvars. Without them gungame cannot function properly. This is why we disable zblock. Only zblock does not turn off right away, it takes at least 1 gameframe (more than 1 gameframe on Linux) which is why we delay starting GG5 and re-enabling zblock).

Ragdolls not being removed could easily be caused by this issue.


Hope that helps,

RideGuy


HI Rideguy, i get a idea wot Zblock does to gungame 5 . i use kac anticheat which stops alot of puplic cvars
But what i am saying zblock 4.4 works fine with gungame 5 deathmatch on my server and i do not get any errors
game server runs smooth ragdolls disapear. i even removed GG5 from my pc side to check files and addons install ok and all was fine
I config pure 1 to allow sounds and server side addons . had no conplaints yet of anyone saying they cant get on server !
infact they are happy with extra security .

Sorry if i have misread your comment but to me as long as gg5 death match works with Zblock4.4 i am happy to use it and let u know i am using it with no props ;)
maccauk

Private
Private
User avatar
 
Posts: 63
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Next


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron