Ir para conteúdo

luisfeliperodrigues2

Membro
  • Registro em

  • Última visita

Tudo que luisfeliperodrigues2 postou

  1. Boa noite, eu loguei no servidor, já upei os arquivos do ot para a pasta / do servidor e agora o que eu faço para inciar o tfs para abrir o ot?
  2. olá, eu fiz um set no meu ot para cada vocação. só que eu não consigo por os itens próprios para cada vocação. exemplo: bota do ms. <movevent type="DeEquip" itemid="7893" slot="feet" event="function" value="onDeEquipItem"/> <movevent type="Equip" itemid="7893" slot="feet" event="function" value="onEquipItem"> <vocation id="1"/> <vocation id="5" showInDescription="0"/> o que está de errado? o item não fica para a vocação master sorcerer, qualquer um pode usar!! por favor alguém me ajudaa. kkkkkkkkkk eu mesmo consegui agora, que sufoco. usei esse aqui olhem <movevent type="DeEquip" itemid="7893" slot="feet" event="function" value="onDeEquipItem"/> <movevent type="Equip" itemid="7893" slot="feet" level="40" event="function" value="onEquipItem"> <vocation id="1"/> <vocation id="5" showInDescription="0"/>
  3. Olá, eu usei esse tópico para por o zombie event no meu ot, até então deu tudo certo, não deu erro algum, mas quando eu inicio o evento, não acontece a contagem dos players que passam pelo portal e assim não chega no limite de players na arena do evento e o evento não se inicia. ajuda por favor!!
  4. então, eu tenho um script de cast system funcionando perfeitamente, mas o meu ot não possui site. então o cast que eu tenho é aquele que da o enter e escolhe o player. Eu quero tirar essa coisa, quero que de pra criar a conta normalmente dando o enter e para escolher o player seria !cast nomedoplayer !cast off !cast on !cast exit. obrigado galera. script do cast system <talkaction words="/cast" event="script" value="cast.lua"/> e no config lua tem esse: enableCast = "true" function onSay(cid, words, param, channel) local tmp = param:explode(" ") if not(tmp[1]) then return doPlayerSendCancel(cid, "Parameters needed") end if tmp[1] == "on" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has started.") doPlayerSetCastState(cid, true) doPlayerSave(cid) elseif getPlayerCast(cid).status == false then return doPlayerSendCancel(cid, "Your cast has to be running for this action.") elseif tmp[1] == "off" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has ended.") doPlayerSetCastState(cid, false) doPlayerSave(cid) elseif isInArray({"pass", "password", "p"}, tmp[1]) then if not(tmp[2]) then return doPlayerSendCancel(cid, "You need to set a password") end if tmp[2]:len() > 10 then return doPlayerSendCancel(cid, "The password is too long. (Max.: 10 letters)") end if tmp[2] == "off" then doPlayerSetCastPassword(cid, "") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password has been removed.") else doPlayerSetCastPassword(cid, tmp[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password was set to: " .. tmp[2]) end elseif isInArray({"desc", "description", "d"}, tmp[1]) then local d = param:gsub(tmp[1]..(tmp[2] and " " or ""), "") if not(d) or d:len() == 0 then return doPlayerSendCancel(cid, "You need to specify a description.") end if d:len() > 50 then return doPlayerSendCancel(cid, "The description is too long. (Max.: 50 letters)") end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast description was set to: ") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, d) doPlayerSetCastDescription(cid, d) elseif tmp[1] == "ban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to ban.") end if doPlayerAddCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been banned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be banned.") end elseif tmp[1] == "unban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unban.") end if doPlayerRemoveCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unbanned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unbanned.") end elseif param == "bans" then local t = getCastBans(cid) local text = "Cast Bans:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No bans." end doShowTextDialog(cid, 5958, text) elseif tmp[1] == "mute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to mute.") end if doPlayerAddCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been muted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be muted.") end elseif tmp[1] == "unmute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unmute.") end if doPlayerRemoveCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unmuted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unmuted.") end elseif param == "mutes" then local t = getCastMutes(cid) local text = "Cast Mutes:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No mutes." end doShowTextDialog(cid, 5958, text) elseif param == "viewers" then local t = getCastViewers(cid) local text, count = "Cast Viewers:\n#Viewers: |COUNT|\n\n", 0 for _,v in pairs(t) do count = count + 1 text = text .. "*" .. v.name .."\n" end if text == "Cast Viewers:\n#Viewers: |COUNT|\n\n" then text = "Cast Viewers:\n\nNo viewers." end text = text:gsub("|COUNT|", count) doShowTextDialog(cid, 5958, text) elseif param == "status" then local t, c = getCastViewers(cid), getPlayerCast(cid) local count = 0 for _,v in pairs(t) do count = count + 1 end doShowTextDialog(cid, 5958, "Cast Status:\n\n*Viewers:\n " .. count .. "\n*Description:\n "..(c.description == "" and "Not set" or c.description).."\n*Password:\n " .. (c.password == "" and "Not set" or "Set - '"..c.password.."'")) elseif param == "update" then if getPlayerStorageValue(cid, 656544) > os.time() then return doPlayerSendCancel(cid, "You used this command lately. Wait: " .. (getPlayerStorageValue(cid, 656544)-os.time()) .. " sec.") end doPlayerSave(cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The cast settings have been updated.") doPlayerSetStorageValue(cid, 656544, os.time()+60) end return true end
  5. Perfeito, funcionou tudo. Muito obrigado mesmo, valeu ai pela atenção!!! Rep.
  6. quase lá. o !addon norsewoman está dando addon do shaman. norseman, brotherhood e demonhunter não estão dando nenhum addon e continuam na bp. aparece a mensagem: not a god param.
  7. eu editei só que nem todos addons estão funcionando. oque tem de errado? local addons = { ["citizen"] = {id = 2110, sex = {[0] = 136,[1] = 128}}, ["hunter"] = {id = 10529, sex = {[0] = 137,[1] = 129}}, ["mage"] = {id = 5903, sex = {[0] = 138,[1] = 130}}, ["knight"]= {id = 11205, sex = {[0] = 139,[1] = 131}}, ["Nobleman"]= {id = 10530, sex = {[0] = 140,[1] = 132}}, ["Summoner"]= {id = 2322, sex = {[0] = 141,[1] = 133}}, ["Warrior"]= {id = 10542, sex = {[0] = 142,[1] = 134}}, ["Barbarian"]= {id = 10543, sex = {[0] = 147,[1] = 143}}, ["Druid"]= {id = 11330, sex = {[0] = 148,[1] = 144}}, ["Wizard"]= {id = 11250, sex = {[0] = 149,[1] = 145}}, ["Oriental"]= {id = 11201, sex = {[0] = 150,[1] = 146}}, ["Pirate"]= {id = 5810, sex = {[0] = 155,[1] = 151}}, ["Assassin"]= {id = 6579, sex = {[0] = 156,[1] = 152}}, ["Beggar"]= {id = 2108, sex = {[0] = 157,[1] = 153}}, ["Shaman"]= {id = 6512, sex = {[0] = 138,[1] = 130}}, ["Norsewoman"]= {id = 8982, sex = {[0] = 158,[1] = 154}}, ["Nightmare"]= {id = 9019, sex = {[0] = 269,[1] = 268}}, ["Jester"]= {id = 9693, sex = {[0] = 270,[1] = 273}}, ["BrotherHood"]= {id = 11249, sex = {[0] = 279,[1] = 278}}, ["DemonHunter"]= {id = 11138, sex = {[0] = 288,[1] = 289}}, ["Yalaharian"]= {id = 2194, sex = {[0] = 324,[1] = 325}} } function onSay(cid, words, param) local param = param:lower() if param == "" or not addons[param] then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Not A Good Param.") return true end local var = addons[param] if not doPlayerRemoveItem(cid, var.id, 1) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need a "..getItemNameById(var.id)..".") return true end doPlayerAddOutfit(cid, var.sex[getPlayerSex(cid)], 3) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Full Addon "..param.." Set sucesfully added!") return true end
  8. Exatamente. Eu tentei isso só que eu não consegui. Você poderia fazer a do addon citizen e do hunter para eu ter uma noção de como fazer as outras? Obrigado ai. olha oq eu fiz. o hunter está funcionando só que usando o item que era pra ser do citizen e o citizen está dando item não encontrado!!! <talkaction words="!addon" script="Addoncitizen.lua"/> <talkaction words="!addon" script="Addonhunter.lua"/> female = { ["hunter"]={137} } male = { ["hunter"]={129} } msg = {"Addon nao encontrado!", "Voce n&#227;o tem o Addon Doll!", "Falta parametros!", "Voc&#234; recebeu seu addon!"} -- Mensagems itemID = 11138 -- ITEM function onSay(cid, words, param)if (not isPremium(cid)) then doPlayerSendCancel(cid, "Desculpe, apenas jogadores premium account podem comprar addons!.") return TRUE end if(getPlayerItemCount(cid, 11138) > 0) then if(param ~= "" and male[param] and female[param]) then doPlayerRemoveItem(cid, 11138, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) if(getPlayerSex(cid) == 0)then doPlayerAddOutfit(cid, female[param][1], 3) else doPlayerAddOutfit(cid, male[param][1], 3) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end female = { ["citizen"]={136} } male = { ["citizen"]={128} } msg = {"Addon nao encontrado!", "Voce n&#227;o tem o Addon Doll!", "Falta parametros!", "Voc&#234; recebeu seu addon!"} -- Mensagems itemID = 2112 -- ITEM function onSay(cid, words, param)if (not isPremium(cid)) then doPlayerSendCancel(cid, "Desculpe, apenas jogadores premium account podem comprar addons!.") return TRUE end if(getPlayerItemCount(cid, 2112) > 0) then if(param ~= "" and male[param] and female[param]) then doPlayerRemoveItem(cid, 2112, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) if(getPlayerSex(cid) == 0)then doPlayerAddOutfit(cid, female[param][1], 3) else doPlayerAddOutfit(cid, male[param][1], 3) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end
  9. Ele funcionaria quando o player tivesse o doll certo para o addon certo, ele usaria o doll com o comando !addon nomedoaddon. Exemplo: !addon citizen. Addons: citizen, hunter, mage, knight, nobleman, summoner, warrior, barbarian, druid, wizard, oriental, pirate, assassin, beggar, norseman, nightmare, jester, brotherhood, demonhunter, yalaharian. Tanto male quanto female.
  10. Eu estou precisando de um script de addon doll para o meu ot server, só que tem um detalhe. Eu quero um script para 20 addons, ou seja 20 dolls diferentes para 20 addons. Eu já tentei muito mas não consegui. Obrigado pela atenção!
  11. Estou a bastante tempo tentando criar um site para o meu ot, até aqui deu tudo certo mas eu parei no step 1 onde deu o seguinte erro. STEP 1 Check server configuration Warning: syntax error, unexpected '=' in C:/Users/FELIPE/Desktop/Nova pasta 2/Server herot/config.lua on line 29 in C:\xampp\htdocs\install.php on line 130 File config.lua loaded from C:/Users/FELIPE/Desktop/Nova pasta 2/Server herot/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author. POR FAVOR ALGUÉM ME AJUDA!!
  12. eai galera, meu nome é luis felipe e eu estou com uma dúvida no meu ot, preciso editar skills como: shielding, axe, sword, club, fishing, first fight, distance fighting, o que está acontecendo é que pelo sql eu vou em players_skills e não tem essas opções. oque eu faço? deixei um print aqui para vocês analisarem, obrigado ai é urgente!
  13. Boa tarde, então essa é a minha primeira vez fazendo site com o gesior e ja me deparei com alguns problemas. bom vamos la! 1- o site só aparece online para mim! eu coloco o ip da minha net e ele entra, mas as outras pessoas n conseguem. obs: portas liberadas no firewall: 7171/7172 Portas liberadas no modem: 7171/7172 443/4433 80/8080 80/8090 2- Ao dar look no char da pessoa, não aparece nada. 3- Ao deslogar o char no ot e depois logar, o char aparece no templo. exemplo: posição do templo: 10160 10054 7 dai vc desloga no 10164 10054 7 o char aparece novamente no 10160 10054 7. E tambem não salva os itens e acredito que o level também não. ex: vc poe 1 wand na bp, desloga e loga, aparece no templo sem ela. Estou precisando muito consertar esses problemas. Obrigado.
  14. Boa tarde, no meu ot está acontecendo da magic wall ficar os 20 segundos e bugar na tela, e ao dar use nela ela some, mas aparece 10k no lugar que ela estava. Como consertar? obrigado.

Informação Importante

Confirmação de Termo