Page 2 of 2

Re: Where to start to make a KS farming & Additional mage El

Posted: Fri Apr 15, 2011 3:57 am
by wizzyslo
KS farming is pritty nice. I got around 2kk in 3h which mean 1 run is take 20min and got around 250k/per run that mean 5 full backpacks and I'm farming only to 3rd boss (offen script crash there). Same problem I have with loading screen wich I fix it with:

Code: Select all

	yrest(30000);
	player:update();
Have little problem with water at ress shrine. No idea how that happend but lot's of times bot stuck becouse of water on ress shrine when were casting mount.
Had pritty good idea about quick selling items. For my old computer bot is selling junk for around 1-2min(150slots). I found addon "zbag" wich sell items in ~5sec but is missing filter of items what bot shouldnt sell will see if I'm going to add it.

For accepting party I'm using ClickReduce you will found whay some day :D
http://rom.curse.com/downloads/rom-addo ... educe.aspx


Link to zbag:
http://rom.curse.com/downloads/rom-addo ... /zbag.aspx

Can say only this: Ty for this bot or I still would be farming DoD.

Re: Where to start to make a KS farming & Additional mage El

Posted: Sat Apr 16, 2011 3:49 pm
by kanta
I also use the InviteByName command. The difference is I use an addon called XBarIII which has InvitedByFriend incorporated into it.

As for starting up my farming script I use a combination that I threw together from different waypoint files and forum posts I've seen. I also use waypoint tags instead of creating different waypoint files and making calls to them.

Code: Select all

<!-- #  1 --><waypoint x="-32683" z="-14548" y="672" tag="runstart">
local dura = inventory:getMainHandDurability();
if inventory:itemTotalCount(0) == 0 or 90 > dura then
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
else
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("instance"));
end;
</waypoint>
What this does is first check if my bags are full and if they are not it will then check my main weapon durability (in case I died in the instance for whatever reason). If either the bags are full or my weapon has gone below 90% durability it will go to the waypoint section I tagged as "rerun" which goes to the NPC store. If I have empty bag space or my weapon is fine it will jump to the instance section I tagged as "instance".

--------------------------

You don't need an addon to sell the items. There are options in the bot now that will do that for you. Put the following in your profile:

Code: Select all

<!-- Advanced sell option -->
<option name="INV_AUTOSELL_ENABLE" value="true" /> <!-- true = on, false = off -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- First bag slot to begin scanning for items to sell -->
<option name="INV_AUTOSELL_TOSLOT" value="110" /> <!-- Last bag slot to scan for items to sell -->
<option name="INV_AUTOSELL_QUALITY" value="white,green,blue" /> <!-- Item quality types that will be sold -->
<option name="INV_AUTOSELL_STATS_NOSELL" value="Moa,Card" /> <!-- Item name mask that you do not want to sell -->
In the NOSELL option I have it set so that it will not try to sell MOA items and also not try to sell any mob cards. Once you have those options in your profile and you have the bot running it will try to sell the items in the bag slots you have specified whenever it opens an NPC store.

--------------------------

As for leaving the instance there's 2 things I use:
This one is to check if my bags are full, and if so leave the instance and go to the NPC store.

Code: Select all

<!-- #109 --><waypoint x="2604" z="1491" y="47">
if inventory:itemTotalCount(0) == 0 then
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen();
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
</waypoint>
This one is the one I use to just exit the instance at the end and let the first waypoint (the first code box I put in this post) decide what should be done
once the game has finished loading out of the instance.

Code: Select all

<!-- # 78 --><waypoint x="4371" z="4868" y="47">
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen();
yrest(4000)
__WPL:setWaypointIndex(__WPL:findWaypointTag("runstart"));
end
</waypoint>