AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Stalkermode v2.06 (Scarzzurs) (https://forums.alliedmods.net/showthread.php?t=9699)

XxKpAznGuyxX 01-27-2005 20:58

Stalkermode v2.06 (Scarzzurs)
 
1 Attachment(s)
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!

Peli 01-27-2005 22:01

Glad to see you're doing a great job.

XxKpAznGuyxX 01-27-2005 22:45

thanks couldn't have done this without Johnjg75

Kamikaze 02-07-2005 01:08

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.

Xykon 08-14-2005 20:57

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?

twistedeuphoria 12-14-2005 13:50

Broken. Old. Moved to Unapproved/Old Plugins forum.


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

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