示例#1
0
 private void storeAC()
 {
     while (slotNum == 0)
     {
         Thread.Sleep(1);
     }
     if (tries >= storeTries)
     {
         cashShopManagement(false, true, 45, 50);
         characterMove(coords);
         tries = 0;
         updateAccountStatus("[Store AC] AC @ " + channel.ToString() + "/" + RoomNum + " @ " + coords);
     }
     if (tries == 0 || tries == 1 || tries == 15 || tries == 30 || tries == 45)
     {
         updateAccountStatus("[Store AC] ACing @ " + channel.ToString() + "/" + RoomNum + " @ " + coords);
     }
     if (clientMode != ClientMode.DISCONNECTED)
     {
         ses.SendPacket(PacketHandler.ClickInven(slotNum).ToArray());
         Thread.Sleep(150);
     }
     Thread.Sleep(1);
 }