MY BOT DOESN'T MAX MY CART. PLEASE HELP.

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
hovostv01
Noob
Noob
Posts: 4
Joined: 05 Apr 2014, 00:02
Noob?: Yes

MY BOT DOESN'T MAX MY CART. PLEASE HELP.

#1 Post by hovostv01 »

My bot puts the specific item that i put in "item_control" in my cart. but he doesn't FULL the cart.

my item_control is

Gold 300 0 0 300 0, ive tried
Gold 0 0 0 300 0. still he doesn't Full the cart.

in my config my cartMaxWeight is 20000. i maxed. it

it'll tool 1kgold to max the cart. but everytime i open my bot after 12hours. he only puts 200 to 300 in the cart and he is always beyond 300gold+ in his inventory.

please help me how to fix this. thanks in advance.

[]penKore
Noob
Noob
Posts: 6
Joined: 07 Apr 2014, 07:49
Noob?: No
Location: Australia

Re: MY BOT DOESN'T MAX MY CART. PLEASE HELP.

#2 Post by []penKore »

To configure your item control text use this Method.
------------------------------------------------------------------------------------
<item name> <minimum> <storage> <sell> <cart add> <cart get>
------------------------------------------------------------------------------------

<Item name> is the item name , <minimum> is minimum number to keep in inventory
<storage> is to store the item at Kafa { 1 to store or 0 not to store }
<sell> is to sell the item at the BuyNpc { 1 to sell or 0 not to sell }
<cart add> is to put item into your cart { 1 put into cart or 0 Don't put into cart}
<cart get> is to get item from your cart { 1 Get from cart or 0 Don't get from cart}

So to explain it for you .. if you wish to place all your gold into your cart
and have no gold in your inventory you would use this:

<item name> Gold
<minimum> 0
<storage> 0
<sell> 0
<cart add> 1
<cart get> 0


so you enter it like this:

Gold 0 0 0 1
_______________________________________________________________

If you wanted to keep 10 gold in your inventory change the <minimum> Value to 10
and it will put the rest into your cart.

Gold 10 0 0 1

________________________________________________________________

A quick example of using the <cart get> would be for Potions

White Potion 25 0 0 0 1

This will get white potions from your cart when you have less then 25 in your inventory
_________________________________________________________________

Also please keep in mind that you Can Not use both <cart add> and <cart get> for the same item

I am trying to find a solution for this and will post it if and when I get one..

Hope this helps..

Post Reply