Advertisement
Guest User

ETP Scripts Python

a guest
Jul 14th, 2017
1,608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.10 KB | None | 0 0
  1. import constInfo,chat,thread,player,time,app,net,chr,dbg,ui
  2. #Bu bir python script'dir. Bu script Bot ile oyuna girince otomatikmen aktif hale gelecekdir (Harita degisincede vb.)
  3. #Bunun ile kendi python kodlamalarini girisde kullanabilirsin, sadece alt tarafa yapisdir
  4.  
  5. ### Ayarlar ###
  6. SLOT_COUNT = player.INVENTORY_PAGE_COUNT*player.INVENTORY_PAGE_SIZE
  7. DELAY = 1                                      ## -> Gecikme [Saniye]
  8. PLAYER_NAMES = ["Hesabim1", "Hesabim2", "Hesabim3", "Hesabim4", "Hesabim5", "Hesabim6"]                ## -> Iteme düsürecek karakter adlarını girin
  9. ITEM_ID = 30270 ## -> Buraya Item ID'ni yaz
  10. ### Ayarlarin Sonu ###                            
  11.  
  12. def StartDropItems():
  13.     while 1:
  14.         for slot in xrange(SLOT_COUNT) :
  15.             if player.GetItemIndex(slot) == ITEM_ID:
  16.                 net.SendItemDropPacketNew(slot,200)
  17.         time.sleep(1)
  18.        
  19. if not hasattr(constInfo, "started"):
  20.     constInfo.started = 1
  21.     if chr.GetName() in PLAYER_NAMES:
  22.         thread.start_new_thread(StartDropItems,())
  23.         chat.AppendChat(7,"[m2bob] drop items started" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement