Page 2 of 4
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Thu Oct 20, 2011 2:49 pm
by Nero
209100 - ID of item 'Swamp Mud' that you have in your inventory
117513 - ID of NPC 'Swamp Mud' which is harvestable
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Thu Oct 20, 2011 7:35 pm
by rock5
I can tell you right off, 2xxxxx range rumber is an inventory item number, ie. the id of the swamp mud after you collect it.
There is a NPC swamp mud in the runesdatabase.com, so try 117513.
Or next time try using "rom/getid" to get the actual id of the in world objects.
Edit: I gotta learn to post faster.

Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 21, 2011 1:12 am
by Shogun
thx rock
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 21, 2011 11:31 am
by Shogun
Some more corrections, but still nothing done beyond level 26.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Wed Oct 26, 2011 7:53 am
by Alleexx
Haven't played Rom in a while but now I will continue to help test this.
First I think the bot continues from the butterflies too early because there's no other dailys available to take at level 29.
Second I got this error:
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Wed Oct 26, 2011 8:36 am
by lisa
The creator will have to update the file
Code: Select all
function getXP()
return memoryReadRepeat("intptr", getProc(), addresses.charExp_address, 0)
end
That address is outdated and has been removed from bot (just today).
You can just use player.XP now.
So replace all getXP() with player.XP
Untested but it will look like this
Just had a quick glance at the WP for the first time, looks like a lot of effort has gone into it, nice work =)
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Wed Oct 26, 2011 10:47 am
by Alleexx
Thanks lisa!
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 3:52 am
by Beni
Hello,

how to fix this? ty
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 5:36 am
by Beni
What i need to do for jump over the daily, he stops when complet the 10 quests (srt 4 my english). ty
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 10:03 am
by Alleexx
Just click on del when the bot stops and it should keep on going.
I'm not sure if it stops again when it reach a new quest giver thought...
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 10:36 am
by Beni
yes he stops again
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 2:06 pm
by Alleexx
Then I don't know how to do

Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 6:23 pm
by Shogun
Oh, I did not check here the last days because I did not expect a raised interest. Here is an update. getXP() is fixed, a few waypoints and if-conditions corrected. I'm still working on the file.
What you need to understand: waypoint types (normal, travel, run) are switched depending on your char level. If you exit the bot you should move your char to a previous stage or quest npc before you restart again, otherwise the bot probably will not attack the desired mobs.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Fri Oct 28, 2011 6:36 pm
by Shogun
Beni wrote:What i need to do for jump over the daily, he stops when complet the 10 quests (srt 4 my english). ty
remove or comment out the player:sleep() in checkDQCount()
Code: Select all
function checkDQCount()
local _tmpQC = getDailyComplete()
cprintf(cli.lightblue,"%s quests completed.\n",tostring(_tmpQC))
if (_tmpQC == 10) then
cprintf(cli.lightblue,"Sleepytime.\n")
-- player:sleep()
end
end
edit: I do not like that either and will remove that with the next version.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 2:58 am
by Beni
Nice, ty!
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 4:26 am
by Beni
When he go to npc to repair the bot stops with that error, how to fix that? ty
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 4:40 am
by Shogun
Beni wrote:When he go to npc to repair the bot stops with that error, how to fix that? ty
I can not help here, rock or lisa may have an idea.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 5:09 am
by rock5
That's pretty much impossible. The only thing indexed there is 'self'. The only way 'self' which is an item, can't be 'indexed' is if somewhere there is an item and instead of item:getTypes() or item:isType() someone wrote item.getType() or item.isType(). That would cause the error but there is no such error.
So maybe your rombot installation is screwed up. Try right-clicking the rom folder and selecting "TortoiseSVN/Revert" and revert any changed files.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 10:07 am
by Shogun
My first character completed, here is an update of the script (v0.10)
- cleaned up the code
- set friends and mobs lists in <onLoad> (english and german mob names). If you want to add entries you need to do that here, the profile lists are overwritten!
- most names should be changed to IDs now, not sure all works perfect
- I could not test the Mufasa Luckshine quests. I expect problems there.
Re: Coast of Opportunity waypoint file - Levels 20-40
Posted: Sat Oct 29, 2011 2:49 pm
by Shogun
My next char is already at level 25
- added missing mobs to the list
- optimizations at level 23 and 24