ρєily 28 Posted August 13, 2012 Bem Pessoal Hoje Vos Trago Um Tutorial 100% [sOBRE QUE ?] Bem Então Hoje Vamos Desbugar o HP , Muitos Servidores Tem o HP Bugado Depois Dos 32000 De Vida. Então Hoje Decidi Postar Aqui Um Tutorial Meu Para Ajudar a Comunidade a Resolver Esse BUG [TuTu] Primeiro Ligam a Maquina Virtual [VirtualBox] Depois Digitamos o Comando : /etc/rc.d/netif restart Logo a Seguir Abrimos o Navicat e Vamos a Palyer Com o Botão Direito Do Rato Clicamos Em Cima Da Tabela Player E Selecionamos a Opção [Disign Table] Print: http://desmond.image...png&res=landing Depois Disso Ira Aparecer Uma Janela Com Varias Linhas, Nos Vamos Procurar e Editar o Seguinte : Name|Type|Length|Decimals|Allow Null hp__smallint__4______0_____[_] Editam o [Type] Para : Name|Type|Length|Decimals|Allow Null hp____int___4______0______[_] Guardam , Reboot na Maquina e Pronto o Seu HP Não Vai Bugar Mais Caso Aconteça Pode Mudar o [Type] Para : Name|Type|Length|Decimals|Allow Null hp__bigint___4______0______[_] Esta Com o [bigint] Nunca Testei. Créditos Meu 100% 2 Ŧá๒i๏ รilvค™ and nicoleroque reacted to this Share this post Link to post Share on other sites
Ŧá๒i๏ รilvค™ 491 Posted August 13, 2012 Bom tutu vamos lá ver se funfa Share this post Link to post Share on other sites
obetuno 431 Posted March 17, 2013 Em meu servidor nenhuma das duas opções resolveu o problema. Tentei o INT e o BIGINT... Do mesmo jeito personagens com mais de 32k de HP inicia negativo. Esta solução talves só sirva em alguns casos... Outros não. Share this post Link to post Share on other sites
'PACI 2,317 Posted March 17, 2013 Em meu servidor nenhuma das duas opções resolveu o problema. Tentei o INT e o BIGINT... Do mesmo jeito personagens com mais de 32k de HP inicia negativo. Esta solução talves só sirva em alguns casos... Outros não. Sempre podes fazer por quest. quest bug_hp beginstate start begin when login begin if pc.get_hp() < 1 then affect.add_collect(apply.HP,X,60*60*24*365*60) end endendendEm X metes a quantidade de experiência a receber. Tens é que ter muito cuidado, pois o tempo, é permanente, a quantidade que puseres em X irá durar para sempre e o jogador irá acumular esse hp todo que tem sido recebido. Share this post Link to post Share on other sites
obetuno 431 Posted March 18, 2013 Sempre podes fazer por quest. quest bug_hp beginstate start begin when login begin if pc.get_hp() < 1 then affect.add_collect(apply.HP,X,60*60*24*365*60) end endendendEm X metes a quantidade de experiência a receber.Tens é que ter muito cuidado, pois o tempo, é permanente, a quantidade que puseres em X irá durar para sempre e o jogador irá acumular esse hp todo que tem sido recebido.Me explica esta linha melhor ?affect.add_collect(apply.HP,X,60*60*24*365*60) Share this post Link to post Share on other sites
CoMa2D 156 Posted April 14, 2013 VOU TESTAR AGORA CASO DÊ http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
CoMa2D 156 Posted April 14, 2013 não funcionou alguem tem uma forma de resolver o erro? Share this post Link to post Share on other sites
SINVAL o.O 728 Posted April 14, 2013 quest bug_hp begin state start begin when login begin pc.get_hp() pc.get_sp() if pc.hp <0 then affect.add_collect(apply.HP_REGEN, 100000, 5) end if pc.sp <0 then affect.add_collect(apply.SP_REGEN, 100000, 5) end end endend Uso essa quest Share this post Link to post Share on other sites
CoMa2D 156 Posted April 14, 2013 isso adiciona 100k de hp a todos os players :X Share this post Link to post Share on other sites
SINVAL o.O 728 Posted April 14, 2013 isso adiciona 100k de hp a todos os players :X Tipo vc loga e ta -100k de hp vai regenerar sosinho, se tiver -10 vai regenerar. Share this post Link to post Share on other sites