Code: Select all
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
Code: Select all
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
lisa wrote:Obviously need to change it for different languages.Code: Select all
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="4081" z="3340" y="18">
RoMScript('CastSpellByName("Heffner Camp Transport Spell")');
waitForLoadingScreen();
</waypoint>
</waypoints>
lisa wrote:First glance it looks fine, but did it work??
Code: Select all
RoMScript('CastSpellByName("Transport: Heffner Camp")')
Yes, it crashes almost instantly with the hack.xml and with using commandline to toggle swim hack on.lisa wrote:To narrow down any possible issue with the WP, test it using the hack.xml waypoint I have on the swimhack topic.
If you can turn fly on and off constantly without crashing then maybe there is an issue in the cot WP for you?
I run cot 30 odd times a day and don't have any issues so I really am not sure why you keep crashing.
Code: Select all
local offsets = {addresses.charPtr_offset, addresses.pawnSwim_offset1, addresses.pawnSwim_offset2}
local swimfunction_ptr = addresses.swimAddress
local active = 4
function fly()
memoryWriteString(getProc(), swimfunction_ptr, string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90));
memoryWriteIntPtr(getProc(), addresses.staticbase_char, offsets, active);
printf("Swimhack ACTIVATED!\n");
end
function flyoff()
memoryWriteString(getProc(), swimfunction_ptr, string.char(0x89, 0x83, 0xB4, 0x0, 0x0, 0x0));
printf("Swimhack DEactivated.\n");
end
rock5 wrote:Hm... I'm not sure whta Lisas issue was but this worked for me.Code: Select all
RoMScript('CastSpellByName("Transport: Heffner Camp")')
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL" >
<!-- Rock5's Course of Terror waypoint file with teleport -->
<!-- version 1.72 . Thanks to lisa for original script -->
<onload><![CDATA[
--=== User Options ===--
When_Finished = "heffner recall"
-- "end" to end script, "relog" to log next character and "waypointfilename" to load that waypointfile.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="4081" z="3335" y="18">
RoMScript('CastSpellByName("Transport:Heffner Camp")');
waitForLoadingScreen();
</waypoint>
</waypoints>
Users browsing this forum: No registered users and 0 guests