marpis
2011-01-13 11:10:54
What does GetMyPos result when the hooks are out of date?
nielsie95
2011-01-13 11:29:56
Change the hooks to some random things and try it? It'll probably return a random position.
Boreas
2011-01-13 11:51:52
Kinda off topic, but suggestion for Ref devs;
Make UpdateHooks DL an INI file, change hooks from const to var, and have UpdateHooks load the INI into the vars so that you don't need to restart script.
Edit: also need something to reload client when update is detected
E: on topic, as per PM
HooksOutdated := (GetJavaString(SmartGetFieldObject(SmartGetFieldObject(0, hook_static_MyPlayer), hook_player_GetName), 255) <>
Players[CurrentPlayer].Name));