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

How do you guys test your plugins?


Post New Thread Reply   
 
Thread Tools Display Modes
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 03-14-2015 , 12:44   Re: How do you guys test your plugins?
Reply With Quote #11

Quote:
Originally Posted by RedSword View Post
You have to distinguish client-local server and local srcds. Creating a server within the game client sure lead to strange errors (not sure if it changed; but I've heard the first player could have the Client Id = 0, instead of the world). Those errors won't be fixed in SM because local server aren't supported.
Off-topic, but I've never tested on a listen server - if the first client's Id is 0 then when people get killed by the environment, does it say Client1 killed them? Or does the environment have a non-zero id itself? Or maybe neither but it somehow distinguishes from those instances, despite both the world and Client1 having the same ID.
__________________
11530 is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 03-14-2015 , 14:01   Re: How do you guys test your plugins?
Reply With Quote #12

A copy of every server type for every game I need in my portable 1TB drive and I just use those with two separate addons folders for Sourcemod 1.6 & 1.7 with updates as they come to both Sourcemod & the game itself.
Drixevel is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 03-20-2015 , 09:04   Re: How do you guys test your plugins?
Reply With Quote #13

Quote:
Originally Posted by 11530 View Post
Off-topic, but I've never tested on a listen server - if the first client's Id is 0 then when people get killed by the environment, does it say Client1 killed them? Or does the environment have a non-zero id itself? Or maybe neither but it somehow distinguishes from those instances, despite both the world and Client1 having the same ID.
I tried a Listen Server with Sourcemod a few days ago because I had misplaced my portable HDD that contained my LAN server, My Index would literally fluctuate between 0-1 literally every 5 seconds or so.

I found some logs, here they are
Code:
L 03/14/2015 - 17:06:01: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 1129368998 duration 15.00 from player 0
L 03/14/2015 - 17:06:06: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -631661540 duration 9.00 from player 1
L 03/14/2015 - 17:06:11: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -1386304374 duration 17.00 from player 1
L 03/14/2015 - 17:06:16: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 859453737 duration 13.00 from player 0
L 03/14/2015 - 17:06:21: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 1144850879 duration 13.00 from player 1
L 03/14/2015 - 17:06:28: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -583772155 duration 12.00 from player 1
L 03/14/2015 - 17:06:32: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -1439471469 duration 7.00 from player 0
L 03/14/2015 - 17:06:36: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 982283522 duration 12.00 from player 1
L 03/14/2015 - 17:06:39: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 1300972948 duration 10.00 from player 0
L 03/14/2015 - 17:06:43: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 760007793 duration 13.00 from player 0
L 03/14/2015 - 17:06:48: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 1514929383 duration 10.00 from player 0
L 03/14/2015 - 17:06:52: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -1019040419 duration 12.00 from player 0
L 03/14/2015 - 17:06:58: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -1678467690 duration 18.00 from player 0
L 03/14/2015 - 17:07:03: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 50187308 duration 19.00 from player 1
L 03/14/2015 - 17:07:08: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 93325365 duration 22.00 from player 0
L 03/14/2015 - 17:07:13: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 1922513059 duration 21.00 from player 0
L 03/14/2015 - 17:07:18: [[L4D2] Captions Manipulation.smx] CloseCaption: Id -226142120 duration 20.00 from player 0
L 03/14/2015 - 17:07:22: [[L4D2] Captions Manipulation.smx] CloseCaption: Id 478886260 duration 20.00 from player 1
Like, what, how, I don't even...
__________________
DeathChaos25 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-20-2015 , 10:57   Re: How do you guys test your plugins?
Reply With Quote #14

Thanks for testing & reporting; I've never tested myself and it's kind of nice to see such a not-nice behavior =3.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword 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 07:39.


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