Blazera 8.60
blazera.net
SOBRE O BLAZERA
Um fresh start em um servidor 8.6 clássico, com real map, focado na experiência raiz do Tibia. | Classic Real Map • Fresh Start • Client 8.6 • Old School Gameplay • Active Community
Inicia em:
--
Participar
-
Erros no console
não sei a versão do TFS, não mostra no console... é esse server aqui http://www.tibiaking.com/forum/topic/39249-server-772-cliente/ é 7.72
-
Erros no console
login.lua -- Author: David -- Country: Brazil -- Email: [email protected] function onLogin(cid) -- Verificar Outfit Bugado resultdb = mysqlQuery("SELECT `looktype` FROM `players` WHERE `name` = \"" .. getPlayerName(cid) .. "\"", "looktype") getlooktype = resultdb.looktype if getlooktype <= "0" then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid,{lookType = 267}) else doCreatureChangeOutfit(cid,{lookType = 258}) end doPlayerSendTextMessage(cid, 18, "Something unexpected happened with your outfit and it had to be reset!") end -- Checar Promotion e Bless CheckPlayerBlessings(cid) CheckPlayerPromotion(cid) -- Remover Bless se necessário registerCreatureEvent(cid, "PlayerDeath") registerCreatureEvent(cid, "onKill") if getPlayerStorageValue(cid, 30007) == 1 then RemovePlayerBlessing(cid) setPlayerStorageValue(cid, 30007, -1) end -- Primeiros Itens local firstItems = {2050,2382} if getPlayerStorageValue(cid, 30001) == -1 then for i = 1, table.maxn(firstItems) do doPlayerAddItem(cid, firstItems[i], 1) end if getPlayerSex(cid) == 0 then doPlayerAddItem(cid, 2651, 1) else doPlayerAddItem(cid, 2650, 1) end local bag = doPlayerAddItem(cid, 1987, 1) doAddContainerItem(bag, 2674, 1) setPlayerStorageValue(cid, 30001, 1) end -- Teleport para cidade free quando premium acabar (MAIN) local templo = {x=32369, y=32241, z=7} if isPremium(cid) == TRUE then if getPlayerStorageValue(cid, STORAGE_PREMIUM_ACCOUNT) == -1 then setPlayerStorageValue(cid, STORAGE_PREMIUM_ACCOUNT, 1) end elseif isPremium(cid) == FALSE then if getPlayerStorageValue(cid, STORAGE_PREMIUM_ACCOUNT) == 1 and getPlayerVocation(cid) >= 1 then setPlayerStorageValue(cid, STORAGE_PREMIUM_ACCOUNT, -1) doPlayerSetTown(cid, 3) doTeleportThing(cid, templo) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You have been teleported to Thais. Your premium has been expired!") end end return TRUE end bless_system.lua -- Author: Rodrigo (Nottinghster) - (OTLand, OTFans, XTibia, OTServBR) -- Country: Brazil -- From: Tibia World RPG OldSchool -- Email: [email protected] -- Compiler: Tibia World Script Maker (Libs Scripts) function CheckPlayerBlessings(cid) if isPromoted(cid) == TRUE then deathlossvalue = 7 else deathlossvalue = 10 end local MGB = mysqlQuery("SELECT `bless1`, `bless2`, `bless3`, `bless4`, `bless5` FROM `players` WHERE `name` = '" .. getPlayerName(cid) .. "';", "bless1, bless2, bless3, bless4, bless5") if(MGB.bless1) == "1" then blessone = 1 else blessone = 0 end if(MGB.bless2) == "1" then blesstwo = 1 else blesstwo = 0 end if(MGB.bless3) == "1" then blessthree = 1 else blessthree = 0 end if(MGB.bless4) == "1" then blessfour = 1 else blessfour = 0 end if(MGB.bless5) == "1" then blessfive = 1 else blessfive = 0 end FINISHEDDEATHLOSS = (deathlossvalue-((((blessone+blesstwo)+blessthree)+blessfour)+blessfive)) doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, FINISHEDDEATHLOSS) doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, FINISHEDDEATHLOSS) doPlayerSetLossPercent(cid, PLAYERLOSS_SKILL, FINISHEDDEATHLOSS) return true end function RemovePlayerBlessing(cid) mysqlQuery("UPDATE `players` SET `bless1` = '0',`bless2` = '0',`bless3` = '0',`bless4` = '0',`bless5` = '0' WHERE `name` = \"" .. getPlayerName(cid) .. "\"", "SET") return true end function AddPlayerBlessing(cid, type) local MGB = mysqlQuery("SELECT `bless1`, `bless2`, `bless3`, `bless4`, `bless5` FROM `players` WHERE `name` = '" .. getPlayerName(cid) .. "';", "bless1, bless2, bless3, bless4, bless5") if type == 1 then if (MGB.bless1) == "0" then mysqlQuery("UPDATE `players` SET `bless1` = '1' WHERE `name` = '" .. getPlayerName(cid) .. "';", "SET") CheckPlayerBlessings(cid) return true else return false end elseif type == 2 then if (MGB.bless2) == "0" then mysqlQuery("UPDATE `players` SET `bless2` = '1' WHERE `name` = '" .. getPlayerName(cid) .. "';", "SET") CheckPlayerBlessings(cid) return true else return false end elseif type == 3 then if (MGB.bless3) == "0" then mysqlQuery("UPDATE `players` SET `bless3` = '1' WHERE `name` = '" .. getPlayerName(cid) .. "';", "SET") CheckPlayerBlessings(cid) return true else return false end elseif type == 4 then if (MGB.bless4) == "0" then mysqlQuery("UPDATE `players` SET `bless4` = '1' WHERE `name` = '" .. getPlayerName(cid) .. "';", "SET") CheckPlayerBlessings(cid) return true else return false end elseif type == 5 then if (MGB.bless5) == "0" then mysqlQuery("UPDATE `players` SET `bless5` = '1' WHERE `name` = '" .. getPlayerName(cid) .. "';", "SET") CheckPlayerBlessings(cid) return true else return false end end end
-
Erros no console
Boa noite Estou tentando deixar um server on, mas quando eu logo um char, aparece o seguinte erro no console: Como arrumar? Agradeço desde já
- Mining System
-
[Castle War 24H] Conquiste o trono!
aparentemente tá funcionando tudo certinho, coloquei o mapa com as coordenadas exatas que já estão no script, para não ter que mudar (o tapete na frente do timão na coordenada 32464, 32378, 5)... vou colocar agora o teleport com acesso ao castelo no templo de Thais, mas eu coloco para teleportar os players para onde exatamente? para o navio?? e a guild dona do castelo só vai ficar sabendo que tem players ali quando um subir no trono?
-
[Whiplash-War] Projeto Global Server 8.60
Estou recrutando pessoas interessadas em trabalhar em um servidor global, versão 8.6, que será inaugurado no dia 29/06. Como não tenho muito tempo devido à faculdade e trabalho, gostaria de pessoas que pudessem ser mais ativas in-game, ajudando os players no dia-a-dia e inicialmente na divulgação do servidor. O server ficará online 24h por dia, sem lags. Segue o link do tópico apresentando o servidor e seus diversos eventos: http://www.tibiaking.com/forum/topic/36132-860-whiplash-war-global-inauguração-em-2906 Espero poder contar com a ajuda de vocês! Quem tiver interesse, manifeste-se neste tópico!
-
[GESIOR] Site está mostrando data errada
o horário da máquina tá certo... estranho
-
[GESIOR] Site está mostrando data errada
Boa tarde, Estou com um problema no meu gesior, a data/horário está errada em qualquer lugar que precise dela. Por exemplo, o record de players online, a data de criação de um char, a última vez que logou. Percebi também que os eventos que estão configurados para uma determinada hora ocorrem com algumas horas de diferença Onde posso arrumar isso?
-
Website com Hamachi
e quais configurações preciso fazer no hamachi?
-
Website com Hamachi
Bom dia, Gostaria de saber se é possível criar um site para meu OT através do Hamachi. Obrigado
-
Quais portas são poss
mas é uma rede compartilhada!! eu teria que desbloquear as portas pelo roteador, certo?! mas não terei acesso ao roteador
-
Quais portas são poss
mas essa é a questão, ela vai ser acessada por fora dela! pelos players que vão jogar
-
Quais portas são poss
sim, a teoria eu sei! hahaha o problema é que eu escaneei algumas portas abertas aqui no meu pc para tentar e não funcionou! ué, não terei a senha do roteador! só isso
-
Quais portas são poss
Boa noite, Gostaria de saber quais portas são possíveis de se hostar um OTServer. Sei que várias portas estão, por padrão, desbloqueadas na maioria das redes e gostaria de saber quais eu poderia usar no lugar da 7171 e 7172. Obs: não é que eu não sei desbloquear as portas, mas é que eu gostaria de saber alternativas à elas, pois estou pensando em hostar em uma rede onde não possuo acesso ao roteador para desbloqueá-las. Obrigado
-
[Dúvida] Criar client com portas não usuais
Boa noite, pessoal! Estava procurando aqui no fórum se há algum meio de criar um client próprio usando uma porta que não seja 7171 e 7172. Vi que na maioria dos tutoriais de como criar um client, há a opção de mudar a porta 7171, mas e a porta 7172? vejo no meu config.lua que o servidor usa essa porta também! Gostaria de saber também se essa mudança de portas traria algum efeito colateral para os jogadores. Agradeço desde já!