Postado Setembro 28, 2014 10 anos Galera eu e meu amigos vamos abrir 1 ot mas so tem uma coisa que esta faltando arrumar ! nos nao estamos conseguindo criar os itens pelo god gm e cm ! agente coloca /i 2160 /i golden helmet /i demon helmet e nao acontece nada ! oq pode ser ? ajudem ai ! ajuda os outros pode lhe trazer o bem ! ESSE FORUM E RIDICULO NINGUEM AJUDA PQP AGORA SEM VIM O FODAO AKI PERGUNTA TODOS BABAM OVO AJDUA AI CARALHO
Postado Setembro 28, 2014 10 anos Paciência cara, poste seu talkactions.xml com spoiler. O tópico foi movido para a área correta, preste mais atenção da próxima vez!Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido:De: "OTServ → OTServ Geral"Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
Postado Setembro 28, 2014 10 anos Autor Paciência cara, poste seu talkactions.xml com spoiler. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral" <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gamemaster commands --> <talkaction words="/ban" separator=" " script="gamemaster/ban.lua" /> <talkaction words="/ipban" separator=" " script="gamemaster/ipban.lua" /> <talkaction words="/unban" separator=" " script="gamemaster/unban.lua" /> <talkaction words="/up" script="gamemaster/up.lua" /> <talkaction words="/down" script="gamemaster/down.lua" /> <talkaction words="/c" separator=" " script="gamemaster/teleport_creature_here.lua" /> <talkaction words="/goto" separator=" " script="gamemaster/teleport_to_creature.lua" /> <talkaction words="/owner" separator=" " script="gamemaster/owner.lua" /> <talkaction words="/t" script="gamemaster/teleport_home.lua" /> <talkaction words="/town" separator=" " script="gamemaster/teleport_to_town.lua" /> <talkaction words="/a" separator=" " script="gamemaster/teleport_ntiles.lua" /> <talkaction words="/pos" separator=" " script="gamemaster/position.lua" /> <talkaction words="/info" separator=" " script="gamemaster/info.lua" /> <talkaction words="/r" separator=" " script="gamemaster/removething.lua" /> <talkaction words="/kick" separator=" " script="gamemaster/kick.lua" /> <talkaction words="/openserver" script="gamemaster/openserver.lua" /> <talkaction words="/closeserver" separator=" " script="gamemaster/closeserver.lua" /> <talkaction words="/b" separator=" " script="gamemaster/broadcst.lua" /> <talkaction words="/m" separator=" " script="gamemaster/place_monster.lua" /> <talkaction words="/i" separator=" " script="gamemaster/create_item.lua" /> <talkaction words="/s" separator=" " script="gamemaster/place_npc.lua" /> <talkaction words="/addtutor" separator=" " script="gamemaster/add_tutor.lua" /> <talkaction words="/removetutor" separator=" " script="gamemaster/remove_tutor.lua" /> <talkaction words="/looktype" separator=" " script="gamemaster/looktype.lua" /> <talkaction words="/summon" separator=" " script="gamemaster/place_summon.lua" /> <talkaction words="/chameleon" separator=" " script="gamemaster/chameleon.lua" /> <talkaction words="/addskill" separator=" " script="gamemaster/add_skill.lua" /> <talkaction words="/ghost" script="gamemaster/ghost.lua" /> <!-- Player talkactions --> <talkaction words="!buyhouse" script="players/buyhouse.lua"/> <talkaction words="!leavehouse" script="players/leavehouse.lua"/> <talkaction words="!uptime" script="players/uptime.lua"/> <talkaction words="!deathlist" script="players/deathlist.lua"/> <talkaction words="!kills" script="players/kills.lua"/> <talkaction words="!frags" script="players/kills.lua"/> <talkaction words="!online" script="players/online.lua"/> <talkaction words="!serverinfo" script="players/serverinfo.lua"/> <talkaction words="!aol" script="players/aol.lua" /> <talkaction words="!exp" script="players/expe.lua"/> <talkaction words="!bless" script="players/bless.lua" /> </talkactions> TA AI O
Postado Setembro 28, 2014 10 anos Então, é este script: <talkaction words="/i" separator=" " script="gamemaster/create_item.lua" /> Vá até esse arquivo e substitua por: function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then errors(false) id = getItemIdByName(t[1]) errors(true) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item with such name does not exists.") return true end end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end Detalhe, é tfs 1.0, ou seja, versão 10.x Se for outra versão diga que eu pego outro pra você.
Postado Setembro 28, 2014 10 anos Autor Então, é este script: <talkaction words="/i" separator=" " script="gamemaster/create_item.lua" /> Vá até esse arquivo e substitua por: function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then errors(false) id = getItemIdByName(t[1]) errors(true) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item with such name does not exists.") return true end end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end Detalhe, é tfs 1.0, ou seja, versão 10.x Se for outra versão diga que eu pego outro pra você. mano , eu subistitui e nao deu nada ainda ... voce tem skype ? compartilhamos tela para vc visualizar melhor
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.