Ir para conteúdo

TonyHalk

Membro
  • Registro em

  • Última visita

Tudo que TonyHalk postou

  1. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    Sim, o bug das DLL é mais para 9+ ele não respondeu ainda :c
  2. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    obrigado Ricardo Troquei sem querer.. é XML
  3. RAP + Amigo fico feliz que conseguiu cara vou dar uma Formatada melhor no seu tópico e te passo o Codigo ok Toma Amigo Formatei o Tópico Todinho. só voce colocar esse código no Lugar do seu Tópico vai ficar Lindo [center][color=#696969][font=tahoma,geneva,sans-serif][size=4][b]EU estava querendo implementar no meu ot[/b] um [b]sistema de chuva [/b][/size][/font][/color][/center] [center][font=tahoma,geneva,sans-serif][color=#696969]só[size=4] que não sabia como dai [/size][/color][url=http://tibiaking.com/forum/user/17967-tonyhalk/][color=#ff0000]TonyHalk[/color][/url][color=#ff0000] [/color][color=#696969]me passou um vídeo ensinando só que o vídeo tava muito [b]desatualizado e não tinha os itens pra download então decidi postar pra vocês um[/b] [b]tutorial feito por mim mesmo[/b][/color][/font][/center] [center][color=#696969][font=georgia,serif][font=tahoma,geneva,sans-serif]deu muito trabalho então DEM[/font][/font][/color][b][color=#008000][font=georgia,serif][font=tahoma,geneva,sans-serif] rep+[/font][/font][/color][/b][color=#696969][font=georgia,serif][font=tahoma,geneva,sans-serif] quem gostou pq eu estou meio falido [/font][/font][/color][/center] [center] [/center] [center] [/center] [LIST] [*]você terá que ter o mapa editor, o Dat editor e o Dat e Spr do seu Client[/*] [*]Item editor [url=http://www.4shared.com/rar/2R3OTlvW/OTitemeEditor.html]http://www.4shared.com/rar/2R3OTlvW/OTitemeEditor.html[/url][/*] [*]Sprit da Chuva [url=http://www.4shared.com/file/XcY6EnPF/chuva.html?]http://www.4shared.com/file/XcY6EnPF/chuva.html?[/url][/*] [*]abra o dat editor e depois va em file ,open, selecione sua dat e spr e logo apos clique em open esperem carregar e depois fechem[/*] [*] [/*] [/LIST] [center][img=http://dc149.4shared.com/img/MobueCpj/s7/140134c9240/t1_online.png?async&rand=0.3008017474785447][/center] [center] [/center] [center] [/center] [LIST] [*]selecionem um item que voceis nunca uzaram no seu ot server, depois va em import , import item e selecionem a sprite da chuva que vcs acabaram de baixar, e depois e so confirmar ( não se esqueçam de gravar bem o numero do looktype aconcelho deichar anotado num bloco de notas)[/*] [/LIST] [center][img=http://dc149.4shared.com/img/X4gPFT0F/s7/140134c9df8/t2_online.png?async&rand=0.1035154985729605][/center] [center] [/center] [center]salve, selecione seu dat e spr clique em compile deicha carregar e quando tiver completo fechem o dat editor[/center] [center] [/center] [center][img=http://dc149.4shared.com/img/9_rrpW-l/s7/140134ca9b0/t3_online.png?async&rand=0.3847916212398559][/center] [center] [/center] [center] [/center] [center]abra o item editor e va em file , load otb, e depois va ate a pasta items do seu server e selecionem items.otb [/center] [center] [/center] [center][img=http://dc149.4shared.com/img/WkjOcEKO/s7/140134cb568/t4_online.png?async&rand=0.9496668747160584][/center] [center] [/center] [center]selecione o item que voce editou no dat editor e confira bem se no cid tem o mesmo numero do looktype que eu pedi para vcs anotarem[/center] [center] [/center] [center][img=http://dc149.4shared.com/img/_RgTATLE/s7/140134cbd38/t5_online.png?async&rand=0.30828460794873536][/center] [center] [/center] [center] [/center] agora deiche marcado somente estas 3 opçoes [LIST] [*]pickupable[/*] [*]useable[/*] [*]not moveable[/*] [/LIST] [center][img=http://dc149.4shared.com/img/31f6n9yB/s7/140134cc8f0/t6_online.png?async&rand=0.9536935316864401][/center] [center] [/center] [center] [/center] [center]agora so ir em file, save as e depois selecione o items .otb do seu ot server novamente e salve depois poderas fechar o item editor[/center] [center] [/center] [center][img=http://dc149.4shared.com/img/lalnFU9V/s7/140134cd4a8/t7_online.png?async&rand=0.6176576944999397][/center] [center] [/center] [center]va no seu server em action ,script e criem um arquivo chuva.lua e colem isto dentro dele[/center] [center] [/center] [center] [code=auto:0]function onUse(cid, item, frompos, item2, topos) if item.uid == 7015 then doCreateItem(8082,1,{x=1095,y=1032,z=7}) doCreateItem(8082,1,{x=1096,y=1032,z=7}) doCreateItem(8082,1,{x=1097,y=1032,z=7}) doCreateItem(8082,1,{x=1098,y=1032,z=7}) doCreateItem(8082,1,{x=1099,y=1032,z=7}) doCreateItem(8082,1,{x=1095,y=1033,z=7}) doCreateItem(8082,1,{x=1096,y=1033,z=7}) doCreateItem(8082,1,{x=1097,y=1033,z=7}) doCreateItem(8082,1,{x=1098,y=1033,z=7}) doCreateItem(8082,1,{x=1099,y=1033,z=7}) doCreateItem(8082,1,{x=1100,y=1032,z=7}) doCreateItem(8082,1,{x=1100,y=1033,z=7}) doCreateItem(8082,1,{x=1101,y=1032,z=7}) doCreateItem(8082,1,{x=1101,y=1033,z=7}) doSendMagicEffect(topos,14) else doPlayerSendCancel(cid,"Sorry, not possible.") end return 1 end [/code] 5.1-o que esta em vermelho sera o id do item que voceis criaram no dat editor no caso o looktype que eu falei pra anotarem o que esta em azul e onde aparecera a chuva 5.2- va em actions e depois em actions.xml e adicionem isto <action uniqueid="7015" script="chuva.lua"/> o que esta em vermelho vcs colocaram no map editor 6- agora coloque uma alavanca, clique em propriedades e em unique ide coloquem 7015 depois salvem o mapa e abram seu server [img=http://dc149.4shared.com/img/W8ghmkmR/s7/14013713140/t8_online.png?async&rand=0.42200169595889747] [font=georgia,serif][b]agora va onde colocasse a alavanca e selecione use[/b][/font] [b]2 e depois e so ir onde voce colocou para chover e estara chovendo[/b] [img=http://dc149.4shared.com/img/VohyqvaC/s7/140137b00f8/t9_online.png?async&rand=0.3375606592744589] [img=http://dc149.4shared.com/img/i6WjQZSc/s7/140137b2bf0/t10.png?async&rand=0.581000238424167] creditos 50% meu por fazer 30% [b][font='comic sans ms', cursive][color=#000000] [/color][/font][size=4][font=arial, helvetica, sans-serif][url=http://tibiaking.com/forum/user/17967-tonyhalk/][color=#000000]TonyHalk[/color][/url][color=#000000] por me mostrar o video e Editor o Tópico[/color][/font][/size][/b] [color=#747474][font=helvetica, arial, sans-serif]25% do video pois deu uma base[/size][/font][/color]v [/center]
  4. Isso não exite amigo.
  5. De nada Amigo meu trabalho é ajudar fico muito feliz que conseguiu amigo
  6. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    ai você teria que Fazer Sprit etc.. amigo.
  7. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    baixe o Client Oficial do rme http://remeresmapeditor.com/marklar.php?clients Da versão 8.6
  8. TonyHalk postou uma resposta no tópico em Formação de Equipe
    Nome: Junior Idade: 16 Ocupação: WebDesigner e Mapper e Website Creator Experiência em OTs: Toda, ja tive varios ots de 200+ online em Dedicado sou ótimo Administrador posso mostrar mas pelo Skype O que faz? (Scripter, mapper ?, etc.) Skype: under12451
  9. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    Você adiciona pelo RME. ou Mapa editor. Poderia me Passar id do item Nome do Iten ?
  10. Ola pessoal do Tibiaking, tudo bem ? sou tony e estou postando mais um tutorial de action, muitos me pedirão no privado como colocar a tag [VIP] Quando se Torna vip, achei 2 Métodos vou estar Ensinando para vocês esse é quando clica no Bau! vá em actions/scripts e crie um arquivo VIPNAME.LUA function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 35400 then queststatus = getPlayerStorageValue(cid,35400) if queststatus == -1 or queststatus == 0 then doCreatureSay(cid, "VOcê recebeu seu beneficio por ser vip! -by.Tonyhalk", TALKTYPE_ORANGE_1) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..getCreatureName(cid).."' WHERE `id` = "..getPlayerGUID(cid)..";") doPlayerSendTextMessage(cid,25,"Você será kickado em 5 segundos para mudança de nome.") doPlayerAddAddons(cid, 1) addEvent(doRemoveCreature, 5*1000, cid, true) setPlayerStorageValue(cid, 35400, 1) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) else doPlayerSendTextMessage(cid,22,"você ja tem o [vip] no nome. - Tony Halk") end return true end end e cole está tag em actions.xml <action actionid="35400" event="script" value="vipname.lua"/> Agora vá em seu MAP Editor e crie uma chest com as action 35400 e Unique 35400 Esse é pelo !buyvip Quando acaba o VIP O [VIP] Sai. function onSay(cid, words, param) if(words == "!buyvip") then local price = 5000000 if doPlayerRemoveMoney(cid, price) == TRUE then local days = 30 local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local name = getCreatureName(cid) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você precisa de "..price.." gp's para colocar vip.") end elseif(words == "!vipdays") then local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no seu character.") elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) if not isPlayer(player) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player "..player.." not found.") end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13540) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no character.") return TRUE end elseif(words == "/addvip") then if getPlayerAccess(cid) == 5 then local t = string.explode(param, ",") if not t[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(t[1]) local name = getCreatureName(player) local days = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end local daysvalue = days*3600*24 local storageplayer = getPlayerStorageValue(player, 13540) local timenow = os.time() local time = storageplayer <= 0 and (timenow + daysvalue) or (storageplayer + daysvalue) if string.find(tostring(getCreatureName(pid)),"[[Vip]]") then doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Foram adicionados "..days.." dias de VIP no seu character.") setPlayerStorageValue(player, 13540, time) local quantity = math.floor((getPlayerStorageValue(player,13540) - timenow)/(3600*24)) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você tem "..quantity.." dias de VIP restantes.") else setPlayerStorageValue(player, 13540, time) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id` = "..getPlayerGUID(player)..";") doRemoveCreature(player) end end elseif(words == "/delvip") then if getPlayerAccess(cid) == 5 then local dec = MESSAGE_INFO_DESCR if(param == "") then return TRUE,doPlayerSendTextMessage(cid,18,"Command param required.")end local C,t = {},string.explode(param, ",") C.pos = getPlayerPosition(cid) C.uid = getCreatureByName(t[1]) C.time = ((tonumber(t[2]) == nil) and 1 or tonumber(t[2]))*3600*24 --Tempo da vip por dia. C.days = (tonumber(t[2]) == nil) and 1 or tonumber(t[2]) --Dias de vip. if(getPlayerStorageValue(C.uid,13540) < C.time)then doPlayerSendTextMessage(cid,dec,'O jogador '..t[1]..' não possui '..C.days..' dias de vip.') else doPlayerSendTextMessage(cid,dec,'Você removeu '..C.days..' dias de vip do player '..t[1]..'.') setPlayerStorageValue(C.uid,13540,getPlayerStorage Value(C.uid,13540)-C.time) end doSendMagicEffect(C.pos, math.random(28,30)) end end return TRUE end creaturescript function onLogin(cid) if getPlayerStorageValue(cid, 13540) - os.time() > 0 then setPlayerStorageValue(cid, 9898, 1) end local pos = {x = 157, y = 50, z = 7} -- posiçao do templo. function Vodka(cid) if isPlayer(cid) then db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end end if getPlayerStorageValue(cid, 9898) == 1 and getPlayerStorageValue(cid, 13540) - os.time() < 1 or getPlayerStorageValue(cid, 13540) - os.time() == 0 then doTeleportThing(cid, pos) doPlayerPopupFYI(cid, "Sua vip Account acabou.- Tonyhalk") setPlayerStorageValue(cid, 9898, -1) if string.find(tostring(getCreatureName(cid)),"[[Vip]]") then addEvent(Vodka, 3*1000, cid) end end return TRUE end
  11. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    o Iten presiso saber qual item você quer, poderia dar Rep+ pelo Script ?
  12. ah sim é erro no seu Mapa. tente Substituir somente o Mapa
  13. http://www.youtube.com/watch?v=wgNd_XrgFio Se ajudei da REP+
  14. Veja se seu IP mudou. se ele Mudou tem que fazer de novo com o novo ip
  15. TonyHalk postou uma resposta no tópico em Tibia Global OTServer
    De nada Vittu. obrigado por Comentar da para brincar e Lotar bem um Servidor
  16. TonyHalk postou uma resposta no tópico em Tibia Global OTServer
    Informações: Novo Templo; Novo Depot; Nova sala de Quests; Novos Scripts; Novos Items; Novos Monstros; Potions por alavanca; Novos Sistemas e Eventos; Trainers; Teleports; Vip System Servidor 100 estável; Imagens: Download Data Pack: Download Scan Data Pack: Scan Download The Forgotten Server 0.3.6 (Crying Damson) V8 Download: Scan The Forgotten Server 0.3.6 (Crying Damson) V8 Scan Créditos: The Forgotten Server Team Evo Team Guuraal SmoOkeR
  17. hum.... Tenta ver se o IP no config.lua esta o .servegame.com
  18. TCP, fas o Seguinte tenta Liberar as Portas do Firewall novamente.
  19. Sei Sim, Libera as Portas no Firewall Novamente
  20. hm.. manda uma foto do erro ou " erro " ?
  21. TonyHalk postou uma resposta no tópico em Suporte Tibia OTServer
    Feito. Criando o NPC Primeiro va em data>npc crie 1 arquivo NOME.lua e dentro cole. <?xml version="1.0" encoding="UTF-8"?> <npc name="NOME DO NPC" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="134" head="155" body="155" legs="40" feet="20" addons="3"/> Outfit e Cor Do Npc. <parameters> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="Itenvip,Id do iten,Valor"/> </parameters> </npc>
  22. Olha veja esse Tutorial e siga os Paços e me avise http://www.youtube.com/watch?v=LwAXQpl-1H8
  23. Pode ser o seu Distro o Executável. tenta substituir se funcionar me avise

Informação Importante

Confirmação de Termo