magellenproject Advanced Cheater
Reputation: 0
Joined: 23 Nov 2011 Posts: 59
|
Posted: Sat Nov 26, 2011 4:29 pm Post subject: Can someone point me in the Right direction. |
|
|
I have these values and I really want to learn how to make Auto Assembly scripts.
The trouble is(and even though this is great thing)there are SO MANY tutorials on this site, you really have too much choice, and I haven't found any tutorial, guide, or help that covers this.
Either that, or I haven't looked hard enough, or I have underestimated just how hard AA is, despite someone on this site saying otherwise.
Anyway I am trying to write a script that will "boost me up to a certain speed" in X3 either a speed that I have predetermined from another key input, or a value that I can change inside a simpe simple script.
I thought I had learnn't a lot (For a newbie like me at least) about AA but I guess not.
Anyhoo these are the values ASM/codes things:
004A4867 idiv ecx
004A4869 mov ecx,00000001
004A486E sub ecx,eax
004A4870 test ecx,ecx
004A4872 jle 004A4882
004A4874 mov edx,[esi+00000124]
004A487A mov [esi+00000120],edx
004A4880 jmp 004A48A6
004A4882 mov eax,[esi+00000124]
004A4888 neg ecx
[esi+00000124]
I think from what I can gather holds the value of the speed which is read by edx, if I am to deduce from what I have learnt so far.
And edx is thus copied into [esi+00000120].
Right??
Hex is so weird isn't it.
I got four values anyway after a long change the value inc/dec routine which you have to do each time
1D0A71CF
1D0A71D0
1D0A71D3
1D0A71D4
And the way the values of things being moved around is even more strange a sporadic.
For example 1D0A71D4 which contained a small number changed the value(according to find out what writes here) of 1D0A71CF
I changed 004A4874 mov edx,[esi+00000124]
to mov edx,[00000700] the program didn't like that one bit and crashed.
So...what do I do next if I want to have it so I can press a button and give myself a toggleable boost of speed of a specifiable (in the script) speed, in the game.
I am sorry if this makes all you seasoned Coders, Programers, Computer Proffesionals, Operating System Developers and the like Cringe but...
What do I do to what thing, to make thing, do what I want thing to do for me.
I never did a find out what writes here for 1D0A71D0 and 1D0A71D3.
...But I assume they were both having an all inclusive package holiday with
C533CD45 in the Mediteranean.
|
|