Raised This Month: $ Target: $400
 0% 

Help with WCS + ZR server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Duffles22
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 18:08   Help with WCS + ZR server
Reply With Quote #1

Hello all, I have been trying to set up a WCS Zombie Reloaded css server for the past couple days and I have just recently encountered a problem i have no clue how to fix. The problem is that the invisibility for the wcs races don't work at all. Now i think its because the zombie reloaded races is setting the alphas back to 255 when the wcs races are trying to set the alphas too and I've tried messing with the playerclasses.txt file but nothing has worked. I've removed the part of the file where they set the alpha which solves it until they get stabbed by a zombie and they go back to being completely normal. If possible I would be pleased if anyone could tell me how to just get rid of the whole zombie reloaded classes, but a simple fix will work as well.
I'm pretty desperate so please comment! thanks in advanced.

Last edited by Duffles22; 08-12-2012 at 18:12.
Duffles22 is offline
Duffles22
Junior Member
Join Date: Aug 2012
Old 08-13-2012 , 04:23   Re: Help with WCS + ZR server
Reply With Quote #2

Really? no replies? I have been searching the internet for the past 3 hours trying to find a working zombie mod or a zombie mod reloaded without any classes, if anyone could direct me to a place that has either i would be ecstatic. Thanks.
Duffles22 is offline
kamikazekuh
Junior Member
Join Date: Oct 2010
Old 08-13-2012 , 11:17   Re: Help with WCS + ZR server
Reply With Quote #3

Most likely Zombie Reloaded has Spawnprotection using colors. As the colors are reset after the Spawnprotection time and as WCS sets color (including Alpha) at the spawn, ZR will reset the color.
So either delay the time to turn you invisible or disable ZR spawnprotection and try some third party Spawnprotection plugin
kamikazekuh is offline
Duffles22
Junior Member
Join Date: Aug 2012
Old 08-13-2012 , 13:29   Re: Help with WCS + ZR server
Reply With Quote #4

I had already figured that out, if you read my post more carefully you will see that my problem had changed, i delayed the invis in my wcs classes but now the problem was whenever you were turned into a zombie it would again reset your alpha and i have no clue how to fix that.

Last edited by Duffles22; 08-13-2012 at 13:31.
Duffles22 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-13-2012 , 13:36   Re: Help with WCS + ZR server
Reply With Quote #5

You'd have to edit the source for Zombie: Reloaded and remove the color/alpha call that occurs when a zombie is damaged.
__________________

Last edited by thetwistedpanda; 08-13-2012 at 13:37.
thetwistedpanda is offline
Duffles22
Junior Member
Join Date: Aug 2012
Old 08-13-2012 , 13:41   Re: Help with WCS + ZR server
Reply With Quote #6

Thanks for the reply. And any advice on how to do that? I wouldn't know where to begin.
Duffles22 is offline
Duffles22
Junior Member
Join Date: Aug 2012
Old 08-13-2012 , 20:08   Re: Help with WCS + ZR server
Reply With Quote #7

I'm having no luck trying to figure out what files I should edit to remove the color/alpha call, could anyone help me out?
Thanks.

Last edited by Duffles22; 08-13-2012 at 20:22.
Duffles22 is offline
mudza
Junior Member
Join Date: Apr 2010
Old 08-13-2012 , 21:04   Re: Help with WCS + ZR server
Reply With Quote #8

Got allmost the same problem Everything works fine at the beginning, but when a zombie kills a human, the levitation , invibility etc dont work ^^ only if they get killed again it work
have got that problem for years now
mudza is offline
kamikazekuh
Junior Member
Join Date: Oct 2010
Old 08-14-2012 , 19:49   Re: Help with WCS + ZR server
Reply With Quote #9

I guess you both are running WCS for eventscripts, so this could possibly help (its just a quick try, not tested)

Be sure to have the getcolor tool running!

Code:
block_load
{
    es_xset delay "your-delay-time-here"
    es_math delay + 1
    es_xset red 0
    es_xset green 0
    es_xset blue 0
    es_xset alpha 0
    es_xset isdead 0
}

event player_spawn
{
    es_delayed server_var(delay) wcs_getcolor event_var(userid) red green blue alpha
    es_delayed server_var(delay) wcsgroup set zr_alpha event_var(userid) server_var(alpha)
    es_delayed server_var(delay) wcsgroup set zr_red event_var(userid) server_var(red)
    es_delayed server_var(delay) wcsgroup set zr_green event_var(userid) server_var(green)
    es_delayed server_var(delay) wcsgroup set zr_blue event_var(userid) server_var(blue)
}
 
event player_death
{
    es_delayed 2 playerget isdead isdead event_var(userid)
    if (server_var(isdead) == 0) do
    {
        es wcsgroup get zr_alpha alpha event_var(userid)
        es wcsgroup get zr_red red event_var(userid)
        es wcsgroup get zr_green green event_var(userid)
        es wcsgroup get zr_blue blue event_var(userid)
        es playerset color event_var(userid) server_var(red) server_var(green) server_var(blue) server_var(alpha)
    }
}
Installation Guide:

- Go to your eventscripts folder
- Create a new folder in there named "colorfix"
- Create a .txt file in that new folder named "es_colorfix"
- Copy the code above in that new es_coolorfix.txt
- Go to the code line "es_delay" and change the "your-delay-here" line to whatever you chose to be the delay for invisibility at spawn (if you did not delay it simply put 0 here)
- Add "es_load colorfix" to your autoexec (be sure wcs is loaded first!)

=> Be sure you have the "getcolor" tool which is included in WCS loaded

I hope it works for you guys
kamikazekuh is offline
al1alu
Senior Member
Join Date: Jun 2011
Old 08-15-2012 , 02:22   Re: Help with WCS + ZR server
Reply With Quote #10

Quote:
Originally Posted by kamikazekuh View Post
I guess you both are running WCS for eventscripts, so this could possibly help (its just a quick try, not tested)

Be sure to have the getcolor tool running!

Code:
block_load
{
    es_xset delay "your-delay-time-here"
    es_math delay + 1
    es_xset red 0
    es_xset green 0
    es_xset blue 0
    es_xset alpha 0
    es_xset isdead 0
}

event player_spawn
{
    es_delayed server_var(delay) wcs_getcolor event_var(userid) red green blue alpha
    es_delayed server_var(delay) wcsgroup set zr_alpha event_var(userid) server_var(alpha)
    es_delayed server_var(delay) wcsgroup set zr_red event_var(userid) server_var(red)
    es_delayed server_var(delay) wcsgroup set zr_green event_var(userid) server_var(green)
    es_delayed server_var(delay) wcsgroup set zr_blue event_var(userid) server_var(blue)
}
 
event player_death
{
    es_delayed 2 playerget isdead isdead event_var(userid)
    if (server_var(isdead) == 0) do
    {
        es wcsgroup get zr_alpha alpha event_var(userid)
        es wcsgroup get zr_red red event_var(userid)
        es wcsgroup get zr_green green event_var(userid)
        es wcsgroup get zr_blue blue event_var(userid)
        es playerset color event_var(userid) server_var(red) server_var(green) server_var(blue) server_var(alpha)
    }
}
Installation Guide:

- Go to your eventscripts folder
- Create a new folder in there named "colorfix"
- Create a .txt file in that new folder named "es_colorfix"
- Copy the code above in that new es_coolorfix.txt
- Go to the code line "es_delay" and change the "your-delay-here" line to whatever you chose to be the delay for invisibility at spawn (if you did not delay it simply put 0 here)
- Add "es_load colorfix" to your autoexec (be sure wcs is loaded first!)

=> Be sure you have the "getcolor" tool which is included in WCS loaded

I hope it works for you guys
Love your idea! Thanks men, help a lot.
al1alu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode