Ir para conteúdo
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento | Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em: --
Participar

Absolute

Héroi
  • Registro em

  • Última visita

Tudo que Absolute postou

  1. É importante lembrar, caso vá resetar o servidor, você necessita resetar as storages e tudo mais.
  2. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Isto é no seu createaccount.php e download.php tente.
  3. Apenas retirei a inútil função do getOnline. Á disponha.
  4. Troque por: function onLogin(cid) accountManager = "Account Manager" managerCounter = 0 if managerCounter >= 3 then return false end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if getPlayerPremiumDays(cid) <= 0 and getPlayerStorageValue(cid,100000) == 1 then doPlayerSetTown(cid, 2) setPlayerStorageValue(cid,100000,2) doTeleportThing(cid,{x=72, y=25, z=8}) doPlayerPopupFYI(cid, "Your premium time has expired and you've been teleported to Main Land. You're now alived to Deheon.") if getPlayerSex(cid) == 1 then doCreatureChangeOutfit(cid,{lookType = 128, lookHead = 78, lookBody = 68, lookLegs = 58, lookFeet = 95, lookAddons = 0}) elseif getPlayerSex(cid) ~= 1 then doCreatureChangeOutfit(cid,{lookType = 136, lookHead = 78, lookBody = 68, lookLegs = 58, lookFeet = 95, lookAddons = 0}) end end if(not isPlayerGhost(cid)) and (isVip(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) elseif(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end local lastLogin, str = getPlayerLastLoginSaved(cid) if(lastLogin >= 0) then 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) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end registerCreatureEvent(cid, "TempleTeleporter") --VIP registerCreatureEvent(cid, "VipCheck") --VIP registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "bp") registerCreatureEvent(cid, "Achievements") registerCreatureEvent(cid, "fullmh") registerCreatureEvent(cid, "primeiro") registerCreatureEvent(cid, "killcount") registerCreatureEvent(cid, "playeradvance") registerCreatureEvent(cid, "radvance") registerCreatureEvent(cid, "counter") registerCreatureEvent(cid, "countKill") registerCreatureEvent(cid, "Grizzly_Adams") registerCreatureEvent(cid, "demonOakLogout") registerCreatureEvent(cid, "demonOakDeath") registerCreatureEvent(cid, "demonOakAttack") registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "idle") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "XpVip") registerCreatureEvent(cid, "Zaoarena") registerCreatureEvent(cid, "ArenaKill") registerCreatureEvent(cid, "Tirecz") registerCreatureEvent(cid, "Inquisition") registerCreatureEvent(cid, "inquisitionPortals") registerCreatureEvent(cid, "arenaPortals") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "ZE") registerCreatureEvent(cid, "Uze2") registerCreatureEvent(cid, "Uze3") registerCreatureEvent(cid, "RushCombat") registerCreatureEvent(cid, "RushAttack") registerCreatureEvent(cid, "RushDead") registerCreatureEvent(cid, "RushOutfit") registerCreatureEvent(cid, "Monsterhunter") registerCreatureEvent(cid, "BountyHunter") registerCreatureEvent(cid, "defence") registerCreatureEvent(cid, "Frag Reward") --- CRITICAL SYSTEM ---- registerCreatureEvent(cid, "critical") if getPlayerStorageValue(cid, 48913) == -1 then setPlayerStorageValue(cid, 48913, 0) end -----[[Dodge System ---- registerCreatureEvent(cid, "dodge") if getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48902, 0) end ----------MAGMA BOOTS DO FOX---------------- registerCreatureEvent(cid, "magmaboots") if getPlayerStorageValue(cid, 19501) ~= 0 then setPlayerStorageValue(cid, 19501, 0) end --------------------------------------- -- first login ~ Outfit Windows if getPlayerStorageValue(cid, 1228512) == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Please choose your outfit.") doPlayerSendOutfitWindow(cid) setPlayerStorageValue(cid,1228512, 1) end -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena return true end Reinicie o servidor e teste.
  5. Poste o seu login.lua
  6. Absolute postou uma resposta no tópico em Playground (Off-topic)
    Entenda:
  7. Você não deve levar nada para o lado pessoal dentro do fórum, se a pessoa do tópico não lhe agrada isso é problema seu e dela. É importante lembrar que você não é obrigado ajudar ninguém, mas não fazer comentários aleatórios como este. Caso veja isto novamente irei negativa-lo como alerta.
  8. Aqui no fórum tem inúmeros sistemas vip, já tentou procurar?
  9. Você terá que adicionar um sistema VIP e um TILE e/ou NPC para levar a área vip. 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 → Suporte OTServ → Suporte de Infraestrutura" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
  10. Verdade, tava pensando em criar um sistema mais vai que alguém que já postou pensa antes. 24 Horas pelos devidos créditos, caso contrário tópico reportado. Faço apenas pelas regras. Bom Dia.
  11. ? Então ele postou o sistema igual você alterando só uma linha? Que mera coincidência em! Entendi, você modificou o SQL e o vip_points por premium_points e não copiou, compreendo. Como é descrito nas regras, você tem o direito de modificar e/ou postar o que quiser, porém mantendo os créditos. Repito, você tem 24 horas para adicionar os créditos.
  12. Tu é o Darkhaos então? Você tem 24 horas para adicionar os créditos ou reportarei para remover o conteúdo.
  13. Entendi, mas espero colocar os créditos do Darkhaos do outro fórum é melhor, pois o mesmo pode pedir remoção.
  14. AEUHAUEHAUHEAUHEAUHEAUEHA Death, se quiser me chama private tenho um funcional.
  15. No seu remeres map editor coloque o tile da ponte original que não terá level para passar.
  16. Certo, tente acessar pelo IPv4 ou DNS então! Dúvidas estamos a disposição.
  17. Upei o meu: https://www.sendspace.com/file/7nehb0 Teste, se não for é problema ctg mesmo.
  18. Você tem que selecionar o Client do seu tibia e colocar a versão 10.41, pós isso feche o tibia insira o ip da change e entra.
  19. O Título do seu tópico foi alterado, procure relacionar o título com o tópico, facilitará a todos.
  20. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Tente: local config = { storagekill = 119498, --- storage q conta a quantidade de kills } function onKill(cid, target, lastHit) local killed = getPlayerStorageValue(cid,config.storagekill) if isMonster(target) and getCreatureName(target):lower() == 'aegis' then if killed > config.times then doPlayerSendTextMessage(cid,22,"Congratulations, voce matou "..getCreatureName(target).." and earned "..points.." point(s)!") addPoints(cid,points,1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você tem "..getPoints(cid).." Points.") else doPlayerSendTextMessage(cid,22,"Congratulations, voce matou "..getCreatureName(target).." and earned "..points.." point(s)!") addPoints(cid,points,1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você tem "..getPoints(cid).." Points.") end end return true end
  21. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Estão faltando os characters samples na database, em seu phpmyadmin adicione: INSERT INTO `players` VALUES(0, 'Rook Sample', 0, 1, 1, 1, 0, 185, 185, 0, 44, 44, 44, 44, 128, 0, 0, 35, 35, 0, 100, 1, 0, 0, 0, '', 420, 1, 0, 0, 1, 0, 0, 0, '', 0, 0, 0, 151200000, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, '', 1287582995, 1, '', 1, '', 0, 0, 0); INSERT INTO `players` VALUES(1, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 4200, 44, 44, 44, 44, 128, 0, 0, 35, 35, 0, 100, 1, 32369, 32238, 7, '', 420, 1, 0, 0, 1, 0, 0, 0, '', 0, 0, 0, 151200000, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, '', 1287582995, 1, '', 1, '', 0, 0, 0); INSERT INTO `players` VALUES(2, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 4200, 44, 44, 44, 44, 128, 0, 0, 35, 35, 0, 100, 1, 32369, 32238, 7, '', 420, 1, 0, 0, 1, 0, 0, 0, '', 0, 0, 0, 151200000, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, '', 1287582995, 1, '', 1, '', 0, 0, 0); INSERT INTO `players` VALUES(3, 'Paladin Sample', 0, 1, 1, 8, 3, 185, 185, 4200, 44, 44, 44, 44, 128, 0, 0, 35, 35, 0, 100, 1, 32369, 32238, 7, '', 420, 1, 0, 0, 1, 0, 0, 0, '', 0, 0, 0, 151200000, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, '', 1287582995, 1, '', 1, '', 0, 0, 0); INSERT INTO `players` VALUES(4, 'Knight Sample', 0, 1, 1, 8, 4, 185, 185, 4200, 44, 44, 44, 44, 128, 0, 0, 35, 35, 0, 100, 1, 32369, 32238, 7, '', 420, 1, 0, 0, 1, 0, 0, 0, '', 0, 0, 0, 151200000, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, '', 1287582995, 1, '', 1, '', 0, 0, 0)
  22. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    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 → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Programação"
  23. De uma olhada nisso: http://www.tibiaking.com/forum/topic/36853-aprendendo-vpsdedicadoshospedagens/#entry209034
  24. Acho que nem todos possuem o banco de dados com o nome de 'otserv' Porém acho interessante deixar explicado que aqui: db.query("UPDATE `otserv`.`players` SET `guild_id` = "..guild.." WHERE `players`.`id` = "..playerid..";") else db.query("UPDATE `otserv`.`players` SET `guild_id` = 0 WHERE `players`.`id` = "..playerid..";") em otserv você coloca o nome da sua databse, caso contrário não irá achar a coluna players pelo fato de não ter a database. Simples, mas tenho certeza que haverá duvidas sobre.

Informação Importante

Confirmação de Termo