SRL Archive - Bugs

R_ChooseOptionMulti is broken


bbri06

2010-07-26 17:37:51

Gamer716 brought this to my attention in my script's thread recently, and I tested it too. Take a look at it please.

Shuttleu

2010-07-26 17:58:58

two of the hooks needs updating
change them to this
	hook_static_MenuX = 'qea.n';
hook_static_MenuY = 'm.f';

~shut

bbri06

2010-07-26 18:06:09

That worked, thanks.

Wanted

2010-07-26 18:06:39

I don't understand the point of R_Bankscreen, R_ChooseOption, R_LoggedIn ect.. it seems they are the least stable parts of reflection and you would be perfectly fine using SRL's core.

lordsaturn

2010-07-26 21:30:52

From: IceFire908
I don't understand the point of R_Bankscreen, R_ChooseOption, R_LoggedIn ect.. it seems they are the least stable parts of reflection and you would be perfectly fine using SRL's core.


I use menu option hooks to increase option/uptext efficiency to less than 300 msec. Can't say about the others. Although R_LoggedIn (LoginIndex) is just a simple integer field. SetupReflectionEx also tests against the LoginIndex hook.

apx900

2010-08-17 10:57:57

From: Shuttleu
two of the hooks needs updating
change them to this
	hook_static_MenuX = 'qea.n';
hook_static_MenuY = 'm.f';

~shut


hey i'm quiet new to reflection, would you mind posting how we should update the hooks please? i'm looking at the function and the only place i can see hook_static_MenueX is in

P := Point(SmartGetFieldInt(0, hook_static_MenuX) + 4, SmartGetFieldInt(0, hook_static_MenuY) + 4);

gamer716

2010-08-17 12:16:10

to update R_ChooseOptionMulti Hook, go to the /Simba/Includes/Reflection/Core/Hooks.simba

You should find the necessary hooks and update them appropriately