ܔܔܢܜܜܔLucasܔܔܢܜܜܔ Posted May 12, 2013 Report Share Posted May 12, 2013 Alguem ai sabe como abrir a next bp qnd uma tiver cheia? Quote Link to comment Share on other sites More sharing options...
~~ Achik Junior ~~ Posted May 12, 2013 Report Share Posted May 12, 2013 tambem queria saber isso ;x Quote Link to comment Share on other sites More sharing options...
~~ Achik Junior ~~ Posted May 14, 2013 Report Share Posted May 14, 2013 alguém? Quote Link to comment Share on other sites More sharing options...
ܔܔܢܜܜܔLucasܔܔܢܜܜܔ Posted May 14, 2013 Author Report Share Posted May 14, 2013 era pra funcionar,mas nem sei pq n funfa... class ModuleNextBackpackOpener:BPID = range (0xb25,0xb38+1);#contains ID's for ALL BP and bagsBPID+= [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 containercont=tareader.readContainer(contNr);if cont['flagOnOff']:#if container is opentry: 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 itemsitem=tareader.readContainerItem(contNr,itemNr);if self.BPID.count(item['objectId']) !=0:#if items is a backpacktasender.openContainerFromContainer (item['objectId'],0x40+contNr,itemNr,contNr);return();return();tibiaauto.registerPlugin(ModuleNextBackpackOpener); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.