Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
-
Hidden
- Posts: 101
- Joined: Tue May 08, 2012 6:10 pm
#21
Post
by Hidden » Thu Dec 27, 2012 9:34 am
Thought I saw you over the Xmas period Lisa
Code: Select all
<onload>
YourTargetScore = 6000
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
I used those funtions for the eoj event timer, incorporating them into the arrow heads script tho is for more expert minds.
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#22
Post
by lisa » Thu Dec 27, 2012 6:03 pm
The most I have gotten is 30 in 1 event, is that maximum?
So to get to 5000 getting 90 an hour it would take 1 week.
I must be missing something lol
Ohh yeah I use this
Code: Select all
repeat
local __,__,__,Score,Count = RoMScript("PE_GetInfo(1)")
yrest(1000)
until Count == 2
So it will sit in that 1 spot until the event starts and then continue on with the rest of the waypoints.
-
doct
- Posts: 8
- Joined: Fri May 11, 2012 9:13 am
#23
Post
by doct » Sun Dec 30, 2012 1:43 am
not work and do not understand why I have days with locking
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 6000
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-2700" z="-17945" y="810">
player:target_NPC("Myan Kellas");
yrest(1000);
</waypoint>
<!-- # 2 --><waypoint x="-2700" z="-17945" y="810">
keyboardPress( key.VK_1 ); <!-- In game Slot where I put my Arrowheads -->
RoMScript("AcceptBorderQuest()")
player:target_NPC("Myan Kellas");
end
</waypoint>
<!-- # 3 --><waypoint x="-2700" z="-17945" y="810" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
</waypoints>
-
Attachments
-
- evento flexas.xml
- (1.34 KiB) Downloaded 235 times
-
mrphil
- Posts: 6
- Joined: Mon Nov 12, 2012 3:08 pm
#24
Post
by mrphil » Mon Jan 07, 2013 6:16 am
hey guys, i need help.
may i know which code to edit, if i want my bot to go to the mailbox when i have 500 arrows, instead of when my inventory bag is full?
i think the code from the waypoint is this:
Code: Select all
if inventory:itemTotalCount(0) ~= 0 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
but i dont know what to change. :O
-
Hidden
- Posts: 101
- Joined: Tue May 08, 2012 6:10 pm
#25
Post
by Hidden » Mon Jan 07, 2013 10:15 am
Docto that how i use it for my flames script, maybe it will help some....
Code: Select all
<!-- # 1 --><waypoint x="-21555" z="-22947" y="584" tag="homebase">
waitForEventStart()
player:target_NPC("Diandon");
yrest(80);
player:target_NPC("Diandon");
yrest(80);
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
<!-- # 2 --><waypoint x="-21684" z="-23224" y="581">
queststate = getQuestStatus("Extinguish More Flames");
while queststate == "incomplete" do
yrest(50);player:target_Object("Strange Flame Seedling");yrest(50);
queststate = getQuestStatus("Extinguish More Flames");
end
</waypoint>
-
runehemma
- Posts: 28
- Joined: Mon Nov 19, 2012 9:32 am
#26
Post
by runehemma » Mon Jan 07, 2013 12:38 pm
hello is there any have copleti waypoint fore it
-
Darkonnian
- Posts: 14
- Joined: Thu Dec 22, 2011 9:37 am
#27
Post
by Darkonnian » Tue Jan 08, 2013 9:19 am
The point is to win the event on all three channels, otherwise AKR works better. or TB bot scripts. But on channel 2 and 3, there is no timer, and you cannot monitor if some players are doing directly Ch2 and 3, which happens a lot lately on my server. so using the macro I posted some time ago with DailyNotes addon is way faster, and you can always monitor the arowheads/eggs you consume. If the bot could be made to count how many are doing the event and give quest items accordingly, it should be great. But if there is no participant and you set the bot to max 6k points, there would be a waste of items. I expected that Chrisalia Ch2 and 3 events to be a pasing bug, but yet they work after countless maintenance and updates; guess they want people to get stats faster, that meaning more puris consumed, more rl money spent for dias
-
mrphil
- Posts: 6
- Joined: Mon Nov 12, 2012 3:08 pm
#28
Post
by mrphil » Wed Jan 09, 2013 12:38 am
so, no one can help me?
mrphil wrote:hey guys, i need help.
may i know which code to edit, if i want my bot to go to the mailbox when i have 500 arrows, instead of when my inventory bag is full?
i think the code from the waypoint is this:
Code: Select all
if inventory:itemTotalCount(0) ~= 0 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
but i dont know what to change. :O
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#29
Post
by lisa » Wed Jan 09, 2013 12:58 am
I am guessing you never bothered to look at the function itself you are trying to use.
Code: Select all
function CInventory:itemTotalCount(itemNameOrId, range)
By using (0) you check for empty spaces, to get a count of an actual item you use the item Name or Id.
example
Code: Select all
if inventory:itemTotalCount(202434) > 0 then
-
Nobodyknows
- Posts: 5
- Joined: Thu Jan 10, 2013 3:49 pm
#30
Post
by Nobodyknows » Mon Jan 21, 2013 1:45 am
Darkonnian wrote:But if there is no participant and you set the bot to max 6k points, there would be a waste of items. I expected that Chrisalia Ch2 and 3 events to be a pasing bug, but yet they work after countless maintenance and updates; guess they want people to get stats faster, that meaning more puris consumed, more rl money spent for dias
Has anyone created a waypoint file that just sits and waits for the event to start and has the ability to try and auto turn in the quest say 2-7 times (via editing the file?) 7 times is 3010 points and nearly guarantees a win but you could set it to something less (4 times, 1720 points?) in order to not use as many arrows and allow you to participate in more events.
I tried putting a waypoint together based on other info posted in this thread and so far have failed miserably.
Using a macro works great when I'm playing, but it would be nice to have something else to use for other times.
-
Litri211
- Posts: 4
- Joined: Mon Feb 04, 2013 9:27 am
- Location: ESPAÑA
#31
Post
by Litri211 » Mon Feb 04, 2013 9:59 am
it' very good waypint, i probe but not send items, i change de destinatary for my pj only.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 8 guests