Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 07/27/12 em todas áreas

  1. [Action] Promotion Por Item

    Novato ON e 3 outros reagiu a Slaake por uma resposta no tópico

    4 pontos
    Eae galerinha, hoje eu fiz um script de promotion. Como ele funciona ? Bom, o player vai precisar de um item X, e quando ele der use, ele pega a promotion, vamos lá ? 1º: Vá em data/actions/scripts , copie qualquer arquivo .lua , abra-o, apague o que estiver la dentro, renomeio para voc e ponha isto: 2º: Vá em data/actions/action.xml e adicione esta tag: <action itemid="IDDOITEM" script="voc.lua" /> Bom, é isso galera, espero que tenham gostado, testei no meu sv 8.6 e deu certo . Gostou ? Da um REP+ Ae
  2. [MoveMents] Monster Automatico Por Level

    Annezinha e 2 outros reagiu a Slaake por uma resposta no tópico

    3 pontos
    Fala galerinha do TK, como estão ? Bom, hoje lembrei do servidor Global War, e lembrei de quando eu upava na Infernia (VIP), tinha ganhado a premium la de niver do meu irmao, ai tavo fazendo task la, era o seguinte, sempre que agnt passava em cima do tile, criava um demon, intao eu ficava o dia inteiro la, matava os nego que aparecia kk, e ficava la, por dia eu fazia em media de 1,3kk de loot (mms,mpa, g legs...), então resolvi criar esse script, só que eu coloquei um level para criar o demon, para nao ficar muito vacalhado, espero que gostem: 1º: Vá em data/movements/script copie qualquer arquivo .lua renomeio para up apague o que estiver dentro e bote isto: -- By Slaake and MaXwEllDeN For Tibia King -- function onStepIn(cid, item, position, fromPosition) if (not isPlayer(cid)) then return false end if (getPlayerLevel(cid) >= 80) then doSummonCreature("Demon", getThingPos(cid)) else doPlayerSendCancel(cid, "Você não está no nivel 80 ou maior!") end return true end <movement type="StepIn" uniqueid="30005" event="script" value="up.lua" /> Bom é isso galerinha, ate o proximo script Créditos: Slaake MaXwEllDeN Gostou ? Da um REP+ Ae 2º Agora vá em data/movements/movements.xml e adicione esta tag:
  3. 2 pontos
    Bom galera hoje vim trazer aqui para vocês um Walker Simples , porem nao utilíza TibiaApi, Por exemplo como controlar o Walker em um método que cria padrões humanos, utilizando o método mais lógico com uma coisa chamada Um algoritmo de busca . Form1.cs #region using using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;[/center] [center]// My added namespaces using System.Runtime.InteropServices; using System.Diagnostics; using System.IO; // End[/center] [center]#endregion[/center] [center]//The namespace of our project. namespace TibiaInfo { //The class, Mainwindow. public partial class MainWindow : Form { #region declarations /* These two variables are very important to reading memory. You've probably seen the word "BasedAddress" a * lot if you've been trying to program recently, and the variable "Base" is what will store this address * as an integer. In order to obtain the BaseAddress we will use a variable to store information on the * Tibia Client, making it a little easier to do. The buffer will make it easier to add memory reading * functions to our program later. It's not neccessary but is nice to have. */ public static int Base = 0; public static Process Tibia = null; byte[] buffer;[/center] [center] /* These are the integer variables which will store our characters information, such as health, mana, * experience, magic level, level, capacity, coordinates, and exp to level. */ public int hp; public int mp; public int xp; public int ml; public int lvl; public int cap; public int xpos; public int ypos; public int zpos; public int xpup; public int xpbet; public int xpprog; public int toup;[/center] [center] /* In these we will store some information in a string format, such as our name, first quest in the quest log. */ public string name; public string quest;[/center] [center] #endregion[/center] [center] #region addresses /* Here comes a list of our addresses which we will read. Note that I posted each address twice, once just an * address, and once the address + 0x400000. If you're using Windows XP or have ASLR disabled for some miscallanious * reason, you should use the address with L on the end. For instance for the Exp Address, use XpAdrL, not XpAdr. * You'll also then need to remove the other ASLR related material from this, we'll get to that in a while though. */[/center] [center] // XOR Address UInt32 Pxor = 0x3ABF8C; // EXP Address UInt32 XpAdr = 0x3ABF98; UInt32 XpAdrL = 0x3ABF98 + 0x400000; // Mana Address UInt32 MpAdr = 0x3ABFE0; UInt32 MpAdrL = 0x3ABFE0 + 0x400000; // Health Address UInt32 HpAdr = 0x541000; UInt32 HpAdrL = 0x541000 + 0x400000; // Cap Address UInt32 CapAdr = 0x578E94; UInt32 CapAdrL = 0x578E94 + 0x400000; // Level Address UInt32 LvlAdr = 0x3ABFC8; UInt32 LvlAdrL = 0x3ABFC8 + 0x400000; // Magic Address UInt32 MlAdr = 0x3ABFD0; UInt32 MlAdrL = 0x3ABFD0 + 0x400000; // Name Address UInt32 NameAdr = 0x3b5d98; UInt32 NameAdrL = 0x3b5d98 + 0x400000; //XPos Address UInt32 XAdr = 0x578ea8; UInt32 XAdrL = 0x578ea8 + 0x400000; //YPos Address UInt32 YAdr = 0x578eac; UInt32 YAdrL = 0x578eac + 0x400000; //ZPos Address UInt32 ZAdr = 0x578eb0; UInt32 ZAdrL = 0x578eb0 + 0x400000; //First Quest Address UInt32 QstAdr = 0x3AD0D5; UInt32 QstAdrL = 0x3AD0D5 + 0x400000; //Battle List Start Address UInt32 BAdr = 0x541008; UInt32 BAdrL = 0x541008 + 0x400000;[/center] [center] #endregion[/center] [center] #region import functions // Import WindowsAPI Function to read process memory without using unmanaged code directly. [DllImport("kernel32.dll")] public static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead); #endregion[/center] [center] #region formload shit public MainWindow() { InitializeComponent(); }[/center] [center] private void Form1_Load(object sender, EventArgs e) { /* The formload event is where we want to select a client to use. If we don't do it here we'll have to * do it every time we want to do it every time we want to read any memory. For that reason, we'll do * this now.*/ // Get a list of processes, store them in an array named "TibiaProcess", only include processes called Tibia. Process[] TibiaProcess = Process.GetProcessesByName("Tibia"); // Declare that the client we're using is the one which comes first in the array. Tibia = TibiaProcess[0]; // Declare that the Base Address is the Base Address of the process this client uses. Base = Tibia.MainModule.BaseAddress.ToInt32(); // Display the name of the character on the client which the bot is attached to. MessageBox.Show(ReadString(Tibia.Handle, BAdr + Base)); } #endregion[/center] [center] #region using imported functions[/center] [center] /* Read bytes from address - This is a function, effectively, which takes X, Y, and Z input, and uses it to get A output. * It will take an window handle, in form of an IntPtr, an address, in form of a 64 bit Int, and BytesToRead, in form of a tiny int. */ public static byte[] ReadBytes(IntPtr Handle, Int64 Address, uint BytesToRead) { IntPtr ptrBytesRead; // Declare a buffer, this is the no mans land in which the information travels to get from the memory address to our programs memory. byte[] buffer = new byte[BytesToRead]; // Call to the windows function to get the information. ReadProcessMemory(Handle, new IntPtr(Address), buffer, BytesToRead, out ptrBytesRead);[/center] [center] // The result of this function will be the contents of buffer. Any information which was stored at the memory address passed in, is now in the buffer. return buffer; }[/center] [center] // This should convert the contents of "buffer" - or any other byte variable - to a usable Int32. public static int ReadInt32(IntPtr Handle, long Address) { return BitConverter.ToInt32(ReadBytes(Handle, Address, 4), 0); }[/center] [center] // This should convert the contents of "buffer" - or any other byte variable - to a usable String. public static string ReadString(IntPtr Handle, long Address) { return System.Text.ASCIIEncoding.Default.GetString(ReadBytes(Handle, Address, 32)); }[/center] [center] #endregion[/center] [center] #region Waypoint Builder[/center] [center] #region adding private void addwpt() { listBox1.Items.Add("W:" + Convert.ToString(ReadInt32(Tibia.Handle, XAdr + Base) + ", " + ReadInt32(Tibia.Handle, YAdr + Base) + ", " + ReadInt32(Tibia.Handle, ZAdr + Base))); }[/center] [center] private void addButton_Click(object sender, EventArgs e) { addwpt(); }[/center] [center] #endregion[/center] [center] #region removing private void removeButton_Click(object sender, EventArgs e) { int zero = new int(); zero = -1; if (listBox1.SelectedIndex != zero) { listBox1.SelectedIndex = listBox1.SelectedIndex - 1; listBox1.Items.RemoveAt(listBox1.SelectedIndex + 1); } else { MessageBox.Show("Please select a waypoint to remove."); } }[/center] [center] private void clearButton_Click(object sender, EventArgs e) { listBox1.Items.Clear(); MessageBox.Show("All waypoints removed."); } #endregion[/center] [center] #region writing to file private void saveButton_Click(object sender, EventArgs e) { StreamWriter fs = new StreamWriter(fileName.Text, false); foreach (string itm in listBox1.Items) { fs.WriteLine(itm); } MessageBox.Show(null, "Wrote " + (listBox1.Items.Count) + " lines to " + fileName.Text + ".", "Saved Successfully.", MessageBoxButtons.OK, MessageBoxIcon.Information); fs.Close(); } #endregion[/center] [center] #region reading from file[/center] [center] private void loadButton_Click(object sender, EventArgs e) { int counter = 0; string line; StreamReader read = new StreamReader(fileName.Text); while ((line = read.ReadLine()) != null) { listBox1.Items.Add(line); counter++; } read.Close(); } #endregion[/center] [center] #endregion[/center] [center] #region statusbar updater private void statusBarTimer_Tick(object sender, EventArgs e) { xpToLevel(); statusLevel.Text = "Level: " + Convert.ToString(ReadInt32(Tibia.Handle, LvlAdr + Base)); statusExp.Text = "Exp: " + Convert.ToString(ReadInt32(Tibia.Handle, XpAdr + Base)); statusHp.Text = "Hp: " + Convert.ToString(ReadInt32(Tibia.Handle, (HpAdr + Base)) ^ ReadInt32(Tibia.Handle, (Pxor + Base))); statusMp.Text = "Mp: " + Convert.ToString(ReadInt32(Tibia.Handle, (MpAdr + Base)) ^ ReadInt32(Tibia.Handle, (Pxor + Base))); statusToLevel.Text = "To Level: " + Convert.ToString(toup); xpbar.Maximum = xpbet; xpbar.Minimum = 0; xpbar.Value = xpprog; }[/center] [center] private void xpToLevel() { // xpbet is the var which stores the exp between current level and next level. // calc contains the exp required for next level. // calc1 contains the exp required for current level. int lv = ReadInt32(Tibia.Handle, LvlAdr + Base); int calc = (50 * lv * lv * lv - 150 * lv * lv + 400 * lv) / 3; int lv1 = (ReadInt32(Tibia.Handle, LvlAdr + Base) - 1); int calc1 = (50 * lv1 * lv1 * lv1 - 150 * lv1 * lv1 + 400 * lv1) / 3; xpbet = (calc - calc1); toup = calc - ReadInt32(Tibia.Handle, XpAdr + Base); xpprog = xpbet - toup; }[/center] [center] #endregion[/center] [center] #region Menu Controls[/center] [center] private void exitToolStripMenuItem_Click(object sender, EventArgs e) { Mainwindow.ActiveForm.Close(); }[/center] [center] private void cGBotToolStripMenuItem_Click(object sender, EventArgs e) { MessageBox.Show("CGBot is an open source program released under the public GNU License."); }[/center] [center] #endregion } }[/center] [center] O projeto está em GoogleCode tambem: http://code.google.com/p/cg-bot/ Creditos 99% MainInTheCave (TPForums) 1% Mek Fiuchem (Eu) por trazer aqui para voces :/ Obs: Lembrando que as addresses são da versao 9.44 (é tbm 9.46) Obs²: Ignorem o [ center] [ /center] nas codes (removelas)
  4. [8.6] Tibia Harry Potter

    mattei123 reagiu a johnmlkzika por uma resposta no tópico

    1 ponto
    HARRY POTTER ONLINE Servidor TIBIA HARRY POTTER Alguma vez voce pensou que poderia ser um aluno de HOGWARTS? Agora é sua chance! Venha para o Harry Potter Online e fassa amigos, pegue varinhas, voe de vassoura e muito mais! Estou disponibilizando o servidor pois meu projeto do Harry Potter Online foi por agua abaixo, por causa de um cara que conseguiu rippar as sprites do quilante... Meu projeto já estava 90% andado, mas agora ferrou-se tudo. Então estou mandando a parte do meu projeto que está pronta, porem com sprites do quilante (Já ESTA TUDO ADAPTADO) - O QUE VOCE VAI TER QUE FAZER: Ajustar o servidor... Já estou te dando quase tudo de mao beijada, agora é só fazer alguns ajustes. Como: adicionar NPC, fazer action de compra de TOGA, e coisas simples! Bem.. é isso aproveitem! Distro Totalmente Estavel Sem bugs Sem virus Sem motherfuckingthings! Apenas alegria! -O QUE TEM NO SERVIDOR: •1 Classes: Aluno •O player ao upar um level, ganha "POINTS" para trocar por LIFE OU MANA assim torna o jogo mais sensivel •Mapa Proprio •JA EXISTE VIP E DONATES - AJUSTE PARA O NESCESSARIO -O QUE FALTA NO SERVIDOR: •AJUSTAR LIFE/HIT/LOOT DE MONSTROS - AJUSTAR OS SPRITES DAS HORCRUX (MAS O SISTEMA JA ESTA FUNCIONANDO CORRETAMENTE) -SISTEMAS: • Vassoura • Preparar poçoes (voce pega o axe [iD:2386], usa-o naqueles crystais que estaão espalhados pelo servidor, e com o crystal na backpack, use a magia "preparar", isso vai fazer com que seu caldeirão tenha carga,dai voce poderá dar USE no vial em cima do caldeirão para terminar sua poção!) -SITE HTML INCLUSO! DOWNLOAD: http://depositfiles....files/csh0uuxil http://depositfiles....files/csh0uuxil (INCLUSO: SERVIDOR, CLIENTE, SITE) SCREENS: REP+ PRA MIM POW! SCAN: https://www.virustot...sis/1342184200/ Por Virus Total CREDITOS: Beddy Erickrusha - fez a parte do mapa do entorno de HOGWARTS,obrigado man! Johnmlkzika Por Ter Compartlhado
  5. Locker Protection

    kaioboyy reagiu a MaXwEllDeN por uma resposta no tópico

    1 ponto
    #Introdução Bem, este é um sistema no qual você pode protejer o seu locker(depot) com senha, assim evitando hackers http://forums.otserv.com.br/images/smilies/biggrin.gif. #Instalação http://1.imgland.net/3CaRNl.png Primeiro faça o download do sistema e cole na sua pasta data. Após ter instalado os arquivos nas suas respectivas pastas adicione as tags: @Actions <action itemid="2589; 2590; 2591; 2592" event="script" value="DPPass.lua"/> <!-- DP Pass --> @Creaturescripts <event type="login" name="LockerPass" event="script" value="DPPass.lua"/> <!-- DPPass --> @Movements <movevent type="StepOut" actionid="96475" event="script" value="DPPass.lua"/> <!-- DPPass --> @Talkactions <talkaction words="!locker" script="DPPass.lua"/> <!-- DP Pass --> Talvez eu poste uma V. 2, podendo recuperar a senha via Recovery Key! Abraço.
  6. Criando Dois Items Com A Mesma Sprite

    Guru reagiu a Spraypaint por uma resposta no tópico

    1 ponto
    Apresentação Hoje estarei ensinando a criar dois ou mais itens com a mesma sprite! Copiando o item Depois de baixar o seu otitemeditor,de load em seu obtm: Agora você ira acha o item que você vai querer duplicar "clonar".Ao encontrar o item você ira clicar em Tools/Copy Item. Feito isso o otitemeditor ira gerar um novo item com a mesma sprite mais com o Sid diferente do antigo.Confira na imagen! Salve seu otbm e pegue o Sid do novo item que você acaba de fazer com ele iremos editar o Items.xml Configurando o Novo Item Bem depois de clonar o seu item la no otitemeditor, você ira abrir agora o seu items.xml para configurar o novo item.Depois de abrir você ira adicionar um novo config para seu item no caso da minha armadura eu adiconei assim: <item id="Sid do seu novo item" article="a" name="Nome do item"> <attribute key="weight" value="3500"> <attribute key="armor" value="1"> <attribute key="slotType" value="body"> </attribute></attribute></attribute></item> Preenchido ficou +- assim <item id="12622" article="a" name="iten 2"> <attribute key="weight" value="3500"> <attribute key="armor" value="1"> <attribute key="slotType" value="body"> </attribute></attribute></attribute></item> Progamas Usados http://www.4shared.c...dgabrielzim.rar https://www.virustot...sis/1340733058/ Creditos
  7. [Tutorial] Dúvidas sobre Programação

    Mbbred reagiu a Gustavo Ferreira por uma resposta no tópico

    1 ponto
    Olá, Galera do Tibiaking hoje vim trazer para vocês um basico tutorial sobre Programação O que é source? Source é o nome dado ao conjunto de códigos que futuramente será um programa, em otserv nem sempre conseguimos esta source, mesmo sendo uma lei sua liberação, o servidor mais usado atualmente “TFS” tem seus códigos liberados e podemos conseguir na seção Download otserv procurando a versão desejada. Como abrir uma source? Como os códigos são apenas textos podemos abrir-los em um editor de texto normal, porem para facilitar o trabalho do programador usamos IDE, o mais popular no mundo dos otservs, Dev-cpp. Como criar um executável (compilar)? Criar um executável é um trabalho muito simples e existem muitos tutoriais sobre isso na sessão Tutoriais otserv. O que é uma biblioteca (lib)? São “arquivos” onde contem sistemas para ser usadas no seu programa, um bom exemplo é a libMySql onde contem funções para trabalhar com Mysql em seu programa. O que são linguagens de programação? Como o computador entende apenas 0 e 1 e é muito complica fazer programas usando apenas 0 e 1 foi inventada as linguagens de programação, onde se tem um complicador que transforma códigos em uma linguagem que o computador entenda.Essas linguagens devem seguir uma seqüência lógica, assim fazendo com que o compilador entenda o códigos. O que é C++? C++ é a linguagem de programação que é usada em OT. O que é IDE? São programas que ajudam o programador na hora de fazer o programa. O que é um compilador? É o programa primário onde sua função é transformar códigos feitos em linguagens de programação para uma linguagem compreendida pelo computador. Esta ai pessoal, Basico mais pra quem ta iniciando em otserv, Eh bom saber!!!
  8. Soul System

    lucasvtr1 reagiu a MaXwEllDeN por uma resposta no tópico

    1 ponto
    #Introdução O Sistema é basicamente isso: Você usa uma pedra de alma em um monstro morto a pouco tempo você aprisiona a alma dele na pedra, e ela pode ser usada para: Trazer o monstro a vida novamente; Encantar armas com a alma dos monstros para que elas dêem ataque extra à sua arma; Usar uma aura que te protege atacando criaturas que te causam perigo! #Instalação Primeiro faça o download do sistema e cole na pasta do seu executável. Pronto, tá instalado. #Configurações #1 Aura System #1.1 Adicionando Nova Soul souls = { ["dark"] = {effects = {distance = 31, eff = 17}, combat = COMBAT_DEATHDAMAGE}, ["flame"] = {effects = {distance = 3, eff = 15}, combat = COMBAT_FIREDAMAGE}, ["frozen"] = {effects = {distance = 36, eff = 43}, combat = COMBAT_ICEDAMAGE}, ["holy"] = {effects = {distance = 37, eff = 39}, combat = COMBAT_HOLYDAMAGE}, ["electric"] = {effects = {distance = 35, eff = 11}, combat = COMBAT_ENERGYDAMAGE}, }, #1.2 Adicionando Nova Aura souls = { L_Soul.auras = { ["dark"] = {stones_n = 7, damage = {25, 250}, interval = 1200, duration = 120, raio = 4, speed = 150}, ["flame"] = {stones_n = 5, damage = {250, 650}, interval = 500, duration = 60, raio = 7, speed = 75}, ["frozen"] = {stones_n = 2, damage = {150, 350}, interval = 750, duration = 60, raio = 2, speed = 150}, ["electric"] = {stones_n = 5, damage = {150, 350}, interval = 750, duration = 60, raio = 2, speed = 150}, ["holy"] = {stones_n = 0, damage = {150, 350}, interval = 750, duration = 60, raio = 7, speed = 150}, } #2 Reborn System #2.1 Adicionando nova criatura ["Necromancer"] = {chance = 50, type = "dark", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 100, min = 10, max = 60, attack_speed = 250}, }, #3 Enchanting System #3.1 Adicionando novo item para encantar #Vídeo de demonstração do sistema de aura Aos poucos vou adicionando mais informações sobre como se faz para configurar
  9. 1 ponto
    Eae galerinha do TK, como estão ? Bom, hoje criei um script aki bem util na minha opinião, bom, ele faz o seguinte, se o player tiver lv igual ou maior que 50 ele fala !ilha e vai para uma ilha, ai quando ele atingir o level 80 ou mais, ele pode falar novamente !ilha que ele ira a outra ilha, e assim por diante. Vamos começar? 1º: Vá em data/talkactions/script's, copie algum arquivo .lua renomeio para ilha, apague o que estiver dentro e ponha isto: -- By Slaake For Tibia King -- function onSay(cid, words, param, channel) POS1 = {x=1133, y=1265, z=7} -- Position da Primeira Ilha POS2 = {x=1033, y=1165, z=7} -- Position da Segunda Ilha POS3 = {x=903, y=1065, z=7} -- Position da Terceira Ilha POS4 = {x=803, y=965, z=7} -- Position da Quarta Ilha if (getPlayerLevel(cid) >= 50) then doTeleportThing(cid, POS1) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce foi teletransportado para a ilha dos dragons') if (getPlayerLevel(cid) >=80) then doTeleportThing(cid, POS2) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce foi teletransportado para a ilha dos dragons de gelo') if (getPlayerLevel(cid) >=150) then doTeleportThing(cid, POS3) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce foi teletransportado para a ilha dos Nightmare e Hellspawn') if (getPlayerLevel(cid) >=300) then doTeleportThing(cid, POS4) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce foi teletransportado a ilha dos bosses') else doPlayerSendCancel(cid,MESSAGE_EVENT_ADVANCE, 'Voce nao tem level necessario para ir a alguma destas ilhas') return false end return false end return false end return false end return true end <talkaction words="!ilha" event="script" value="ilha.lua"/> É isso galera espero que tenham gostado. Gostou ? Da um repzim ai, custa nda n agora vá em data/talkactions/talkaction.xml e adicione esta tag
  10. [MOD] Simple Dance System

    Hadagalberto Jr. reagiu a Kimoszin por uma resposta no tópico

    1 ponto
    Seu char vai ficar girando e falando "DANCING", deve ser instalado em \mods\. [paste]h8vRCmKr[/paste]
  11. [Projeto] Tibia OnePiece

    Bemfudidex reagiu a Guilherme Cardoso por uma resposta no tópico

    1 ponto
    [Projeto] OnePiece 8.50 Olá galera me chamo Guilherme,tenho 18 anos sou spriter,hoster e as vezes arrisco ser scripter,estou a procura de membros descentes para fazer o sonho de fazer um tibia sobre onepiece se tornar realidade,nao tenho muito a dizer a respeito de como quero o server apenas quero que façamos juntos e depois veremos mais detalhadamente os comandos e tals.Enteressados preencher a ficha logo abaixo: Ficha de inscrição Nome: Idade: Cargo: Horas disponiveis: MSN: Quanto tempo exerce o cargo: porque entrar na equipe: Meu e-mail para mais perguntas,duvidas ou sugestoes---->[email protected]
  12. [Mods] System Skull Frags

    yagoskor reagiu a Skyforever por uma resposta no tópico

    1 ponto
    Olá vão em mods crie um mods e renomeie para Skull System.xml o e adicione isso dentro; <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Skull System" version="1.0" author="Skyforever" contact="tibiaking.com" enabled="yes"> <config name="SkullC_func"><![CDATA[ function setSkullColor(cid) local t = { [{5,10}] = 1, [{11,15}] = 2, [{16,20}] = 3, [{21,25}] = 4, [{26,math.huge}] = 5 } for var, ret in pairs(t) do if getPlayerFrags(cid) >= var[1] and getPlayerFrags(cid) <= var[2] then doCreatureSetSkullType(cid, ret) end end end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)} return size.day + size.week + size.month end ]]></config> <event type="login" name="SkullLogin" event="script"><![CDATA[ domodlib('SkullC_func') function onLogin(cid) registerCreatureEvent(cid, "ColorKill") setSkullColor(cid) return true end]]></event> <event type="kill" name="ColorKill" event="script"><![CDATA[ domodlib('SkullC_func') function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then doCreatureSetSkullType(target, 0) addEvent(setSkullColor, 1, cid) end return true end]]></event> </mod> primeiro abra o config.lua procurem por vai estar assim deixem assim agora procurem por e deixem assim LEMBRANDO SOMENTE PARA SERVIDORES DE WAR
  13. [ACTION] Vassoura que varre e da exp e dinheiro

    Slaake reagiu a Gaonner por uma resposta no tópico

    1 ponto
    1- Vá em data/actions/script e crie um arquivo com o nome vassouraexp.lua Legenda: Vermelho : Items que serão varridos Verde : Item que o player irá receber,no caso,10k Laranja : Exp que o player irá ganhar Azul : Frases 2- Vá em data/actions/actions.xml e adicione :
  14. Lista de Servidores

    Bemfudidex reagiu a vesgo por uma resposta no tópico

    1 ponto
    Caros amigos, não sei se é o local correto para postar, caso não seja, me perdooem e movam para a seção correta! bom vamos lá! Revoltado com a rotina da lista mais conhecida de servidores (otservlist) de banir sem qualquer motivo os novos servidores que começam a aparecer nesse mercado, resolvi criar esse projeto. Estou querendo montar uma nova lista de servidores, que vire referência, pelo menos para os brasileiros, e que possamos derrubar a supremacia do otservlist! Sendo assim vim pedir a ajuda de todos os interessados! A estrutura para suportar a lista eu forneco do meu bolso e ja tenho certe experiência em mantê-la, mas o problema é que não tenho todo o conhecimento para montar um site com essa característica! sendo assim, aqui estou aguardando o interesse de vcs para que possamos montar uma equipe e levar este projeto adiante! Aguardo respostas pessoal!!!
  15. (resolvido) [Duvida] script do kimoszin

    Souferaa reagiu a Vodkart por uma resposta no tópico

    1 ponto
    function onKill(cid, target, lastHit) if isPlayer(cid) and isPlayer(target) then doPlayerPopupFYI(cid, "MESSAGE") end return true end
  16. 2 Meses no Tibia King

    bielgomes reagiu a Slaake por uma resposta no tópico

    1 ponto
    Eae galerinha do tk , tudo bem ? Hoje eu completo 2 meses que participo no Tibia king, nesse mesmo dia, a 2 meses atraz (27/05/12) eu criei minha conta aqui, e de la para ca nao parei estou feliz com isso e fechando esse niver com chave de ouro rsrs, em 2 meses fiz vários amigos, em 2 meses, consegui 107 REP+ sem tomar nem 1 rep- e, ter conseguido uma premium account por aqui tmbm. Bom, é isso, hoje estou completando 2 meses nesta grande família.
  17. 1 ponto
    Faltou um - ali: doPlayerSendCancel (cid,19,'Somente lixos serao varridos !') - Frase de fracasso E tem um end a mais.
  18. [Action] Promotion Por Item

    lano reagiu a Kimoszin por uma resposta no tópico

    1 ponto
    Que tal? function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerVocation(cid) > 4 then doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce nao pode ser mais promovido!') else doPlayerSetVocation(cid, getPlayerVocation(cid) + 4) doPlayerRemoveItem(cid,2390,1) doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Voce foi promovido!') end end
  19. Atualização no TibiaKing.com

    hamburguero reagiu a Messiah por uma resposta no tópico

    1 ponto
    Aguardamos a nova skin sem relembrarmos os passados ahushushusa
  20. Tibia Bug Map 9.60

    Mek Fiuchem reagiu a lano por uma resposta no tópico

    1 ponto
    É isso mesmo um Bug map. Quem ai nao jogou com o bug map do elfbot, pra dar aquelas fugas do macaco louco do rush do pavão sem pena. Entao eu fiz um nao é que nem o do elfbot mais funciona. O que ele faz ? voce vai andar pelas teclar w,a,s,d que nem no cs e tudo que tiver em sua frente ele desvia. Testado em: windows xp resoluçao da tela 1366 por 768 pexels. Isso pode levar ban ? Não, Porque ele usa techado e mause. Ele funciona perfeitamente? ele nao esta 100% falta algums ajustes. Foto: Download:Tibia bug Map.rar Scan:https://www.virustot...sis/1343271518/ Gostou?Comenta e Reputa+
  21. 1 ponto
    Tá Avisa se deu certo!
  22. 1 ponto
    Baixe uma versão mais atualizada do Sqlite, Resolvera seu problema!! http://www.softpedia.com/get/Internet/Servers/Database-Utils/SQLiteStudio.shtml Tente este!!
  23. [Duvida] Timer Interval

    Gaonner reagiu a Kimoszin por uma resposta no tópico

    1 ponto
    A void vai ficar dentro do Timer, quando o timer é executado logicamente a void é executada junto, quando o timer parar nada vai executar. lol
  24. [Duvida] Timer Interval

    Mek Fiuchem reagiu a Kimoszin por uma resposta no tópico

    1 ponto
    Cara, isso é como tu vai usar.
  25. [Duvida] Timer Interval

    Mek Fiuchem reagiu a Kimoszin por uma resposta no tópico

    1 ponto
    public static void EatFoodByHotkey(string HotkeyToEat) { switch (HotkeyToEat) { case "F1": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F1, 0); break; case "F2": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F2, 0); break; case "F3": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F3, 0); break; case "F4": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F4, 0); break; case "F5": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F5, 0); break; case "F6": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F6, 0); break; case "F7": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F7, 0); break; case "F8": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F8, 0); break; case "F9": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F9, 0); break; case "F10": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F10, 0); break; case "F11": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F11, 0); break; case "F12": WinApi.SendMessage((IntPtr)KClient.HWND, Hooks.WM_KEYDOWN, (int)Keys.F12, 0); break; } } EatFoodByHotkey(EatFoodhtk.Text);
  26. \data\creaturescripts\creaturescripts.xml &ltevent type="kill" name="KillMessage" event="script" value="kills.lua \data\creaturescripts\scripts\login.lua registerCreatureEvent(cid, "KillMessage") \data\creaturescripts\scripts\kills.lua function onKill(cid, target, lastHit) doPlayerPopupFYI(cid, "MESSAGE") return TRUE end
  27. Atualização no TibiaKing.com

    hamburguero reagiu a Pablorox por uma resposta no tópico

    1 ponto
    tomara porque fico um lixo essa na boa vei
  28. Recentes Trabalhos - Mapping

    Annezinha reagiu a Morameds por uma resposta no tópico

    1 ponto
    Mini Floresta
  29. [C] Utilizando os endereços do 9.60

    extremez3r0 reagiu a Augusto por uma resposta no tópico

    1 ponto
    É Windows 7? lembre-se que tem que desabilitar o ASLR http://stackoverflow.com/questions/9560993/how-do-you-disable-aslr-address-space-layout-randomization-on-windows-7-x64
  30. Recentes Trabalhos - Mapping

    Annezinha reagiu a Flap por uma resposta no tópico

    1 ponto
    Me lembrou uma quest do Tibia, seu mapa. O room ficou bacana, mas a montanha em volta poderia ser maior e conter um caminho que levasse o player à quest. Trabalhe nessa parte e o mapa ficará melhor.
  31. [Ajuda] Somente meu ip pode fazer tal ação

    MonsterOt reagiu a Vodkart por uma resposta no tópico

    1 ponto
    rsrs é verdade, esqueci o "then", estava apressado em ir pra aula free = {"aqui meu ip"} if isInArray(free, getPlayerIp(cid)) then return true end
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo