AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TF2 Class Restrictions 0.6 (Updated 08/13/09) (https://forums.alliedmods.net/showthread.php?t=73104)

DontWannaName 09-29-2008 15:23

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Thanks :D

conduit 09-30-2008 17:52

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Quote:

Originally Posted by DJ Tsunami (Post 692714)
Attached is the version I gave to DontWannaName, so you guys can try it to see if it still glitches.

I will try it as soon as I can. Thank you so much!

conduit 10-03-2008 10:13

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Quote:

Originally Posted by conduit (Post 693257)
I will try it as soon as I can. Thank you so much!

I've been running it for two days now. I haven't any complaints and I haven't been able to replicate the class mashups. Looks like you might want to post that source/binary and make an update to the mod.

Thanks so much!

DontWannaName 10-03-2008 16:44

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
What would make this even better is being able to set the limits based on how many people are on like Nicans. Like on my 32 slot server i want 3 engis when theres less than 24 and 4 24+. Also a chat message on block, along with the sound would also be nice to tell people for sure they are blocked. :D

Chaotic Llama 10-03-2008 17:29

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Quote:

Originally Posted by DontWannaName (Post 694605)
Also a chat message on block, along with the sound would also be nice to tell people for sure they are blocked. :D

I grabbed a copy of 0.4.5 and am getting ready to run it soon. As mentioned, I'd also like to see a center say message of sorts.

For now Dontwannaname, scroll down to around line 88

Code:


EmitSoundToClient(iClient, g_sSounds[iClass]);

Under it add:

Code:


PrintCenterText(iClient, "That Class Has Been Locked!");

Recompile...

Chaotic Llama 10-04-2008 11:44

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Quote:

Originally Posted by gamma (Post 681212)
plugin does not work on arena maps,
when you join server you can chose any class first time even if it restricted

confirmed in 0.4.5 too

DontWannaName 10-05-2008 00:23

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
Still getting that error spammed in console. But doesnt seem to affect the plugin.

L 10/04/2008 - 01:19:01: [SM] Native "GetEntProp" reported: Entity 16 is invalid
L 10/04/2008 - 01:19:01: [SM] Displaying call stack trace for plugin "classrestrict.smx":
L 10/04/2008 - 01:19:01: [SM] [0] Line 95, /home/groups/sourcemod/compiler/include/tf2_stocks.inc::TF2_GetPlayerClass()
L 10/04/2008 - 01:19:01: [SM] [1] Line 71, /home/groups/sourcemod/upload_tmp/textnDN9rq.sp::Command_Equip()
L 10/04/2008 - 01:21:51: Error log file session closed.

DontWannaName 10-05-2008 02:06

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
1 Attachment(s)
I made those edits plus i made it print a message in chat in green and output a console message. I also changed the immunity flag to reservation and root instead of generic and root. If people keep trying to join the class, wont the chat message popup everytime, spamming chat, I dont know how to stop that? Hope I did it right!

Jokerz99 10-06-2008 08:21

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
I get this spammed in my error log...

L 10/05/2008 - 17:21:51: Info (map "ctf_turbine") (file "errors_20081005.log")
L 10/05/2008 - 17:21:51: [SM] Native "GetEntProp" reported: Entity 14 is invalid
L 10/05/2008 - 17:21:51: [SM] Displaying call stack trace for plugin "classrestrict.smx":
L 10/05/2008 - 17:21:51: [SM] [0] Line 95, /home/groups/sourcemod/compiler/include/tf2_stocks.inc::TF2_GetPlayerClass()
L 10/05/2008 - 17:21:51: [SM] [1] Line 71, /home/groups/alliedmodders/forums/files/3/4/6/6/8/31950.attach::Command_Equip()
L 10/05/2008 - 17:21:51: [SM] Native "GetEntProp" reported: Entity 14 is invalid
L 10/05/2008 - 17:21:51: [SM] Displaying call stack trace for plugin "classrestrict.smx":
L 10/05/2008 - 17:21:51: [SM] [0] Line 95, /home/groups/sourcemod/compiler/include/tf2_stocks.inc::TF2_GetPlayerClass()
L 10/05/2008 - 17:21:51: [SM] [1] Line 71, /home/groups/alliedmodders/forums/files/3/4/6/6/8/31950.attach::Command_Equip()
L 10/05/2008 - 17:21:51: [SM] Native "GetEntProp" reported: Entity 14 is invalid
L 10/05/2008 - 17:21:51: [SM] Displaying call stack trace for plugin "classrestrict.smx":
L 10/05/2008 - 17:21:51: [SM] [0] Line 95, /home/groups/sourcemod/compiler/include/tf2_stocks.inc::TF2_GetPlayerClass()
L 10/05/2008 - 17:21:51: [SM] [1] Line 71, /home/groups/alliedmodders/forums/files/3/4/6/6/8/31950.attach::Command_Equip()

DontWannaName 10-06-2008 16:00

Re: TF2 Class Restrictions 0.4 (Updated 07/19)
 
I dont think it means anything important, I already reported it 2 times.


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

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