Ir para conteúdo

gangul321

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    gangul321 recebeu reputação de Eduardo Dantas em (Resolvido)Ot Online So que Nao aparece no OTSERVLIST   
    Voces nao entenderam, meu config,lua esta configurado certo, e eu botei meu server no OTSERVLIST.ORG e no otservlist.org , no caso o otservlist.org funciona aparece meu server ONLINE, porem no OTSERVLIST.ORG NAO

    Consegui resolver, 
    no meu config.lua estava usando a
     statusProtocolPort = 7173 no entanto assim o otservlist nao consegue "enxergar" que esta online o servidor, entao mudei para:
    statusProtocolPort = 7171 E agora ta funcionando =P
  2. Gostei
    gangul321 recebeu reputação de Samuel Cstr em Global FULL 8.60 | Zao, War System, Cast System...   
    Entao abaixei o site coloquei no XAMP, porem da mesmo erro =(
     
    ---------EDITANDO---------
    Instalei o EASYPHP e funcionou =P

    THX
    Agora bora configurar esse ot para colocar no vps para por ONLINE .. 
  3. Gostei
    gangul321 recebeu reputação de luanluciano93 em (Resolvido)Nao consigo Trocar Ip desse Tibia.exe   
    Luan, ja tentei pelo hexeditor , mudo porem mesmo assim ele nao vai, aparece que o server ta offline, tentei fazer um teste deixar o ip com localhost ou 127.0.0.1 e nao foi
    Pelo notepad tentei tambem, nao aparece o local de botar IP, axo que por ser versao 7.72 , deve ser diferente , quando se aperta 2 x bad ele ja desce la pro final nas informacoes do client que nao tem nada haver com o ip

    POXA SE ALGUEM PODER TROCAR PARA MIM, ENVIO O TIBIA.EXE E VCS TENTA TROCAR PORQUE NAO CONSIGO.
     
    -----------EDITANDO------------
     
    CONSEGUI =P
    USEI O PRIMEIRO LINK QUE O LUAN BOTOU 
    http://www.tibiaking.com/forum/topic/55103-custom-cliente-todas-as-vers%C3%B5es-qualquer-ip/
     
    FIZ COMO TAVA POREM O ERRO ERA AQUELE MONTE DE NUMEROS QUE ELE PEDE PRA TROCAR QUE TEM 309 CARACTERS, NO MEU CLIENT 7.72 NAO É IGUAL OQUE ELE PEDIU PARA PROCURAR POR ISSO NAO ACHAVA NUNCA KKK
    AGORA DEU CERTO =D
     
  4. Gostei
    gangul321 deu reputação a luanluciano93 em (Resolvido)Nao consigo Trocar Ip desse Tibia.exe   
    Testa esses:
    • http://www.tibiaking.com/forum/topic/55103-custom-cliente-todas-as-vers%C3%B5es-qualquer-ip/
    • http://www.tibiaking.com/forum/topic/33691-old-crie-seu-client-pr%C3%B3prio-860-10xx/
    • http://www.tibiaking.com/forum/topic/32952-old-editando-ip-do-client-com-hexeditor/

    Se não der, é porque você esta fazendo algo errado.
  5. Gostei
    gangul321 deu reputação a Natanael Beckman em Trade OFF - Shop Offline   
    Esse sistema disponibiliza uma negociação offline, onde você oferta um item e esse item é divulgado no site do server e qualquer player pode comprar o item utilizando um comando especificado.
     
    Crie uma arquivo .lua dentro da pasta data/talkactions/scripts com o nome auctionsystem.lua, dentro do mesmo adicione o code:
    local config = {         levelRequiredToAdd = 20,         maxOffersPerPlayer = 5,         SendOffersOnlyInPZ = true,         blocked_items = {2165, 2152, 2148, 2160, 2166, 2167, 2168, 2169, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2343, 2433, 2640, 6132, 6300, 6301, 9932, 9933}         } function onSay(cid, words, param, channel)         if(param == '') then                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")                 return true         end         local t = string.explode(param, ",")         if(t[1] == "add") then                 if((not t[2]) or (not t[3]) or (not t[4])) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")                         return true                 end                 if(not tonumber(t[3]) or (not tonumber(t[4]))) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don't set valid price or items count.")                         return true                 end                 if(string.len(t[3]) > 7 or (string.len(t[4]) > 3)) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This price or item count is too high.")                         return true                 end                 local item = getItemIdByName(t[2])                 if(not item) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.")                         return true                 end                 if(getPlayerLevel(cid) < config.levelRequiredToAdd) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don't have required (" .. config.levelRequiredToAdd .. ") level.")                         return true                 end                 if(isInArray(config.blocked_items, item)) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This item is blocked.")                         return true                 end                 if(getPlayerItemCount(cid, item) < (tonumber(t[4]))) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, you don't have this item(s).")                         return true                 end                 local check = db.getResult("SELECT `id` FROM `auction_system` WHERE `player` = " .. getPlayerGUID(cid) .. ";")                 if(check:getID() == -1) then                 elseif(check:getRows(true) >= config.maxOffersPerPlayer) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't add more offers (max. " .. config.maxOffersPerPlayer .. ")")                         return true                 end                 if(config.SendOffersOnlyInPZ) then                             if(not getTilePzInfo(getPlayerPosition(cid))) then                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You must be in PZ area when you add offert to database.")                                 return true                         end                 end                 if(tonumber(t[4]) < 1 or (tonumber(t[3]) < 1)) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to type a number higher than 0.")                         return true                 end                                 local itemcount, costgp = math.floor(t[4]), math.floor(t[3])                 doPlayerRemoveItem(cid, item, itemcount)                 db.executeQuery("INSERT INTO `auction_system` (`player`, `item_name`, `item_id`, `count`, `cost`, `date`) VALUES (" .. getPlayerGUID(cid) .. ", \"" .. t[2] .. "\", " .. getItemIdByName(t[2]) .. ", " .. itemcount .. ", " .. costgp ..", " .. os.time() .. ")")                                 doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You successfully add " .. itemcount .." " .. t[2] .." for " .. costgp .. " gps to offerts database.")         end         if(t[1] == "buy") then                 if(not tonumber(t[2])) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong ID.")                         return true                 end                 local buy = db.getResult("SELECT * FROM `auction_system` WHERE `id` = " .. (tonumber(t[2])) .. ";")                 if(buy:getID() ~= -1) then                         if(getPlayerMoney(cid) < buy:getDataInt("cost")) then                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don't have enoguh GP.")                                 buy:free()                                 return true                         end                         if(getPlayerName(cid) == getPlayerNameByGUID(buy:getDataInt("player"))) then                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, you can't buy your own items.")                                 buy:free()                                 return true                         end                         if(getPlayerFreeCap(cid) < getItemWeightById(buy:getDataInt("item_id"), buy:getDataInt("count")))then                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You try to buy a " .. buy:getDataString("item_name") .. ". It weight " .. getItemWeightById(buy:getDataInt("item_id"), buy:getDataInt("count")) .. " cap oz. and you have only " .. getPlayerFreeCap(cid) .. " oz. free capacity. Put some items to depot and try again.")                                 buy:free()                                 return true                         end                         if(isItemStackable((buy:getDataString("item_id")))) then                                 doPlayerAddItem(cid, buy:getDataString("item_id"), buy:getDataInt("count"))                         else                                 for i = 1, buy:getDataInt("count") do                                         doPlayerAddItem(cid, buy:getDataString("item_id"), 1)                                 end                         end                         doPlayerRemoveMoney(cid, buy:getDataInt("cost"))                         db.executeQuery("DELETE FROM `auction_system` WHERE `id` = " .. t[2] .. ";")                         doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You bought " .. buy:getDataInt("count") .. " ".. buy:getDataString("item_name") .. " for " .. buy:getDataInt("cost") .. " gps!")                         db.executeQuery("UPDATE `players` SET `auction_balance` = `auction_balance` + " .. buy:getDataInt("cost") .. " WHERE `id` = " .. buy:getDataInt("player") .. ";")                         buy:free()                 else                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong ID.")                 end         end         if(t[1] == "remove") then                 if((not tonumber(t[2]))) then                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong ID.")                         return true                 end                                 if(config.SendOffersOnlyInPZ) then                                             if(not getTilePzInfo(getPlayerPosition(cid))) then                                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You must be in PZ area when you remove offerts from database.")                                                 return true                                         end                 end                 local delete = db.getResult("SELECT * FROM `auction_system` WHERE `id` = " .. (tonumber(t[2])) .. ";")                         if(delete:getID() ~= -1) then                         if(getPlayerGUID(cid) == delete:getDataInt("player")) then                                 db.executeQuery("DELETE FROM `auction_system` WHERE `id` = " .. t[2] .. ";")                                 if(isItemStackable(delete:getDataString("item_id"))) then                                         doPlayerAddItem(cid, delete:getDataString("item_id"), delete:getDataInt("count"))                                 else                                         for i = 1, delete:getDataInt("count") do                                                 doPlayerAddItem(cid, delete:getDataString("item_id"), 1)                                         end                                 end                                 doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your offert has been deleted from offerts database.")                         else                                 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This is not your offert!")                         end                 delete:free()                 else                         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong ID.")                 end         end         if(t[1] == "withdraw") then                 local balance = db.getResult("SELECT `auction_balance` FROM `players` WHERE `id` = " .. getPlayerGUID(cid) .. ";")                 if(balance:getDataInt("auction_balance") < 1) then                         doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You don't have money on your auction balance.")                         balance:free()                         return true                 end                 doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You got " .. balance:getDataInt("auction_balance") .. " gps from auction system!")                 doPlayerAddMoney(cid, balance:getDataInt("auction_balance"))                 db.executeQuery("UPDATE `players` SET `auction_balance` = '0' WHERE `id` = " .. getPlayerGUID(cid) .. ";")                 balance:free()         end         return true end Em seguida em talkactions.xml adicione a tag:
    <talkaction words="!offer" event="script" value="auctionsystem.lua"/> No banco de dados execute as querys:
    CREATE TABLE `auction_system` (   `id` int(11) NOT NULL auto_increment,   `player` int(11),   `item_id` int(11),   `item_name` varchar(255),   `count` int(11),   `cost` int(11),   `date` int(11),   PRIMARY KEY  (`id`) ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; ALTER TABLE `players` ADD `auction_balance` INT( 11 ) NOT NULL DEFAULT '0'; Na pasta do seu site crie um arquivo chamado tradeoff.php, em seguida adicione o code:
    <?PHP $auctions = $SQL->query('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC')->fetchAll(); $players = 0;             $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Instruction<b></TD></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD><center><h2>Commands</h2><b>!offer add, itemName, itemPrice, itemCount</b><br /><small>example: !offer add, plate armor, 500, 1</small><br /><br /><B>!offer buy, AuctionID</b><br /><small>example: !offer buy, 1943</small><br /><br /><b>!offer remove, AuctionID</b><br /><small>example: !offer remove, 1943</small><br /><br /><b>!offer withdraw</b><br /><small>Use this command to get money for sold items.</small></center></TR></TD></TABLE><br />';     if(empty($auctions))     {         $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Auctions</b></td></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD>Currently is no one active Auction.</TD></TR></TABLE>';         $main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vDk/">vDk</a>.</small></p>';     }     else     {     foreach($auctions as $auction) {         $players++;             if(is_int($players / 2))                 $bgcolor = $config['site']['lightborder'];             else                 $bgcolor = $config['site']['darkborder'];         $cost = round($auction['cost']/1000, 2);         $content .= '<TR BGCOLOR='.$bgcolor.'><TD><center>'.$auction['id'].'</center></TD><TD><center><img src="/item_images/'.$auction['item_id'].'.gif"/></center></TD><TD><center>'.$auction['item_name'].'</center></TD><TD><center><a href="?subtopic=characters&name='.urlencode($auction['name']).'">'.$auction['name'].'</a></center></TD><TD><center>'.$auction['count'].'</center></TD><TD><center>'.$cost.'k<br /><small>'.$auction['cost'].'gp</small></center></TD><TD><center>!offer buy, '.$auction['id'].'</center></TR>';     }          $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b><center>ID</center></b></TD><TD class="white"><b><center>#</center></b></TD><TD class="white"><b><center>Item Name</center></b></TD><TD class="white"><b><center>Player</center></b></TD><TD class="white"><b><center>Count</center></b></TD><TD class="white"><b><center>Cost</center></b></td><TD class="white"><b><center>Buy</center></b></td></TR>'.$content.'</TABLE>';     $main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vdk.1553/">vDk</a>.</small></p>'; }     ?>  Em layouts.php adcione o code:
                                    <a href="?subtopic=tradeoff">                                         <div id="submenu_tradeoff" class="Submenuitem" onmouseover="MouseOverSubmenuItem(this)" onmouseout="MouseOutSubmenuItem(this)">                                                 <div class="LeftChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div>                                                 <div id="ActiveSubmenuItemIcon_tradeoff" class="ActiveSubmenuItemIcon" style="background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);"></div>                                                 <div id="ActiveSubmenuItemLabel_tradeoff" class="SubmenuitemLabel">Trade Off</div>                                                 <div class="RightChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div>                                         </div>                                 </a> Pra finalizar em index.php adicione esse code:
    case "tradeoff";    $topic = "Trade Off";    $subtopic = "tradeoff";    include("tradeoff.php"); break;
    -
    E pronto galera clica em GOSTEI e comenta no tópico.
     
  6. Gostei
    gangul321 recebeu reputação de maikons em (Resolvido)[PEDIDO] Monstros ZAO 8.6   
    Adicione (caso nao houve) no seu monster.xml ( LOCALIZADO NA PASTA DATA/MONSTER)
    <monster name="Terramite" file="terramite.xml"/> --Coloque caso esteja na pasta monster, caso tiver por exemplo na pasta monster/insects vc coloca file="insects/terramite.xml" <monster name="Lizard Dragon Priest" file="lizard dragon priest.xml"/> <monster name="NomeDoMonstro" file="local e nome do arquivo pasta/exemplo.xml"/> Aqui estao os monstros:
     
    terramite.xml
    lizard dragon priest.xml
    lizard legionnaire.xml
    lizard high guard.xml
    lizard chosen.xml
    lizard zaogun.xml
    draken warmaster.xml
    draken spellweaver.xml
     
    Jogue este na pasta DATA / MONSTER
  7. Gostei
    gangul321 deu reputação a Fir3element em Erro Ao Usar o Restart no LINUX   
    Tenta compilar com a tag --enable-root-permission
  8. Gostei
    gangul321 deu reputação a sdnjaks em (Resolvido)Otserv Cai Apos God usar magia ou atacar bicho   
    Deve ser as skills ou o level do adm que tá muito alto n?
  9. Gostei
    gangul321 recebeu reputação de Leo Zanin em Extinção dos Globais 8.6   
    Cara,
    Eu tava utilizando SERVERS 10.76 , e decidi mudar para o 8.60 global , fiquei surpresso com este aqui.
    Tem os mapas que voce disse porem sao apenas vip mas basta voce colocar para todos entrarem no tp de vip.
    Funcoes muito boas, e com cast ainda.
  10. Gostei
    gangul321 deu reputação a tiroleivi em Global FULL 8.60 | Zao, War System, Cast System...   
    Tópico Editado: coloquei - items.xml (sem DONATES)
                                                   Outfit.xml (Sem os 2 ADDONS)
                                                    Source e Distro
  11. Gostei
    gangul321 deu reputação a tiroleivi em Global FULL 8.60 | Zao, War System, Cast System...   
    Global Full
     8.60 

    Descrição
    Estarei disponibilizando um Mapa Global Full + Zao na versão 8.60, à pedido do @rozinx.kungsan.
     
    Modificações que contém no OT
    Ilhas VIPs  Cast System War System Woe Itens Vips (com Id Próprio) (Configurado e Balanceado)  NPCs Modificados   Treiner Offline  Treiners VIP Novas Hunts Invasões automáticas 2 novos addons (Soil Guardian e Entrepreneur)   E muito mais! Cliente 8.60 compatível com os addons e itens editados
    ILHA VIP (Furia)

     

    NPCS (Tibia Addon, Vende Addon por Crystal Coin)

     

    Treiners (ON e OFFline)

     
     


    Itens Vip (Donate) (ID Próprio)

     


    Cliente 8.60 Compatível com : (2 novos addons e itens editados)
    (Para alterar a Imagem do Cliente basta editar ou trocar o Tibia.pic)
     


    2 Novos Addons

         Soil Guardian
     
            Entrepreneur

    Downloads
     
     Global Full 8.60 + DB  ~~~~~~~~~    SCAN   
     Cliente 8.60 Compatível  ~~~~~        SCAN   
     Web-Site     ~~~~~~~~~~~~~         SCAN    
    Source e Distro                                                                
    items.xml Sem itens DONATE
    outfits.xml Sem os dois ADDONS
     
    OBS: A Database que vem junto com o OTSERV é compativel com o WEB-SITE acima.
    Cliente Próprio somente se for usar os itens Donate e os dois Addons que foi adicionado.

    Como Rodar o Servidor + Site
     
     
     
     
  12. Gostei
    gangul321 deu reputação a luanluciano93 em [TFS 1.x] TK Vip System   
    tileVip.lua 
    function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if player == nil then return false end return player:isVip() and true or false end  
    Certeza que tem 30 dias só?
    @andreoam, cara, o script que você postou de tile vip e add/check não tem a ver com meu script ele é uma forma diferente e não funciona com o meu. Se não sabe o que ta postando não fica spamando meu tópico ¬¬ 




    não precisa de nenhum parametro essa função, basta usar player:doVipDays que ele te retornar em dias. 
  13. Gostei
    gangul321 deu reputação a andreoam em [TFS 1.x] TK Vip System   
    @gangul321
    Para colocar em spoiler siga esses passos.




  14. Gostei
    gangul321 recebeu reputação de runeraserver em Test Lag   
    Testei esta normal , porem char esta nascendo level 1 , sem nenhum itens , corrige ai , abracos

Informação Importante

Confirmação de Termo