--==<< Tsutomu's Swimhack function >>==-- --==<< By Tsutomu Version 1.0a >>==-- --==<< 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! ;) --0x9C57EC+598+EC+B4 <<-- OFFSETS --local charPtr_offset = 0x598 --local skillbuffFlag_offset = 0xEC --local swim_offset = 0xB4 local NOP=144; local staticcharbase_address = addresses.staticbase_char; local offsets = {0x598, 0xEC, 0xB4}; local active = 4; local proc=getProc(); function fly() memoryWriteByte(getProc(), 0x44AE50, NOP); memoryWriteByte(getProc(), 0x44AE51, NOP); memoryWriteByte(getProc(), 0x44AE52, NOP); memoryWriteByte(getProc(), 0x44AE53, NOP); memoryWriteByte(getProc(), 0x44AE54, NOP); memoryWriteByte(getProc(), 0x44AE55, NOP); memoryWriteIntPtr(getProc(), staticcharbase_address, offsets, active); printf("Swimhack ACTIVATED!\n"); end function flyoff() memoryWriteByte(getProc(), 0x44AE50, 137); memoryWriteByte(getProc(), 0x44AE51, 131); memoryWriteByte(getProc(), 0x44AE52, 180); memoryWriteByte(getProc(), 0x44AE53, 0); memoryWriteByte(getProc(), 0x44AE54, 0); memoryWriteByte(getProc(), 0x44AE55, 0); printf("Swimhack DEactivated.\n"); end