Ir para conteúdo

roriscrave

Conde
  • Total de itens

    545
  • Registro em

  • Última visita

Tudo que roriscrave postou

  1. É um evento, stepIN, quando pisar vai pra posiçao X Y Z, e ao pisar o script teria que checar o IP do jogador, caso um outro jogador tenta o mesmo IP, ele nao poderia entrar no evento.
  2. tente assim (nao esqueca do rep)
  3. Quando uso esse script em sqlite, funciona normalmente, porem quando mudo para mysql acontece o error. Script: function getRankStorage(cid, value, max, RankName) -- by vodka local str ="" str = "--[".. (RankName == nil and "RANK STORAGE" or ""..RankName.."") .."]--\n" local query = db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = "..value.." ORDER BY cast(value as INTEGER) DESC;") if (query:getID() ~= 1) then k = 1 repeat if k > max then break end str = str .. "\n " .. k .. ". "..getPlayerNameByGUID(query:getDataString("player_id")).." - [" .. query:getDataInt("value") + 1 .. "]" k = k + 1 until not query:next() end return doShowTextDialog(cid, 7701, str) end function onUse(cid, item) local storage,name = 123781, "Rank ganhadores Torneio PvP" return getRankStorage(cid, storage, 20, name) end Error quando usa em mysql: [Error - Action Interface] data/actions/scripts/rank torneio pvp.lua:onUse Description: data/lib/004-database.lua:76: [Result:getDataString] Result not set! stack traceback: [C]: in function 'error' data/lib/004-database.lua:76: in function 'getDataString' data/actions/scripts/rank torneio pvp.lua:6: in function <data/actions/scripts/rank torneio pvp.lua:1> (tail call): ?
  4. ja usei por 1 ou 2 meses um vps la, era barato mas a qualidade da lgv é uma das piores
  5. baixando aki pra ver, valew em fera
  6. Nome do Servidor: Global Elite Versão: (8.60) Port: (7171) IP: (globalelite.no-ip.org) Pic: (A sua escolha)
  7. Obrigado hehe. @topic update de natal, so entrando pra conferir: www.ntoelite.com
  8. @up War system adicionado, Demon Oak arrumada!
  9. top top não sabia dessa
  10. vc tem que seguir este modelo aqui local outfit = {150} if (getCreatureOutfit(cid).lookType == outfit.lookType) then esse ai vai funcionar pra checar o looktype, agora pra checar addons vou ficar te devendo, postei ai porque pode te ajudar em algo tavez. abraço
  11. Tente if (getCreatureOutfit(cid).lookType == outfit.lookType) then
  12. tenta assim local ponteFromPos, ponteToPos = {x = 157, y = 34, z = 7}, {x = 159, y = 36, z = 7} local idPonte = 9224 local idAgua = 4612 function onUse(cid, item, fromPosition, itemEx, toPosition) for x = ponteFromPos.x, ponteToPos.x do for y = ponteFromPos.y, ponteToPos.y do for z = ponteFromPos.z, ponteToPos.z do local m = getTopCreature({x=x, y=y, z=z).uid if m~= 0 then return doPlayerSendCancel(cid, "Alguem esta sobre a ponte.") end end end end areaponte = {x=x, y=y, z=z} ponte = getThingFromPos(areaponte) if ponte.itemid == idPonte then doTeleportThing(ponte.uid, ponteFromPos) doCreateItem(idAgua, 1, areaponte) elseif ponte.itemid == idAgua then doCreateItem(idPonte, 1, areaponte) end end end end return true end
  13. bota no seu goldcoin.lua function onSay(cid, words, param, channel) local storage = 6707 local delaytime = 5 local exhaust = exhaustion.get(cid, storage) if(not exhaust) then exhaustion.set(cid, storage, delaytime) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce ganhou 1 gold coin!") doPlayerAddItem(cid,2160,1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Espere " .. exhaustion.get(cid, storage) .. " segundos para usar o comando novamente.") end return TRUE end
  14. o ip que vc conecta eh diferente do que os outros conectam, acho que voce deve entrar com 127.0.0.1
  15. Quando uso o comando: apt-get install libmysql++-dev libmysqlclient-dev mysql-common mysql-server Da o seguinte erro: Reading package lists... Done Building dependency tree Reading state information... Done libmysqlclient-dev is already the newest version. mysql-common is already the newest version. mysql-common set to manually installed. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libboost-date-time-dev : Depends: libboost-date-time1.46-dev but it is not going to be installed libboost-dev : Depends: libboost1.46-dev but it is not going to be installed libboost-regex-dev : Depends: libboost-regex1.46-dev but it is not going to be installed libmysql++-dev : Depends: libmysql++3 (= 3.1.0-2) but it is not going to be installed mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). O que devo fazer pra arrumar isso?
  16. é so compilar normal, nao? compilo as sources no linux 64bit, ou tem que fazer algo a mais? em relaçao ao mapa e tal do serv pode fechar galera
  17. Qual a diferença de um linux 32 bit para um 64 bit? eu posso ter problema se pegar um linux 64 bit?
  18. baixa o remeres 8.7 e abra o mapa com ele, creio que vai dar certo. edit: eu estava com o mesmo erro que voce e fiz isso.
  19. GLOBAL ELITE 8.6 Damages igual ao tibia 7.6 (knight usa UH) Sistema de refinar items Ao matar jogador skull voce ganha uma recompensa. ● Site: http://globalelite.no-ip.org ● Port: 7171 ● Versão: 8.60 ● Exp: 300x (stages) ● Uptime: 24/7 ● Tipo: Open PVP ● Training Offline Enjoy! ● Cast System Enjoy! Algumas quests do server: ● Annihilator ● Demon Helmet ● Pits of Inferno 90% RL ● The Inquisition Quest ● Isle of Evil ●The Djinn War - Efreet Faction ● The Djinn War - Marid Faction ● Firewalker Boots ● The Ancient Tombs ● Svargrond Arena ● Banshee Quest ● Dreamer's Challenge ● The Travelling Trader Quest / A Mission Per Day! ● The Unnatural Selection Quest ● The Demon Oak ● The Elemental Spheres ● The New Frontier ● The Postman Missions ● Tomes of Knowledge ● Vampire Hunter ● Wrath of the Emperor
  20. ja me responderam em um outro forum, vlw era so remover o arquivo index.html da pasta htdocs, rep+ por tnetar ajudar
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...