What's new

- TibiaAuto backpacki

Status
Not open for further replies.

mugarynka

Active User
Joined
Dec 27, 2010
Messages
88
Reaction score
8
Age
28
witam serdecznie!
potrzebuje pomoc z Tibia Auto (8.71).
Bot zbiera gp do pierwszego BP.
ale gdy 1-wszy bp jest pe?en przestaje je zbiera?...
co zrobi? ,aby zbiera? gp do kolejnych bp gdy pierwszy jest pe?en?
(nie mam ustawione sort loot)
pozdrawiam
 

Tevions

Active User
Joined
Feb 3, 2010
Messages
64
Reaction score
3
Odp: backpacki

potrzebny jest skrypt ktory moge ci dac
 

Tevions

Active User
Joined
Feb 3, 2010
Messages
64
Reaction score
3
Odp: backpacki

k juz ci daje :D
class ModuleNextBackpackOpener:
BPID = range (0xb25,0xb38+1);#contains ID's for ALL BP and bags
BPID+= [0x1726,0x1727,0x173d,0x173e,0x1CAE,0x1CAF];

def getName(self):
return "Next Backpack Opener"

def getVersion(self):
return "1.0";

def getFunDef(self,nr):
if (nr==0): return (0,5000,self.open);
return ();

def getConfigParam(self,nr):
#Can't figure out the number of the BP you have open? Check the auto looter to see which ones are open.
if (nr==0): return ('backpackNumber','Def:All; Integer:Only does this for BP# (first=1)')
return ();

def open(self,params):
totCont = 16;
for contNr in range(totCont):#check each open container
cont=tareader.readContainer(contNr);
if cont['flagOnOff']:#if container is open
try: bpNum = int(params['backpackNumber'])-1;
except: bpNum = -1;
print bpNum,contNr;
if (bpNum == -1 or contNr == bpNum) and cont['itemsInside'] >= cont['size']:
for itemNr in range(cont['itemsInside']-1,-1,-1):#Go backwards through items
item=tareader.readContainerItem(contNr,itemNr);
if self.BPID.count(item['objectId']) !=0:#if items is a backpack
tasender.openContainerFromContainer (item['objectId'],0x40+contNr,itemNr,contNr);
return();
return();

tibiaauto.registerPlugin(ModuleNextBackpackOpener);

tutaj masz ten skryp w 100% dziala bo sam go uzywam :D
 

Shathil

Active User
Joined
Jan 20, 2011
Messages
149
Reaction score
11
Odp: backpacki

Otw?rz 3 bp i jak si? jeden zape?ni b?dzie zbiera? do drugiego ale ?opatologia...
 

Tevions

Active User
Joined
Feb 3, 2010
Messages
64
Reaction score
3
Odp: backpacki

wedlug mnie lepszy jest skrypt .. ale jak kto woli ;P
 

mugarynka

Active User
Joined
Dec 27, 2010
Messages
88
Reaction score
8
Age
28
Odp: backpacki

mam otworzone 4bp...
i jak bys umial czytac to bys wiedzial ze to mi nie dziala -.-
zobacze zara skrypt ;p
 

Unista

Active User
Joined
Nov 26, 2009
Messages
55
Reaction score
3
Odp: backpacki

Najpierw otw?rz sobie g??wny bp p??niej kliknij na nast?pny i otw?rz za pomoc? Open in new window i kolejny i kolejny i b?dzie dzia?a? ;]
 

Tevions

Active User
Joined
Feb 3, 2010
Messages
64
Reaction score
3
Odp: backpacki

a nie lepiej skrypta uzyc ? chyba ze ktos jest taki tempy ze nie umie ich wpisywac ...
 

Andrus91

User
Joined
Nov 27, 2010
Messages
40
Reaction score
2
Odp: backpacki

ja u?ywam skrypt "open next bp" z forum TA i bardzo mi si? podobra :) polecam
 
Status
Not open for further replies.
Top