Raised This Month: $51 Target: $400
 12% 

Stalkermode v2.06 (Scarzzurs)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 01-27-2005 , 20:58   Stalkermode v2.06 (Scarzzurs)
Reply With Quote #1

Ported on the request of http://forums.alliedmods.net/showthread.php?t=9431

http://djeyl.net/forum/index.php?showtopic=14610

Code:
 
become a stalker/get more info type stalkermenu in console/chat
admins can also force players into stalkers/back again by using amx_stalk and amx_unstalk. You can see the names of stalkers with the who_is_stalker command. The command mylevel shows your level

These cvars can control/adjust the plugin:

sv_stalker (toggles this plugin on/off)

sv_stalkershow (toggles the the textmsg that tells when people use stalk/unstalk and who_is_stalker command on/off)

sv_stalkernohs (toggles whether stalkers take damage from headshots)

sv_stalkerhealth (how much health stalkers spawn with)

sv_stalkerschangetime(players should change from/to stalker within this much time after round starts(is not required for new players)

sv_stalkerrunspeed (how fast they can run)

sv_stalkerselfallowed (toggles whether clients can turn themself into stalkers)

sv_stalkertext (toggles whether players should get a message that tell about this plugin every round)

sv_stalkernocrash (if you set this to 1 it will stop the effects that can crash the server when some he-spam)

mp_grenadeprotection (I stole this from war3mod made by spacedude, it stops he-spammers which can crash this plugin)

sv_stalkerchance (the possibility that you will be a stalker the next round in %, 0 means off)

sv_stalkerchangemodel (toggles whether stalkers should look like vip's, note that this cause strange bot behavior)

sv_stalkerxp (toggles xp gaining on/off)

sv_stalkerinvisibility (number between 0 and 255, how transparent people should be)

If sv_stalkershow is 1, you can add a sound called stalker.wav in cstrike\sound\stalker\ and the clients will download it and will appear locational when a player turns himself into a stalker.

The reason why i made both mp_grenadeprotection and sv_stalkernocrash, is that sv_stalkernocrash will stop crashing even if you use ie. FreeGuns

version 2.06


Version History:
2.06 added cvar sv_stalkerguns (can stalkers use guns?)

2.05 fixed speed bug and added cvar sv_stalkerinvisibility

2.03 added message to info players when they level up, sv_stalkershow must be set to 1

2.02 fixed the same bug again!  

2.01 fixed huge bug

2.00 added cvar sv_stalkerxp
added xp-system (needs some tweaking)

1.90 added cvar sv_stalkerchangemodel

1.85 added cvar sv_stalkerchange

1.80 changed/fixed stuff in the source, nothing special

1.75 added amx_stalk/amx_unstalk thx to AssKicR
added sv_stalkerselfallowed

1.60 simplified the soucecode
This plugin was made by Scarzzurs and I ported it for Amxmod X v1.0

Special Thanks to Johnjg75 for helping me with the functions and the mismatch error while compiling!

***I haven't tested it yet*** so if theres anyone that can, test it for me please do so.... or you people can wait until tomorrow or Saturday when I get test it. but there shouldn't be any problems since Johnjg75 looked over the code!
Attached Files
File Type: sma Get Plugin or Get Source (stalkermode.sma - 1329 views - 30.9 KB)
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 01-27-2005 , 22:01  
Reply With Quote #2

Glad to see you're doing a great job.
Peli is offline
Send a message via MSN to Peli
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 01-27-2005 , 22:45  
Reply With Quote #3

thanks couldn't have done this without Johnjg75
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 02-07-2005 , 01:08  
Reply With Quote #4

Yea this mod is definitely broken but I was looking and there's an error with engine_stocks.inc so it's a possible AMXX bug, have a look:


Code:
L 02/05/2005 - 14:25:15: [AMXX] Native error in "entity_get_int" on line 75 (plugin "stalkermode.amxx").
L 02/05/2005 - 14:25:15: [Engine] Invalid player 4 (not in-game)
L 02/05/2005 - 14:25:15: [AMXX] Debug Trace =>
L 02/05/2005 - 14:25:15: [AMXX]       [0] Line 75, File "engine_stocks.inc"
L 02/05/2005 - 14:25:15: [AMXX]       [1] Line 265, File "stalkermode.sma"
Now having an AMXX include in there for a runtime error makes me wonder if it's an AMXX bug of some sort but this mod will make your server crash and it will make players get disconnected with Reliable Overflow Errors, also that error posted above will come up and make the server lock up completely after flooding the AMXX log file hundreds of times.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
Xykon
New Member
Join Date: Aug 2005
Old 08-14-2005 , 20:57  
Reply With Quote #5

This plugin seems to work fine for me, except that when roud restarts, all stalkers get kicked with "Reliable channel overflowed" as a reason. When I checked logs, i found that my server was being flooded with the following message:

Code:
L 08/14/2005 - 19:51:55: [AMXX] [ENGINE] Invalid player 1 (not in-game)
L 08/14/2005 - 19:51:55: [AMXX] Debug is not enabled (plugin "cstrike\addons\amxmodx\plugins\stalkermode.amxx")
Anyone know the problem?
Xykon is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 12-14-2005 , 13:50  
Reply With Quote #6

Broken. Old. Moved to Unapproved/Old Plugins forum.
__________________
twistedeuphoria 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 21:37.


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