Desync Check
#9

Well your code is pretty alright, only 1 thing is too much here,
drunklevel = GetPlayerDrunkLevel(playerid);
in the timer's public function makes it go too high, as a player would lose like 100 tops, then he would have 100 extra, these can easily add up to 2000 drunk level, which is the point which the screen starts shaking if a player is dysnced.
so remove the else clause, change the next line to
drunklevel = GetPlayerDrunkLevel(playerid)-200;

And it will be fixed.
Note that I'm just checking technical problems, I have no idea if this method will actually work for finding dysnced players.

Oh and btw using set and then get after that has a high chance of giving the old value since it's not updated for the player yet I guess.
Reply


Messages In This Thread
Desync Check - by GoldenLion - 09.08.2016, 15:56
Re: Desync Check - by Luicy. - 09.08.2016, 16:02
Re: Desync Check - by GoldenLion - 09.08.2016, 16:04
Re: Desync Check - by Luicy. - 09.08.2016, 16:06
Re: Desync Check - by GoldenLion - 09.08.2016, 16:09
Re: Desync Check - by Luicy. - 09.08.2016, 16:10
Re: Desync Check - by GoldenLion - 09.08.2016, 16:22
Re: Desync Check - by GoldenLion - 09.08.2016, 19:05
Re: Desync Check - by PrO.GameR - 09.08.2016, 20:30
Re: Desync Check - by GoldenLion - 10.08.2016, 12:38
Re: Desync Check - by Logic_ - 10.08.2016, 12:41
Re: Desync Check - by GoldenLion - 10.08.2016, 13:02
Re: Desync Check - by Logic_ - 10.08.2016, 13:02
Re: Desync Check - by GoldenLion - 10.08.2016, 14:36
Re: Desync Check - by Logic_ - 10.08.2016, 16:44
Re: Desync Check - by GoldenLion - 10.08.2016, 18:03
Re: Desync Check - by Logic_ - 10.08.2016, 18:12
Re: Desync Check - by GoldenLion - 10.08.2016, 18:37
Re: Desync Check - by Logic_ - 10.08.2016, 18:56
Re: Desync Check - by GoldenLion - 10.08.2016, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)