Results 1 to 8 of 8

Thread: Error in Darashia Map?

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question Error in Darashia Map?

    Hello Guys okay?
    I'm trying to make a script 100% afk, D-Lair Darashia, but I can not use the Bank and magic shop, where the error in this part, the character simply does not follow the correct waypoints and goes inside the place, and not follow the actions too, from depot will give normal and back to hunt.
    Anyone know what kind of command should I use in waypoint? someone could help me?

  2. #2
    Normal User
    Join Date
    Oct 2012
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    13
    Rep Power
    5
    no idea what ur talking about. but if you use waypoints to far away, the mapclick will try to walk into houses sometimes, or through them

  3. #3
    Normal User
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Pozie, I'm saying that I can not make the character go to the next npc talk to him, gold deposit, withdraw, and then buy, the seller mana potion.
    entedeu?! if possible try to do there, so talk to the banker darashia and then the npc that sells mana potion.

    Thank you.

  4. #4
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    Post your actions here.

  5. #5
    Normal User
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Action 33214 32459 8 --OpenBp;wait(500, 1000);closewindows() ;wait(500, 1000);openitem(Mainbpname,'back');wait(500, 600);resizewindows();wait(1000, 2000);openitem(BpAmmo,Mainbpname,true);wait(500, 600);resizewindows();wait(1000, 2000);openitem(LootBpId,Mainbpname,true);wait(500, 600);resizewindows();wait(1000, 2000);openitem(GoldBpId,Mainbpname,true);wait(500, 600);resizewindows()
    Action 33215 32459 8 -- check Bps;if windowcount() < 4 then gotolabel('BpStart') end
    Action 33215 32459 8 if MinimizeWindows;then ;minimizewindows(BpAmmo) ;wait(500, 1000);end
    Action 33214 32459 8 if posz == 8 then gotolabel("Depot") end;if posz == 10 then gotolabel("Hunt") end
    Stand 33214 32460 8
    Action 33214 32460 8 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");wait(500, 1000);closewindows() ;wait(500, 1000);openitem(Mainbpname,'back');wait(500, 600);resizewindows();wait(1000, 2000);openitem(LootBpId,Mainbpname,true);wait(500, 600);resizewindows();
    Action 33214 32460 8 if windowcount() < 2 and islocation(5) then gotolabel('OpenBps') end;
    Action 33214 32460 8 ---- Depositing;while windowcount("locker") < 1 do;reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(1000, 2000);end
    Action 33211 32456 8 if windowcount("locker") > 0 then;while windowcount("depot chest") < 1 do;wait(1000, 2000);openitem(3502, "locker");wait(700, 900);end;end
    Action 33214 32460 8 openitem(Mainbpdpname, "depot chest");wait(700,900);;depotdeposit(AddonBpName,"Dragons Tail", "Small Diamond", "Life Crystal", "Green Dragon Leather", "Green Dragon Scale");wait(700,900);depotdeposit(OtherBpName,"Dragon Shield", "Dragon Hammer", "Dragonbone Staff", "Wand of Inferno", "Steel Helmet", "Steel Shield", "Double Axe", "Broadsword", "Serpent Sword");;wait(500,1000);openitem(LootBpId,LootBpId,false );depotdeposit(AddonBpName,"Dragons Tail", "Small Diamond", "Life Crystal", "Green Dragon Leather", "Green Dragon Scale");wait(700,900);depotdeposit(OtherBpName,"Dragon Shield", "Dragon Hammer", "Dragonbone Staff", "Wand of Inferno", "Steel Helmet", "Steel Shield", "Double Axe", "Broadsword", "Serpent Sword");;wait(500,1000);openitem(LootBpId,LootBpId,false );depotdeposit(AddonBpName,"Dragons Tail", "Small Diamond", "Life Crystal", "Green Dragon Leather", "Green Dragon Scale");wait(700,900);depotdeposit(OtherBpName,"Dragon Shield", "Dragon Hammer", "Dragonbone Staff", "Wand of Inferno", "Steel Helmet", "Steel Shield", "Double Axe", "Broadsword", "Serpent Sword");;wait(500,1000);openitem(LootBpId,LootBpId,false );depotdeposit(AddonBpName,"Dragons Tail", "Small Diamond", "Life Crystal", "Green Dragon Leather", "Green Dragon Scale");wait(700,900);depotdeposit(OtherBpName,"Dragon Shield", "Dragon Hammer", "Dragonbone Staff", "Wand of Inferno", "Steel Helmet", "Steel Shield", "Double Axe", "Broadsword", "Serpent Sword")
    Stand 33214 32456 8
    Stand 33214 32455 8
    Stand 33214 32454 7
    Action 33214 32454 7 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "If cavebot enabled");wait(500, 1000);if not islocation(5) then gotolabel("DpUp") end
    Action 33221 32387 7 wait(500, 1000);closewindows() ;wait(500, 1000);openitem(Mainbpname,'back');wait(500, 600);resizewindows();wait(1000, 2000);openitem(BpAmmo,Mainbpname,true);wait(500, 600);resizewindows();wait(1000, 2000)
    Action 33221 32387 7 if windowcount() < 2 then gotolabel('OpenBankBps') end
    Stand 33216 32446 7
    Stand 33217 32437 7
    Stand 33216 32428 7
    Stand 33216 32418 7
    Stand 33216 32407 7
    Stand 33221 32387 7
    Stand 33221 32387 7
    Stand 33221 32387 7
    Action 33221 32387 7 if not islocation(5) then gotolabel("Bank") end
    Action 33221 32387 7 -- Bank;local mana = positive(Buy_Mana - itemcount(Pot_Name)) * Mana_Price;local health = positive(Buy_Health - itemcount(Health_Name)) * Health_Price;local Total = mana + health;;depositall();wait(500,900);say('hi');;if Total > 0 then; npcsay("withdraw "..Total); wait(200,300); npcsay("yes"); wait(200,300);end
    Action 33221 32387 7 local mana = positive(Buy_Mana - itemcount(Pot_Name)) * Mana_Price;local health = positive(Buy_Health - itemcount(Health_Name)) * Health_Price;local extrahealth = positive(Buy_ExtraHealth - itemcount(ExtraHealth_Name)) * ExtraHealth_Price;local Total = mana + health + extrahealth;local gp = ((itemcount(3043)*10000)+(itemcount(3035)*100)+(it emcount(3031)));;if gp < Total then gotolabel("Bank") end
    Stand 33217 32390 7
    Stand 33217 32402 7
    Action 33217 32402 7 if not islocation(2) then gotolabel("Shop") end
    Action 33217 32402 7 -- Buy Supplies; local purchasemanaamount = Buy_Mana-itemcount(Pot_Name); local purchasehealthamount = Buy_Health-itemcount(Health_Name);;npcsay('hi');wait(500,1000 );npcsay("trade");sellflasks();;while windowcount(BpAmmo) < 1 and windowcount(Mainbpname) < 1 do; closewindows(); wait(500,1000); wait(400, 800);; openitem(Mainbpname, 'back'); wait(500,1000); wait(1000, 2000);; openitem(BpAmmo, Mainbpname, true); wait(500,1000); wait(600, 1000); resizewindows(); wait(500,1000); wait(400, 800);end;;while purchasemanaamount > 0 do; buyitems(Pot_Name, purchasemanaamount); wait(500,1000); wait(500,1000); purchasemanaamount = purchasemanaamount-100; moveitems(Pot_Name, BpAmmo, 100); wait(500,1000); wait(500,1000);end;;while purchasehealthamount > 0 do; buyitems(Health_Name, purchasehealthamount); wait(500,1000); wait(500,1000); purchasehealthamount = purchasehealthamount-100; moveitems(Health_Name, BpAmmo, 100); wait(500,1000); wait(500,1000);end;;npcsay('bye')
    Action 33217 32402 7 if itemcount(Pot_Name) < Buy_Mana or itemcount(Health_Name) < Buy_Health or itemcount(ExtraHealth_Name) < Buy_ExtraHealth then;gotolabel("Bank");end
    Stand 33217 32395 7
    Stand 33223 32385 7
    Action 33223 32385 7 -- check Soft Boots;moveitems("boots of haste", "all", "boots", 1);wait(2000);moveitems("draken boots", "all", "boots", 1);wait(2000);if soft == true and itemcount("worn soft boots") >= SoftsToRefill then gotolabel("SoftBoots") else gotolabel("SkipSoftBoots") end
    Action 33223 32385 7 -- ReOpenBps;wait(500, 1000);closewindows() ;wait(500, 1000);openitem(Mainbpname,'back');wait(500, 600);resizewindows();wait(1000, 2000);openitem(BpAmmo,Mainbpname,true);wait(500, 600);resizewindows();wait(1000, 2000);openitem(LootBpId,Mainbpname,true);wait(500, 600);resizewindows();wait(1000, 2000);openitem(GoldBpId,Mainbpname,true);wait(500, 600);resizewindows()
    Action 33223 32385 7 -- check Bps;if windowcount() < 4 and islocation(5) then gotolabel('ReOpenBps') end
    Action 33256 32278 10 if MinimizeWindows;then ;minimizewindows(BpAmmo) ;wait(500, 1000);end
    Stand 33230 32384 7
    Stand 33240 32376 7
    Stand 33248 32365 7
    Stand 33259 32354 7
    Stand 33263 32348 7
    Stand 33263 32316 7
    Stand 33264 32307 7
    Stand 33265 32292 7
    Stand 33265 32282 7 1
    Stand 33265 32279 7
    Use 33265 32278 7
    Stand 33265 32277 7
    Action 33265 32277 7 if not islocation() then gotolabel("Door") end;say(" ")
    Stand 33265 32276 7
    Stand 33263 32275 8
    Stand 33259 32275 9
    Stand 33258 32275 10
    Action 33258 32275 10 if not islocation(5) then gotolabel("DownHunt") end
    Stand 33257 32277 10
    Stand 33262 32296 10 1
    Node 33255 32289 10
    Node 33247 32290 10
    Node 33231 32289 10
    Node 33223 32289 10
    Node 33215 32286 10
    Node 33215 32282 10
    Node 33216 32279 10
    Node 33222 32276 10
    Node 33225 32272 10
    Node 33229 32270 10
    Node 33230 32264 10
    Node 33225 32273 10
    Node 33218 32276 10
    Node 33211 32273 10
    Node 33211 32266 10
    Node 33211 32257 10
    Node 33204 32251 10
    Node 33201 32248 10
    Node 33215 32249 10
    Node 33219 32243 10
    Node 33230 32245 10
    Node 33219 32242 10
    Node 33212 32240 10
    Node 33213 32222 10
    Node 33220 32221 10
    Node 33231 32222 10
    Node 33237 32226 10
    Node 33245 32234 10
    Node 33250 32238 10
    Node 33263 32233 10
    Node 33252 32236 10
    Node 33248 32244 10
    Node 33249 32251 10
    Node 33251 32258 10
    Node 33248 32265 10
    Node 33248 32278 10
    Node 33257 32278 10
    Action 33256 32278 10 if soft and not IgnoreSoft and itemcount("worn soft boots") >= SoftsToRefill then gotolabel("Deposit") end
    Action 33257 32278 10 if itemcount(Pot_Name) > Mana_check and itemcount(Health_Name) > Health_check and cap > capleave then gotolabel("Hunt") end
    Stand 33258 32275 10
    Stand 33259 32275 10
    Stand 33263 32275 9
    Stand 33265 32276 8
    Stand 33265 32277 7
    Action 33265 32277 7 if not islocation(5) then gotolabel("Deposit") end
    Stand 33265 32277 7
    Use 33265 32278 7
    Stand 33265 32279 7
    Action 33265 32279 7 if not islocation() then gotolabel("Door2") end
    Stand 33261 32287 7
    Stand 33253 32293 7
    Stand 33239 32319 7
    Stand 33235 32342 7
    Stand 33235 32362 7
    Stand 33235 32376 7
    Stand 33221 32387 7
    Action 33221 32387 7 depositall()
    Stand 33217 32393 7
    Stand 33216 32408 7
    Stand 33216 32422 7
    Stand 33217 32435 7
    Stand 33225 32432 7
    Action 33225 32432 7 --SELLING ITENS;say("hi");wait(2000);npcsay("trade");wait(2000);sellitemsupto("double axe", 100);wait(2000)
    Stand 33230 32430 7
    Action 33230 32430 7 --SELLING ITENS;say("hi");wait(2000);npcsay("trade");wait(2000);sellitemsupto("crossbow", 100);wait(2000)
    Stand 33219 32431 7
    Action 33219 32431 7 --SELLING ITENS;say("hi");wait(2000);npcsay("trade");wait(2000);sellitemsupto("steel helmet", 100);wait(2000);sellitemsupto("steel shield", 100);wait(500);sellitemsupto("plate legs", 100);wait(500)
    Stand 33216 32447 7
    Stand 33214 32454 7
    Stand 33214 32455 7
    Stand 33214 32458 8
    Action 33214 32458 8 if not islocation(5) then gotolabel("DownDepot") end
    Action 33214 32458 8 gotolabel("Depot")
    Action 33221 32387 7 -----------------------------------------------
    Stand 33221 32387 7
    Action 33221 32387 7 if not islocation(2) then gotolabel("SoftBoots") end
    Action 33221 32387 7 local softboots = positive(itemcount("worn soft boots")) * 11000;;npcsay('hi');wait(500, 1000);npcsay("withdraw "..softboots);wait(500, 1000);npcsay('yes');wait(500, 1000)
    Action 33221 32387 7 local soft = positive(itemcount("worn soft boots")) * 11000;local gp = ((itemcount(3043)*10000)+(itemcount(3035)*100)+(it emcount(3031)));;if gp < soft then gotolabel("SoftBoots") end
    Stand 33226 32387 7
    Stand 33245 32390 7
    Stand 33247 32404 7
    Stand 33251 32413 7
    Stand 33255 32422 7
    Stand 33256 32436 7
    Stand 33265 32447 7
    Stand 33271 32468 7
    Stand 33286 32470 7
    Stand 33293 32473 7
    Stand 33293 32473 7
    Ladder 33293 32473 7
    Stand 33290 32480 6
    Action 33290 32480 6 if not islocation(3) then gotolabel("Ladder") end
    Action 33290 32480 6 reachcreature("Petros");wait(500, 1000);npcsay("hi");wait(500, 1000);npcsay("venore");wait(500, 1000);npcsay("yes")
    Stand 32954 32023 6
    Action 32954 32023 6 if not islocation(5) then gotolabel("TravelVenore") end
    Stand 32954 32028 6
    Stand 32954 32033 6
    Stand 32954 32037 6
    Stand 32954 32043 6
    Stand 32954 32047 6
    Stand 32954 32053 6
    Stand 32954 32058 6
    Stand 32954 32063 6
    Stand 32954 32068 6
    Stand 32954 32071 6
    Stand 32954 32082 6
    Stand 32954 32088 6
    Stand 32954 32093 6
    Stand 32949 32098 6
    Stand 32948 32102 6
    Stand 32952 32108 6
    Action 32952 32108 6 if not islocation(2) then gotolabel("LeavingBoat") end
    Action 32952 32108 6 local gp = ((itemcount(3043)*10000)+(itemcount(3035)*100)+(it emcount(3031)));;wait(500, 1000);npcsay('hi');while itemcount("worn soft boots") > 0 and gp > 10000 do;wait(500, 1000);npcsay('repair');wait(500, 1000);npcsay('yes');wait(500, 1000);npcsay('bye');end
    Stand 32949 32105 6
    Stand 32949 32100 6
    Stand 32951 32095 6
    Stand 32954 32092 6
    Stand 32953 32086 6
    Stand 32954 32080 6
    Stand 32954 32074 6
    Stand 32954 32067 6
    Stand 32954 32063 6
    Stand 32954 32057 6
    Stand 32954 32053 6
    Stand 32954 32048 6
    Stand 32954 32043 6
    Stand 32954 32037 6
    Stand 32954 32032 6
    Stand 32954 32030 6
    Stand 32955 32023 6
    Action 32955 32023 6 if not islocation(5) then gotolabel("LeavingRepair") end
    Action 32955 32023 6 reachcreature("Captain Fearless");wait(500, 1000);npcsay("hi");wait(500, 1000);npcsay("ankrahmun");wait(500, 1000);npcsay("yes")
    Stand 33093 32884 6
    Action 33093 32884 6 if not islocation(5) then gotolabel("TravelAnk") end
    Action 33093 32884 6 reachcreature("Captain Sinbeard");wait(500, 1000);npcsay("hi");wait(500, 1000);npcsay("darashia");wait(500, 1000);npcsay("yes")
    Stand 33290 32481 6
    Action 33290 32481 6 if not islocation(5) then gotolabel("TravelDara") end
    Stand 33290 32476 6
    Stand 33293 32474 6
    Stand 33293 32473 6
    Stand 33289 32470 7
    Action 33289 32470 7 if not islocation(5) then gotolabel("DownLadder") end
    Stand 33283 32469 7
    Stand 33276 32468 7
    Stand 33267 32466 7
    Stand 33259 32459 7
    Stand 33249 32457 7
    Stand 33238 32457 7
    Stand 33220 32454 7
    Stand 33217 32440 7
    Stand 33216 32427 7
    Stand 33217 32414 7
    Stand 33217 32406 7
    Stand 33217 32396 7
    Stand 33223 32387 7
    Action 33223 32387 7 gotolabel("CheckSoft")
    Action 33223 32387 7 ------------------

  6. #6
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    Remove this from your script..

    Action 33221 32387 7
    PHP Code:
    local mana positive(Buy_Mana itemcount(Pot_Name)) * Mana_Price
    local health 
    positive(Buy_Health itemcount(Health_Name)) * Health_Price
    local extrahealth 
    positive(Buy_ExtraHealth itemcount(ExtraHealth_Name)) * ExtraHealth_Price
    local Total 
    mana health extrahealth;local gp = ((itemcount(3043)*10000)+(itemcount(3035)*100)+(it emcount(3031)))

    if 
    gp Total then gotolabel("Bank"end 

  7. #7
    Normal User
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Thank you for your willingness to help, I'll adjust and see if it will work now.
    thank you again ..!

  8. #8
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    Man remove all counts of this "ExtraHealth_Name" or do you want to use another health potion? If you do you need to add it into the original bank action.
    PHP Code:
    itemcount(ExtraHealth_Name) < Buy_ExtraHealth 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •