Ir para conteúdo

marcossouza

Membro
  • Registro em

  • Última visita

  1. resolvido
  2. marcossouza reagiu a uma resposta no tópico: ajuda hospedagem
  3. o problema era de permissao , mais ja resolvi , tinha q libera no mysql
  4. Alguem poderia me da um suporte em hospedagem , Fiz uma compra , comprei e queria hospeda meu site modernacc la , e permanecer a minha database do servidor na vps (linux debian) , porem to tendo dificuldade em liberar permissao pra isso , alguem sabe resolver isso?Agradeçeria muito se alguem ajudar heh , obrigado
  5. VOU Compilar e trago os resultado ! Fiz tudo certo , compilei , mais deu na mesma , so help ta mostrando cor laranja , as demais ta igual player
  6. Alguem da uma ajuda aqui , queria bota pra aparecer HELP , GAME CHAT , TRADE , ADM E SUB COR VERMELHA QUANDO FALAR , GM , TUTOR E HELP COR LARANJA QUANDO FALAR , COMO FAÇO ISSO? POSSUO A SOURCE 0.3.6
  7. Desculpa reviver topico , mais nao ta salvando rs , compilei tudo certo , mais nao mostra nd no logs kk , alguem da uma ajuda ai? Tfs 0.36
  8. Bom ta dando o seguinte erro quando tenta loga no cliente .. vo deixa link dos arquivos , os dois primeiro mens e mensagens sao do creature e o ultimo e do lib . mens.lua mensagens.lua mensagens.lua
  9. marcossouza postou uma resposta no tópico em Suporte OTServer Derivados
    Então queria coloca esse sistema de death , quando player morrer aparecer isso http://prntscr.com/kkwe9b , so que no meu quando morre ja aparece isso >> http://prntscr.com/kkwf45 , Acredito que seja pelo exp2.0 , se alguem conseguir .. link https://pastebin.com/eDUDWT9n
  10. Então é o seguinte kk , no meu servidor está dando um erro na distro quando pokemon mata um player , ou quando noPVP um player mata o outro , o erro é o seguinte .. Print do player morrendo e ali a corpse http://prntscr.com/k6md6x , ai ele desloga >> http://prntscr.com/k6mdla e enbaixo o erro [Error - CreatureScript Interface] data/creaturescripts/scripts/exp2.0.lua:onStatsChange Description: (luaDoCreatureAddHealth) Creature not found Isso no exp2.0 , irei deixar aqui ele exp2.0 Ai eu fiz um teste , peguei um exp de outro serve lenda , msm distro e tal , testei , até então nao da erro quando morre , ou quando mata alguem no pvp , print de como fica quando morre >> http://prntscr.com/k6mdfd , e nesse nao aparece erro nenhum , ja o 1 da erro e quando player morre ele nao aparece mensagem igual do segundo , player ja aparece na tela de login .. exp2.0.1
  11. ainda dando erro http://prntscr.com/kjwooa
  12. atah vo testar nao puiz no outfits.xml.. , tava pegando do id do cliente Nao deu certo msm , tentei ate com os do que tinha no outflits.xml e nd , so gasta os pontos e nao recebe nd kk
  13. aparece q comprei , gasta os pontos , mais nao aparece a newtype da outflit q comprei , http://prntscr.com/kjwm6n , http://prntscr.com/kjwmvb , e nao da nenhum erro na distro
  14. to com o mesmo erro pode me ajuda? botei no hastebin o script pra facilitar https://hastebin.com/qimozetifa.rb , erro da quando player morre em pvp ou quando pokemon selvagem mata print do erro http://prntscr.com/kjwjhc
  15. ta aqui , funciona segundos , minutos e horas , cadeia.lua local unit = "min" , "sec", "min", "hour", "day" grouprequired = 3 jailedstoragevalue_time = 1338 jailedstoragevalue_bool = 9222222 local jailpos = { [1] = {x = 1294, y = 1207, z =5}, [2] = {x = 1294, y = 1216, z =5}, [3] = {x = 1298, y = 1216, z =5}, [4] = {x = 1302, y = 1216, z =5}, [5] = {x = 1306, y = 1207, z =5}, [6] = {x = 1310, y = 1207, z =5}, [7] = {x = 1306, y = 1216, z =5}, [8] = {x = 1310, y = 1216, z =5}, } local unjailpos = { x = 1050, y = 1052, z =7 } jail_list = {} jail_list_work = 0 function checkJailList(param) addEvent(checkJailList, 1000, {}) for targetID, player in ipairs(jail_list) do if isPlayer(player) then if getPlayerStorageValue(player, jailedstoragevalue_time) < os.time() then doTeleportThing(player, unjailpos, TRUE) setPlayerStorageValue(player, jailedstoragevalue_time, 0) setPlayerStorageValue(player, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(player, MESSAGE_STATUS_CONSOLE_ORANGE, 'Você saiu da cadeia, tente não fazer coisas malvadas da próxima vez para não ser preso novamente. Cuide-se amigo.') end else table.remove(jail_list,targetID) end end end function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Modo de usar:\n /prender Nick, numero\nEx: /prender Fulano, 120\nVai prender por 2 horas.") return true end local t = string.explode(param, ",") if jail_list_work == 0 then jail_list_work = addEvent(checkJailList, 1000, {}) end local jail_time = -1 for word in string.gmatch(tostring(t[1]), "(%w+)") do if tostring(tonumber(word)) == word then jail_time = tonumber(word) end end local isplayer = getPlayerByName(t[1]) if not isPlayer(isplayer) then isplayer = getPlayerByName(string.sub(t[1], string.len("jail_time")+1)) if not isPlayer(isplayer) then isplayer = getPlayerByName(string.sub(t[1], string.len("jail_time")+2)) if not isPlayer(isplayer) then isplayer = getPlayerByName(string.sub(t[1], string.len("jail_time")+3)) end end end local default_jail = unit == "sec" and 30 or 1 if(t[2]) then default_jail = t[2] end if jail_time ~= -1 then jail_time = mathtime({jail_time, unit}) else jail_time = mathtime({default_jail, unit}) end if (words == '!prender' or words == '/prender') then if getPlayerGroupId(cid) >= grouprequired then if isPlayer(isplayer) then doTeleportThing(isplayer, jailpos[math.random(#jailpos)], TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, os.time()+jail_time) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 1) table.insert(jail_list,isplayer) doPlayerSendTextMessage (cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Você prendeu o player: '.. getCreatureName(isplayer) ..' ate ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (agora é: ' .. os.date("%H:%M:%S", os.time()) .. ').') doPlayerSendTextMessage (isplayer, MESSAGE_STATUS_CONSOLE_ORANGE, 'Voce foi preso por '.. getCreatureName(cid) ..' ate ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (agora é: ' .. os.date("%H:%M:%S", os.time()) .. ').') else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Este jogador não existe ou esta offline.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não tem permissão para prender players.") end elseif (words == '!desprender' or words == '/desprender') then if getPlayerGroupId(cid) >= grouprequired then if isPlayer(isplayer) then if getPlayerStorageValue(isplayer, jailedstoragevalue_bool) == 1 then doTeleportThing(isplayer, unjailpos, TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, 0) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(isplayer, MESSAGE_STATUS_CONSOLE_ORANGE, 'O player '.. getCreatureName(cid) ..' te tirou da prisão. Te vejo em breve!!!') doPlayerSendTextMessage (cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Você tirou da prisão o player: '.. getCreatureName(isplayer) ..'.') else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Este jogador não está preso.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Este jogador não existe ou esta offline.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não tem permissão para prender players.") end end return true end function mathtime(table) -- by dwarfer local unit = {"sec", "min", "hour", "day"} for i, v in pairs(unit) do if v == table[2] then return table[1]*(60^(v == unit[4] and 2 or i-1))*(v == unit[4] and 24 or 1) end end return error("Bad declaration in mathtime function.") end
  16. pode edita nesse aqui ? pra mim , o meu ta desse jeito mais ele ta igual o do yuri , player fala yes e entra com revive e potion .. ESSES AI SAO OS ID QUE QUERO BLOQUEA aqui o script do torneio local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'torneio') or msgcontains(msg, 'enter') then if getPlayerItemCount(cid, torneio.revivePoke) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12343) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12344) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12345) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12346) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12347) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12348) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true elseif getPlayerItemCount(cid, 12349) >= 1 then selfSay('You can not enter the tournament with {revives or potions}, please throw them out.', cid) return true end selfSay('Voce quer Participar no torneio por '..torneio.price..' de Dollars?', cid) talkState[talkUser] = 2 elseif talkState[talkUser] == 2 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then if os.date("%X") < torneio.startHour1 or os.date("%X") > torneio.endHour1 then if os.date("%X") < torneio.startHour2 or os.date("%X") > torneio.endHour2 then if os.date("%X") < torneio.startHour3 or os.date("%X") > torneio.endHour3 then if os.date("%X") < torneio.startHour4 or os.date("%X") > torneio.endHour4 then if os.date("%X") < torneio.startHour5 or os.date("%X") > torneio.endHour5 then if os.date("%X") < torneio.startHour6 or os.date("%X") > torneio.endHour6 then if os.date("%X") < torneio.startHour7 or os.date("%X") > torneio.endHour7 then if os.date("%X") < torneio.startHour8 or os.date("%X") > torneio.endHour8 then selfSay('As inscrições para o torneiro ainda não abriram, volte ás 07:50 AM, 09:50 AM, 11:50 AM, 13:50 AM, 17:50 AM, 19:50 AM ou ás 21:50 PM todo os dias', cid) return true end end end end end end end end if doPlayerRemoveMoney(cid, torneio.price) then doTeleportThing(cid, torneio.waitPlace) doPlayerSendTextMessage(cid, 21, "Bem vindo, esta e a sala de espera, voce espera aqui enquanto o torneio nao começa.") else selfSay('Voce não tem ('..torneio.price..') Dollars.', cid) end else selfSay('Certeza que voce não quer Participar? Ok, ate a Proxima', cid) talkState[talkUser] = 0 end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())

Informação Importante

Confirmação de Termo