SphereCommunity
Need source code of fps patch to fix skipping on sphere serv? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Need source code of fps patch to fix skipping on sphere serv? (/Thread-Need-source-code-of-fps-patch-to-fix-skipping-on-sphere-serv)



Need source code of fps patch to fix skipping on sphere serv? - G-Defender - 04-13-2016 09:03 AM

Hi guys! i am on a server that use sphereserver 56b and i have the lastest version on injection!

There is that new FPS PATCH in injection that make the game so mutch better but unfortunatly
the is a big issu that come with it. Yes, everybody thats dosent use it see peapole who use it skipping
or jumping in there screen(like speed hack). I seriously dont think it give you more speed but the player
that dosent use it complaine alot... i know uo client run on a regular base of 20fps and that fps patch is
incresing the regular fps of the client but im looking for a solution here to keep it and that is stop
the skipping tiles part for the player that dosent use it...

Im working with some sphere developper and we need the source code of the fps patch to fix it for all sphere server version..

it will be nice if you guys can help!!!

site link : http://forum.yoko.com.ua/viewtopic.php?f=12&t=17367

thx!


RE: Need source code of fps patch to fix skipping on sphere serv? - Coruja - 04-13-2016 01:42 PM

unfortunately there's no easy solution
FPS Patch is not a change-speed, but it act in the same way: it accelerate the client behavior. And this will make it walk faster than default clients

there's no source-code for FPS Patch, because it's a injection exploit "feature". UO is a old game where many actions are based on actions instead precision timing. So lets suppose that the walk animation have 10 frames with an 20ms between each frame, this animation will took 200ms to run, and when the client play the full animation, it will try to walk again. Now apply the FPS Patch effect: it accelerate the game FPS, making the delay between frames drop from 20ms to 17ms (example). Now the animation time will be 170ms, making it run faster

so the only way to block FPS Patch is applying the same rules of blocking change-speed. Also the only way to prevent players to be reported is telling him to not use FPS Patch anymore

EDIT: you can try using EF_FastwalkPrevention on sphere.ini to enable sphere internal change-speed detection, but this feature still experimental


RE: Need source code of fps patch to fix skipping on sphere serv? - G-Defender - 04-15-2016 07:40 PM

EF_FastwalkPrevention on sphere.ini dont work.

FPS patcher -> RAM is changing address.

FPS autopatcher.exe -> client.exe -> ram adress update -> speed active.

How do we find the ram address?