def dobattleexploit(self):
print "My name is rare and i play the marracca and I go chick chicky boom"
#Battle Exploit
#As3 code:
# var _loc_3
bject = {};
# _loc_3.p3s = vectorToArray(this.boardComponents.mapDataVO.p3s);
# _loc_3.structures = vectorToArray(this.boardComponents.mapDataVO.struc tures);
# _loc_3.gems = vectorToArray(this.boardComponents.mapDataVO.gems) ;
# _loc_3.eggs = vectorToArray(this.boardComponents.mapDataVO.eggs) ;
# _loc_3.boosters = vectorToArray(this.boardComponents.mapDataVO.boost ers);
# _loc_3.resources = vectorToArray(this.boardComponents.mapDataVO.resou rceTiles);
# _loc_3.decorations = vectorToArray(this.boardComponents.mapDataVO.decor ations);
# _loc_3.pesttraps = vectorToArray(this.boardComponents.mapDataVO.pestT raps);
# this._gameBoardProxy.updateSceneAfterPestAttack(_l oc_3);
# self.PestService = self.amfgetservice("PestService")
# print "start battle function"
# if self.resp3['player']['underPestAttack']== True:
# print "Battle found , so sending packet"
# outarray = [{'p3s':'' , 'structures':''}]
# outp3s = []
# outstructures = []
# outgems = []
# outeggs = []
# outboosters=[]
# outresources = []
# outdecorations = []
# outtrap=[]
# for x in self.itemcollection:
# #outarray["p3s"] = "tesT"
# if (x['sceneItemType'] == "Character"):
# outp3s = outp3s + [x]
# if (x['sceneItemType'] == "Structure"):
# outstructures = outstructures + [x]
# if (x['sceneItemType'] == "Gem"):
# outgems = outgems + [x]
# if (x['sceneItemType'] == "Egg"):
# outeggs = outeggs + [x]
# if (x['sceneItemType'] == "Decoration"):
# outdecorations = outdecorations + [x]
# if (x['sceneItemType'] == "Booster"):
# outboosters = outboosters + [x]
# if (x['sceneItemType'] == "Resource"):
# outresources = outresources + [x]
# if (x['sceneItemType'] == "PestTrap"):
# outtrap = outtrap + [x]
#outstring =
# outarray[0].update({'p3s': outp3s,'structures': outstructures ,'structures': outstructures ,'gems': outgems ,'eggs': outeggs ,'boosters': outboosters ,'resources': outresources,'decorations': outdecorations,'pesttraps': outtrap})
#print outarray
# self.PestService.updateSceneAfterPestAttack(outarr ay) #Requires edited amf for dict sends (not included in this version due to how easy this to exploit) If you can fix the code you deseve this