[REQUEST]AutoSelect for MySro

09/27/2010 22:46 silkbotter#1
heya.. again i need the help of some experts.
I'm trying to get an autoselect for my client.
the media.pk2 fix is done but i'm having problems with that offset thing on the client.
i do have the so called offsets, but i have no idea how to change the code in order to show the autoselect button on the action winndow.
i'd need a exe editing cuz i use sro.db bot and it doesn't work with any loader.

anyone who can help me out?
09/27/2010 23:53 Kape7#2
The icon can be added just editing the actionwnddata.txt from the Media.pk2. Or maybe you mean that the MySRO client disabled it?
09/28/2010 07:10 silkbotter#3
here's my actionwnddata.txt:

Quote:
1000 1 앉기서기 UIIT_CTL_TOG_SIT_STAND_TT icon\action\icon_cha_sit.ddj 1 0
1001 1 걷기뛰기 UIIT_CTL_TOG_RUN_WALK_TT icon\action\icon_cha_walk.ddj 1 1
1002 1 자동공격 UIIT_CTL_AUTOATTACK_TT icon\action\icon_cha_auto_attack.ddj 1 2
1003 1 자동추적 UIIT_CTL_AUTOTRACE_TT icon\action\icon_cha_follow.ddj 1 3
1004 1 자동뛰기 UIIT_CTL_AUTORUN_TT icon\action\icon_cha_autorun.ddj 1 4
1005 1 자동선택 UIIT_CTL_AUTOSELECT_TT icon\action\icon_cha_autotarget.ddj 1 5
1006 1 교환 UIIT_CTL_EXCHANGE_TT icon\action\icon_cha_exchange.ddj 1 5
1007 1 파티 UIIT_STT_PARTY icon\action\icon_cha_party.ddj 1 6
1008 1 자동취득 UIIT_CTL_AUTOGET_TT icon\action\icon_cha_autoget.ddj 1 7
1009 1 노점 UIIT_CTL_OPEN_STORE icon\action\icon_cha_shop.ddj 1 8
1010 1 연금상자 UIIT_CTL_ALCHEMYBOX icon\action\icon_cha_alchemy.ddj 1 9
1011 1 헬퍼상태 UIIT_STT_HELPER icon\action\icon_cha_helper.ddj 1 10
1012 1 자동물약 UIIT_PAG_MACROPOTION_TITLE icon\action\icon_cha_recovery.ddj 1 11
1013 1 노점네트워크 UIIT_STT_WARENETWORK_TITLE icon\action\icon_cha_shopnetwork.ddj 1 12
1014 1 견습소 UIIT_CTL_TC_SHORTKEY_L icon\action\icon_cha_camp.ddj 1 13
1015 1 요새귀환 UIIT_STT_FORT_PORTALACTION icon\action\icon_cha_fortreturn.ddj 1 14
4000 1 인사 UIIT_CTL_EMOT_GREETING_TT icon\action\emot_act_greeting.ddj 4 0
4001 1 웃음 UIIT_CTL_EMOT_LAUGH_TT icon\action\emot_act_laugh.ddj 4 1
4002 1 포권 UIIT_CTL_EMOT_POKUN_TT icon\action\emot_act_pokun.ddj 4 2
4003 1 네 UIIT_CTL_EMOT_YES_TT icon\action\emot_act_yes.ddj 4 3
4004 1 돌진 UIIT_CTL_EMOT_RUSH_TT icon\action\emot_act_rush.ddj 4 4
4005 1 아자 (근데 왜 조이?) UIIT_CTL_EMOT_JOY_TT icon\action\emot_act_joy.ddj 4 5
4006 1 아니오 UIIT_CTL_EMOT_NO_TT icon\action\emot_act_no.ddj 4 6
5000 1 COS애교 UIIT_STT_COSNEWUI_CHARMS icon\action\cos_cmd_charm.ddj 4 7
as you can see, everything is fine on that.
something on the client exe is disabled some people say.
09/28/2010 07:26 Windrius#4
Quote:
Originally Posted by silkbotter View Post
here's my actionwnddata.txt:



as you can see, everything is fine on that.
something on the client exe is disabled some people say.
Ok. Haven't done pk2 editing in a while but I think it's cuz of this

Code:
1005 1 자동선택 UIIT_CTL_AUTOSELECT_TT icon\action\icon_cha_autotarget.ddj 1 [B][U]5[/U][/B]
1006 1 교환 UIIT_CTL_EXCHANGE_TT icon\action\icon_cha_exchange.ddj 1 [B][U]5[/U][/B]
Pretty sure the last number is place in line :)
Hope it helps.

P.S. The offset you need to edit is range. It has nothing todo with the button, but it won't select much otherwise :D. And to edit the range use CheatEngine.
09/28/2010 10:14 Kape7#5
Windrus was faster XD
Yeah, basically that's the problem, the structure of the actionwnddata.txt is:

Quote:
<id> <service> <name(ignored)> <textid(textuisystem)> <icon path> <submenu> <slotnumber>
If any icon have the same <submenu> and <slotnumber> or same <id> only the last one readed appears, so for solve it you have just to change the <slotnumber> to anything else which is not in use.

PS: The <submenu> indicates this:

[Only registered and activated users can see links. Click Here To Register...]
09/28/2010 15:51 silkbotter#6
thanx for that hint guys.. i really didnt see that.

windri.. any idea how to change the range permanentely on the sro_client.exe? ;)
09/28/2010 16:01 Windrius#7
Quote:
Originally Posted by silkbotter View Post
thanx for that hint guys.. i really didnt see that.

windri.. any idea how to change the range permanentely on the sro_client.exe? ;)
Use olly or hex edit.
09/28/2010 16:24 silkbotter#8
right :D
lol.
but i don't see any value besides the "20" upside the offsets.

[Only registered and activated users can see links. Click Here To Register...]

i'm kinda lost atm...
09/28/2010 16:53 Windrius#9
Quote:
Originally Posted by silkbotter View Post
right :D
lol.
but i don't see any value besides the "20" upside the offsets.

[Only registered and activated users can see links. Click Here To Register...]

i'm kinda lost atm...
Thats clearly wrong.
If I'm not mistaking the default auto select value is 70 or 0x70
Just search for one that is called by the auto select function.
09/28/2010 17:15 lesderid#10
Just run this: (Attachment)
Extract it in your FySRO folder.
09/28/2010 17:27 silkbotter#11
thanx for that AutoIt script.

I got the offsets now.. but HOW do i change the rangevalue in the sro_client.exe?
as i said.. i already got the offsets. i just don't know what to do with them since they're not numeric...
09/28/2010 18:23 Windrius#12
Quote:
Originally Posted by silkbotter View Post
thanx for that AutoIt script.

I got the offsets now.. but HOW do i change the rangevalue in the sro_client.exe?
as i said.. i already got the offsets. i just don't know what to do with them since they're not numeric...
What do you mean they're not numeric?
Anyway, turn on sro and launch cheat engine. Find the offset and modify it.
09/28/2010 18:37 silkbotter#13
some people are having troubles in READING MY POST!

i repeat myself: I - WANT - TO - MAKE - THE - CHANGES - IN - THE - SRO_CLIEN.EXE - AND - NOT - IN - THE - DAMN - MEMORY!
get me?

the reason is simple:
A LOT of people are using some SKILL BUGS TO DC PEOPLE! as soon as i stand 10 seconds in Hotan, my client crashes! and i don't feel like searching the offsets again and again and again!

besides that: I NEED HELP! see? "input it on cheatengine".. well bro.. i'm not that stupid!! there are no values! offset/pointer blablabla. inputting it on cheatengine won't give me any value besides ??? or some number over 10 thousand!
Going to that expression through OLLY doesn't show me any VALUES to change!
i'm just fucked-up!
i just want a fucking damn Range extender for the damn client! :-!
can't be that hard :/
So i ask you again, HOW can i work with this offset?


sry for my rudeness, but "turn on sro and open cheatengine" won't help me at all :/
no values i can edit.. as i mentioned before.. so an answer like "search it on cheatengine" is kinda useless :(
09/28/2010 18:50 Windrius#14
Quote:
Originally Posted by silkbotter View Post
some people are having troubles in READING MY POST!

i repeat myself: I - WANT - TO - MAKE - THE - CHANGES - IN - THE - SRO_CLIEN.EXE - AND - NOT - IN - THE - DAMN - MEMORY!
get me?

the reason is simple:
A LOT of people are using some SKILL BUGS TO DC PEOPLE! as soon as i stand 10 seconds in Hotan, my client crashes! and i don't feel like searching the offsets again and again and again!

besides that: I NEED HELP! see? "input it on cheatengine".. well bro.. i'm not that stupid!! there are no values! offset/pointer blablabla. inputting it on cheatengine won't give me any value besides ??? or some number over 10 thousand!
Going to that expression through OLLY doesn't show me any VALUES to change!
i'm just fucked-up!
i just want a fucking damn Range extender for the damn client! :-!
can't be that hard :/
So i ask you again, HOW can i work with this offset?


sry for my rudeness, but "turn on sro and open cheatengine" won't help me at all :/
no values i can edit.. as i mentioned before.. so an answer like "search it on cheatengine" is kinda useless :(
Well, I can't help much without seeing what you have there :D
You know, you could use a loader to modify it. I know lolkop guy released an open source loader that modified auto select range. Just change the offset (in loader) and use that.
09/28/2010 18:59 silkbotter#15
ohoo.. thanx for the very indirect help.
i checked lolkops site, and downlaoded a loader, checked the source, and i was able to find out, that the datatype of the autoselect is FLOAT!!! :D

well.. this got me much further...