Raised This Month: $ Target: $400
 0% 

ZombieHell


Post New Thread Reply   
 
Thread Tools Display Modes
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-21-2009 , 10:01   Re: ZombieHell 1.2
Reply With Quote #41

Quote:
Originally Posted by Stixsmaster View Post
If needed you can sign up to my site's DL section at http://download.stixsworld.com/ and submit your file(s) for your plugin and yea...I will gladly provide you a section for them...

+ youll have fast DL...and users wont have to signup or anything...

Only thing is you do need to signup to submit a file...

---Stixsmaster
I will sign up when i come back from school, thank you mate.

Quote:
Originally Posted by mando127 View Post
you can test that update in my server if you like.
You're currently running the latest version since and your server will always have the latest version since you're a tester, same goes to any tester, you guys will have always the version before it become launched.

Quote:
Originally Posted by roadrage View Post
I tried v1.1 and it won't let me start my server for some reason....
Any error logs? provide them if so plus try out the v1.2

Quote:
Originally Posted by Tirant View Post
there are only 3 on amxx. 4 including mine if i ever get around to posting it, but I'm feeding him ideas so i won't have to.
I appreciate your and mando127 ideas, thank you.

Quote:
Originally Posted by Anggara_nothing View Post
Do you can add random zombie model setting ??? looks like zombie plague ???
I want add my own zombie model without edit the source code (zombiehell.sma).
In the 1.3 version it will be added, you'll be able to choose the models. Anyway there's a bugfix version 1.2b coming before 1.3

Known bugs from v1.2: If survivors lose, the game level saves. If you go to the boss and die, you goes to the next level anyway. Both of these bugs will be fixed in the v1.2b probably today.
__________________

hectorz0r is offline
yaotzin
Member
Join Date: Aug 2006
Old 11-21-2009 , 12:28   Re: ZombieHell 1.2b - Bugfix for 1.2 launched, update!
Reply With Quote #42

please make cvar to on / off plugin
yaotzin is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-21-2009 , 14:04   Re: ZombieHell 1.2b - Bugfix for 1.2 launched, update!
Reply With Quote #43

make a video, then the usage of this mod can be spread out.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 11-21-2009 , 14:34   Re: ZombieHell 1.2
Reply With Quote #44

Quote:
Originally Posted by Tirant View Post
there are only 3 on amxx. 4 including mine if i ever get around to posting it, but I'm feeding him ideas so i won't have to.
It's the fifth
__________________
<VeCo> is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-21-2009 , 14:50   Re: ZombieHell 1.2
Reply With Quote #45

Quote:
Originally Posted by <VeCo> View Post
It's the fifth
Is there a zombie mod which have levels in like this one or this mod is the first? like, you defeat the first zombies and goes to a harder level etc... never seen anything like this, i know zombie plague, biohazard and zday/dawn of the dead only.
__________________

hectorz0r is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-21-2009 , 15:24   Re: ZombieHell 1.2b - Bugfix for 1.2 launched, update!
Reply With Quote #46

I think you need to use a switch statement. Too many if statements checking the same thing. This code below will reduce the number of native calls and the number of conditionals needing check.

PHP Code:
if( tsnum == )
{
    switch( 
get_pcvar_num(zombie_level) )
    {
        case 
1:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Normal Boss! Beware!^n[5000 HP - 320 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_normal.wav")
            
set_user_health(ts[0], 5000)
            
set_user_maxspeed(ts[0], 320.0)
            
server_cmd("zombie_level 2")
            
server_cmd("zombie_respawns 5")
        }
        case 
2:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Nightmare Boss! Beware!^n[8000 HP - 360 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_nightmare.wav")
            
set_user_health(ts[0], 8000)
            
set_user_maxspeed(ts[0], 360.0)
            
server_cmd("zombie_level 3")
            
server_cmd("zombie_respawns 8")
        }
        case 
3:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Hell Boss! Beware!^n[10000 HP - 385 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_hell.wav")
            
set_user_health(ts[0], 10000)
            
set_user_maxspeed(ts[0], 385.0)
            
server_cmd("zombie_level 1")
            
server_cmd("zombie_respawns 2")
        }
    }


This one should be done without a switch if you are allowing multiple effects with a single cvar (bitwise addition)
PHP Code:
if( cs_get_user_team(victim) == CS_TEAM_T )
{
    switch( 
get_pcvar_num(zombie_effect) )
    {
        case 
1:
        {
            new 
Float:FOrigin2[3]
            
pev(victimpev_originFOrigin2)
            
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin20)
            
write_byte(TE_PARTICLEBURST)
            
engfunc(EngFunc_WriteCoordFOrigin2[0])
            
engfunc(EngFunc_WriteCoordFOrigin2[1])
            
engfunc(EngFunc_WriteCoordFOrigin2[2])
            
write_short(50)
            
write_byte(72)
            
write_byte(6)
            
message_end()
        }
        case 
2:
        {
            new 
Float:FOrigin3[3
            
pev(victimpev_originFOrigin3)
            
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin30)
            
write_byte(TE_IMPLOSION
            
engfunc(EngFunc_WriteCoordFOrigin3[0])
            
engfunc(EngFunc_WriteCoordFOrigin3[1]) 
            
engfunc(EngFunc_WriteCoordFOrigin3[2]) 
            
write_byte(200)
            
write_byte(100)
            
write_byte(5)  
            
message_end()
        }
    }

You could also move all comman lines of code in the switches to before the switch unless there is a specific reason for doing otherwise.
__________________

Last edited by fysiks; 11-21-2009 at 15:27.
fysiks is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-21-2009 , 15:28   Re: ZombieHell 1.2b - Bugfix for 1.2 launched, update!
Reply With Quote #47

Quote:
Originally Posted by fysiks View Post
I think you need to use a switch statement. Too many if statements checking the same thing. This code below will reduce the number of native calls and the number of conditionals needing check.

PHP Code:
if( tsnum == )
{
    switch( 
get_pcvar_num(zombie_level) )
    {
        case 
1:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Normal Boss! Beware!^n[5000 HP - 320 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_normal.wav")
            
set_user_health(ts[0], 5000)
            
set_user_maxspeed(ts[0], 320.0)
            
server_cmd("zombie_level 2")
            
server_cmd("zombie_respawns 5")
        }
        case 
2:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Nightmare Boss! Beware!^n[8000 HP - 360 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_nightmare.wav")
            
set_user_health(ts[0], 8000)
            
set_user_maxspeed(ts[0], 360.0)
            
server_cmd("zombie_level 3")
            
server_cmd("zombie_respawns 8")
        }
        case 
3:
        {
            new 
tname[32]
            
get_user_name(ts[0], tname31)
            
set_hudmessage(25500, -1.00.2006.0999.00.10.24)
            
show_hudmessage(0"%s is the Hell Boss! Beware!^n[10000 HP - 385 Velocity]"tname)
            
client_cmd(0"spk zombiehell/boss_hell.wav")
            
set_user_health(ts[0], 10000)
            
set_user_maxspeed(ts[0], 385.0)
            
server_cmd("zombie_level 1")
            
server_cmd("zombie_respawns 2")
        }
    }

This one should be done without a switch if you are allowing multiple effects with a single cvar (bitwise addition)
PHP Code:
if( cs_get_user_team(victim) == CS_TEAM_T )
{
    switch( 
get_pcvar_num(zombie_effect) )
    {
        case 
1:
        {
            new 
Float:FOrigin2[3]
            
pev(victimpev_originFOrigin2)
            
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin20)
            
write_byte(TE_PARTICLEBURST)
            
engfunc(EngFunc_WriteCoordFOrigin2[0])
            
engfunc(EngFunc_WriteCoordFOrigin2[1])
            
engfunc(EngFunc_WriteCoordFOrigin2[2])
            
write_short(50)
            
write_byte(72)
            
write_byte(6)
            
message_end()
        }
        case 
2:
        {
            new 
Float:FOrigin3[3
            
pev(victimpev_originFOrigin3)
            
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYFOrigin30)
            
write_byte(TE_IMPLOSION
            
engfunc(EngFunc_WriteCoordFOrigin3[0])
            
engfunc(EngFunc_WriteCoordFOrigin3[1]) 
            
engfunc(EngFunc_WriteCoordFOrigin3[2]) 
            
write_byte(200)
            
write_byte(100)
            
write_byte(5)  
            
message_end()
        }
    }

You could also move all comman lines of code in the switches to before the switch unless there is a specific reason for doing otherwise.
Thank you, in the next version it will be modified. Note that there's alot of places which must be modified using this method to optimize the code, your suggestion would be usefull alot.
__________________


Last edited by hectorz0r; 11-21-2009 at 15:31.
hectorz0r is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-21-2009 , 19:54   Re: ZombieHell 1.0 [being updated to 1.1]
Reply With Quote #48

Quote:
Originally Posted by Redfalcon View Post
mando127 your server is fucked up my CS STUCK when i join your server

EDIT: hectorz0r are u fucking ******!? UPLOAD IT ON THE SITE NOT A ******* FILE SITE!

Learn to read this will be trashed.
stop acting like a moderator...
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
hectorz0r
Senior Member
Join Date: Oct 2008
Old 11-21-2009 , 22:18   Re: ZombieHell 1.3 Beta
Reply With Quote #49

1.3 is out, launched hurry as usual... you may face some bugs in this version, report them.
__________________

hectorz0r is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-21-2009 , 22:32   Re: ZombieHell 1.3 Beta
Reply With Quote #50

Quote:
Originally Posted by hectorz0r View Post
1.3 is out, launched hurry as usual... you may face some bugs in this version, report them.
new models? or did you happen to change the extension?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
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 02:51.


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