Raised This Month: $32 Target: $400
 8% 

TF2 Class Restrictions 0.6 (Updated 08/13/09)


Post New Thread Reply   
 
Thread Tools Display Modes
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-29-2008 , 15:23   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #101

Thanks
__________________

DontWannaName is offline
conduit
Junior Member
Join Date: Jul 2008
Old 09-30-2008 , 17:52   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #102

Quote:
Originally Posted by DJ Tsunami View Post
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 is offline
conduit
Junior Member
Join Date: Jul 2008
Old 10-03-2008 , 10:13   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #103

Quote:
Originally Posted by conduit View Post
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!
conduit is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-03-2008 , 16:44   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #104

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.
__________________

DontWannaName is offline
Chaotic Llama
SourceMod Donor
Join Date: Dec 2005
Location: Lee's Summit, MO
Old 10-03-2008 , 17:29   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #105

Quote:
Originally Posted by DontWannaName View Post
Also a chat message on block, along with the sound would also be nice to tell people for sure they are blocked.
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...
__________________
In a League of it's own ~ OneWorldOn-line.com
Chaotic Llama is offline
Send a message via AIM to Chaotic Llama
Chaotic Llama
SourceMod Donor
Join Date: Dec 2005
Location: Lee's Summit, MO
Old 10-04-2008 , 11:44   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #106

Quote:
Originally Posted by gamma View Post
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
__________________
In a League of it's own ~ OneWorldOn-line.com
Chaotic Llama is offline
Send a message via AIM to Chaotic Llama
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-05-2008 , 00:23   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #107

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 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-05-2008 , 02:06   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #108

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!
Attached Files
File Type: sp Get Plugin or Get Source (classrestrict.sp - 840 views - 5.9 KB)
__________________


Last edited by DontWannaName; 10-05-2008 at 02:09.
DontWannaName is offline
Jokerz99
Senior Member
Join Date: Apr 2008
Old 10-06-2008 , 08:21   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #109

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()
__________________
Jokerz99 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-06-2008 , 16:00   Re: TF2 Class Restrictions 0.4 (Updated 07/19)
Reply With Quote #110

I dont think it means anything important, I already reported it 2 times.
__________________

DontWannaName 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 03:18.


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