course of terror WP
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: course of terror WP
ty for the fast answer
i will do that and try with another minigame wp to see if it works up ^^
i will do that and try with another minigame wp to see if it works up ^^
Re: course of terror WP
its working great most of the times
just got 1 problem, i attached this to a goblin wp, but sometimes when i go out from goblin my timer is still running and if the bot enters cot then he tries to get inside the "keyroom" without talking to the npc because the timer is running, is there any way that this problem can be fixed ?
regards apple
just got 1 problem, i attached this to a goblin wp, but sometimes when i go out from goblin my timer is still running and if the bot enters cot then he tries to get inside the "keyroom" without talking to the npc because the timer is running, is there any way that this problem can be fixed ?
regards apple
Re: course of terror WP
How can the timer still be running if you've left goblins? Seems strange.
The script checks to see if the TimeKeeperFrame is visible. I guess you could check it before starting cot.then do something. Maybe wait until it disappears or maybe you can hide it
Then start cot.
The script checks to see if the TimeKeeperFrame is visible. I guess you could check it before starting cot.
Code: Select all
if RoMScript("TimeKeeperFrame:IsVisible()") then
Code: Select all
if RoMScript("TimeKeeperFrame:IsVisible()") then
RoMScript("TimeKeeperFrame:Hide()")
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: course of terror WP
ok thanks i'll try it, i only have it 1 or 2 times a month so could take a while till i can test it
/edit
Its working with the hide() thing
thanks again
/edit
Its working with the hide() thing
thanks again
Last edited by apple on Wed Aug 15, 2012 2:37 am, edited 1 time in total.
Re: course of terror WP
I don't know how that is happening, but I can confirm that occasionally the timer keeps showing up after leaving the mine.rock5 wrote:How can the timer still be running if you've left goblins? Seems strange...
-
- Posts: 1
- Joined: Thu Sep 06, 2012 5:30 am
Re: course of terror WP
Thanks a lot i was searching for this for very long time, actually i recently join this forum and i hope got lot of such useful information in future.
Re: course of terror WP
is there in WP some code, which changes position of popup window (frame or whatever it is correctly called) for talking with any NPC?
cause it happens that when i go in CoT with WP from first post, it changes position in game. but this might be caused by Miller's ranch WP also, not sure which one of them
thanks in advance
cause it happens that when i go in CoT with WP from first post, it changes position in game. but this might be caused by Miller's ranch WP also, not sure which one of them
thanks in advance
Re: course of terror WP
at least half of the time the script doesn't start as it's supposed to:
the char gets into the instance, but then doesn't start with checking on the but instead trys to move which is obviously not possible until the game has been started.
Maybe it's possible to move the check on and talking again to Malatina into the onload section? This way there wouldn't be problems with the waypoints.
On the other hand I don't understand why the waypoints don't match otherwise the bot wouldn't try to move right?
Code: Select all
Wir benutzen nun die normale Wegepunktdatei cot_tele.xml.
GM detection started
Die Option 'HARVEST_DISTANCE' wurde von '120' auf '450' geändert.
Wir versuchen den NPC Malatina zu finden:
Der NPC 'Malatina' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Drücke MACRO: RoMScript ausführen "ChoiceOption(2);".
Drücke MACRO: RoMScript ausführen "ChoiceOption(1);".
Spieleradresse geändert: 0x5C26E100
Wir gehen zum Wegpunkt #1, (4067, 3317)
Lösche Ziel.
Versuche Spieler frei zu bekommen ... an Position 4081,3335. Versuch #1 von maxi
mal 10 Versuchen.
Code: Select all
RoMScript("TimeKeeperFrame:IsVisible()")
Maybe it's possible to move the check on
Code: Select all
RoMScript("TimeKeeperFrame:IsVisible()")
On the other hand I don't understand why the waypoints don't match otherwise the bot wouldn't try to move right?
Re: course of terror WP
Is the timekeeper still visible from a previous minigame? I seem to remember someone else reporting that sometimes the timekeeper doesn't clear after doing AT. If this is the case, if you are using a script to take you from the other minigame to COT then add the following line to your code before loading cot_tele.
Code: Select all
RoMScript("TimeKeeperFrame:Hide()")
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: course of terror WP
No that frame is not visible. This error also occurs when cot is the first minigame that's being done.
I thought I could try to add in a at the beginning of the first waypoint but that didn't help either.
If I stop the script and get the talking done from there on everything works fine. Bot walks a couple of feet to the left and then moves forward as its supposed to and everythings normal from there on.
It just seems that the location of the first waypoint sometimes doesn't match with the starting point
I thought I could try to add in a
Code: Select all
yrest(2000); player:update();
If I stop the script and get the talking done from there on everything works fine. Bot walks a couple of feet to the left and then moves forward as its supposed to and everythings normal from there on.
It just seems that the location of the first waypoint
Code: Select all
<waypoint x="4081" z="3340" y="18"
Re: course of terror WP
The waypoint position is not a problem as there is only one waypoint at that location so it can't go to the wrong one.
The only way it can not talk to Malatina is if the timekeeper is visible or it's not the first room.
The room is gotten from memory as an offset of the players address. The pawn offsets haven't changed so that can only be a problem if the player address didn't update.
If you can see that the timekeeper isn't visible then there is no reason for that to be a problem unless the game hadn't fully loaded like sometimes happens with rom4u server.
So for both possible problems, a pause and player update immediately after the waitForLoadingScreen() might help. You tried a 2 second pause, maybe try something bigger. I usually use 3 seconds but just to be sure maybe you could use 5, just to see if it works.
The only way it can not talk to Malatina is if the timekeeper is visible or it's not the first room.
The room is gotten from memory as an offset of the players address. The pawn offsets haven't changed so that can only be a problem if the player address didn't update.
If you can see that the timekeeper isn't visible then there is no reason for that to be a problem unless the game hadn't fully loaded like sometimes happens with rom4u server.
So for both possible problems, a pause and player update immediately after the waitForLoadingScreen() might help. You tried a 2 second pause, maybe try something bigger. I usually use 3 seconds but just to be sure maybe you could use 5, just to see if it works.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: course of terror WP
Very good script, thank you very much. I have a question, how could I run the script again if I have a ticket Malatinas repeat? thx very much
Re: course of terror WP
I guess you could say
Code: Select all
if inventory:itemTotalCount("ticket name") > 0 then
inventory:useItem("ticket name")
loadPaths("cot_tele")
else
do whatever you usually do, change character or whatever.
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: course of terror WP
New another version of Course of Terror WP by Bot_romka.
Version 1.3.3
--without use swim hack, teleport hack (for teleport player) or model hack. Based on Rock5's cot_tele V1.72
--for enable speed hack uncomment --SpeedUp(59)
--fix finded error and test version on few accaunts. If you find any error in waypoint please PM me.
Read new available option inside waypoint.
_Sorry for my bad English.
Version 1.3.3
--without use swim hack, teleport hack (for teleport player) or model hack. Based on Rock5's cot_tele V1.72
--for enable speed hack uncomment --SpeedUp(59)
--fix finded error and test version on few accaunts. If you find any error in waypoint please PM me.
Read new available option inside waypoint.
_Sorry for my bad English.
- Attachments
-
- Course_of_Terror_Wp.xml
- (11.06 KiB) Downloaded 123 times
Last edited by Bot_romka on Fri Nov 02, 2012 11:15 am, edited 5 times in total.
Re: course of terror WP
ok let see if I got that, I need to creat a new waypoint to exit and relaod malatinas,this the code I wrote, tell me if I got it write:rock5 wrote:I guess you could sayCode: Select all
if inventory:itemTotalCount("ticket name") > 0 then inventory:useItem("ticket name") loadPaths("cot_tele") else do whatever you usually do, change character or whatever. end
<onload><![CDATA[
if getZoneId() == 353 and player:target_NPC("Malatina") then
ChoiceOptionByName("I want to leave")
ChoiceOptionByName("Confirm")
waitForLoadingScreen()
yrest(3000)
end
]]></onload>
<waypoints>
if inventory:itemTotalCount("ticket name") > 0 then
inventory:useItem("ticket name")
loadPaths("cot_tele1")
else
print("You are too far from Malatina")
logentry = "Too far from Malatina."
checkRelog()
end
</waypoints>
would that work as realod waypoint for COT and surrvival
Re: course of terror WP
I think you don't need any waypoints. Just put everything in the onLoad.would that work as realod waypoint for COT and surrvival
Re: course of terror WP
I have the suvival waypoint connected to cot_tele. so it does survivalR5 then cot_tele . the problem that it stopes after cot_tele and does not exit.AlterEgo95 wrote:I think you don't need any waypoints. Just put everything in the onLoad.would that work as realod waypoint for COT and surrvival
I tried to add the code to onload section at the end of cot_tele to repeat survival and cot but i kept going in goblin cot and coming out!!
so if i need to enter this code in on-load section, Just tell me exactly where? just copy the location or how on-load would be like after change? I am a noob and do not khow how it works
Re: course of terror WP
I'm not familiar with the repeat tickets. What are they called? Can they be used with either game or are there separate tickets for each? How many do you usually have?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: course of terror WP
they are called "Malatina Event Repeat Ticket"rock5 wrote:I'm not familiar with the repeat tickets. What are they called? Can they be used with either game or are there separate tickets for each? How many do you usually have?
i followed someone advice to put the code on the onload of cot-tele , i got the waypoint to begin wiht survival but it kept going in and out of instace instead of completing cot and then getting out...then using the ticket and repeting both
do i need a way point just to use the ticket after finish suvival and cot, or is there a way to plug it in the onload section in one of these way points?
Who is online
Users browsing this forum: Bing [Bot] and 10 guests