Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: rww on Jun 18, 2016, 06:23 AM

Title: [BUG] GetTimeRate() bugged
Post by: rww on Jun 18, 2016, 06:23 AM
Description
GetTimeRate after 04rel004 update is bugged.

Reproducible
Always

What you were doing when the bug happened
[spoiler]
SetTimeRate(4000);
print(GetTimeRate());

return: 160

SetTimeRate(1000);
print(GetTimeRate());

return: 232
[/spoiler]

What you think caused the bug
Update squirrel plugin to 04rel004.
Title: Re: [BUG] GetTimeRate() bugged
Post by: vito on Jun 18, 2016, 09:18 AM
maybe limit of it is 256
Title: Re: [BUG] GetTimeRate() bugged
Post by: Thijn on Jun 18, 2016, 11:12 AM
GetTimeRate works fine for values below 256. I think the question is why you'd want to have such a high timerate in the first place.
Title: Re: [BUG] GetTimeRate() bugged
Post by: KAKAN on Jun 18, 2016, 12:20 PM
Quote from: Thijn on Jun 18, 2016, 11:12 AMGetTimeRate works fine for values below 256. I think the question is why you'd want to have such a high timerate in the first place.
because SetTimeRate(1000) acts as the normal time rate of VC, i.e, 1 second.
Title: Re: [BUG] GetTimeRate() bugged
Post by: Thijn on Jun 18, 2016, 04:34 PM
Quote from: KAKAN on Jun 18, 2016, 12:20 PM
Quote from: Thijn on Jun 18, 2016, 11:12 AMGetTimeRate works fine for values below 256. I think the question is why you'd want to have such a high timerate in the first place.
because SetTimeRate(1000) acts as the normal time rate of VC, i.e, 1 second.
Right :P
Title: Re: [BUG] GetTimeRate() bugged
Post by: Stormeus on Jul 17, 2016, 08:12 AM
Resolved per http://forum.vc-mp.org/?topic=3306.msg24704#msg24704