AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SM_Hosties (https://forums.alliedmods.net/forumdisplay.php?f=155)
-   -   Bug (https://forums.alliedmods.net/showthread.php?t=276489)

barvica 12-22-2015 11:11

Bug
 
1 Attachment(s)
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.

databomb 12-22-2015 21:31

Re: Bug
 
Quote:

Originally Posted by barvica (Post 2375165)
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

barvica 12-23-2015 10:44

Re: Bug
 
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

4bdul 12-23-2015 16:18

Re: Bug
 
Quote:

Originally Posted by databomb (Post 2375352)

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);
}

databomb 12-25-2015 03:08

Re: Bug
 
Quote:

Originally Posted by barvica (Post 2375545)
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 12-25-2015 03:21

Re: Bug
 
Quote:

Originally Posted by 4bdul (Post 2375656)
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.

barvica 12-25-2015 04:59

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

Quote:

Originally Posted by databomb (Post 2376056)
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 12-25-2015 05:49

Re: Bug
 
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.

4bdul 01-06-2016 14:46

Re: Bug
 
Quote:

Originally Posted by barvica (Post 2376080)
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.


All times are GMT -4. The time now is 20:35.

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