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

Remember Spectators v1.2.5


Post New Thread Reply   
 
Thread Tools Display Modes
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 08-20-2009 , 08:21   Re: [L4D] Remember Spectators v1.1.1
Reply With Quote #11

Hopefully this is fixed now.. I just moved the team checking method into the IsValidClient() method.
bman87 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-21-2009 , 09:59   Re: [L4D] Remember Spectators v1.1.1
Reply With Quote #12

Yeah, error seems to be fixed.

There seems to be a new problem though. A friend of mine told me that if you've been on spectate mode a bit longer (lets say for 3 mapchanges) and then goes back to the game, you will get switched to spectate automaticly on next mapchange. You'll basicly be forced to spectate on every map change, even though you have joined the survivor/infected again.

This problem is hard to describe, I think I've seen it when I joined the game as spectator twice. The problem seems to be very rare though.
Dosen't happen if you go spectate for one map change.
Visual77 is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 08-21-2009 , 10:14   Re: [L4D] Remember Spectators v1.1.1
Reply With Quote #13

Just added a check to see if the client was in the spectators array when they change teams, if they are it will remove them from the array. Hopefully preventing your issue
bman87 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-21-2009 , 10:19   Re: [L4D] Remember Spectators v1.2
Reply With Quote #14

Thanks. I'll report back if I see any trouble.
Visual77 is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 08-21-2009 , 10:33   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #15

Whoops, download the plugin again... I forgot to add IsValidClient() to the team change method....
bman87 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-21-2009 , 10:44   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #16

Done.
Visual77 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-21-2009 , 11:49   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #17

It just happend again. Was spectating on the first 2 maps, joined the infected team at the 3rd. On the 4th, just after the loading screen I was put back on spectate mode again. Was tested with 1.2.1
Visual77 is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 08-21-2009 , 12:08   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #18

Can you test this version and let me know if its still broken?

Last edited by bman87; 08-21-2009 at 14:59.
bman87 is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-21-2009 , 12:26   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #19

Quote:
Originally Posted by bman87 View Post
Can you test this version and let me know if its still broken?
Nice decision . Clearing array before round end and then writing spectator's steam id's should fix this.
__________________
olj is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 08-21-2009 , 12:31   Re: [L4D] Remember Spectators v1.2.1
Reply With Quote #20

Quote:
Originally Posted by olj View Post
Nice decision . Clearing array before round end and then writing spectator's steam id's should fix this.
I hope so! I disabled the team change check in my post above, not sure why that didn't work. But it will be re-enabled once I get confirmation the bug is gone. I think the team change check is needed if someone is spectator, joins a team, then reconnected before a round_end is triggered.
bman87 is offline
Reply


Thread Tools
Display Modes

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 14:13.


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