Líderes
Conteúdo Popular
Exibindo conteúdo com a maior reputação em 07/23/12 em todas áreas
-
[Tutorial] Criando novas Vocations (e o npc)
[Tutorial] Criando novas Vocations (e o npc)
xaverlock e um outro reagiu a Slaake por uma resposta no tópico
2 pontosEae galerinha do TK, como vocês estão ? Bom, eu resolvi criar um tutorial aki, bom, ja há um tutorial aki, mas achei mal organizado e talz, e vou explicar coisas a mais aki tmbm. Nesse tutorial, vou ensinar voces a como adicionar novas vocations, e, como recebe-las por um npc de promotion. Vamos la ? 1º Vá em data/xml/vocations.xml e provavelmente estará assim: <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="10" gainmanaticks="6" gainmanaamount="10" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="2.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2.5" gainmanaamount="45" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2.5" gainmanaamount="45" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.8"/> <skill id="2" multiplier="1.8"/> <skill id="3" multiplier="1.8"/> <skill id="4" multiplier="1.8"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="3" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2.5" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.4" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="50" gainmanaticks="3" gainmanaamount="25" manamultiplier="3.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.1"/> <skill id="3" multiplier="1.1"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="5" name="Master Sorcerer" description="a master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="30" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="6" name="Elder Druid" description="an elder druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="30" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.8"/> <skill id="2" multiplier="1.8"/> <skill id="3" multiplier="1.8"/> <skill id="4" multiplier="1.8"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="7" name="Royal Paladin" description="a royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2.5" gainhpamount="40" gainmanaticks="2.5" gainmanaamount="50" manamultiplier="1.4" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="8" name="Elite Knight" description="an elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="50" gainmanaticks="3" gainmanaamount="40" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30"> <formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.1"/> <skill id="3" multiplier="1.1"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="9" name="Epic Master Sorcerer" description="an master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="40" gainmanaticks="2" gainmanaamount="70" manamultiplier="1.1" attackspeed="1900" soulmax="299" gainsoulticks="15" fromvoc="5" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="2.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="10" name="Epic Elder Druid" description="an elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="40" gainmanaticks="2" gainmanaamount="70" manamultiplier="1.1" attackspeed="1900" soulmax="299" gainsoulticks="15" fromvoc="6" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="2.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.8"/> <skill id="2" multiplier="1.8"/> <skill id="3" multiplier="1.8"/> <skill id="4" multiplier="1.8"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="11" name="Epic Royal Paladin" description="an royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="60" gainmanaticks="3" gainmanaamount="60" manamultiplier="1.4" attackspeed="1900" soulmax="299" gainsoulticks="15" fromvoc="7" lessloss="30"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.0" magDamage="1.1" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="12" name="Epic Elite Knight" description="an elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="70" gainmanaticks="4" gainmanaamount="50" manamultiplier="3.0" attackspeed="1900" soulmax="299" gainsoulticks="15" fromvoc="8" lessloss="30"> <formula meleeDamage="1.2" distDamage="1.0" wandDamage="1.0" magDamage="1.1" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.1"/> <skill id="3" multiplier="1.1"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> </vocations> <?xml version="1.0" encoding="UTF-8"?> <npc name="Second Promotion" script="data/npc/scripts/second.lua" walkinterval="2000" floorchange="0"> <mana now="800" max="800"/> <health now="200" max="200"/> <look type="133" head="114" body="119" legs="132" feet="114"/> </npc> local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local node1 = keywordHandler:addKeyword({'promot'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 20000 gold coins. Do you want me to promote you?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 20000, level = 20, promotion = 2, text = 'Congratulations! You are now promoted.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true}) --[[ local node2 = keywordHandler:addKeyword({'epic'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can epicize you for 200000 gold coins. Do you want me to epicize you?'}) node2:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 200000, level = 120, promotion = 2, text = 'Congratulations! You are now epicized.'}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true}) ]]-- npcHandler:addModule(FocusModule:new()) cost = 20000, level = 20, promotion = 2, text = 'Congratulations! You are now promoted.'}) cost= é o preço que a promotion irá custar. level= é o level necessário para adquirir a promotion. promotion= foi a promotion adicionada (2=9;10;11;12) text= é a mensagem que vai aparecer quando o Player receber a promotion. Bom, é isso galera, espero ter ajudado vocês , até a proxima Créditos: Slaake (por ter criado o tutorial) 2º: Agora para voce adicionar, basta colocar esta linha (lembrando, caso voce queira por para npc, voce tem que sempre adicionar 4 (sorc,druid,pala e kina) se nao pode bugar o server. Adicione esta parte: Pronto! Sua vocation está criada, agora, vamos criar um NPC que venda essa promotion. 1º Vá em data/npc copie qualquer arquivo .xml renomeio para second promotion, abra-o, apague tudo que estiver la, e coloque isto: 2º Vá em data/npc/script , copie qualquer arquivo .lua renomeio para second, abra-o,apague tudo que estiver la, e coloque isto: Explicações de oque e onde mudou:2 pontos -
Criando seu tibia bot com o TibiaAPI!
Criando seu tibia bot com TibiaAPI Aprenda do 0, com nada de experiência e saia programando seu Bot! Criando seu tibia bot com TibiaAPI - Parte 1 "Conhecendo o Visual Basic e o TibiaAPI" Aprenda o princípio do Visual Basic e do TibiaAPI, como funcionam e para que servem. É a intro do Tutorial. Parte 1 [*]Criando seu tibia bot com TibiaAPI - Parte 2 "Visual Basic Interface" Conheça um pouco mais da Interface do Visual Basic, e aprenda a adicionar a referencia da DLL TibiaAPI no seu programa. Parte 2 [*]Criando seu tibia bot com TibiaAPI - Parte 3 "Desenvolvendo com TibiaAPI.dll" Aprenda o básico dos códigos do VBnet. Importar o TibiaAPI aos códigos, declarar variávies e criar o Loader. Parte 3 [*]Criando seu tibia bot com TibiaAPI - Parte 4 "Form2 e Funções Básicas" Aprenda a criar outras forms e criar funções básicas de um bot. Como por exemplo, Outfits e Light Hack. Parte 4 [*]Criando seu tibia bot com TibiaAPI - Parte 5 "Configurando e Compilando" Aprenda a configurar a Assembly e a Compilar seu bot pronto. Parte 51 ponto
-
Infinity Mapa [8.6]
Infinity Mapa [8.6]
Raphael Darkath reagiu a OhGod por uma resposta no tópico
1 pontoInfinity-Sky Mapa [ Exclusivo ] Olá pessoal hoje trago a vocês o mapa do Infinity server para quem não sabe qual e este OTserver acesse infinity-sky.org server 1 funcionando no momento . Então vamos começar : Novas coias : Novas itens do shop como [ addon doll , wand the cosmic , axe the fire , club the onix , sword of the warlord vip de todos os dias e infinito , sets editados ] . Spells Igual Verção 8.6 Zombie Event Funcionando Dota Funcionado War of Imperium Funcionando Task Funcionando Guild War com Escudos [ VIP ] no nome Para players vips Houses sem bug Quest para itens vip Bugs não corrigidos Adm cliqua na mao de vip e buga adm ' sha1 ' no server inciar Bugs corrigidos Adm cria iten pelo comando /i id Demon Helmet Quest arrumado Bug da house da frente do templo arrumado Bug de não ter vip mais pode acessar area arrumado Bug da anihi arrumado Database bug arrumado Detalhes : Sql studio v.2.0.24 ja junto com o OTserver configs dos events na pasta do OTserver Pasta database ja com o OTserver Distro junto com a pasta do OTserver Imagens do OTserver : 1 Imagen Itens Free Clique Aqui 2 Imagem Events Clique Aqui 3 Imagen Trainers Clique Aqui 4 Imagen Vip Area Clique Aqui 5 Imagen Teleports Free Clique Aki Creditos: Subwat OhGod Download Aqui Não consegui fazer o scan entao peço que alguem faça para mim Senha do god ve na sql studio ou aki > admin/123456 Não se esqueça ajudei ? REP+ agradeço.1 ponto -
[TalkAction] Transformar
1 pontoOlá pessoal do TibiaKing.com, venho trazer uma talkaction de transformação. Como Funciona: Quando o player atingir o certo nível requerido é só falar "transformar", que ganha um novo outift e uma vocação nova. A talkaction: Transform.lua local config = { --[vocation id] = { level, nova voc, looktype, efeito} [9] = { 30, 10, 30, 32}, [10] = { 40, 11, 261, 32}, [11] = { 50, 15, 261, 33}, [12] = { 75, 15, 261, 33}, [13] = { 100, 15, 261, 33}, [14] = { 150, 15, 261, 33}, [15] = { 180, 15, 261, 33}, [16] = { 200, 15, 261, 33}, [17] = { 40, 15, 261, 33}, [18] = { 40, 15, 261, 33}, [19] = { 40, 15, 261, 33}, [20] = { 40, 15, 261, 33}, [21] = { 40, 15, 261, 33}, [22] = { 40, 15, 261, 33}, [23] = { 40, 15, 261, 33} } function onSay(cid, words, param, channel) doPlayerSay(cid, "transformar") local voc = config[getPlayerVocation(cid)] if voc then if getPlayerLevel(cid) >= voc[1] then doPlayerSetVocation(cid, voc[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!") local outfit = {lookType = voc[3]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc[4]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.") end else doPlayerSendCancel(cid, "Você não pode se Transformar!") end return true end Em Talkactions.xml add isso. <talkaction words="transformar;Transformar" event="script" value="transform.lua"/> Valeu galera, espero que gostem!1 ponto
-
Thriller Dance
Thriller Dance
Reds reagiu a MaXwEllDeN por uma resposta no tópico
1 pontoAuthor: Maxwell Denisson (MaXwEllDeN) Testado em: TFS 0.3.6 <?xml version="1.0" encoding="UTF-8"?> <mod name="Max - Halloween Thriller" version="1.0" author="MaXwEllDeN" contact="[email protected]" enabled="yes"> <config name="MaXLIB"><![CDATA[ ]]></config> <globalevent name="Thriller Dance" type="start" event="script"><![CDATA[ --[[ Thriller Dance Author: Maxwell Denisson(MaXwEllDeN) Version: 1.0 ]] local coreo = {0, 0, 2, 2, "'Cause this is thriller, thriller night", {0, 2, 3, 1}, "And no one's gonna save you from the beast about to strike", 1, 1, 2, 0, 3, 3, {0, 2, 3, 1, 2, 0, 1, 2, 3, 0, 1, 2}} local figurino = {65, 68, 18, 311, 33} function getUidsInArea(ext1, ext2) -- By MaXwEllDeN local UiDes = {} for xiz = 0, ext2.x-ext1.x do for yiz = 0, ext2.y-ext1.y do local creature = getThingFromPos({x = ext1.x+xiz, y = ext1.y+yiz, z = ext1.z, stackpos = 255}).uid if (isCreature(creature)) then table.insert(UiDes, creature) end end end return UiDes end function printTableSX(aff) -- BETA ~ By MaXwEllDeN local s = "{" for a, b in pairs(aff) do if (type(b) == "table") then value = printTableSX(b) elseif (type(b) == "string") then value = '"'.. b .. '"' else value = b end s = s .. value .. ", " end s = "{" .. s:sub(2, #s) return (#s < 3) and "{}" or (s:sub(1, #s-2) .. "}") end local config = { interval = {say = 750, walk = 500, turn = 350} } function TeamWalk(cid, direction) if isCreature(cid) then local cp = getThingPos(cid) local ext1 = {x = cp.x-1, y = cp.y-1, z = cp.z} local ext2 = {x = cp.x+1, y = cp.y+1, z = cp.z} local creatures = getUidsInArea(ext1, ext2) for _, uid in pairs(creatures) do if not(isInArray(figurino, getCreatureOutfit(uid).lookType)) and (getCreatureOutfit(uid).lookType ~= 308) then doSetCreatureOutfit(uid, {lookType = figurino[math.random(#figurino)]}, 60*60*1000) end doMoveCreature(uid, direction) end addEvent(doCoreo, 150, cid) end end function TeamTurn(cid, turns) if (isCreature(cid)) then local function Turn(direction, n) if (n == #turns) then addEvent(doCoreo, 150, cid) end local cp = getThingPos(cid) local ext1 = {x = cp.x-1, y = cp.y-1, z = cp.z} local ext2 = {x = cp.x+1, y = cp.y+1, z = cp.z} local creatures = getUidsInArea(ext1, ext2) for _, uid in pairs(creatures) do if not(isInArray(figurino, getCreatureOutfit(uid).lookType)) and (getCreatureOutfit(uid).lookType ~= 308) then doSetCreatureOutfit(uid, {lookType = figurino[math.random(#figurino)]}, 60*60*1000) end doCreatureSetLookDir(uid, direction) end end for int, dir in pairs(turns) do addEvent(Turn, int*config.interval.turn, dir, int) end end end function Saysz(cid, val) doCreatureSay(cid, val, 19) addEvent(doCoreo, 150, cid) end local function StAR() local coreo_LZ = loadstring("return ".. printTableSX(coreo))() print("OKAY") local k = "Dancer" local w = "Michael Jackson" local area = {{k, k, k}, {k, w, k}, {k, k, k} } local ip = {x = 926, y = 1012, z = 7} for x = 1, #area do for y = 1, #area[x] do local pos = {x = ip.x+x-1, y = ip.y+y-1, z = ip.z, stackpos = 253} doSummonCreature(area[x][y], pos) end end local strZN = "" function doCoreo(uid) if not(isCreature(uid)) then return false end for in1, val in pairs(coreo_LZ) do if (type(val) == "number") then addEvent(TeamWalk, config.interval.walk, uid, val) elseif (type(val) == "table") then addEvent(TeamTurn, config.interval.turn, uid, val) elseif (type(val) == "string") then Saysz(uid, val) end table.remove(coreo_LZ, in1) break end strZN = strZN .. "1" if (#strZN > #coreo) then strZN = "" coreo_LZ = loadstring("return ".. printTableSX(coreo))() doCoreo(uid) end end local ip2 = {x = ip.x+2, y = ip.y+2, z = ip.z} local mons = getUidsInArea(ip, ip2) or {} for _, v in pairs(mons) do if (getCreatureName(v) == "Michael Jackson") then doCoreo(v) break end end return true end function onStartup() addEvent(StAR, 1500) return true end ]]></globalevent> <monster name="Dancer" file="Thriller/Dancer.xml"/> <monster name="Michael Jackson" file="Thriller/Michael Jackson.xml"/> </mod> Coreográfia totalmente editável: local coreo = {0, 0, 2, 2, "'Cause this is thriller, thriller night", {0, 2, 3, 1}, "And no one's gonna save you from the beast about to strike", 1, 1, 2, 0, 3, 3, {0, 2, 3, 1, 2, 0, 1, 2, 3, 0, 1, 2}} Tabelas contém as direções que ele vira /\, >, \/, strings são as palavras que ele o Michael Jackson dirá. configuração dos intervalos em milisegundos, 1000 = 1 segundo. local config = { interval = {say = 750, walk = 500, turn = 350} }1 ponto -
PokemonApi v1.1
1 ponto================================================= PokemonAPI v1.1 para PokeXGames client ================================================= Sobre este Release Adicionado packet.dll para hooking packets. Corrigido uma série de bugs, incluindo a plena luz. Corrigido PokemonAPI_Inject (retirada de algumas partes). Corrigido turn pack, agora ele é enviado usando packet.dll. Corrigido move packet, agora é enviado usando packet.dll. Removidos Ícones, Skins e ContextMenus, precisamos verificar o que está falhando deste cliente no arranque. Nós adicionamos novamente asisjm que possivel. Aicionado mais funções para Battlelist class. Corrigido numero e nome dos slots. Trocado Mana, ManaMax por Pokemons, PokemonsMax. Trocado Capacity por PokemonsCount. Removido as funções que não fazem parte do Tibia 8.1. Sobre a PokemonAPI PokemonAPI é uma DLL .NET para escrever programas que interagem com o Cliente PokeXGames. Os programadores: Se você estiver interessado em ajudar com PokemonAPI (adição para a biblioteca, correções de bugs, etc) por favor me familiarizar com a DLL e usá-lo para escrever programas. Depois de criar um programa usando PokemonAPI e publicá-lo, estaremos mais do que felizes em ter você se juntar à equipe. PokemonAPI é open source e lcalizada no Google Code http://code.google.com/p/pokemonapi Authors: Tryller, com agradecimentos muito especiais para os desenvolvedores da TibiaAPI e outros. Downloads Lista Completa PokemonAPI v1.1 DLL - Dentro de você encontrará um readme para uso com o Visual Studio. Issues e Ideas Por favor: Veja Aqui Change Log Ver changelog completo1 ponto
-
(Resolvido)(Resolvido) Erro SQL Datebase.
(Resolvido)(Resolvido) Erro SQL Datebase.
Ser Luck reagiu a Gustavo Ferreira por uma resposta no tópico
1 ponto-- Global Server Config -- Account manager accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 32369 newPlayerSpawnPosY = 32246 newPlayerSpawnPosZ = 6 newPlayerTownId = 1 newPlayerLevel = 20 newPlayerMagicLevel = 8 generateAccountNumber = false -- Unjustified kills useFragHandler = true redSkullLength = 30 * 24 * 60 * 60 blackSkullLength = 45 * 24 * 60 * 60 dailyFragsToRedSkull = 3 weeklyFragsToRedSkull = 5 monthlyFragsToRedSkull = 10 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true advancedFragList = false -- Banishments notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 7 * 24 * 60 * 60 killsBanLength = 7 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false -- Battle worldType = "pvp" protectionLevel = 80 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 60 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = true whiteSkullTime = 15 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = false showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true fistBaseAttack = 7 -- Connection config worldId = 0 ip = "127.0.0.1" loginPort = 7171 gamePort = 7172 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Welcome to the Global Server!" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "World" loginMessage = "Welcome to the Global Server!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false -- Database sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "8937359" sqlDatabase = "Tunderia" sqlFile = "realserver.sql" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" -- Deathlist deathListEnabled = false deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 -- Guilds ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 -- Highscores highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 60 -- Houses buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false -- Item usage timeBetweenActions = 200 timeBetweenExActions = 1000 hotkeyAimbotEnabled = true -- Map mapName = "World" mapAuthor = "Killer" randomizeTiles = true storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "" -- Process defaultPriority = "high" niceLevel = 5 coresUsed = "-1" -- Startup startupDatabaseOptimization = true updatePremiumStateAtStartup = true confirmOutdatedVersion = false -- Spells formulaLevel = 5.0 formulaMagic = 1.0 bufferMutedOnSpellFailure = false spellNameInsteadOfWords = false emoteSpells = false -- Outfits allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false addonsOnlyPremium = true -- Miscellaneous dataDirectory = "data/" logsDirectory = "data/logs/" bankSystem = true displaySkillLevelOnAdvance = false promptExceptionTracerErrorBox = true maximumDoorLevel = 500 maxMessageBuffer = 4 -- VIP list separateVipListPerCharacter = false vipListDefaultLimit = 20 vipListDefaultPremiumLimit = 100 -- Saving-related saveGlobalStorage = true useHouseDataStorage = false storePlayerDirection = false -- Loot checkCorpseOwner = true monsterLootMessage = 3 monsterLootMessageType = 25 -- Ghost mode ghostModeInvisibleEffect = false ghostModeSpellEffects = true -- Limits idleWarningTime = 59 * 60 * 1000 idleKickTime = 60 * 60 * 1000 reportsExpirationAfterReads = 1 playerQueryDeepness = 2 tileLimit = 0 protectionTileLimit = 0 houseTileLimit = 0 -- Premium-related freePremium = true premiumForPromotion = true -- Blessings blessings = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecrement = 5 eachBlessReduction = 8 -- Rates experienceStages = true rateExperience = 5.0 rateExperienceFromPlayers = 0 rateSkill = 30.0 rateMagic = 25.0 rateLoot = 6.5 rateSpawn = 2.0 -- Monster rates rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 -- Experience from players minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 -- Stamina rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 40 * 60 staminaRatingLimitBottom = 14 * 60 staminaLootLimit = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true -- Party experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 -- Global save globalSaveEnabled = false globalSaveHour = 8 globalSaveMinute = 0 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false -- Spawns deSpawnRange = 2 deSpawnRadius = 50 -- Summons maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false -- Status statusPort = 7171 ownerName = "Shadow" ownerEmail = "[email protected]" url = "" location = "Mexico" displayGamemastersWithOnlineCommand = false -- Logs displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outputLog = "" truncateLogsOnStartup = false -- Manager managerPort = 7171 managerLogs = true managerPassword = "" managerLocalhostOnly = true managerConnectionsLimit = 1 -- Admin adminPort = 7171 adminLogs = true adminPassword = "" adminLocalhostOnly = true adminConnectionsLimit = 1 adminRequireLogin = true adminEncryption = "" adminEncryptionData = "" Use Este!!1 ponto -
[Duvida] Simples Combobox SelectedItem
[Duvida] Simples Combobox SelectedItem
Mek Fiuchem reagiu a Kimoszin por uma resposta no tópico
1 pontoswitch (cbbFood.Text) { case "F1": // Fazer break; case "F2": // Fazer break; }1 ponto -
[Duvida] Simples Combobox SelectedItem
[Duvida] Simples Combobox SelectedItem
Mek Fiuchem reagiu a Flamer por uma resposta no tópico
1 pontoVocê pode utilizar um timer com um intervalo de tempo definido (ou um thread) que irá verificar se o texto da combobox através de um switch e executar o que deseja. De forma prática: Crie um timer e faça um switch para os possíveis valores de texto da combobox.1 ponto -
[Duvida] Simples Combobox SelectedItem
[Duvida] Simples Combobox SelectedItem
Mek Fiuchem reagiu a Flamer por uma resposta no tópico
1 pontoNão sei de qual linguagem você está falando, mas se for de alguma .NET existe o evento SelectedIndexChanged que irá executar cada vez que você selecionar um "item" diferente da combobox.1 ponto -
Lanos Bot Atualizado
1 pontoNão falo por mim. Não tenho qualquer necessidade de usar este programa. Apenas tento ajudar o fórum, evitando que alguém seja hackeado, pois no fim quase ninguém se lembra o que realmente baixou, e acaba reclamando apenas que "baixou uns programas no Tibiaking" e foi hackeado.1 ponto
-
[PEDIDO] !rank DRUID
1 pontofunction onSay(cid, words, param) local param,max,t = string.lower(param),20,{ ["sorcerer"] = 1, ["druid"] = 2, ["paladin"] = 3, ["knight"] = 4 } if param == "" or not t[param] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"this vocation does exist.") return true end str = "--[RANK "..string.upper(param).."]--\n\n" local query = db.getResult("SELECT `name`, `level` FROM `players` WHERE `group_id` <= 2 AND `vocation` == "..t[param].." ORDER BY `level` DESC;") if (query:getID() ~= -1) then k = 1 repeat if k > max then break end str = str .. "\n " .. k .. ". "..query:getDataString("name").." - [" .. query:getDataInt("level") .. "]" k = k + 1 until not query:next() end doShowTextDialog(cid, 2529, str) return true end !comando knight !comando druid tal1 ponto
-
Como bloquear nomes com caracteres estranhos em servidor xml?
Como bloquear nomes com caracteres estranhos em servidor xml?
Kaliusvardon reagiu a Willyw por uma resposta no tópico
1 pontoSim, do mesmo jeito que proíbem em alguns server's por nomes como GOD, GM, ADM, etc. Me passa o ip? E não sei configurar, só sei que tem como bloquear.1 ponto -
[Ajuda] Crash quando entra nos TP's da INQ
[Ajuda] Crash quando entra nos TP's da INQ
Kaliusvardon reagiu a Willyw por uma resposta no tópico
1 pontome passa o ip e o site para eu entrar e ver ;s?1 ponto -
Já existe?
Já existe?
Kaliusvardon reagiu a Willyw por uma resposta no tópico
1 pontoexiste um server 9.6? Tem algum? Ip? Site?1 ponto -
[8.54] Pokemon xD by Rafael Marinho
[8.54] Pokemon xD by Rafael Marinho
loginphelipe reagiu a RafaaxD por uma resposta no tópico
1 pontoValeu Matheus , assim q terminar posta que edit .. se eu tiver REP+ dou sim perai (:1 ponto -
[GFS] Guild Frag System
1 pontohonor points só é um nome dado para storage lol n tem nd de complexo nisso k1 ponto
-
Feliz dia do amigo!
-1 pontos
-
[PEDIDO] !rank DRUID
-1 pontos