Ir para conteúdo
Banner com Efeitos

srjean

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    srjean recebeu reputação de Banker em First Itens - Modern Acc   
    Rhuan oque vc tem que fazer é criar os char com os seguintes nomes Sorcerer Sample, Knight Samples,  Paladin Samples, Druid Samples e Rook Sample bota ele ele numa conta qualque e ponha os itens inicias neles e deixa na posicao aonde é para nascer e o lvl certinho e depois no mysql admin voçê coloca eles na conta do acc manager! e depois de tudo sai e faça uma conta nova e veja se deu certo
     
    + rep! 
  2. Gostei
    srjean deu reputação a tddf1995 em (Resolvido)[POTION] infinito!   
    Vai em actions/scripts/liquidis/potions.lua

    Edita com bloco de notas, apaga tudo e cola isso aqui:
     
    Explicando
    healthMultiplier = 1.7 manaMultiplier = 1.7

    São as X que vai healar, tipo se a mana potion healar 200 e vc colocar 2.0 vai healar 400  
  3. Gostei
    srjean deu reputação a tddf1995 em (Resolvido)[spells]   
    Vai na pasta do seu ot clica com botão direito no arquivo config.lua, vá em editar e procure por:
    emoteSpells
     
    Deve estar assim:
    emoteSpells = false

    Mude para:
    emoteSpells = true
  4. Gostei
    srjean deu reputação a alissonfgp em (Resolvido)[PEDIDO] map zao   
    essa serve?
    https://mega.co.nz/#!vJRXXBiS!JDEC1Ca1xpSD-A5Vh4VkNEp8ygoqtKwPvoitr7KmkMg'>https://mega.co.nz/#!vJRXXBiS!JDEC1Ca1xpSD-A5Vh4VkNEp8ygoqtKwPvoitr7KmkMg
  5. Gostei
    srjean deu reputação a luanluciano93 em [help] como zerar last kills?   
    https://github.com/gesior/Gesior2012/blob/TFS-0.4_rev_3703%2B/pages/killstatistics.php
  6. Gostei
    srjean deu reputação a luanluciano93 em [HELP] não cria o char!   
  7. Gostei
    srjean deu reputação a luanluciano93 em [ERRO] first items   
    @srjean, pega aquele script inicial que eu perguntei, e coloque na pasta mods, que fica no diretório do servidor. 
  8. Gostei
    srjean deu reputação a Absolute em (Resolvido)[SCRIPT] first item !   
    Caso queira em MODS apenas:
    <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" enabled="yes"> <config name="firstitems_config"><![CDATA[ STORAGE = 30001 commonItems = { {itemid=2152, count=25, inContainer = true}, -- 25 platinum coins {itemid=2643}, -- leather boots {itemid=2173} -- aol } firstItems = { { -- Sorcerer {itemid=15645}, -- backpack {itemid=2175}, -- spellbook {itemid=2190}, -- wand of vortex {itemid=8819}, -- magician's robe {itemid=8820}, -- mage hat {itemid=2648} -- chain legs }, { -- Druid {itemid=15645}, -- backpack {itemid=2175}, -- spellbook {itemid=2182}, -- snakebite rod {itemid=8819}, -- magician's robe {itemid=8820}, -- mage hat {itemid=2648} -- chain legs }, { -- Paladin {itemid=15645}, -- backpack {itemid=2525}, -- dwarven shield {itemid=2389, count=3}, -- 3 spears {itemid=2463}, -- plate armor {itemid=2457}, -- steel helmet {itemid=2647} -- plate legs }, { -- Knight {itemid=15645}, -- backpack {itemid=2525}, -- dwarven shield {itemid=2383}, -- spike sword {itemid=2463}, -- plate armor {itemid=2457}, -- steel helmet {itemid=2647}, -- plate legs {itemid=2428} -- axe } } ]]></config> <event type="login" name="FirstItems" event="script"><![CDATA[ domodlib('firstitems_config') for _, items in ipairs(firstItems) do for _, item in ipairs(commonItems) do table.insert(items, item) end end function onLogin(cid) if getPlayerGroupId(cid) < 4 and getPlayerStorageValue(cid, STORAGE) < 1 and firstItems[getPlayerVocation(cid)] then for _, v in ipairs(firstItems[getPlayerVocation(cid)]) do if isItemContainer(v.itemid) then backpack = doPlayerAddItem(cid, v.itemid, 1) elseif v.inContainer then doAddContainerItem(backpack, v.itemid, v.count or 1) else doPlayerAddItem(cid, v.itemid, v.count or 1) end end setPlayerStorageValue(cid, STORAGE, 1) end return true end ]]></event> </mod>
  9. Gostei
    srjean deu reputação a Cat em (Resolvido)[SCRIPT] first item !   
    http://www.tibiaking.com/forum/topic/8817-mod-first-itens-por-vocacao/
    http://www.tibiaking.com/forum/topic/22089-script-de-first-items/
    http://www.tibiaking.com/forum/topic/12856-first-itens/
     
    cara tem um monte
  10. Gostei
    srjean deu reputação a luanluciano93 em Como tirar vocações do site?   
    Muda isso ai pra isso:
    $config['site']['newchar_vocations'][0] = array(0 => 'Rooker Sample'); $config['site']['newchar_vocations'][0] = array(0 => 'Rooker Sample'); @alexxxxxxx, é proibido pedir ou fornecer ajuda por qualquer outro meio que não seja o fórum, LEIA AS REGRAS! 
  11. Gostei
    srjean recebeu reputação de EliteKin em Erro lvl   
    Bom queria saber como mudo o lvl e a localização aonde nasce o player novo pois uso MySQL e quando crio o char ele nasce no lvl 10 e no templo de Thais queria mudar isso e por pra nascer no lvl 1 sem vocação, e tbm nascer em rook alguém pode me ajudar?
  12. Gostei
    srjean deu reputação a Absolute em (Resolvido)Localização   
    Troque por:
    <?php $cache_sec = 10; $info = array( 0 => array('Brazil', '15/07/2014') ); $id=0; if(isset($_POST['world'])) { $f = null; foreach($config['site']['worlds'] as $k => $v) if($v == $_POST['world']) { $f = true; $id = $k; break; } if(!$f) $_POST['world'] = $config['site']['worlds'][0]; } else $_POST['world'] = $config['site']['worlds'][0]; $order = 'name_asc'; if(isset($_REQUEST['order']) && in_array($_REQUEST['order'], array('name_desc', 'level_asc','level_desc','vocation_asc','vocation_desc'))) $order = $_REQUEST['order']; if(count($config['site']['worlds']) > 1) { $main_content = '<form action="?subtopic=whoisonline" method="post"> <div class="TableContainer"> <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">World Selection</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"> <tr> <td style="vertical-align:middle" class="LabelV150">World Name:</td> <td style="width:170px"> <select size="1" name="world" style="width:165px">'; foreach($config['site']['worlds'] as $v) $main_content .= '<option value="'.$v.'"'.($v == $_POST['world'] ? ' selected="selected"' : '').'>'.$v.'</option>'; $main_content .= ' </select> </td> <td style="text-align:left"> <div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)"> <div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div> <input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"/> </div> </div> </td> </tr> </table> </div> </td> </tr> </table> </div> </form><br/> '; } $main_content .= '<div class="TableContainer"> <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">World Information</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"> <tr> <td class="LabelV150">Status:</td> <td>Online</td> </tr> <tr> <td class="LabelV150">Players Online:</td> <td>'; $f = 'cache/whoisonline-'.$_POST['world'].'-'.$order.'.tmp'; $ff = 'cache/whoisonline-'.$_POST['world'].'-record.tmp'; if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) { $cp = file_get_contents($f); $cached = null; if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) { $e = explode('|', file_get_contents($ff)); $n = $e[0]; $c = $e[1]; $cached = true; } } else { $cp = ''; $n = 0; $q = 'SELECT name,level,vocation,promotion FROM players WHERE world_id='.$id.' AND online=1'; if(in_array($order, array('name_asc','name_desc','level_asc','level_desc'))) $q .= ' ORDER BY '.str_replace('_', ' ', $order); if(in_array($order, array('vocation_asc','vocation_desc'))) { $a = array(); $q .= ' ORDER BY level desc'; foreach($SQL->query($q)->fetchAll() as $p) $a[] = array($p['name'], $p['level'], $vocation_name[$id][$p['promotion']][$p['vocation']]); function cmp($a, $b) { return $a[2][0] == $b[2][0] ? 0 : $GLOBALS['order'] == 'vocation_asc' ? ($a[2][0] < $b[2][0] ? -1 : 1) : ($a[2][0] > $b[2][0] ? -1 : 1); } usort($a, 'cmp'); foreach($a as $p) { $n++; $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td style="width:70%;text-align:left"><a href="?subtopic=characters&name='.urlencode($p[0]).'">'.$p[0].'</a></td><td style="width:10%">'.$p[1].'</td><td style="width:20%">'.str_replace(' ','*',$p[2]).'</td></tr>'; } } else { $l = array(); foreach($SQL->query($q)->fetchAll() as $p) { $n++; $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td style="width:70%;text-align:left">'; if($order == 'name_asc') { $tmp = strtoupper($p['name'][0]); if(!in_array($tmp, $l)) { $l[] = $tmp; $cp .= '<a name="'.$tmp.'"></a>'; } } $cp .= '<a href="?subtopic=characters&name='.urlencode($p['name']).'">'.$p['name'].'</a></td><td style="width:10%">'.$p['level'].'</td><td style="width:20%">'.str_replace(' ','*',$vocation_name[$id][$p['promotion']][$p['vocation']]).'</td></tr>'; } } file_put_contents($f, $cp); } if(!$cached) { $r=$SQL->query('SELECT MAX(record) as r,MAX(timestamp) as t FROM server_record WHERE world_id='.$id)->fetch(); $c = $r['r'].' players (on '.date('M*d*Y,*H:i:s*T', $r['t']).')'; file_put_contents($ff, $n.'|'.$c); } $main_content .= $n.'</td> </tr> <tr> <td class="LabelV150">Online Record:</td> <td>'.$c.'</td> </tr> <tr> <td class="LabelV150">Creation Date:</td> <td>'.$info[$id][1].'</td> </tr> <tr> <td class="LabelV150">Location:</td> <td>'.$info[$id][0].'</td> </tr> <tr> <td class="LabelV150">PvP Type:</td> <td>'; $w=strtolower($config['server']['worldType']); if(in_array($w, array('pvp','2','normal','open','openpvp'))) $main_content .= 'Open PvP'; elseif(in_array($w, array('no-pvp','nopvp','non-pvp','nonpvp','1','safe','optional','optionalpvp'))) $main_content .= 'Optional PvP'; elseif(in_array($w, array('pvp-enforced','pvpenforced','pvp-enfo','pvpenfo','pvpe','enforced','enfo','3','war','hardcore','hardcorepvp'))) $main_content .= 'Hardcore PvP'; $main_content .= '</td> </tr> </table> </div> </td> </tr> </table> </div><br/> <div class="TableContainer"> <table class="Table2" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Players Online'; if($order == 'name_asc') $main_content .= '<span class="TableHeadlineNavigation"> [ <a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a> <a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a> <a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a> <a href="#Y">Y</a> <a href="#Z">Z</a> ]**</span>'; $main_content .= '</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr class="LabelH"><td style="text-align:left;width:90%">Name**<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=name_'.($order == 'name_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'name_asc' ? 'content/order_desc' : ($order == 'name_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td>Level**<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=level_'.($order == 'level_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'level_asc' ? 'content/order_desc' : ($order == 'level_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td>Vocation**<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=vocation_'.($order == 'vocation_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'vocation_asc' ? 'content/order_desc' : ($order == 'vocation_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td></tr>'.$cp.' </table> </div> </table></div></td></tr><br/><form action="?subtopic=characters" method="post"><div class="TableContainer"> <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Search Character</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr><td style="vertical-align:middle" class="LabelV150">Character Name:</td><td style="width:170px"><input style="width:165px" name="name" value="" size="29" maxlength="29"/></td><td><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)"><div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"></div></div></td></tr> </table> </div> </table></div></td></tr></form></center>'; ?>
  13. Gostei
    srjean deu reputação a Absolute em (Resolvido)Coluna fora do lugar   
    Vai no seu phpmyadmin e execute no sql:
    INSERT INTO `z_news_tickers` (`date`, `author`, `image_id`, `text`, `hide_ticker`) VALUES (1274867862, 1, 1, 'Absolute é uma Delicia!', 0); @Erro: Isso ocorre porque está sem news ticker.

Informação Importante

Confirmação de Termo