Page 8 of 23
Re: course of terror WP
Posted: Tue Aug 23, 2011 2:09 pm
by kanta
rock5 wrote:So try just extracting the "model" folder in the archive into the "Runes of Magic" folder.
Ya, Rock is correct. Sorry I didn't put that in my post, I was tired when I posted last night and didn't think of it.
Re: course of terror WP
Posted: Tue Aug 23, 2011 10:48 pm
by rock5
Here's my next version. Lot's done to this.
- - Added option to choose what to do when script ends. You can find it at the tope of the file.
- When_Finished = "end" - (Default) Just ends the script.
When_Finished = "relog" - Loads the next character and restarts the script
When_Finished = "intermediate_waypoint_filename" - Loads a user created intermediate waypoint file to do tasks such as buying crimson stats or mailing items.
- Improved going through the portal. It now teleports into it and is alot less likely to trigger the seal near it. It no longer uses a waypoint. It is all done in the "gotogate()" function.
- Merged all the waypoints for the chest room so now you can restart the script in there with no problems.
- Changed the 25s wait after accepting the challenge to a check for the clock frame.
- Moved the first waypoint into the onLoad section like what was done in my MRC_Optimized script.
- Added a few checks such as; if you are your 50+ level, if you succeeded in teleporting into the course of terror, etc.
And probably a few other things I can't remember.
Re: course of terror WP
Posted: Wed Aug 24, 2011 2:18 am
by botje
sorry to say rock, but that last version doesnt even get past load xd
Botje
Re: course of terror WP
Posted: Wed Aug 24, 2011 8:41 am
by rock5
botje wrote:sorry to say rock, but that last version doesnt even get past load xd
Botje
Sorry. And I was really, really carefull, too. I made some minor edits before posting but I couldn't test it at the time. But they were minor edits and I checked and doubled checked it.
Oh well.. I'm sure it's something small but I still can't test it at the moment. What did the error say? "Unable to compile onload" perhaps?
Re: course of terror WP
Posted: Wed Aug 24, 2011 8:56 am
by lisa
missing a (
Code: Select all
if (not string.find(When_Finished,".", 1, true) ) then
Re: course of terror WP
Posted: Wed Aug 24, 2011 11:37 am
by vtcN
My game instantly crashed when the swimhack activated. The files I have are the latest cot_tele.xml, addon_swimhack.lua, and userfunction_teleport.lua.
There isn't anything else I need is there? If not, what can I do to keep it from crashing?
Thanks
Re: course of terror WP
Posted: Wed Aug 24, 2011 11:49 am
by rock5
If it crashes when it activates the swimhack then you must have a bad swimhack. Where did you get it? I think Lisa maintains an up to date swimhack.
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2765
Re: course of terror WP
Posted: Wed Aug 24, 2011 11:56 am
by rock5
botje wrote:sorry to say rock, but that last version doesnt even get past load xd
Botje
Lisa found the problem. One too many brackets. Unfortunately neither of us have had the oportunity to test it yet but hopefully it works. I should get the opportunity to test it tomorrow. Lisa too. But I didn't want to leave you guys hanging so feel free to test the new version. I updated the version I posted above.
Re: course of terror WP
Posted: Thu Aug 25, 2011 10:58 am
by lisa
I downloaded and used the current file on post, used it once so far. Worked with no issues and didn't trigger any of the seals at the gate way(blue thing).
I'll add it to first post =)
Re: course of terror WP
Posted: Thu Aug 25, 2011 4:25 pm
by vtcN
Worked flawlessly, nice work.
Re: course of terror WP
Posted: Thu Aug 25, 2011 7:23 pm
by lisa
Since it teleports into the portal, might need to adjust the coords for the dist check
Code: Select all
teleport(4080,3974,30) -- teleport into portal
dist = distance(player.X, player.Z, 4081, 3335)
I had the distance check not work for me today.
--=== Edit ===--
Hmm I don't see why it didn't work though as the distance check is for after you get through the portal, no idea why it passed the check while still at the portal.
Re: course of terror WP
Posted: Thu Aug 25, 2011 9:15 pm
by rock5
What exactly happened?
Re: course of terror WP
Posted: Thu Aug 25, 2011 9:26 pm
by rock5
I just noticed soemthing. It uses KeyboardHold but I intended to use KeyboardPress. I thought I did. No wonder I had so much trouble getting the "after portal" bit moving properly. It kept running past the first waypoint and running back.
Could you try changing it to KeyboardPress and see how it works?
Re: course of terror WP
Posted: Thu Aug 25, 2011 9:42 pm
by lisa
Lol i was trying to work out how using hold without a release worked =)
Re: course of terror WP
Posted: Thu Aug 25, 2011 9:51 pm
by lisa
press works fine, done 2 runs without issue, changed file on first post.
Re: course of terror WP
Posted: Thu Aug 25, 2011 10:07 pm
by lisa
you have pretty much made the distance check useless though as in the loop it doesn't do anything but check, so pretty much just waits for it to get to next spot.
So I guess loop is still needed but if you don't go through portal it will just stay in loop forever.
Maybe move the press into the loop to be sure, testing this atm, I doubt I'll see any difference but it will just be a double check you go through portal.
Re: course of terror WP
Posted: Sun Aug 28, 2011 9:26 pm
by lisa
kanta wrote:Yes, it's definitely possible. The gates that summon the mobs. I only left the pink tiles because some characters can't just run around with the mobs hitting them while gathering the keys. I'm attaching the file so you can check it out. Works the same as nospelleffects. Just put the files in the model folder. Also putting my edit of the portals from Ancient Treasures in there. You don't need to worry about the blue portals with it.
Tested the models and works as posted,
CoT, you can just walk around and click the key seals. If you trigger a summon gate just need to kill it.
Ancient treasures, can just walk through the "portal" doors without needing the buff from the flames.
Re: course of terror WP
Posted: Wed Aug 31, 2011 10:31 am
by vtcN
Crashed the last 4 times I tried it. Below is a screenshot of the error.
Re: course of terror WP
Posted: Wed Aug 31, 2011 10:47 am
by Guest1234
I get the same error message, but only on my mage (50) mule.
On my K(67)/P(60), it works great...
Would the character level have anything to do with it?
It worked fine for my Mage twice, then it just stopped being friends with the Mage and still works good with the K/P.
Nothing has been changed in the Mage profile or the K/P profile.
Re: course of terror WP
Posted: Wed Aug 31, 2011 2:24 pm
by Guest1234
Just tried again with my Mage:
We use the normal waypoint path cot_tele.xml now.
We changed the option 'HARVEST_DISTANCE' from '120' to '450'.
Moving to waypoint #1, (4863, -1909)
We try to find NPC Malatina:
We successfully target NPC Malatina and try to open the dialog window.
Use MACRO: Executing RoMScript "ChoiceOption(2);".
Use MACRO: Executing RoMScript "ChoiceOption(1);".
Player address changed: 0x35A64100
We try to find NPC Malatina:
We successfully target NPC Malatina and try to open the dialog window.
Use MACRO: Executing RoMScript "ChoiceOption(2);".
Use MACRO: Executing RoMScript "ChoiceOption(1);".
Moving to waypoint #2, (4081, 3499)
Moving to waypoint #3, (4081, 3600)
Swimhack ACTIVATED!
Player Teleported to X: 4081 Z: 3578 Y: 75
Player Teleported to X: 3947 Z: 3879 Y: 75
Player Teleported to X: 3948 Z: 3879 Y: 57
scripts/rom/functions.lua:607: bad argument #1 to 'memoryReadByte' ((null))
I actually died at Swimhack ACTIVATED! but still tried to teleport.
Trying with K/P now.