Looting and ai_items_gather_start

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Nifty
Noob
Noob
Posts: 5
Joined: 22 Jun 2012, 12:49
Noob?: No

Looting and ai_items_gather_start

#1 Post by Nifty »

Hello guyz. Firstly I want to say sorry for my English.

I want to looting other players items on Moscovia. I fixed almost everything on config.txt and timeout.txt but still not working. My character must loot stems and blue herbs but nothing happened when I set this things. Character randomly walk on this coordinates but not looting. I think I must change "ai_items_gather_start" but I dont know how to do. I read almost everything but didn't found anything. Please help me about it. =|

Lockmap (Working):

Code: Select all

lockMap mosk_dun01
lockMap_x 133
lockMap_y 80
lockMap_randX 92
lockMap_randY 10
Other Config.txt Things (Not Working?):

Code: Select all

itemsTakeAuto 0 << It's not important for me.
itemsTakeAuto_party 0
itemsGatherAuto 2 << That one is important.
itemsMaxWeight 89
itemsMaxWeight_sellOrStore 48
itemsMaxNum_sellOrStore 99
cartMaxWeight 7900
itemsTakeAuto_new 0
pickupitems.txt (Working):

Code: Select all

all 0
stem 1
mantis card 1
blue herb 2

timeouts.txt (Not Working?):

Code: Select all

ai_items_take_delay 0.7

# When your monster died, start checking for loot after x seconds
ai_items_take_start 0.2

# Stop checking for loot x seconds after it has begun checking
ai_items_take_end 1.2

# When standing near an item, send the 'take' packet every x seconds until
# the item has been taken.
ai_take .4

# Give up if unable to pickup item after x seconds
ai_take_giveup 15
ai_items_gather_giveup 6

# Every x seconds, check items for gathering
ai_items_gather_auto .1

# Only gather items that have been more than x seconds on screen
ai_items_gather_start
Last edited by Nifty on 23 Jun 2012, 10:13, edited 1 time in total.
User avatar
SkylorD
Moderators
Moderators
Posts: 1197
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

Re: Looting and ai_items_gather_start

#2 Post by SkylorD »

itemsTakeAuto = 2
I know that with those two lines, i did this.
Learn rules
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Looting and ai_items_gather_start

#3 Post by EternalHarvest »

SkylorD wrote:
itemsTakeAuto = 2
I know that with those two lines, i did this.
itemsTakeAuto shouldn't gather any random loots, why there are no bug reports from you about that?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Looting and ai_items_gather_start

#4 Post by EternalHarvest »

Nifty wrote: I want to looting other players items on Moscovia. I fixed almost everything on config.txt and timeout.txt but still not working. My character must loot stems and blue herbs but nothing happened when I set this things. Character randomly walk on this coordinates but not looting. I think I must change "ai_items_gather_start" but I dont know how to do.
In processItemsAutoGather there are numerous checks, the one you need to look at is kinda self-describing.