Ir para conteúdo

L3K0T

Membro
  • Registro em

  • Última visita

Tudo que L3K0T postou

  1. nem da pra remover o systema, a menos que saiba o caminho, mais tem uma opção lá na lib que esconde o level e tbm vc pode tirar o XP do summon pela sourcer, mais você querer remover level system..... sem chance a menos que entenda C++ avançado
  2. não tem como dar o erro add as linhas
  3. function onStepIn(cid,item,pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} if getPlayerLevel(cid) >= 100 then if isPlayer(cid) == TRUE then if (item.actionid == 6037) then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Voce foi teleportado.") end end else doPlayerSendCancel(cid, "Voce não tem level 100.") end end <movevent type="StepIn" actionid="6037" event="script" value="0.lua"/>
  4. tipo nessa fada por exemplo, la no monster.xml vc pode add mais uma linha da fada ficando <monster name="fada" file="fada"/> <monster name="Fada" file="fada"/> poide fazer duas linhas assim não dará erro é coisa simples... ali ta pedindo um respawn de Fada com f maiusuclo tendeu ? rsrs eh facil
  5. function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} if getPlayerLevel(cid) >= 100 then if isPlayer(cid) == TRUE then if (item.actionid == 6037) then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") end end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
  6. são opções, tem vez que não vá automaticamente, verifique tbm a opção das sprites
  7. você copiou algo a mais eu testei os 2!
  8. se ela não abre eh por que está sendo usada por algum scripts em actions, tbm pode ser a configuração do item pelo item editor se ela não tiver na opção de containers não vai funcionar!
  9. sim to testanto o outro amigo como eu disse! Action! function onUse(cid, item, frompos, item2, topos) local itemt = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then --100 o level if isPlayer(cid) == TRUE then doTeleportThing(cid, itemt) doPlayerSendCancel(cid, "Você foi teleportado.") end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
  10. testei movements e ta funcionando vou testar o outro function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then if (item.actionid == 6037) then --6037 action que vai no chão lá pelo mapa editor doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") end end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
  11. para piso seria um movements segue: data/movements function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then if (item.actionid == 6037) then --6037 action que vai no chão lá pelo mapa editor doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end end <movevent type="StepIn" actionid="6037" event="script" value="seu arquivo.lua"/> vou fazer a action data/action function onUse(cid, item, frompos, item2, topos) local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") else doPlayerSendCancel(cid, "Você não tem level 100+.") end end <action itemid="IDO DO ITEM" event="script" value="seu arquivo.lua"/> não testei nenhum fiz aqui rapidão
  12. ALTER TABLE `players` ADD `exphist1` BIGINT( 255 ) NOT NULL DEFAULT '0'; CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` INT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT 0, `end` BIGINT NOT NULL DEFAULT 0, `frags` INT NOT NULL DEFAULT 0, `payment` BIGINT NOT NULL DEFAULT 0, `guild_kills` INT NOT NULL DEFAULT 0, `enemy_kills` INT NOT NULL DEFAULT 0, `status` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) )
  13. L3K0T postou uma resposta no tópico em Suporte Tibia OTServer
    tenta local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "Reflect") if(getPlayerOperatingSystem(cid) >= CLIENTOS_OTCLIENT_LINUX) then registerCreatureEvent(cid, "ExtendedOpcode") end registerCreatureEvent(cid, "ReportBug") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "ultimo") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "aol") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "FirstItems") return true end
  14. você pode tentar remover os comentários do config.lua e espaços exagerados, assim creio eu que vá funcionar perfeitamente!
  15. sobre permissões de Quest, certamente tem uma função neles chamada if get blablabla isso verifica se o player tem certa storage, se está em certa posições etc... já deu pra ter uma i´deia
  16. coloque uma sprite nova no cliente, você não vai alterar o ID do Item e sim o ID da sprite assim podendo mudar seu designer usando apenas um Item Editor e Um Object Builder. Tem tutorias disso só da uma pesquisada
  17. L3K0T postou uma resposta no tópico em Suporte Tibia OTServer
    site do tibia mesmo só mudar o caminha da pasta http://static.tibia.com/download/tibia860.tgz
  18. Tá falando que não achou a coluna >>> players /onlinetimetoday ALTER TABLE `players` ADD `exphist_lastexp` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist2` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetimeall` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist3` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist4` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist5` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist6` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist7` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetimetoday` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime1` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime2` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime3` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime4` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime5` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime6` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime7` BIGINT( 255 ) NOT NULL DEFAULT '0'; add linha por linha
  19. manda a print da tela do linux SSH
  20. Sorte sua que estava num fórum.. não sei se serve, salvei até no favorito, mais ta ai rsrs achei hoje sem querer >> VER
  21. achei o erro... eh quando o player compra house algum bug de house que não sei que da erre erro ? \/
  22. eu tive que fechar o server por conta disso... *Ubuntu 12.04 - 64 bits
  23. sofri esse tal de segmentation fault e queria saber como faço pra resolver ? não é memoria pq roda meu server normal... isso acontece por peso da data base e queria saber como resolver ele pra não ficar pedindo isso... poderiam me ajudar ?
  24. código é pra tfs 0.4 protocoll 8.60
  25. L3K0T postou uma resposta no tópico em Sprites
    só baixar e recortar uai... fundo tá transparentes

Informação Importante

Confirmação de Termo