Martin Cheater
Posts : 24 Join date : 2010-03-13
| Subject: [EMS 0.62] MaxGridRush ~ Kaim Vaccum :: eMS v62 Fri Jun 04, 2010 6:00 pm | |
| MaxGridRush ~ Kami :: eMS v62 script: - Code:
-
// MaxGridRush, eMS v62 Updated by AoB's found by me // Converted by A n t 3 from TWMS to v61 & v57 [ENABLE]
registersymbol(maxGridLock) registersymbol(maxGridLockOnOff) registersymbol(EDIValue) registersymbol(MaxItemRed) alloc(maxGridLock, 256) alloc(maxGridLockOnOff,4) alloc(EDIValue, 4) alloc(MaxItemRed,4) label(doGridLockNormal) label(doGridLockVac) label(doGridLockVac2) label(doGridLockOnly) //========================================= maxGridLockOnOff: dd 1 // 0: off, 1: on. EDIValue: dd 0 // Char PID MaxItemRed: DD 0 //========================================= maxGridLock: pushfd Push Eax Push Ecx Mov Eax,[00A8C538]//Character PId Add Eax, 1160 Mov Eax, [Eax] Sub Eax, C Cmp EBX,Eax Pop Ecx Pop Eax Je doGridLockVac Push Eax Mov Eax,[Ebx+114] Mov [EDIValue],Eax Pop Eax doGridLockOnly: popfd ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 jmp 008D569C //39 4D FC DD 47 38 DC 1D 00 0C 9E 00 DF E0 74 07
doGridLockVac: cmp [maxGridLockOnOff], 0 je doGridLockNormal cmp [EDIValue], 0 je doGridLockNormal cmp eax, 0 je doGridLockNormal cmp ebx, 0 je doGridLockNormal cmp eax, 20 jne doGridLockNormal cmp edx, 0 jne doGridLockNormal cmp ecx, 0 jne doGridLockNormal
doGridLockVac2:
push eax mov eax,[EDIValue] mov [EBX+110],eax mov [EBX+114],eax pop eax
popfd jmp 008D5975 //8B 83 10 01 00 00 DD 40 40 8D BB E0 00 00 00 8B
doGridLockNormal: popfd ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 jmp 008D569C //39 4D FC DD 47 38 DC 1D 00 0C 9E 00 DF E0 74 07
008D57D4: //0F 87 C9 00 00 00 39 4D FC DD 47 38 DC 1D 00 0C jmp maxGridLock
[DISABLE] 008D57D4: //0F 87 C9 00 00 00 39 4D FC DD 47 38 DC 1D 00 0C ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 dealloc(maxGridLock) dealloc(maxGridLockOnOff) dealloc(EDIValue) unregistersymbol(maxGridLock) unregistersymbol(maxGridLockOnOff) unregistersymbol(EDIValue) Please report if it not is working, I we will be working on it. - Martin | |
|
Dark Colin_ Head Admin
Posts : 39 Join date : 2009-10-25 Age : 27 Location : Sweden
| Subject: Re: [EMS 0.62] MaxGridRush ~ Kaim Vaccum :: eMS v62 Fri Jun 25, 2010 7:35 pm | |
| Thanks! - Marre wrote:
- MaxGridRush ~ Kami :: eMS v62 script:
- Code:
-
// MaxGridRush, eMS v62 Updated by AoB's found by me // Converted by A n t 3 from TWMS to v61 & v57 [ENABLE]
registersymbol(maxGridLock) registersymbol(maxGridLockOnOff) registersymbol(EDIValue) registersymbol(MaxItemRed) alloc(maxGridLock, 256) alloc(maxGridLockOnOff,4) alloc(EDIValue, 4) alloc(MaxItemRed,4) label(doGridLockNormal) label(doGridLockVac) label(doGridLockVac2) label(doGridLockOnly) //========================================= maxGridLockOnOff: dd 1 // 0: off, 1: on. EDIValue: dd 0 // Char PID MaxItemRed: DD 0 //========================================= maxGridLock: pushfd Push Eax Push Ecx Mov Eax,[00A8C538]//Character PId Add Eax, 1160 Mov Eax, [Eax] Sub Eax, C Cmp EBX,Eax Pop Ecx Pop Eax Je doGridLockVac Push Eax Mov Eax,[Ebx+114] Mov [EDIValue],Eax Pop Eax doGridLockOnly: popfd ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 jmp 008D569C //39 4D FC DD 47 38 DC 1D 00 0C 9E 00 DF E0 74 07
doGridLockVac: cmp [maxGridLockOnOff], 0 je doGridLockNormal cmp [EDIValue], 0 je doGridLockNormal cmp eax, 0 je doGridLockNormal cmp ebx, 0 je doGridLockNormal cmp eax, 20 jne doGridLockNormal cmp edx, 0 jne doGridLockNormal cmp ecx, 0 jne doGridLockNormal
doGridLockVac2:
push eax mov eax,[EDIValue] mov [EBX+110],eax mov [EBX+114],eax pop eax
popfd jmp 008D5975 //8B 83 10 01 00 00 DD 40 40 8D BB E0 00 00 00 8B
doGridLockNormal: popfd ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 jmp 008D569C //39 4D FC DD 47 38 DC 1D 00 0C 9E 00 DF E0 74 07
008D57D4: //0F 87 C9 00 00 00 39 4D FC DD 47 38 DC 1D 00 0C jmp maxGridLock
[DISABLE] 008D57D4: //0F 87 C9 00 00 00 39 4D FC DD 47 38 DC 1D 00 0C ja 008D58A3 //39 4D FC 74 05 DD 47 40 EB 02 D9 EE 8D BB E0 00 dealloc(maxGridLock) dealloc(maxGridLockOnOff) dealloc(EDIValue) unregistersymbol(maxGridLock) unregistersymbol(maxGridLockOnOff) unregistersymbol(EDIValue) Please report if it not is working, I we will be working on it.
- Martin | |
|