Namelez
1st July 2007, 09:00
I used this block of code
[Enable]
Alloc(SkID,126)
Alloc(Sklvl,126)
Label(IfID)
Label(Iflvl)
Label(SkBack)
Label(SklvlBack)
006250BA:
jmp SkID
SkBack:
0045367B:
jmp Sklvl
SklvlBack:
SkID:
push [ebp+08]
//mov [eax],00111AE9
cmp [eax],3E9
je IfID
mov edi,[eax]
jmp SkBack
IfID:
mov [eax],00111AE9 // 004E9C3C
mov edi,[eax]
jmp SkBack
Sklvl:
cmp [edi],
je Iflvl
mov eax,[edi]
push 05
push eax
jmp SklvlBack
Iflvl:
mov [edi],3E9
mov eax,[edi]
push 05
push eax
jmp SklvlBack
[Disable]
006250BA:
push [ebp+08]
mov edi,[eax]
004536FE:
mov eax,[edi]
push 05
push eax
Dealloc(SkID)
Dealloc(Sklvl)
Then I changed it to
[Enable]
Alloc(SkID,126)
Alloc(Sklvl,126)
Label(IfID)
Label(Iflvl)
Label(SkBack)
Label(SklvlBack)
006250BA:
jmp SkID
SkBack:
0045367B:
jmp Sklvl
SklvlBack:
SkID:
push [ebp+08]
//mov [eax],003EBA99
cmp [eax],3E9
je IfID
mov edi,[eax]
jmp SkBack
IfID:
mov [eax],003EBA99
mov edi,[eax]
jmp SkBack
Sklvl:
cmp [edi],
je Iflvl
mov eax,[edi]
push 05
push eax
jmp SklvlBack
Iflvl:
mov [edi],3E9
mov eax,[edi]
push 05
push eax
jmp SklvlBack
[Disable]
006250BA:
push [ebp+08]
mov edi,[eax]
004536FE:
mov eax,[edi]
push 05
push eax
Dealloc(SkID)
Dealloc(Sklvl)
Magenta blocks are the changed parts.
Which is basically changing the 4th job value for monster magnet to Meso up.
Is this block of code wrong because there is some part of this I should or should not have changed?Thanks to whoever can help, if you could explain why the block of code was wrong .
[Enable]
Alloc(SkID,126)
Alloc(Sklvl,126)
Label(IfID)
Label(Iflvl)
Label(SkBack)
Label(SklvlBack)
006250BA:
jmp SkID
SkBack:
0045367B:
jmp Sklvl
SklvlBack:
SkID:
push [ebp+08]
//mov [eax],00111AE9
cmp [eax],3E9
je IfID
mov edi,[eax]
jmp SkBack
IfID:
mov [eax],00111AE9 // 004E9C3C
mov edi,[eax]
jmp SkBack
Sklvl:
cmp [edi],
je Iflvl
mov eax,[edi]
push 05
push eax
jmp SklvlBack
Iflvl:
mov [edi],3E9
mov eax,[edi]
push 05
push eax
jmp SklvlBack
[Disable]
006250BA:
push [ebp+08]
mov edi,[eax]
004536FE:
mov eax,[edi]
push 05
push eax
Dealloc(SkID)
Dealloc(Sklvl)
Then I changed it to
[Enable]
Alloc(SkID,126)
Alloc(Sklvl,126)
Label(IfID)
Label(Iflvl)
Label(SkBack)
Label(SklvlBack)
006250BA:
jmp SkID
SkBack:
0045367B:
jmp Sklvl
SklvlBack:
SkID:
push [ebp+08]
//mov [eax],003EBA99
cmp [eax],3E9
je IfID
mov edi,[eax]
jmp SkBack
IfID:
mov [eax],003EBA99
mov edi,[eax]
jmp SkBack
Sklvl:
cmp [edi],
je Iflvl
mov eax,[edi]
push 05
push eax
jmp SklvlBack
Iflvl:
mov [edi],3E9
mov eax,[edi]
push 05
push eax
jmp SklvlBack
[Disable]
006250BA:
push [ebp+08]
mov edi,[eax]
004536FE:
mov eax,[edi]
push 05
push eax
Dealloc(SkID)
Dealloc(Sklvl)
Magenta blocks are the changed parts.
Which is basically changing the 4th job value for monster magnet to Meso up.
Is this block of code wrong because there is some part of this I should or should not have changed?Thanks to whoever can help, if you could explain why the block of code was wrong .