• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Bug skills

Status
Not open for further replies.

GOD Rafael

New Member
Joined
Mar 15, 2010
Messages
8
Reaction score
0
Problema com Skills aguem ajuda plz Acontece o Seguinte o Server tem TFS 0.4_Dev War System Do elf Pois Do nada aparece um player com Skills 1999875 até mais Sempre skils de atk Tipo axe sword distance etc... menos ml.. quando Player Loga o server acaba Travando Geral e do nada o server cai sem erro sem nada Pois ja chegamos a penssar que éra um intruso que estava entrando no Databse Mas Nao é pois chegou de acontecer Com um CHar teste Nosso e nosso database esta totalmente seguro se alguem souber de algo poste ai Agradecemos

Se estou Postando em Lugar Errado Favor mover Pois Sou Novo aqui
 
Usa linux?
Se for, presta atenção.
Instale o Screen.

apt-get install screen

depois disso.

screen -A -S tfs

ai vc vai no diretorio do ot e abre o servidor.
Feito isso, você aperta.

CTRL+A+D

que dai ele vai "minimizar" o servidor e vai continuar rodando.

Se quiser voltar ao screen é só digitar.

screen -r tfs

abraços
 
Fórum pt-br não precisa traduzir. Esse bug acontece com ML também, quando se da reload, principalmente nas vocations, mas não é sempre que da isso.
 
Importei uma database nova e resetei o server vamo ve o que da =) (OBS: RELOAD NO MORE !)
 
eu fiz como o bósforo falou e nao tive mas problemas OBS: eu tirei aquelas class epic etc... que tinha do real serv entao creio que fose elas que estavao bugando vlw=D
 
Amigo eu resolvi isso no meu server criando uma storage para cada profissao. Isso geralmente acontece quando uma profissao e alterada do anda, nao descobri ainda como acontece, mas com esta storage, o player ao logar, no login.lua tem um campo que verifica a storage e seta a vocacao correta, nao tendo mais problemas com isso.



Eu tenho vocacoes vip entao fiz assim:


if getPlayerStorageValue(cid,12081) == 1 and promo == 0 then
doPlayerSetVocation(cid, 1)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 1 then
doPlayerSetVocation(cid, 5)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 2 then
doPlayerSetVocation(cid, 9)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 0 then
doPlayerSetVocation(cid, 2)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 1 then
doPlayerSetVocation(cid, 6)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 2 then
doPlayerSetVocation(cid, 10)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 0 then
doPlayerSetVocation(cid, 3)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 1 then
doPlayerSetVocation(cid, 7)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 2 then
doPlayerSetVocation(cid, 11)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 0 then
doPlayerSetVocation(cid, 4)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 1 then
doPlayerSetVocation(cid, 8)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 2 then
doPlayerSetVocation(cid, 12)
end

Quando se cria o char no site ele ja seta a storage conforme a vocacao e quando loga ele ja verifica esta storage e caso esteja errado ele altera, geralmente estas mudanças acontecem apos o save global.

Ate mais.
 
Amigo eu resolvi isso no meu server criando uma storage para cada profissao. Isso geralmente acontece quando uma profissao e alterada do anda, nao descobri ainda como acontece, mas com esta storage, o player ao logar, no login.lua tem um campo que verifica a storage e seta a vocacao correta, nao tendo mais problemas com isso.



Eu tenho vocacoes vip entao fiz assim:


if getPlayerStorageValue(cid,12081) == 1 and promo == 0 then
doPlayerSetVocation(cid, 1)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 1 then
doPlayerSetVocation(cid, 5)
elseif getPlayerStorageValue(cid,12081) == 1 and promo == 2 then
doPlayerSetVocation(cid, 9)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 0 then
doPlayerSetVocation(cid, 2)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 1 then
doPlayerSetVocation(cid, 6)
elseif getPlayerStorageValue(cid,12082) == 1 and promo == 2 then
doPlayerSetVocation(cid, 10)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 0 then
doPlayerSetVocation(cid, 3)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 1 then
doPlayerSetVocation(cid, 7)
elseif getPlayerStorageValue(cid,12083) == 1 and promo == 2 then
doPlayerSetVocation(cid, 11)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 0 then
doPlayerSetVocation(cid, 4)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 1 then
doPlayerSetVocation(cid, 8)
elseif getPlayerStorageValue(cid,12084) == 1 and promo == 2 then
doPlayerSetVocation(cid, 12)
end

Quando se cria o char no site ele ja seta a storage conforme a vocacao e quando loga ele ja verifica esta storage e caso esteja errado ele altera, geralmente estas mudanças acontecem apos o save global.

Ate mais.

boa ideia.. ;)
 
estou com mesmo problema, mas não posso resetar meu servidor... Oque eu faço?? por favor, isso é muito importante pro futuro do servidor, ajudem ae plis.
 
Status
Not open for further replies.
Back
Top