Ir para conteúdo

jvls

Campones
  • Total de itens

    13
  • Registro em

  • Última visita

Posts postados por jvls

  1. Os clones nao aparecem quando o player usa a magia...

     

    clonegiru.lua

    Spoiler

    function onCastSpell(cid, var)
        
        local cloth, health, maxhealth, summons = getCreatureOutfit(cid), getCreatureHealth(cid), getCreatureMaxHealth(cid), getCreatureSummons(cid)
        local MaximoSummon = 1

        if(table.maxn(summons) < MaximoSummon) then 
            local pos = getPlayerPosition(cid)
            local bpos = {x=pos.x+2, y = pos.y, z = pos.z}
            local farAwayPos = {x = 590, y = 464, z = 7}
            
            -- SUMMON 1
            local Teste1 = doCreateMonster("Clone Giru", farAwayPos)
            doConvinceCreature(cid, Teste1)
            addEvent(doTeleportThing, 100, Teste1, pos)
            
            addEvent(doSendMagicEffect, 100, pos, 10)
            return true    
        end
        
        return true    
    end

     

    Clone Giru.xml

    Spoiler

    <?xml version="1.0" encoding="UTF-8"?>
    <monster name="Giru" nameDescription="an Giru" race="energy" experience="0" speed="1000" manacost="1000">
        <health now="2000000" max="2000000"/>
        <look type="450"/>
        <strategy attack="100" defense="0"/>
        <flags>
            <flag summonable="1"/>
            <flag attackable="1"/>
            <flag hostile="1"/>
            <flag illusionable="1"/>
            <flag convinceable="1"/>
            <flag pushable="1"/>
            <flag canpushitems="1"/>
            <flag canpushcreatures="1"/>
            <flag targetdistance="1"/>
            <flag staticattack="90"/>
            <flag runonhealth="0"/>
        </flags>
        <attacks>
            <attack name="melee" interval="1000" min="-5000" max="-10000"/>
            <attack name="Bomb" interval="2000" chance="50" min="-30000" max="-35000"/>
        </attacks>
        <defenses armor="0" defense="0">
        </defenses>
        <immunities>
            <immunity physical="0"/>
            <immunity energy="0"/>
            <immunity fire="0"/>
            <immunity poison="0"/>
            <immunity lifedrain="0"/>
            <immunity paralyze="0"/>
            <immunity outfit="1"/>
            <immunity invisible="0"/>
        </immunities>
    </monster>

     

  2. 50 minutos atrás, Yan Liima disse:

    Na pasta do seu creaturescript vai no xml e me mande a TAG do receive... Abre o script também e poste aqui(creio que seja o mail.lua)

    	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
    Spoiler

    function onReceiveMail(cid, sender, item, openBox)
        if(openBox) then
            doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "New mail has arrived.")
        end

        return true
    end

     

  3. Meu Config :

     

    <?php

    /*These configs are neccessary in order to make Modern AAC work.*/
    /*Database information*/
    $config['database']['host'] = "127.0.0.1";
    $config['database']['login'] = "root";
    $config['database']['password'] = "";
    $config['database']['database'] = "naruto";
    /*Name of server*/
    $config['server_name'] = "Naruto High";
    // Sistema automatico Pagseguro by tatu_hunter
    // Seu email cadastrado no pagseguro
    $config['pagseguro']['email'] = '';
    // Nome do Produto
    $config['pagseguro']['produtoNome'] = 'Pontos VIP';
    // Valor unitario do produto ou seja valor de cada ponto
    // Exemplo de valores
    // 100 = R$ 1,00
    // 235 = R$ 2,35
    // 4254 = R$ 42,54
    $config['pagseguro']['produtoValor'] = '100';
    // Token gerado no painel do pagseguro
    $config['pagseguro']['token'] = 'EFEB3B4CA8914CB3963C3695A6947965';
    /*End of most important configs*/
    /*List of cities, declare by using city ID and name eg. 2=>"Eternia City" etc.*/
    $config['cities'] = array(1=>'Konoha Gakure');
    /* Simple ticket system */
    $config['newsTickerLimit'] = 4;
    $config['newsTickerWords'] = 4;
    /*List of vocation available to choose when creating new character*/
    $config['vocations'] = array(1=>"Naruto", 13=>"Sasuke", 25=>"Lee", 34=>"Sakura", 50=>"Gaara", 70=>"Neji", 90=>"Kiba", 110=>"Shikamaru", 130=>"Hinata", 150=>"Tenten", 170=>"Itachi", 190=>"Killer Bee");
    /*List of vocation that exists on server*/
    $config['server_vocations'] = array(1=>"Naruto", 13=>"Sasuke", 25=>"Lee", 34=>"Sakura", 50=>"Gaara", 70=>"Neji", 90=>"Kiba", 110=>"Shikamaru", 130=>"Hinata", 150=>"Tenten", 170=>"Itachi", 190=>"Killer Bee");
    /*List of promotions, the key is vocation without promotion*/
    $config['promotions'] = $config['promotions'] = array(1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight");
    /*Resitricted names*/
    $config['restricted_names'] = array("god", "gamemaster", "admin", "account manager");
    /*Names with any of this value cannot be created*/
    $config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin");
    /*ID and names of worlds*/
    $config['worlds'][0] = "High";
    // Enable multiworld by uncommenting this
    //$config['worlds'][1] = "Second World";
    /* Addresses of each server */
    $config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'%VAPUS_ID%');
    // Enable multiworld by uncommenting this
    //$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX');
    /*Groups that exists on server*/
    $config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"God");
    /*Names of vocations as in database as samples. First key is world id and second vocation id.*/
    $config['newchar_vocations'][0][1] = "Naruto Sample";
    $config['newchar_vocations'][0][13] = "Sasuke Sample";
    $config['newchar_vocations'][0][25] = "Lee Sample";
    $config['newchar_vocations'][0][34] = "Sakura Sample";
    $config['newchar_vocations'][0][50] = "Gaara Sample";
    $config['newchar_vocations'][0][70] = "Neji Sample";
    $config['newchar_vocations'][0][90] = "Kiba Sample";
    $config['newchar_vocations'][0][110] = "Shikamaru Sample";
    $config['newchar_vocations'][0][130] = "Hinata Sample";
    $config['newchar_vocations'][0][150] = "Tenten Sample";
    $config['newchar_vocations'][0][170] = "Itachi Sample";
    $config['newchar_vocations'][0][190] = "Bee Sample";
    $config['newchar_vocations'][1][1] = "Naruto Sample";
    $config['newchar_vocations'][13][13] = "Sasuke Sample";
    $config['newchar_vocations'][25][25] = "Lee Sample";
    $config['newchar_vocations'][34][34] = "Sakura Sample";
    $config['newchar_vocations'][50][50] = "Gaara Sample";
    $config['newchar_vocations'][70][70] = "Neji Sample";
    $config['newchar_vocations'][90][90] = "Kiba Sample";
    $config['newchar_vocations'][110][110] = "Shikamaru Sample";
    $config['newchar_vocations'][130][130] = "Hinata Sample";
    $config['newchar_vocations'][150][150] = "Tenten Sample";
    $config['newchar_vocations'][170][170] = "Itachi Sample";
    $config['newchar_vocations'][190][190] = "Bee Sample";
    /*Don't show chaarcters with group id higher than*/
    $config['players_group_id_block'] = 3;
    /*Min. level to create guild*/
    $config['levelToCreateGuild'] = 100;
    /*Limit of latest deaths*/
    $config['latestdeathlimit'] = 20;
    /*Limit news per page*/
    $config['newsLimit'] = 10;
    /*Limit comments per page*/
    $config['commentLimit'] = 10;
    /*Template that should be used on website*/
    $config['layout'] = "NQO-By Mateushurley";
    /*Title of a website*/
    $config['title'] = "NTOHigh sua aventura começa!";
    /*Premdays given when creating new account.*/
    $config['premDays'] = 1;
    /*Positions to start when creating character*/
    $startPos['x'] = 1027;
    $startPos['y'] = 912;
    $startPos['z'] = 5;
    /*Trigger password for scaffolding system.*/
    $config['scaffolding_trigger'] = "password";
    /*Minimum page access for admin priviliges*/
    $config['adminAccess'] = 5;
    /*Max threads per page*/
    $config['threadsLimit'] = 10;
    /*Max posts per page in a thread*/
    $config['postsLimit'] = 10;
    /*Time between posts*/
    $config['timeBetweenPosts'] = 30;
    /*Limit of submissions per page in bug tracker*/
    $config['bugtrackerPageLimit'] = 10;
    /*Limit of houses on listing page*/
    $config['housesLimit'] = 10;
    /*Level to buy house*/
    $config['houseLevel'] = 50;
    /*Lenght of housing auction in seconds*/
    $config['houseAuctionTime'] = 604800;
    /*Default timezone*/
    $config['timezone'] = "Europe/London";
    /*Allowed IPs to use command prompt in admin panel*/
    $config['allowedToUseCMD'] = array("127.0.0.1", "localhost");
    /* Path to your UI theme */
    $config['UItheme'] = "smoothness/jquery-ui-1.7.2.custom.css";
    /*Destination to guilds logos folder, must be writable.*/
    $config['uploads'] = "/public/guild_logos/";
    /* Status timeout (recheck if server is online) */
    $config['statusTimeout'] = 1 + (5 * 60); // Default to 5min
    /* Wrap words longer than */
    $config['wrap_words'] = 80;
    /*Limit comments per page in videos view*/
    $config['videoCommentsLimit'] = 10;
    /*Limit of videos to show while searching*/
    $config['videoSearchLimit'] = 10;
    /*Maximum amount of characters per account*/
    $config['maxCharacters'] = 10;
    /*Limit of inbox/outbox messages per page*/
    $config['messagesLimit'] = 10;
    /*Amount of names to be saved when looking for characters*/
    $config['characterSearchLimit'] = 10;
    /*Switch on Admin Window*/
    $config['adminWindow'] = true;
    /*Integrate facebook to AAC? (TRUE/FALSE)*/
    $config['facebook'] = true;
    /*Max amount of saved actions*/
    $config['actionsCount'] = 15;
    /*Player per page in hishscore */
    $config['highscore']['per_page'] = 15;
    /*Total players to show in highscores*/
    $config['highscore']['total'] = 300;
    /* Guild board creation */
    $config['guildboardTitle'] = "Guildboard for %NAME%";
    $config['guildboardDescription'] = "This is the guildboard for the great %NAME% guild!";
    /* VAPus Settings */
    $config['VAPusGraphStep'] = 1; // step * update time = time steps on graph, etc 6 with an update time of 10min = one hour
    //Enable delay between creating characters
    $config['characterDelay'] = true;
    //Time between creating characters in seconds
    $config['characterDelayTime'] = 240;
    //Enable delay between creating accounts
    $config['accountDelay'] = true;
    //Time between creating accounts in seconds
    $config['accountDelayTime'] = 240;
    //Account restrictions
    $config['restrictedAccounts'] = array('1');
    ############EVENTS############
    # Event fired just after main framework to gain access to all features
    $config['onLoad'] = array();
    # Event fired after all finished loading no headers should be sent
    $config['onReady'] = array();
    #############################
    /*
    ######################################################################################################################
    * Do not touch any of the configs below if you are not 100% sure what you are doing!
    * These are config to the engine, usually the default ones works well so no change needed for unexperienced users.
    ######################################################################################################################
    */
    // Tiny hack to figure if we use Windows or not.
    if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') @define('USING_WINDOWS', 1);
    else @define('USING_WINDOWS', 0);
    if(USING_WINDOWS) $config['engine']['PHPversion'] = "5.3.0";
    else $config['engine']['PHPversion'] = "5.3.0";
    $config['engine']['indexPage'] = "index.php";
    $config['engine']['uri_protocol'] = "AUTO";
    $config['engine']['charSET'] = "UTF-8";
    $config['engine']['enable_hooks'] = FALSE;
    $config['engine']['permitted_uri_chars'] = "a-z 0-9~%.:_\-'+";
    $config['engine']['enable_query_strings'] = FALSE;
    $config['engine']['global_xss_filtering'] = TRUE;
    $config['engine']['compress_output'] = FALSE;
    $config['engine']['proxy_ip'] = "";
    $config['engine']['autoload_libraries'] = array();
    $config['engine']['autoload_helper'] = array();
    $config['engine']['autoload_plugin'] = array();
    $config['engine']['autoload_config'] = array();
    $config['engine']['autoload_model'] = array();
    $config['engine']['default_controller'] = "home";
    $config['engine']['platforms'] = array('windows nt 6.0' => 'Windows Longhorn', 'windows nt 5.2' => 'Windows 2003', 'windows nt 5.0' => 'Windows 2000', 'windows nt 5.1' => 'Windows XP', 'windows nt 4.0' => 'Windows NT 4.0', 'winnt4.0' => 'Windows NT 4.0', 'winnt 4.0' => 'Windows NT', 'winnt' => 'Windows NT', 'windows 98' => 'Windows 98', 'win98' => 'Windows 98', 'windows 95' => 'Windows 95', 'win95' => 'Windows 95', 'windows' => 'Unknown Windows OS', 'os x' => 'Mac OS X', 'ppc mac' => 'Power PC Mac', 'freebsd' => 'FreeBSD', 'ppc' => 'Macintosh', 'linux' => 'Linux', 'debian' => 'Debian', 'sunos' => 'Sun Solaris', 'beos' => 'BeOS', 'apachebench' => 'ApacheBench', 'aix' => 'AIX', 'irix' => 'Irix', 'osf' => 'DEC OSF', 'hp-ux' => 'HP-UX', 'netbsd' => 'NetBSD', 'bsdi' => 'BSDi', 'openbsd' => 'OpenBSD', 'gnu' => 'GNU/Linux', 'unix' => 'Unknown Unix OS' );
    $config['engine']['mobiles'] = array('mobileexplorer' => 'Mobile Explorer', 'palmsource' => 'Palm', 'palmscape' => 'Palmscape', 'motorola' => "Motorola", 'nokia' => "Nokia", 'palm' => "Palm", 'iphone' => "Apple iPhone", 'ipod' => "Apple iPod Touch", 'sony' => "Sony Ericsson", 'ericsson' => "Sony Ericsson", 'blackberry' => "BlackBerry", 'cocoon' => "O2 Cocoon", 'blazer' => "Treo", 'lg' => "LG", 'amoi' => "Amoi", 'xda' => "XDA", 'mda' => "MDA", 'vario' => "Vario", 'htc' => "HTC", 'samsung' => "Samsung", 'sharp' => "Sharp", 'sie-' => "Siemens", 'alcatel' => "Alcatel", 'benq' => "BenQ", 'ipaq' => "HP iPaq", 'mot-' => "Motorola", 'playstation portable' => "PlayStation Portable", 'hiptop' => "Danger Hiptop", 'nec-' => "NEC", 'panasonic' => "Panasonic", 'philips' => "Philips", 'sagem' => "Sagem", 'sanyo' => "Sanyo", 'spv' => "SPV", 'zte' => "ZTE", 'sendo' => "Sendo", 'symbian' => "Symbian", 'SymbianOS' => "SymbianOS", 'elaine' => "Palm", 'palm' => "Palm", 'series60' => "Symbian S60", 'windows ce' => "Windows CE", 'obigo' => "Obigo", 'netfront' => "Netfront Browser", 'openwave' => "Openwave Browser", 'mobilexplorer' => "Mobile Explorer", 'operamini' => "Opera Mini", 'opera mini' => "Opera Mini", 'digital paths' => "Digital Paths", 'avantgo' => "AvantGo", 'xiino' => "Xiino", 'novarra' => "Novarra Transcoder", 'vodafone' => "Vodafone", 'docomo' => "NTT DoCoMo", 'o2' => "O2", 'mobile' => "Generic Mobile", 'wireless' => "Generic Mobile", 'j2me' => "Generic Mobile", 'midp' => "Generic Mobile", 'cldc' => "Generic Mobile", 'up.link' => "Generic Mobile", 'up.browser' => "Generic Mobile", 'smartphone' => "Generic Mobile", 'cellphone' => "Generic Mobile" );
    $config['engine']['robots'] = array('googlebot' => 'Googlebot', 'msnbot' => 'MSNBot', 'slurp' => 'Inktomi Slurp', 'yahoo' => 'Yahoo', 'askjeeves' => 'AskJeeves', 'fastcrawler' => 'FastCrawler', 'infoseek' => 'InfoSeek Robot 1.0', 'lycos' => 'Lycos' );
    $config['engine']['browsers'] = array('Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', 'Shiira' => 'Shiira', 'Firefox' => 'Firefox', 'Chimera' => 'Chimera', 'Phoenix' => 'Phoenix', 'Firebird' => 'Firebird', 'Camino' => 'Camino', 'Netscape' => 'Netscape', 'OmniWeb' => 'OmniWeb', 'Safari' => 'Safari', 'Mozilla' => 'Mozilla', 'Konqueror' => 'Konqueror', 'icab' => 'iCab', 'Lynx' => 'Lynx', 'Links' => 'Links', 'hotjava' => 'HotJava', 'amaya' => 'Amaya', 'IBrowse' => 'IBrowse' );
    $config['engine']['mimes'] = array('hqx' => 'application/mac-binhex40', 'cpt' => 'application/mac-compactpro', 'csv' => array ('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel' ), 'bin' => 'application/macbinary', 'dms' => 'application/octet-stream', 'lha' => 'application/octet-stream', 'lzh' => 'application/octet-stream', 'exe' => 'application/octet-stream', 'class' => 'application/octet-stream', 'psd' => 'application/x-photoshop', 'so' => 'application/octet-stream', 'sea' => 'application/octet-stream', 'dll' => 'application/octet-stream', 'oda' => 'application/oda', 'pdf' => array ('application/pdf', 'application/x-download' ), 'ai' => 'application/postscript', 'eps' => 'application/postscript', 'ps' => 'application/postscript', 'smi' => 'application/smil', 'smil' => 'application/smil', 'mif' => 'application/vnd.mif', 'xls' => array ('application/excel', 'application/vnd.ms-excel', 'application/msexcel' ), 'ppt' => array ('application/powerpoint', 'application/vnd.ms-powerpoint' ), 'wbxml' => 'application/wbxml', 'wmlc' => 'application/wmlc', 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dxr' => 'application/x-director', 'dvi' => 'application/x-dvi', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'php' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'phtml' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'js' => 'application/x-javascript', 'swf' => 'application/x-shockwave-flash', 'sit' => 'application/x-stuffit', 'tar' => 'application/x-tar', 'tgz' => 'application/x-tar', 'xhtml' => 'application/xhtml+xml', 'xht' => 'application/xhtml+xml', 'zip' => array ('application/x-zip', 'application/zip', 'application/x-zip-compressed' ), 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mpga' => 'audio/mpeg', 'mp2' => 'audio/mpeg', 'mp3' => array ('audio/mpeg', 'audio/mpg' ), 'aif' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'ra' => 'audio/x-realaudio', 'rv' => 'video/vnd.rn-realvideo', 'wav' => 'audio/x-wav', 'bmp' => 'image/bmp', 'gif' => 'image/gif', 'jpeg' => array ('image/jpeg', 'image/pjpeg' ), 'jpg' => array ('image/jpeg', 'image/pjpeg' ), 'jpe' => array ('image/jpeg', 'image/pjpeg' ), 'png' => array ('image/png', 'image/x-png' ), 'tiff' => 'image/tiff', 'tif' => 'image/tiff', 'css' => 'text/css', 'html' => 'text/html', 'htm' => 'text/html', 'shtml' => 'text/html', 'txt' => 'text/plain', 'text' => 'text/plain', 'log' => array ('text/plain', 'text/x-log' ), 'rtx' => 'text/richtext', 'rtf' => 'text/rtf', 'xml' => 'text/xml', 'xsl' => 'text/xml', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'mpe' => 'video/mpeg', 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'word' => array ('application/msword', 'application/octet-stream' ), 'xl' => 'application/excel', 'eml' => 'message/rfc822' );
    $config['engine']['doctypes'] = array('xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' 'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' 'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' 'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">' 'html5' => '<!DOCTYPE html>', 'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' 'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">' 'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">' );
    $config['engine']['url_suffix'] = ".ide";
    $config['engine']['sess_cookie_name'] = 'ci_session';
    $config['engine']['sess_expiration'] = 7200;
    $config['engine']['sess_encrypt_cookie'] = FALSE;
    $config['engine']['sess_use_database'] = FALSE;
    $config['engine']['sess_table_name'] = 'ci_sessions';
    $config['engine']['sess_match_ip'] = FALSE;
    $config['engine']['sess_match_useragent'] = TRUE;
    $config['engine']['sess_time_to_update'] = 300;
    $config['engine']['rewrite_short_tags'] = false;
    if(USING_WINDOWS == 1) {
    //Load management is not available on Windows.
    $config['engine']['loadManagement'] = false;
    } else {
    //Load management is a maximum ammount of processes website is using. If the website is flooded it will drop connection with users outside this amount.
    $config['engine']['loadManagement'] = false;
    $config['engine']['maxLoad'] = 60;
    }
    /*
    |--------------------------------------------------------------------------
    | Error Logging Threshold
    |--------------------------------------------------------------------------
    |
    | If you have enabled error logging, you can set an error threshold to
    | determine what gets logged. Threshold options are:
    | You can enable error logging by setting a threshold over zero. The
    | threshold determines what gets logged. Threshold options are:
    |
    | 0 = Disables logging, Error logging TURNED OFF
    | 1 = Error Messages (including PHP errors)
    | 2 = Debug Messages
    | 3 = Informational Messages
    | 4 = All Messages
    |
    | For a live site you'll usually only enable Errors (1) to be logged otherwise
    | your log files will fill up very fast.
    |
    */
    $config['engine']['log_threshold'] = 0;
    #DON'T TOUCH! DECLARING CONSTANS!
    @DEFINE('LEVELTOCREATEGUILD', $config['levelToCreateGuild']);
    @DEFINE('PREMDAYS', $config['premDays']);
    @DEFINE('HOSTNAME', $config['database']['host']);
    @DEFINE('USERNAME', $config['database']['login']);
    @DEFINE('PASSWORD', $config['database']['password']);
    @DEFINE('DATABASE', $config['database']['database']);
    @DEFINE('WEBSITE', $config['website']);
    ?>

  4. Galera meu site de nto tem um pequeno problema quando vou criar uma conta e chego na parte de escolher personagem simplesmente não aparece as vocaçoes somente : sorcerer , paladin , druid , knight (O SERVIDOR É DE NARUTO) não sei o que faze

     

    Obs:Site é Modern AAC

     

    Print

    7gy1.png

  5. Tipo O Site Funfou Certinho Mais na Hora de Abrir o Servidor ele naum fica on ajuda ai plx vou manda a config.lua aqui !

     

     

    -- The Forgotten Server Config

    -- Account manager

    accountManager = false

    namelockManager = true

    newPlayerChooseVoc = false

    newPlayerSpawnPosX = 49

    newPlayerSpawnPosY = 73

    newPlayerSpawnPosZ = 7

    newPlayerTownId = 1

    newPlayerLevel = 5

    newPlayerMagicLevel = 0

    generateAccountNumber = false

     

    lightInterval = 7500

    -- a cada "lightInterval" ms vai passar 1 minuto

    lightChange = 1

    -- quanto de light ira alterar durante passagem de dia/noite

    startupTime = 351

    -- quantas horas serão ao ligar o server (360 = 6:00 a.m, 1080 = 6:00 p.m, varia de 0 a 1440)

    startupLight = 40

    -- quanto de light vai estar ao ligar o server

     

    limitPokeballs = 6 -- deprecated

    happyDropTime = 300 -- a cada "happyDropTime" segundos o pokemon vai perder HAPPINESS -- padrao 30

    minHappinessEffectDelay = 25 -- a cada min de "happinessEffectDelay" segundos o pokemon vai mostrar a felicidade

    maxHappinessEffectDelay = 40 -- a cada min de "happinessEffectDelay" segundos o pokemon vai mostrar a felicidade

    PokemonStageVeryHappy = 215 -- com quanto de happy o poke precisa pra estar muito feliz

    PokemonStageHappy = 160 -- ... pra estar feliz

    PokemonStageOK = 110 -- ... pra estar normal

    PokemonStageSad = 50 -- ... pra estar triste

    PokemonStageMad = 0 -- ... pra estar bravo

    maximumHunger = 200 -- maior fome possivel -- padrao 120

    stateHunger = 150 -- 19estagio que precisa estar pra ficar com fome -- padrao 100

    increaseHunger = 0 -- a cada X segundos (xml do monstro) aumenta o hunger em "increaseHunger" -- padrao 7

    decreaseHappy = 0 -- HAPPINESS que o pokemon vai perder a cada "happyDropTime" --padrao 1

    decreaseHungryHappy = 4 -- 3HAPPINESS a mais que o pokemon vai perder se estiver com fome

    useTeleportWithFly = false

    dropHappyDuringBattles = false -- HAPPINESS vai cair enquanto estiver batalhando ? true / false

     

    allowBlockSpawn = true

     

    rateGymSpellInterval = 0.68

     

    -- Unjustified kills

    -- NOTE: *Banishment and *BlackSkull variables are >summed up<

    -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their

    -- *RedSkull equivalents.

    -- Auto banishing works only if useBlackSkull set to negative.

    -- advancedFragList is not advised if you use huge frags

    -- requirements.

    redSkullLength = 30 * 24 * 60 * 60

    blackSkullLength = 45 * 24 * 60 * 60

    dailyFragsToRedSkull = 3

    weeklyFragsToRedSkull = 5

    monthlyFragsToRedSkull = 10

    dailyFragsToBlackSkull = dailyFragsToRedSkull

    weeklyFragsToBlackSkull = weeklyFragsToRedSkull

    monthlyFragsToBlackSkull = monthlyFragsToRedSkull

    dailyFragsToBanishment = dailyFragsToRedSkull

    weeklyFragsToBanishment = weeklyFragsToRedSkull

    monthlyFragsToBanishment = monthlyFragsToRedSkull

    blackSkulledDeathHealth = 40

    blackSkulledDeathMana = 0

    useBlackSkull = true

    useFragHandler = true

    advancedFragList = false

     

    -- Banishments

    -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment

    -- killsBanLength works only if useBlackSkull option is disabled.

    notationsToBan = 3

    warningsToFinalBan = 4

    warningsToDeletion = 5

    banLength = 7 * 24 * 60 * 60

    killsBanLength = 7 * 24 * 60 * 60

    finalBanLength = 30 * 24 * 60 * 60

    ipBanishmentLength = 1 * 24 * 60 * 60

    broadcastBanishments = true

    maxViolationCommentSize = 200

    violationNameReportActionType = 2

    autoBanishUnknownBytes = false

     

    -- Battle

    -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.

    -- loginProtectionPeriod is the famous Tibia anti-magebomb system.

    -- deathLostPercent set to nil enables manual mode.

    worldType = "pvp"

    protectionLevel = 1000

    pvpTileIgnoreLevelAndVocationProtection = true

    pzLocked = 18 * 1000

    huntingDuration = 60 * 1000

    criticalHitChance = 7

    criticalHitMultiplier = 1

    displayCriticalHitNotify = false

    removeWeaponAmmunition = true

    removeWeaponCharges = true

    removeRuneCharges = true

    whiteSkullTime = 15 * 60 * 1000

    noDamageToSameLookfeet = false

    showHealingDamage = false

    showHealingDamageForMonsters = false

    fieldOwnershipDuration = 5 * 1000

    stopAttackingAtExit = false

    oldConditionAccuracy = false

    loginProtectionPeriod = 10 * 1000

    deathLostPercent = 1

    stairhopDelay = 0 * 1000

    pushCreatureDelay = 1 * 1000

    deathContainerId = 0

    gainExperienceColor = 215

    addManaSpentInPvPZone = true

    squareColor = 0

    allowFightback = true

     

    -- Connection config

    worldId = 0

    ip = "pokemonud.zapto.org"

    bindOnlyConfiguredIpAddress = false

    loginPort = 7171

    gamePort = 7172

    adminPort = 7171

    statusPort = 7171

    loginTries = 10

    retryTimeout = 5 * 1000

    loginTimeout = 60 * 1000

    maxPlayers = 50 -- codificado e limitado para 7

    motd = "Welcome to pokemon dash!"

    displayOnOrOffAtCharlist = false

    onePlayerOnlinePerAccount = true

    allowClones = true

    serverName = "Pokemon Dash"

    loginMessage = "Welcome to pokemon dash server!"

    statusTimeout = 5 * 60 * 1000

    replaceKickOnLogin = true

    forceSlowConnectionsToDisconnect = false

    loginOnlyWithLoginServer = false

    premiumPlayerSkipWaitList = true

     

    -- Database

    -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.

    -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.

    sqlType = "mysql"

    sqlHost = "localhost"

    sqlPort = 3306

    sqlUser = "root"

    sqlPass = ""

    sqlDatabase = "pokemonud"

    sqlFile = "forgottenserver.s3db"

    sqlKeepAlive = 0

    mysqlReadTimeout = 10

    mysqlWriteTimeout = 10

    encryptionType = "sha1"

     

    -- Deathlist

    deathListEnabled = true

    deathListRequiredTime = 1 * 60 * 1000

    deathAssistCount = 19

    maxDeathRecords = 10

     

    -- Guilds

    ingameGuildManagement = true

    levelToFormGuild = 40

    premiumDaysToFormGuild = 0

    guildNameMinLength = 2

    guildNameMaxLength = 25

     

    -- Highscores

    highscoreDisplayPlayers = 15

    updateHighscoresAfterMinutes = 60

     

    -- Houses

    buyableAndSellableHouses = true

    houseNeedPremium = true

    bedsRequirePremium = true

    levelToBuyHouse = 1

    housesPerAccount = 0

    houseRentAsPrice = false

    housePriceAsRent = false

    housePriceEachSquare = 2975

    houseRentPeriod = "never"

    houseCleanOld = 0

    guildHalls = false

     

    -- Item usage

    timeBetweenActions = 500

    timeBetweenExActions = 500

    hotkeyAimbotEnabled = true

     

    -- Map

    -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.

    mapName = "#world pokémon"

    mapAuthor = "brun123"

    randomizeTiles = true

    storeTrash = false

    cleanProtectedZones = true

    mailboxDisabledTowns = "1"

     

    -- Process

    -- NOTE: defaultPriority works only on Windows and niceLevel on *nix

    -- coresUsed are seperated by comma cores ids used by server process,

    -- default is -1, so it stays untouched (automaticaly assigned by OS).

    defaultPriority = "high"

    niceLevel = 5

    coresUsed = "-1"

     

    -- Startup

    optimizeDatabaseAtStartup = true

    removePremiumOnInit = true

    confirmOutdatedVersion = false

     

    -- Spells

    formulaLevel = 5.0

    formulaMagic = 1.0

    bufferMutedOnSpellFailure = false

    spellNameInsteadOfWords = false

    emoteSpells = false

     

    -- Outfits

    allowChangeOutfit = true

    allowChangeColors = true

    allowChangeAddons = true

    disableOutfitsForPrivilegedPlayers = false

    addonsOnlyPremium = false

     

    -- Miscellaneous

    -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,

    -- called "exception tracer" (__EXCEPTION_TRACER__ flag).

    dataDirectory = "data/"

    bankSystem = true

    displaySkillLevelOnAdvance = false

    promptExceptionTracerErrorBox = true

    separateViplistPerCharacter = false

    maximumDoorLevel = 500

    maxMessageBuffer = 4

     

    -- Saving-related

    -- useHouseDataStorage usage may be found at README.

    saveGlobalStorage = false

    useHouseDataStorage = false

    storePlayerDirection = false

     

    -- Loot

    -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)

    checkCorpseOwner = true

    monsterLootMessage = 3

    monsterLootMessageType = 22

     

    -- Ghost mode

    ghostModeInvisibleEffect = false

    ghostModeSpellEffects = false

     

    -- Limits

    idleWarningTime = 14 * 60 * 1000

    idleKickTime = 15 * 60 * 1000

    expireReportsAfterReads = 1

    playerQueryDeepness = 2

    maxItemsPerPZTile = 0

    maxItemsPerHouseTile = 0

     

    -- Premium-related

    freePremium = false

    premiumForPromotion = true

     

    -- Blessings

    -- NOTE: blessingReduction* regards items/containers loss.

    -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.

    blessingOnlyPremium = true

    blessingReductionBase = 30

    blessingReductionDecreament = 5

    eachBlessReduction = 8

     

    -- Rates

    -- NOTE: experienceStages configuration is located in data/XML/stages.xml.

    -- rateExperienceFromPlayers 0 to disable.

    experienceStages = false

    rateExperience = 50

    rateExperienceFromPlayers = 0

    rateSkill = 15

    rateMagic = 2.0

    rateLoot = 21

    rateSpawn = 1

     

    -- Monster rates

    rateMonsterHealth = 1.0

    rateMonsterMana = 1.0

    rateMonsterAttack = 1.0

    rateMonsterDefense = 1.0

     

    -- Experience from players

    -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:

    -- player will gain experience from every lower leveled player.

    -- max~Threshold* set to 0 will disable the maximum threshold:

    -- player will gain experience from every higher leveled player.

    minLevelThresholdForKilledPlayer = 0.9

    maxLevelThresholdForKilledPlayer = 1.1

     

    -- Stamina

    -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.

    -- rateStaminaHits multiplies every hit done a creature, which are later

    -- multiplied by player attack speed.

    -- rateStaminaGain is divider of every logged out second, eg:

    -- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.

    -- rateStaminaThresholdGain is divider for the premium stamina.

    -- staminaRatingLimit* is in minutes.

    rateStaminaLoss = 1

    rateStaminaGain = 3

    rateStaminaThresholdGain = 12

    staminaRatingLimitTop = 41 * 60

    staminaRatingLimitBottom = 14 * 60

    rateStaminaAboveNormal = 1.0

    rateStaminaUnderNormal = 1.0

    staminaThresholdOnlyPremium = true

     

    -- Party

    -- NOTE: experienceShareLevelDifference is float number.

    -- experienceShareLevelDifference is highestLevel * value

    experienceShareRadiusX = 30

    experienceShareRadiusY = 30

    experienceShareRadiusZ = 1

    experienceShareLevelDifference = 200 * 200

    extraPartyExperienceLimit = 20

    extraPartyExperiencePercent = 20

    experienceShareActivity = 2 * 60 * 1000

     

    -- Global save

    -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,

    -- if you want such a system please check out data/globalevents/globalevents.xml.

    globalSaveEnabled = false

    globalSaveHour = 8

    shutdownAtGlobalSave = true

    cleanMapAtGlobalSave = false

     

    -- Spawns

    deSpawnRange = 2

    deSpawnRadius = 25

     

    -- Summons

    maxPlayerSummons = 1

    teleportAllSummons = true

    teleportPlayerSummons = true

     

    -- Status

    ownerName = "Pokemon Dash Online [Advanced]"

    ownerEmail = ""

    url = ""

    location = "Brazil"

    displayGamemastersWithOnlineCommand = false

     

    -- Logs

    -- NOTE: This kind of logging does not work in GUI version.

    -- For such, please compile the software with __GUI_LOGS__ flag.

    adminLogsEnabled = false

    displayPlayersLogging = true

    prefixChannelLogs = ""

    runFile = ""

    outLogName = ""

    errorLogName = ""

    truncateLogsOnStartup = false

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...