--==<< Tsutomu's Swimhack function - without timer >>==-- --==<< By Tsutomu Version 1.0b >>==-- --==<< Requirements: Rom bot. >>==-- --==<< Usage: fly(); OR flyoff(); >>==-- -- When u need to activate the flyhack you put "fly();" without quotes inside the waypoint -- When u don't need it anymore, you put "flyoff();" without quotes inside the waypoint -- That's it. Happy flying from SERBIA! ;) local swimfunction_ptr = 0x44AD50 local NOP=144; local staticcharbase_address = addresses.staticbase_char; local offsets = {0x598, 0xEC, 0xB4}; local active = 4; local proc=getProc(); function fly() memoryWriteByte(getProc(), swimfunction_ptr , NOP); memoryWriteByte(getProc(), swimfunction_ptr + 1, NOP); memoryWriteByte(getProc(), swimfunction_ptr + 2, NOP); memoryWriteByte(getProc(), swimfunction_ptr + 3, NOP); memoryWriteByte(getProc(), swimfunction_ptr + 4, NOP); memoryWriteByte(getProc(), swimfunction_ptr + 5, NOP); memoryWriteIntPtr(getProc(), staticcharbase_address, offsets, active); printf("Swimhack ACTIVATED!\n"); end function flyoff() memoryWriteByte(getProc(), swimfunction_ptr , 137); memoryWriteByte(getProc(), swimfunction_ptr + 1, 131); memoryWriteByte(getProc(), swimfunction_ptr + 2, 180); memoryWriteByte(getProc(), swimfunction_ptr + 3, 0); memoryWriteByte(getProc(), swimfunction_ptr + 4, 0); memoryWriteByte(getProc(), swimfunction_ptr + 5, 0); printf("Swimhack DEactivated.\n"); end