Fishing Speed Too Slow
#4
If I'm reading it right, that code would seem to be correct... 100 ticks / 20 tps = 5 seconds and 900 /20 tps = 45 seconds. 

The enchantment even takes off the right amount of time. 100 ticks or 5 sec each level. 

The tps of my server is always 19.99 something or 20 even.  Is there any other code that might be affecting the fishing speed?

I just tested it again on a clear day with the sun directly overhead and I still got up to 1 minute 50 seconds (Which is more than double what it should be).


(04-26-2018, 04:33 PM)NiLSPACE Wrote: That's quite easy to fix. In this line
(Random.RandInt(100, 900) - static_cast<int>(a_Player->GetEquippedItem().m_Enchantments.GetLevel(cEnchantments::enchLure) * 100))
should be changed to produce less ticks.
Reply
Thanks given by:


Messages In This Thread
Fishing Speed Too Slow - by the1robert - 04-26-2018, 07:58 AM
RE: Fishing Speed Too Slow - by NiLSPACE - 04-26-2018, 04:33 PM
RE: Fishing Speed Too Slow - by the1robert - 04-27-2018, 09:18 AM
RE: Fishing Speed Too Slow - by peterbell10 - 04-27-2018, 09:47 AM
RE: Fishing Speed Too Slow - by the1robert - 04-27-2018, 04:10 PM
RE: Fishing Speed Too Slow - by ShadowCone - 04-26-2018, 05:00 PM



Users browsing this thread: 1 Guest(s)