Raised This Month: $51 Target: $400
 12% 

Bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
barvica
Senior Member
Join Date: Oct 2014
Old 12-22-2015 , 11:11   Bug
Reply With Quote #1

So i updated hosties, and now terrorists are randomly getting green(rebel color) at the start of the round even though that they are not rebelling. Uploaded my config, which i havent changed since i updated plugin.
Attached Files
File Type: cfg sm_hosties2.cfg (20.2 KB, 143 views)
barvica is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-22-2015 , 21:31   Re: Bug
Reply With Quote #2

Quote:
Originally Posted by barvica View Post
So i updated hosties, and now terrorists are randomly getting green(rebel color) at the start of the round even though that they are not rebelling. Uploaded my config, which i havent changed since i updated plugin.
https://github.com/dataviruset/sm-ho...7cf1b0ce2d8f59
__________________
databomb is offline
barvica
Senior Member
Join Date: Oct 2014
Old 12-23-2015 , 10:44   Re: Bug
Reply With Quote #3

where to add that, i dont have last request.smx plugin

Edit: I get this error, when i changed my 925th line with that, i mean i added that "line". And recompiled it, or i dont know what to do ?

http://i.imgur.com/PtRvzMZ.png

Last edited by barvica; 12-23-2015 at 10:53.
barvica is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 12-23-2015 , 16:18   Re: Bug
Reply With Quote #4

Quote:
Originally Posted by databomb View Post
I've just noticed that the following code already exists (quoted below), but doesn't seem to do what that's meant to? Since you've added it into that commit already, perhaps the code below can just be removed from the plugin.

Quote:
public LastRequest_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
SetCorrectPlayerColor(client);
}
__________________
4bdul is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-25-2015 , 03:08   Re: Bug
Reply With Quote #5

Quote:
Originally Posted by barvica View Post
where to add that, i dont have last request.smx plugin

Edit: I get this error, when i changed my 925th line with that, i mean i added that "line". And recompiled it, or i dont know what to do ?

http://i.imgur.com/PtRvzMZ.png
Why are you adding the line manually? You need to compile the latest SM Hosties to fix your bug. Everyone has been asking how to compile lately, look around on the other threads. I may make a sticky thread with instructions.
__________________
databomb is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-25-2015 , 03:21   Re: Bug
Reply With Quote #6

Quote:
Originally Posted by 4bdul View Post
I've just noticed that the following code already exists (quoted below), but doesn't seem to do what that's meant to? Since you've added it into that commit already, perhaps the code below can just be removed from the plugin.
Could you test it without that and verify that there is no difference. If this holds up, put a pull a request on github and I will accept it.
__________________
databomb is offline
barvica
Senior Member
Join Date: Oct 2014
Old 12-25-2015 , 04:59   Re: Bug
Reply With Quote #7

I compiled the latest sm_hosties.sp from that github, and the rebel bug appeared.

Quote:
Originally Posted by databomb View Post
Why are you adding the line manually? You need to compile the latest SM Hosties to fix your bug. Everyone has been asking how to compile lately, look around on the other threads. I may make a sticky thread with instructions.
barvica is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-25-2015 , 05:49   Re: Bug
Reply With Quote #8

4bdul, are you also still having the rebel color bug with the latest compiled version? barvica, I don't see how you could be having the issue if you compiled the latest code from the GitHub.
__________________
databomb is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 01-06-2016 , 14:46   Re: Bug
Reply With Quote #9

Quote:
Originally Posted by barvica View Post
I compiled the latest sm_hosties.sp from that github, and the rebel bug appeared.
Just incase you literally mean "sm_hosties.sp", the fix was in "lastrequest.sp", but it would be best to compile it with all the latest .sp files anyway.

I can confirm I'm not getting the issue since the fix was put in.
__________________
4bdul 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 10:09.


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