Postado Fevereiro 6, 2011 14 anos Well this is a kind Rune Maker in C#, you can convert it to VB easy. Is not complete but is an idea to start one, you need to better it. So the event for the bottom is: private void button1_Click(object sender, EventArgs e) { Item itemMovedToAmmo = null; ItemLocation newLocation = null; ItemLocation oldLocation = null; Item original = client.Inventory.GetItems().FirstOrDefault(i => i.Id == Tibia.Constants.Items.Rune.Blank.Id); uint item = Tibia.Constants.Items.Rune.PoisonField.Id; if (original != null) { oldLocation = original.Location; if (client.Inventory.GetItemInSlot(Tibia.Constants.SlotNumber.Right) == null) { newLocation = ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Right); } else if (client.Inventory.GetItemInSlot(Tibia.Constants.SlotNumber.Left) == null) { newLocation = ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Left); } if (newLocation == null && client.Inventory.GetItemInSlot(Tibia.Constants.SlotNumber.Ammo) != null) { newLocation = ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Right); itemMovedToAmmo = client.Inventory.GetItemInSlot(Tibia.Constants.SlotNumber.Right); itemMovedToAmmo.Move(ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Ammo)); } } Thread.Sleep(200); original.Move(newLocation); Thread.Sleep(200); client.Console.Say("adevo grav pox"); Thread.Sleep(200); Item newItem = new Item(client, item, 0, "", newLocation); Thread.Sleep(300); newItem.Move(oldLocation); Thread.Sleep(200); if (itemMovedToAmmo != null) { itemMovedToAmmo.Location = ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Ammo); itemMovedToAmmo.Move(ItemLocation.FromSlot(Tibia.Constants.SlotNumber.Right)); } }
Postado Fevereiro 6, 2011 14 anos Now remember that the blank rune not need to be in the hands rune be made, then to make a runemaker enough to just be a spellcaster, using the magic from time to time with the blank rune in bp. Sorry the english! # Regras Gerais - TibiaKing.com # Contato: augusto@tibiaking.comNão respondo dúvidas via MP.
Postado Fevereiro 7, 2011 14 anos Autor Ohh really? xD i haven't play Tibia a long time. Well i think it can help you to understand how to move items.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.