Ir para conteúdo

lost6666

Membro
  • Registro em

  • Última visita

Tudo que lost6666 postou

  1. estou tentando colocar o forum na versão antiga do gesior mas nao consigo, sabe oque pode ser?
  2. lost6666 postou uma resposta no tópico em Formação de Equipe
    estou recrutando uma pessoa para cargo de gm no servidor total-war.org o mesmo ficara encarregado de banir free exp e da parte de marketing do servidor precisa ter noção basica em edição de imagens, terá acesso a pagina do facebook e devera postar fotos diarias do servidor e fazer o marketing em comunidades. interessados mandar pm ou entrar em contato pelo facebook https://www.facebook.com/TotalWarServer
  3. lost6666 postou uma resposta no tópico em Suporte & Pedidos
    acho que lua deve ser mais facil, e depois para aprender o c++ fica melhor nao achei nenhuma apostila em lua no apostilando
  4. lost6666 postou uma resposta no tópico em Suporte & Pedidos
    Tenho muito interesse em aprender programação mas nao sei por onde começar, alguem que tenha aprendido a programar online pode me dizer por onde começar? video aula, apostilas, algum site que tenha conteudo.
  5. deleta todas as linhas que sao exemplos, as que começam com --
  6. quem é Romario? vi isso la na github mas nao conseguir, se der ai me fala como voce fez https://github.com/otland/forgottenserver/pull/785
  7. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    @Absolute a datapack é 10.37 @danihcv onde acho as lib 10.41?
  8. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    eu alterei a versao da source 10.37 para 10.41 mas quando o player loga ele leva debug, como posso fazer para poder logar normal sem debug?
  9. eu nao quero double entao coloquei acima de 500 pontos quando eu compro 3 points, 3 reais, o script adiciona apenas 1 ponto, independente se for 3 pontos ou 100 pontos. eu uso a porta 25 para smtp e ja esta liberada, mas o pagseguro deve usar outra.
  10. inicialmente nao funcionou, entao desliguei o firewall e fico ok, voce sabe qual a porta que o pagseguro usa para eu liberar? na tabela no banco de dados nao esta marcando nada, mas esta adicionando os pontos "normal" eu disse normal acima porque eu comprei 1 ponto e adicionou 1 ponto, blz. depois comprei 3 pontos mas adicionou apenas 1 ponto. isso so aconteceu comigo?
  11. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    certo, alguem sabe onde eu encontro a source 10.37 adaptada para logar com 10.41?
  12. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    OBRIGADO PELA TENTATIVA, MAS EU FALEI 10.41
  13. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    vi essa semana que 2 pessoas postaram topicos com as source do tfs 10.41 com cast system, porem estou procurando o topico e ele nao existe mais, alguem sabe se foi movido ou deletado?
  14. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    como faço para adicionar montarias no shop do gesior, para verção 1.0 ao comprar ja ganhar a montaria, sem terque ter o items e usar no monstro.
  15. vai até o arquivo accountmagenement.php e edita
  16. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    amigo, estou usando tfs 1.0 nao tem essa opção ja adicionei mas nao funciona, no mysql em players tambem nao tem loss_experience
  17. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    como configuro a perda de exp ao morrer com e sem bless no tfs 1.0?
  18. desculpe eu nao tenho nicaw, mas de uma olhada dentro da pasta do seu site no index.php de ctrl+F e procure por admin voce vai achar alguma coisa assim.
  19. items.lua <item id="1497" article="a" name="magic wall"> <attribute key="type" value="magicfield"/> <attribute key="decayTo" value="0"/> <attribute key="duration" value="20"/> <attribute key="blocksolid" value="1"/> </item>
  20. no phpmyadmin CREATE TABLE IF NOT EXISTS `bounty_hunters` ( `id` int(11) NOT NULL auto_increment, `fp_id` int(11) NOT NULL, `sp_id` int(11) NOT NULL, `k_id` int(11) NOT NULL, `added` int(15) NOT NULL, `prize` bigint(20) NOT NULL, `killed` int(11) NOT NULL, `kill_time` int(15) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; crie o arquivo bh-add.lua em talkactions/scripts e cole isso function onSay(cid, words, param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] Use: \"!hunt [prize],[nick]\" where prize is for example 1(k).") return TRUE end local t = string.explode(param, ",") if(not t[2]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] Use: \"!hunt [prize],[nick]\" where prize is for example 1(k).") return TRUE end local sp_id = getPlayerGUIDByName(t[2]) if sp_id == nil then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] This player doesn't exists.") return TRUE end local result_plr = db.getResult("SELECT * FROM `bounty_hunters` WHERE `sp_id` = "..sp_id.." AND `killed` = 0;") if(result_plr:getID() ~= -1) then is = tonumber(result_plr:getDataInt("sp_id")) result_plr:free() else is = 0 end prize = tonumber(t[1]) if(prize == nil or prize < 1) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] Use: \"!hunt [prize],[nick]\" where prize is for example 1(k).") return TRUE end if(prize >= 100000000000000000000) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] Sorry, you typed too big number!") return TRUE end if is ~= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] This player has already hunted.") return TRUE end if doPlayerRemoveMoney(cid, prize*1000) == TRUE then db.executeQuery("INSERT INTO `bounty_hunters` VALUES (NULL,"..getPlayerGUID(cid)..","..sp_id..",0," .. os.time() .. ","..prize..",0,0);") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] Hunt has been added!") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] You haven't got enough money!") end return 1 end em creaturescripts.xml cole isso <event type="kill" name="BountyHunter" script="kill.lua"/> abre o login.lua em creaturescripts/scripts e cole isso registerCreatureEvent(cid, "BountyHunter") crie kill.lua, em creaturescripts/scripts e cole isso function onKill(cid, target) if isPlayer(target) == TRUE then ---- BOUNTY HUNTERS START ----- pid = cid pid2 = getPlayerGUID(target) local result_plr = db.getResult("SELECT * FROM `bounty_hunters` WHERE `sp_id` = "..pid2.." AND `killed` = 0;") if(result_plr:getID() ~= -1) then prize = tonumber(result_plr:getDataInt("prize")) bid = tonumber(result_plr:getDataInt("id")) result_plr:free() else prize = 0 bid = 0 end if (bid ~= 0 and prize ~= 0 and not(getTileInfo(getCreaturePosition(cid)).pvp)) then db.executeQuery("UPDATE `bounty_hunters` SET `killed` = 1, `k_id`="..getPlayerGUID(cid)..", `kill_time` = " .. os.time() .. " WHERE `id` = "..bid..";") doPlayerAddMoney(cid,prize*1000) doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,'[BOUNTY HUNTERS] You killed hunted player, so you gained the reward!') end ---- BOUNTY HUNTERS END ----- end return TRUE end em talkactions.xml in talkactions cole isso <talkaction access="0" log="no" filter="word" words="!hunt" script="bh-add.lua" /> pagina para seu gesior <?php @mysql_connect("localhost","user","password"); @mysql_select_db("database"); $main_content .= '<P ALIGN=CENTER> <br> <FONT SIZE=5 COLOR=#CFF00C> How to use... </FONT> <br> <br> <FONT SIZE=2 COLOR=#CFF00C> * !hunt [prize],[nick] : <FONT SIZE=1 COLOR=#FCC33F> Wysyla ogloszenie o huncie dla postaci. Cena w tysiacach.<br> Przyklad: !hunt 100,Infinity </FONT><br> </FONT> </P> <br> <br> <center> <h1> Bounty Hunters </h1> </center> <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%> <TR BGCOLOR="#505050"> <TD CLASS=white width=30%> <center><B>Zlecil</B></center> </TD> <TD CLASS=white width=30%> <center><B>Nagroda</B></center> </TD> <TD CLASS=white width=30%> <center><B>Ofiara</B></center> </TD> <TD CLASS=white width=10%> <center><B>Zabity przez</B></center> </TD> </TR>'; $inv = @mysql_query("SELECT * FROM `bounty_hunters` ORDER BY `added` DESC"); $num = 0; $color=$config['site']['darkborder']; while($tab = @mysql_fetch_array($inv)){ if($num%2 == 0){$color=$config['site']['darkborder'];}else{$color=$config['site']['lightborder'];} $pid = $tab['fp_id']; $sid = $tab['sp_id']; $kid = $tab['k_id']; $killed = $tab['killed']; $prize = $tab['prize']*1000; if($killed == 0){ $kill = '<font color="red">Nobody!</font>'; }else{ $k = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$kid.""); $k1 = @mysql_fetch_array($k); $kill_name = $k1['name']; $kill = '<a href="index.php?subtopic=characters&name='.$kill_name.'">'.$kill_name.'</a>'; } $f = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$pid.""); $f1 = @mysql_fetch_array($f); $s = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$sid.""); $s1 = @mysql_fetch_array($s); $fn = $f1['name']; $sn = $s1['name']; $main_content .= ' <TR BGCOLOR="'.$color.'"> <TD> <center> <b> <a href="index.php?subtopic=characters&name='.$fn.'">'.$fn.'</a> </b> </center> </TD> <TD> <center> <b> '.$prize.' gp </b> </center> </TD> <TD> <center> <b> <a href="index.php?subtopic=characters&name='.$sn.'">'.$sn.'</a> </b> </center> </TD> <TD> <center> <b> '.$kill.' </b> </center> </TD> </TR>'; $num++; } if($num == 0){ $main_content.='<TR BGCOLOR="'.$color.'"> <TD colspan=4> <center> Currently there are not any bounty hunter offer. </center> </TD> </TR>'; } $main_content .='</TABLE><div align="right">Copyright &copy; <a href="http://otibia.net">oTibia.net</a>.</div>'; ?>
  21. <event type="preparedeath" name="forever amulet" event="script" value="aol.lua"/> <event type="death" name="tp" event="script" value="tp.lua"/> <event type="death" name="teleportmonster" script="tpmonster.lua"/> <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="death" name="incendio" script="incendioMonster.lua"/> algum desses scripts esta bugado, faze o backup do creaturescripts e vai tirando 1 por um ate saber qual esta bugando e depois poste aki.
  22. amigo o sistema premium do tibia global é o Premium account todo servidor tem ele, e so configurar no config.lua vai ter freePremium = false coloca true
  23. se for uma acc que existe coloque em Mods no config.lua agora se ele for acessar o account manager e dar Invalid Password entao siga os procedimentos abaixo, voce precisa ter as sources do seu server. Abra o arquivo protocollogin.cpp e troque Invalid password. por Account Invalidade, Para criar conta entre em http://SEUSITE.
  24. lost6666 postou uma resposta no tópico em Suporte Tibia OTServer
    acredito que isso seja possivel apenas se voce usar um cliente proprio, pois nao tem como esconder seu nome e a barra de vida.

Informação Importante

Confirmação de Termo