BBot - The best bot of the world
Looking for support - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Looking for support (/thread-21108.html)



Looking for support - Pakito - 01-12-2020

Hello,
I'm trying to sell items in a script directly to the NPC (Rashid)
The script sell the items but then gets stucked selling them, lets say
Hi
Trade
Sell xxxx
fixed point
sell xxxx
fixed point
sell xxxx
And keeps repeating all the list without advancing to the next waypoints.
I tried puting fixed point and deleting items of the list, but it doesn't work.
I would like to know if I should put the items list in variables and sell them like that or just need some special waypoint to keep with the waypoints.
-----------------------------------------------------------------------------------
Another problem that I'm having is when I use variables (not of my own creation)

#Mana Vial Settings#
vialmID=268
vialmP=50
vialmMAX=1500
vialmLEAVE=300

#Health Vial Settings#
vialhID=23375
vialhP=500
vialhMAX=200
vialhLEAVE=100

And I make the script
Refill: !vialmID! !vialmMAX!
The bot sometimes just buy the amount of !vialmMAX! and finishes like !vialmMAX!+ammount of pots that I have in the bp. So, sometimes I finish with 4500 mana potions and no cap for loot. I would like to make a buy waypoint in which the bot makes this ammount of !vialmMAX!-ammount of MPs (I have in bp).

------------------------------------------------------------------------------------------
As well, there's any way to make the bot prioritize the HP of the MP so I don't die d:

------------------------------------------------------------------------------------------
Thanks a lot

playing: MegaTibia
Nicks: The Nort Face; Hozho; Kolsch; Scabby Bastard.