Search found 9 matches

by matt87
Wed Oct 20, 2010 10:21 pm
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff (AutoTrade relase)

<?xml version="1.0" encoding="utf-8"?><waypoints><onLoad>

changeProfileOption("ANTI_KS", false)
changeProfileOption("PATH_TYPE", "wander")
changeProfileOption("WANDER_RADIUS", 0)
changeProfileOption("AUTO_TARGET", false)
changeProfileOption("USE_SLEEP_AFTER_RESUME", true)

local B_used=0 ...
by matt87
Sun Oct 10, 2010 8:16 pm
Forum: Runes of Magic
Topic: problem with a scirpt
Replies: 2
Views: 1042

Re: problem with a scirpt

Code: Select all

if 20 > RoMScript("HowDurable(15)") then
      sendMacro("UseItemByName('Einfacher Reparaturhammer')");
      sendMacro("PickupEquipmentItem(15)");
end
Should work. Use ' instead of " while you have string statement already started.
by matt87
Sun Oct 10, 2010 5:33 am
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff (AutoTrade relase)

checkii I really don't know why you want to do that. My idea of AutoTrade is to leave character in one place, which will be spamming at zone channel (i.e. evry 15min) about selling posibility and sells items. So, I dont have to pay fee in AH.
Well, If u want do that, you should remove onload at the ...
by matt87
Sat Oct 09, 2010 7:12 pm
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff (AutoTrade relase)

Thanks! I should look more at rom bot functions.

-- PART FOR TESTING ======================================
cprintf(cli.yellow, language[5], "UnitGUID:\n"); -- 1st
if RoMScript("UnitGUID('target');") ~= 0 then
cprintf(cli.yellow, language[5], "true");
else
cprintf(cli.yellow, language[5 ...
by matt87
Sat Oct 09, 2010 8:48 am
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff

Finally, I finished the code. Enjoy! Auto-trading: :)


<?xml version="1.0" encoding="utf-8"?><waypoints><onLoad>

changeProfileOption("ANTI_KS", false)
local B_used=0;
local B_curr=0;
local RecipientName, ItemInfo;
local TradeMoney = 1; -- Recipient Money (cash you want earn)
local L_Nr=1 ...
by matt87
Thu Oct 07, 2010 9:02 pm
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff

Thank you for reply and aggro code :)

I'll try to explain more accurately. If I'll use changeProfileOption("ANTI_KS", false) (or add option in profile file) I still obtain message, that selected target is ignored by Anti-KS. Why (I turned it off) ?

You have right, there was mistake in code, but ...
by matt87
Thu Oct 07, 2010 12:36 pm
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Re: Targeting and useful staff

Okey after few hours ...


<?xml version="1.0" encoding="utf-8"?><waypoints>

<!-- # 1 --><waypoint x="-2024" z="4904">
changeProfileOption("ANTI_KS", false)

RoMScript("TargetUnit('party1');")
player:update();
local target = player:getTarget();
yrest(200)

cprintf(cli.red, language[5 ...
by matt87
Thu Oct 07, 2010 6:29 am
Forum: Runes of Magic
Topic: Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)
Replies: 17
Views: 4633

Targeting and useful staff (AutoTrade+AutoCollect 21.10.10)

_/_/_/_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ AutoTrade _/_/_/_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/

At the begining you have to set few variables in script (waypoint file):

1) seller
If you'll set local seller = true , script will work normally. Auto-agree for trades, put items from selected indexes into trade ...
by matt87
Sat Jan 23, 2010 3:11 am
Forum: Runes of Magic
Topic: Harvesting with the bot - How To For Dummies
Replies: 174
Views: 469951

Re: Harvesting with the bot - How To For Dummies

Ok, if we have those possibilities:


HARVEST_SCAN_WIDTH = 10, -- steps horizontal
HARVEST_SCAN_HEIGHT = 8, -- steps vertical
HARVEST_SCAN_STEPSIZE = 35, -- wide of every step
HARVEST_SCAN_TOPDOWN = false, -- true = top->down false = botton->up
HARVEST_SCAN_XMULTIPLIER = 1.0, -- multiplier for scan ...