Jump to content

Petey Pablo

Members
  • Posts

    569
  • Joined

  • Last visited

Posts posted by Petey Pablo

  1. how to change this from cashpoint to a custom points? Im using eA. Thank you!

    - script PvP Points -1,{
    OnPCKillEvent:
    if ( strcharinfo(3) == "5@tower" ){
    set #CASHPOINTS,#CASHPOINTS+1;
    dispbottom "You have gained 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points.";
    }
    end;
    
    OnPCDieEvent:
    if ( strcharinfo(3) == "5@tower" ){
    if ( #CASHPOINTS <= 0 ) end;
    set #CASHPOINTS,#CASHPOINTS-1;
    dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points.";
    }
    end;
    }
    

  2. Prontera map. See the image below.

    5ecri9.jpg

    Red Can't vend/chatroom

    Green Can vend/chatroom

    Blue Remove that part and change to Green Can vend/chatroom :)

    Script:

    prontera,1,1,1    script    NoChatVendPront    -1,{
    OnWhisperGlobal:
    if (!getgmlevel()) end;
    OnInit:
    setcell "prontera",1,1,312,392,cell_nochat,0;
    setcell "prontera",1,1,312,392,cell_novending,0;
    
    setcell "prontera",134,190,177,217,cell_nochat,1;
    setcell "prontera",82,200,124,207,cell_nochat,1;
    setcell "prontera",125,199,125,208,cell_nochat,1;
    setcell "prontera",126,198,126,209,cell_nochat,1;
    setcell "prontera",127,197,127,210,cell_nochat,1;
    setcell "prontera",128,196,128,211,cell_nochat,1;
    setcell "prontera",129,195,129,212,cell_nochat,1;
    setcell "prontera",130,194,130,213,cell_nochat,1;
    setcell "prontera",131,193,131,214,cell_nochat,1;
    setcell "prontera",132,192,132,215,cell_nochat,1;
    setcell "prontera",133,191,133,216,cell_nochat,1;
    setcell "prontera",148,231,163,268,cell_nochat,1;
    setcell "prontera",147,230,164,230,cell_nochat,1;
    setcell "prontera",146,229,165,229,cell_nochat,1;
    setcell "prontera",145,228,166,228,cell_nochat,1;
    setcell "prontera",144,227,167,227,cell_nochat,1;
    setcell "prontera",143,226,168,226,cell_nochat,1;
    setcell "prontera",142,225,169,225,cell_nochat,1;
    setcell "prontera",141,224,170,224,cell_nochat,1;
    setcell "prontera",140,223,171,223,cell_nochat,1;
    setcell "prontera",139,222,172,222,cell_nochat,1;
    setcell "prontera",138,221,173,221,cell_nochat,1;
    setcell "prontera",137,220,174,220,cell_nochat,1;
    setcell "prontera",136,219,175,219,cell_nochat,1;
    setcell "prontera",135,218,176,218,cell_nochat,1;
    setcell "prontera",187,200,229,207,cell_nochat,1;
    setcell "prontera",186,199,186,208,cell_nochat,1;
    setcell "prontera",185,198,185,209,cell_nochat,1;
    setcell "prontera",184,197,184,210,cell_nochat,1;
    setcell "prontera",183,196,183,211,cell_nochat,1;
    setcell "prontera",182,195,182,212,cell_nochat,1;
    setcell "prontera",181,194,181,213,cell_nochat,1;
    setcell "prontera",180,193,180,214,cell_nochat,1;
    setcell "prontera",179,192,179,215,cell_nochat,1;
    setcell "prontera",178,191,178,216,cell_nochat,1;
    setcell "prontera",148,130,163,176,cell_nochat,1;
    setcell "prontera",147,177,164,177,cell_nochat,1;
    setcell "prontera",146,178,165,178,cell_nochat,1;
    setcell "prontera",145,179,166,179,cell_nochat,1;
    setcell "prontera",144,180,167,180,cell_nochat,1;
    setcell "prontera",143,181,168,181,cell_nochat,1;
    setcell "prontera",142,182,169,182,cell_nochat,1;
    setcell "prontera",141,183,170,183,cell_nochat,1;
    setcell "prontera",140,184,171,184,cell_nochat,1;
    setcell "prontera",139,185,172,185,cell_nochat,1;
    setcell "prontera",138,186,173,186,cell_nochat,1;
    setcell "prontera",137,187,174,187,cell_nochat,1;
    setcell "prontera",136,188,175,188,cell_nochat,1;
    setcell "prontera",135,189,176,189,cell_nochat,1;
    setcell "prontera",134,190,177,217,cell_novending,1;
    setcell "prontera",82,200,124,207,cell_novending,1;
    setcell "prontera",125,199,125,208,cell_novending,1;
    setcell "prontera",126,198,126,209,cell_novending,1;
    setcell "prontera",127,197,127,210,cell_novending,1;
    setcell "prontera",128,196,128,211,cell_novending,1;
    setcell "prontera",129,195,129,212,cell_novending,1;
    setcell "prontera",130,194,130,213,cell_novending,1;
    setcell "prontera",131,193,131,214,cell_novending,1;
    setcell "prontera",132,192,132,215,cell_novending,1;
    setcell "prontera",133,191,133,216,cell_novending,1;
    setcell "prontera",148,231,163,268,cell_novending,1;
    setcell "prontera",147,230,164,230,cell_novending,1;
    setcell "prontera",146,229,165,229,cell_novending,1;
    setcell "prontera",145,228,166,228,cell_novending,1;
    setcell "prontera",144,227,167,227,cell_novending,1;
    setcell "prontera",143,226,168,226,cell_novending,1;
    setcell "prontera",142,225,169,225,cell_novending,1;
    setcell "prontera",141,224,170,224,cell_novending,1;
    setcell "prontera",140,223,171,223,cell_novending,1;
    setcell "prontera",139,222,172,222,cell_novending,1;
    setcell "prontera",138,221,173,221,cell_novending,1;
    setcell "prontera",137,220,174,220,cell_novending,1;
    setcell "prontera",136,219,175,219,cell_novending,1;
    setcell "prontera",135,218,176,218,cell_novending,1;
    setcell "prontera",187,200,229,207,cell_novending,1;
    setcell "prontera",186,199,186,208,cell_novending,1;
    setcell "prontera",185,198,185,209,cell_novending,1;
    setcell "prontera",184,197,184,210,cell_novending,1;
    setcell "prontera",183,196,183,211,cell_novending,1;
    setcell "prontera",182,195,182,212,cell_novending,1;
    setcell "prontera",181,194,181,213,cell_novending,1;
    setcell "prontera",180,193,180,214,cell_novending,1;
    setcell "prontera",179,192,179,215,cell_novending,1;
    setcell "prontera",178,191,178,216,cell_novending,1;
    setcell "prontera",148,130,163,176,cell_novending,1;
    setcell "prontera",147,177,164,177,cell_novending,1;
    setcell "prontera",146,178,165,178,cell_novending,1;
    setcell "prontera",145,179,166,179,cell_novending,1;
    setcell "prontera",144,180,167,180,cell_novending,1;
    setcell "prontera",143,181,168,181,cell_novending,1;
    setcell "prontera",142,182,169,182,cell_novending,1;
    setcell "prontera",141,183,170,183,cell_novending,1;
    setcell "prontera",140,184,171,184,cell_novending,1;
    setcell "prontera",139,185,172,185,cell_novending,1;
    setcell "prontera",138,186,173,186,cell_novending,1;
    setcell "prontera",137,187,174,187,cell_novending,1;
    setcell "prontera",136,188,175,188,cell_novending,1;
    setcell "prontera",135,189,176,189,cell_novending,1;
    end;
    }

  3. @Asura

    Fixed! Timezone warning.

    Next problem. See the errors below

    Critical Error

    An error was encountered during the lifetime of the application.

    This could be due to a variety of problems, such as a bug in the application.

    However, normally it is caused by misconfiguration.

    Exception Details

    Error: PDOException

    Message: SQLSTATE[HY000] [1130] Host '198.105.222.91' is not allowed to connect to this MySQL server

    File: /home/dangerou/public_html/cp/lib/Flux/Connection.php:81 File Line Function/Method /home/dangerou/public_html/cp/lib/Flux/Connection.php 81 PDO::__construct() /home/dangerou/public_html/cp/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/dangerou/public_html/cp/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/dangerou/public_html/cp/modules/install/index.php 17 Flux_Connection::getStatement() /home/dangerou/public_html/cp/lib/Flux/Template.php 337 include() /home/dangerou/public_html/cp/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/dangerou/public_html/cp/index.php 177 Flux_Dispatcher::dispatch()

    Exception Trace As String

    #0 /home/dangerou/public_html/cp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)

    #1 /home/dangerou/public_html/cp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))

    #2 /home/dangerou/public_html/cp/lib/Flux/Connection.php(159): Flux_Connection->getConnection()

    #3 /home/dangerou/public_html/cp/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...')

    #4 /home/dangerou/public_html/cp/lib/Flux/Template.php(337): include('/home/dangerou/...')

    #5 /home/dangerou/public_html/cp/lib/Flux/Dispatcher.php(168): Flux_Template->render()

    #6 /home/dangerou/public_html/cp/index.php(177): Flux_Dispatcher->dispatch(Array)

    #7 {main}

  4. Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in/home/dangerou/public_html/cp/index.php on line 183

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in/home/dangerou/public_html/cp/lib/Flux/LogFile.php on line 74

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in/home/dangerou/public_html/cp/lib/Flux/LogFile.php on line 74

    help me here. Thanks

  5. Screenshot:

    1zpjiaq.jpg

    Script:

    - script poring#announcer -1,{
    
    OnInit:
    disablenpc "poringevent";
    hideonnpc "Poring Catcher#evnt2";
    end;
    
    OnClock0000:
    OnClock0200:
    OnClock0400:
    OnClock0600:
    OnClock0800:
    OnClock1000:
    OnClock1200:
    OnClock1400:
    OnClock1600:
    OnClock1800:
    OnClock2200:
    
    announce "Poring Catcher : It's time to play some Poring Catcher!",0;
    killmonster "poring_w01","All";
    sleep2 10000;
    announce "Poring Catcher : Please make your way to the centre of Prontera at prontera,159,125.",0;
    sleep2 10000;
    announce "Poring Catcher : After one minute the portal will close.",0;
    sleep2 10000;
    announce "Poring Catcher : Enter the warp portal now if you want to join.",0;
    enablenpc "poringevent";
    initnpctimer;
    end;
    
    
    OnTimer30000:
    announce "Poring Catcher : Last 30 seconds.",0;
    sleep2 5000;
    announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0;
    end;
    
    OnTimer50000:
    announce "Poring Catcher : Last 10 seconds.",0;
    end;
    
    OnTimer55000:
    announce "Poring Catcher : 5.",0;
    end;
    
    OnTimer56000:
    announce "Poring Catcher : 4.",0;
    end;
    
    OnTimer57000:
    announce "Poring Catcher : 3.",0;
    end;
    
    OnTimer58000:
    announce "Poring Catcher : 2.",0;
    end;
    
    OnTimer59000:
    announce "Poring Catcher : 1.",0;
    end;
    
    OnTimer60000:
    announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0;
    end;
    
    OnTimer61000:
    disablenpc "poringevent";
    donpcevent "Poring Catcher#evnt2::OnEnable";
    stopnpctimer;
    end;
    }
    
    //--------------------------------------------------
    
    prontera,159,125,0 warp poringevent 2,2,poring_w01,106,129
    
    //--------------------------------------------------
    
    poring_w01,100,127,4 script Poring Catcher#evnt2 715,{
    
    //--------------------------------------------------
    
    mes "[Poring Catcher]";
    if(PORING == 1) goto L_PORING;
    mes "Please tell me your name";
    next;
    input .@name$;
    if(.@name$ != strcharinfo(0)) {
    mes "[Poring Catcher]";
    mes "Are you sure thats your character name?";
    close;
    }
    mes "[Poring Catcher]";
    mes "Congrats. You've won.";
    close2;
    announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0;
    warp "prontera",155,182;
    end;
    
    L_PORING:
    mes "Please tell me your name";
    next;
    input .@name$;
    if(.@name$ != strcharinfo(0)) {
    mes "[Poring Catcher]";
    mes "Are you sure thats your character name?";
    close;
    }
    mes "[Poring Catcher]";
    mes "Congrats. You've won.";
    close2;
    announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Event Token Won!",0;
    
    getitem 30005,5; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE
    
    set PORING,0;
    warp "prontera",155,182;
    hideonnpc "Poring Catcher#evnt2";
    end;
    
    OnEnable:
    mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0;
    sleep2 10000;
    mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0;
    sleep2 10000;
    mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0;
    sleep2 10000;
    mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0;
    sleep2 10000;
    mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0;
    sleep2 10000;
    mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0;
    goto L_Start;
    end;
    
    L_Start:
    mapannounce "poring_w01","Poring Catcher : 5",0;
    sleep2 1000;
    mapannounce "poring_w01","Poring Catcher : 4",0;
    sleep2 1000;
    mapannounce "poring_w01","Poring Catcher : 3",0;
    sleep2 1000;
    mapannounce "poring_w01","Poring Catcher : 2",0;
    sleep2 1000;
    mapannounce "poring_w01","Poring Catcher : 1",0;
    sleep2 1000;
    mapannounce "poring_w01","Poring Catcher : Lets Do This!",0;
    areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled";
    areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled";
    end;
    }
    
    - script poringwin -1,{
    
    OnMobKilled:
    dispbottom "Poring : Congratulations. You've got me.";
    set PORING,1;
    atcommand "@doommap";
    killmonster "poring_w01","All";
    mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0;
    hideoffnpc "Poring Catcher#evnt2";
    end;
    
    }
    
    - script poringlose -1,{
    
    OnMobKilled:
    dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring.";
    warp "prontera",155,178;
    end;
    
    }
    
    // -- Mapflags
    poring_w01 mapflag nowarp
    poring_w01 mapflag nowarpto
    poring_w01 mapflag noteleport
    poring_w01 mapflag nosave
    poring_w01 mapflag nomemo
    poring_w01 mapflag nobranch
    poring_w01 mapflag noloot
    poring_w01 mapflag noskill
    poring_w01 mapflag nopenalty

  6. Help me here!

    Screenshot:

    2dw698h.jpg

    Configuration:

    <?php
    // This is the application configuration file. All values have been set to
    // the default, and should be changed as needed.
    return array(
    'ServerAddress'		=> 'localhost',			  // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)
    'BaseURI'			  => '/cp',					   // The base URI is the base web root on which your application lies.
    'InstallerPassword'	=> 'secretpassword',		 // Installer/updater password.
    'RequireOwnership'	 => true,					 // Require the executing user to be owner of the FLUX_ROOT/data/ directory tree? (Better for security)
      													 // WARNING: This will be mostly IGNORED on non-POSIX-compliant OSes (e.g. Windows).
    'DefaultLoginGroup'	=> null,
    'DefaultCharMapServer' => null,
    'DefaultLanguage'	  => 'en_us',				  // Specify the default control panel language (see FLUX_ROOT/lang/ directory for available languages.)
    'SiteTitle'			=> 'WillRO Main: Control Panel',	 // This value is only used if the theme decides to use it.
    'ThemeName'			=> 'default',				// The theme name of the theme you would like to use.  Themes are in FLUX_ROOT/themes.
    'ScriptTimeLimit'	  => 0,						// Script execution time limit. Specifies (in seconds) how long a page should run before timing out. (0 means forever)
    'MissingEmblemBMP'	 => 'empty.bmp',			  //
    'ItemIconNameFormat'   => '%d.gif',				 // The filename format for item icons (defaults to {itemid}.gif).
    'ItemImageNameFormat'  => '%d.png',				 // The filename format for item images (defaults to {itemid}.png).
    'ForceEmptyEmblem'	 => false,					// Forcefully display empty guild emblems, helpful when you don't have GD2 installed.
    'EmblemCacheInterval'  => 12,					   // Hourly interval to re-cache guild emblems (set to 0 to disable emblem cache).
    'SessionCookieExpire'  => 48,					   // Duration in hours.
    'AdminMenuLevel'	   => AccountLevel::LOWGM,	  // The starting level for which module actions are moved into the admin menu for display.
    'DateDefaultTimezone'  => null,					 // The default timezone, consult the PHP manual for valid timezones: http://php.net/timezones (null for defaut system TZ)
    'DateFormat'		   => 'Y-m-d',				  // Default DATE format to be displayed in pages.
    'DateTimeFormat'	   => 'Y-m-d H:i:s',			// Default DATETIME format to be displayed in pages.
    'ShowSinglePage'	   => true,					 // Whether or not to show the page numbers even if there's only one page.
    'ResultsPerPage'	   => 20,					   // The number of results to display in a paged set, per page.
    'PagesToShow'		  => 10,					   // The number of page numbers to display at once.
    'PageJumpMinimumPages' => 1,						// Minimum number of required pages before page jump box is shown. (0 to always show!)
    'ShowPageJump'		 => true,					 // Whether or not to show the "Page Jump" box.
    'SingleMatchRedirect'  => true,					 // Whether or not to redirect to view action from index page if only one match is returned (and action is allowed).
    'SingleMatchRedirectItem' => false,				 // Same as above, for item module.
    'SingleMatchRedirectMobs' => false,				 // Same as above, for monster module.
    'UsernameAllowedChars' => 'a-zA-Z0-9_',			 // PCRE Format Pattern. default: 'a-zA-Z0-9_' (alphanumeric and underscore)
    													// WARNING: This string isn't escaped so be careful which chars you use!
    													// PCRE Pattern Ref: http://php.net/manual/en/pcre.pattern.php
    'MinUsernameLength'	=> 4,						// Minimum username length.
    'MaxUsernameLength'	=> 23,					   // Maximum username length.
    'MinPasswordLength'	=> 8,						// Minimum password length.
    'MaxPasswordLength'	=> 31,					   // Maximum password length.
    'PasswordMinUpper'	 => 0,						// Number of upper-case letters to require in passwords.
    'PasswordMinLower'	 => 0,						// Number of lower-case letters to require in passwords.
    'PasswordMinNumber'	=> 0,						// Number of numbers to require in passwords.
    'PasswordMinSymbol'	=> 0,						// Number of symbols to require in passwords.
    'GMMinPasswordLength'  => 8,						// Minimum password length for GM accounts.
    'GMPasswordMinUpper'   => 1,						// Number of upper-case letters to require in passwords for GM accounts.
    'GMPasswordMinLower'   => 1,						// Number of lower-case letters to require in passwords for GM accounts.
    'GMPasswordMinNumber'  => 1,						// Number of numbers to require in passwords for GM accounts.
    'GMPasswordMinSymbol'  => 1,						// Number of symbols to require in passwords for GM accounts.
    'RandomPasswordLength' => 16,					   // This is the length of the random password generated by the "Reset Password" feature. (NOTE: Hardcoded minimum value of 8)
    'AllowUserInPassword'  => false,					// Whether or not to allow the password to contain the username. (NOTE: A case-insensitive search is performed)
    'AllowDuplicateEmails' => false,					// Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options)
    'RequireEmailConfirm'  => true,					// Require e-mail confirmation during registration.
    'RequireChangeConfirm' => true,					// Require confirmation when changing e-mail addresses.
    'EmailConfirmExpire'   => 48,					   // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time.
    'MailerFromAddress'	=> '[email protected]',	  // The e-mail address displayed in the From field.
    'MailerFromName'	   => 'WillRO! Account Confirmation',			 // The name displayed with the From e-mail address.
    'MailerUseSMTP'		=> false,					// Whether or not to use a separate SMTP server for sending mail.
    'MailerSMTPUseSSL'	 => false,					// Whether or not mailer should connect using SSL (yes for GMail).
    'MailerSMTPUseTLS'	 => false,					// Same as above SSL setting, but for TLS.  This setting will override the SSL setting.
    'MailerSMTPPort'	   => null,					 // When MailerUseSMTP is true: SMTP server port (mailer will default to 25).
    'MailerSMTPHosts'	  => null,					 // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')).
    'MailerSMTPUsername'   => null,					 // When MailerUseSMTP is true: Authorized username for SMTP server.
    'MailerSMTPPassword'   => null,					 // When MailerUseSMTP is true: Authorized password for SMTP server (for above user).
    'ServerStatusCache'	=> 2,						// Store a cached server status and refresh every X minutes.  Default: 2 minutes (value is measured in minutes).
    'ServerStatusTimeout'  => 2,						// For each server, spend X amount of seconds to determine whether it's up or not.
    'SessionKey'		   => 'fluxSessionData',		// Shouldn't be changed, just specifies the session key to be used for session data.
    'DefaultModule'		=> 'main',				   // This is the module to execute when none has been specified.
    'DefaultAction'		=> 'index',				  // This is the default action for any module, probably should leave this alone. (Deprecated)
    'GzipCompressOutput'   => false,					// Whether or not to compress output using zlib.
    'GzipCompressionLevel' => 9,						// zlib compression level. (1~9)
    'OutputCleanHTML'	  => true,					 // Use this if you have Tidy installed to clean your HTML output when serving pages.
    'ShowCopyright'		=> true,					 // Whether or not to show the copyright footer.
    'ShowRenderDetails'	=> true,					 // Shows the "page rendered in X seconds" and "number of queries executed: X" in the default theme.
    'UseCleanUrls'		 => false,					// Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.
    'DebugMode'			=> false,					// Set to false to minimize technical details from being output by Flux. WARNING: DO NOT USE THIS OPTION ON A PUBLICALLY-ACCESSIBLE CP.
    'UseCaptcha'		   => true,					 // Use CAPTCHA image for account registration to prevent automated account creations. (Requires GD2/FreeType2)
    'UseLoginCaptcha'	  => false,					// Use CAPTCHA image for account logins. (Requires GD2/FreeType2)
    'EnableReCaptcha'	  => false,					// Enables the use of reCAPTCHA instead of Flux's native GD2 library (http://www.google.com/recaptcha)
    'ReCaptchaPublicKey'   => '...',					// This is your reCAPTCHA public key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha)
    'ReCaptchaPrivateKey'  => '...',					// This is your reCAPTCHA private key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha)
    'ReCaptchaTheme'	   => 'white',				  // ReCaptcha theme to use (see: http://code.google.com/apis/recaptcha/docs/customization.html#Standard_Themes)
    'DisplaySinglePages'   => true,					 // Whether or not to display paging for single page results.
    'ForwardYears'		 => 15,					   // (Visual) The number of years to display ahead of the current year in date inputs.
    'BackwardYears'		=> 30,					   // (Visual) The number of years to display behind the current year in date inputs.
    'ColumnSortAscending'  => ' ▲',					 // (Visual) Text displayed for ascending sorted column names.
    'ColumnSortDescending' => ' ▼',					 // (Visual) Text displayed for descending sorted column names.
    'CreditExchangeRate'   => 1.0,					  // The rate at which credits are exchanged for dollars.
    'MinDonationAmount'	=> 2.0,					  // Minimum donation amount. (NOTE: Actual donations made that are less than this account won't be exchanged)
    'DonationCurrency'	 => 'USD',					// Preferred donation currency. Only donations made in this currency will be processed for credit deposits.
    'MoneyDecimalPlaces'   => 2,						// (Visual) Number of decimal places to display in amount.
    'MoneyThousandsSymbol' => ',',					  // (Visual) Thousandths place separator (a period in European currencies).
    'MoneyDecimalSymbol'   => '.',					  // (Visual) Decimal separator (a comma in European currencies).
    'AcceptDonations'	  => true,					 // Whether or not to accept donations.
    'PayPalIpnUrl'		 => 'www.sandbox.paypal.com', // The URL for PayPal's IPN responses (www.paypal.com for live and www.sandbox.paypal.com for testing)
    'PayPalBusinessEmail'  => 'admin@localhost',		// Enter the e-mail under which you have registered your business account.
    'PayPalReceiverEmails' => array(					// These are the receiver e-mail addresses who are allowed to receive payment.
    	//'admin2@localhost',							 // -- This array may be empty if you only use one e-mail
    	//'admin3@localhost'							  // -- because your Business Email is also checked.
    ),
    'GStorageLeaderOnly'   => false,					// Only allow guild leader to view guild storage rather than all members?
    'DivorceKeepChild'	 => false,					// Keep child after divorce?
    'DivorceKeepRings'	 => false,					// Keep wedding rings after divorce?
    'IpWhitelistPattern'   =>						   // PCRE Format Pattern. It's recommended you add your gameserver, webserver and server owner's IPs here.
    	'(127\.0\.0\.1|0(\.[0\*]){3})',				 // WARNING: This string isn't escaped so be careful which chars you use!
       												 // By default, whitelists 127.0.0.1 (localhost) and 0.0.0.0 (all interfaces; whitelists all wildcard bans that can achive this too)
    'AllowIpBanLogin'	  => false,					// Allow logging into account from banned IP.
    'AllowTempBanLogin'	=> false,					// Allow logging in of temporarily banned accounts.
    'AllowPermBanLogin'	=> false,					// Allow logging in of permanently banned accounts.
    'AutoRemoveTempBans'   => true,					 // Automatically remove expired temporary bans on certain pages.
    'ItemShopMaxCost'	  => 99,					   // Max price an item can be sold for.
    'ItemShopMaxQuantity'  => 99,					   // Max quantity the item may be sold at once for.
    'HideFromWhosOnline'   => AccountLevel::HELPER,	 // Levels greater than or equal to this will be hidden from the "Who's Online" page.
    'HideFromMapStats'	 => AccountLevel::HELPER,	 // Levels greater than or equal to this will be hidden from the "Map Stats" page.
    'EnableGMPassSecurity' => AccountLevel::HELPER,	 // Levels greater than or equal to this will be required to use passwords that meet the earlier GM Password settings.
    'ChargeGenderChange'   => 0,						// You can specify this as the number of credits to charge for gender change.  Can be 0 for free change.
    'BanPaymentStatuses'   => array(					// Payment statuses that will automatically ban the account owner if received.
    	'Cancelled_Reversal',						   // -- 'Cancelled_Reversal'
    	'Reversed',									 // -- 'Reversed'
    ),
    
    'HoldUntrustedAccount' => 0,						// This is the time in hours to hold a donation crediting process for, if the account
      													 // isn't a trusted account. Specify 0 or false to disable this feature.
    
    'AutoUnholdAccount'	=> false,					// Enable this to auto-unhold an account and credit it if the transaction is still
      													 // valid.  This only applies if you are using the HoldUnstrustedAccount feature.
      													 // If you want to run a cron job instead, you can make a request to the '/donate/update'
      													 // module/action with the InstallerPassword as the password to run the update task.
      													 // With clean URLs: http://<server>/<baseURI>/donate/update?password=<InstallerPassword>
      													 // Without clean URLs: http://<server>/<baseURI>?module=donate&action=update&password=<InstallerPassword>
      													 // NOTE: This option is HIGHLY inefficient, it's recommended to run a cron job instead.
    
    'AutoPruneAccounts'	=> false,					// Enable this to automatically prune expired accounts. Enabling this is a performance
      													 // performance killer. See 'AutoUnholdAccount' for running this task as a cron job,
       												 // the module is 'account' and the action is 'prune'.
      													 // With clean URLs: http://<server>/<baseURI>/account/prune?password=<InstallerPassword>
      													 // Without clean URLs: http://<server>/<baseURI>?module=account&action=prune&password=<InstallerPassword>
    
    'ShopImageExtensions'  => array(					// These are the image extensions allowed for uploading in the item shop.
    	'png', 'jpg', 'gif', 'bmp', 'jpeg'
    ),
    'NoResetPassLevel'	=> AccountLevel::HELPER,	  // Level of account to prevent password reset using control panel.
    
    'CharRankingLimit'	=> 10,						//
    'GuildRankingLimit'   => 10,						//
    'ZenyRankingLimit'	=> 10,						//
    'DeathRankingLimit'   => 10,						//
    'RankingHideLevel'	=> AccountLevel::LOWGM,	   //
    'InfoHideZenyLevel'   => AccountLevel::LOWGM,	   // Level of account to hide zeny from in server information page.
    
    'CharRankingThreshold' => 0,						 // Number of days the character must have logged in within to be listed in character ranking. (0 = disabled)
    'ZenyRankingThreshold' => 0,						 // Number of days the character must have logged in within to be listed in zeny ranking. (0 = disabled)
    'DeathRankingThreshold' => 0,						// Number of days the character must have logged in within to be listed in death ranking. (0 = disabled)
    
    'HideTempBannedCharRank'  => false,				  // Hide temporarily banned characters from ranking.
    'HidePermBannedCharRank'  => true,				   // Hide permanently banned characters from ranking.
    
    'HideTempBannedZenyRank'  => false,				  // Hide temporarily banned characters from ranking.
    'HidePermBannedZenyRank'  => true,				   // Hide permanently banned characters from ranking.
    
    'HideTempBannedDeathRank' => false,				  // Hide temporarily banned characters from ranking.
    'HidePermBannedDeathRank' => true,				   // Hide permanently banned characters from ranking.
    
    'HideTempBannedStats'	 => false,				  // Hide temporarily banned accounts from statistics.
    'HidePermBannedStats'	 => true,				   // Hide permanently banned accounts from statistics.
    
    'SortJobsByAmount'		=> false,				  // Sort job class information on statistics page by descending quantity (false = Sort by Job ID).
    
    'CpLoginLogShowPassword'  => false,				  // Show password in CP login log (also see access.php's SeeCpLoginLogPass).
    
    'CpResetLogShowPassword'  => false,				  // Show password in CP "password resets" log (also see access.php's SeeCpResetPass).
    
    'CpChangeLogShowPassword' => false,				  // Show password in CP "password changes" log (also see access.php's SeeCpChangePass).
    
    'AdminMenuNewStyle'	   => true,				   // Use new-style admin menu;  Applies to 'default' theme.
    
    // These are the main menu items that should be displayed by themes.
    // They route to modules and actions.  Whether they are displayed or
    // not at any given time depends on the user's account level and/or
    // their login status.
    'MenuItems' => array(
    	'Main Menu'   => array(
    		'Home'		  => array('module' => 'main'),
    		//'Forums'		=> array('exturl' => 'http://www.fluxro.com/community'),
    	),
    	'Account'	 => array(
    		'Register'	  => array('module' => 'account', 'action' => 'create'),
    		'Login'		 => array('module' => 'account', 'action' => 'login'),
    		'Logout'		=> array('module' => 'account', 'action' => 'logout'),
    		'History'	   => array('module' => 'history'),
    		'My Account'	=> array('module' => 'account', 'action' => 'view'),
    	),
    	'Donations'   => array(
    		'Purchase'	  => array('module' => 'purchase'),
    		'Donate'		=> array('module' => 'donate'),
    	),
    	'Information' => array(
    		'Server Info.'  => array('module' => 'server', 'action' => 'info'),
    		'Server Status' => array('module' => 'server', 'action' => 'status'),
    		'WoE Hours'	 => array('module' => 'woe'),
    		'Castles'	   => array('module' => 'castle'),
    		"Who's Online"  => array('module' => 'character', 'action' => 'online'),
    		'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'),
    		'Ranking Info.' => array('module' => 'ranking', 'action' => 'character'),
    	),
    	'Database'	=> array(
    		'Item Database' => array('module' => 'item'),
    		'Mob Database'  => array('module' => 'monster'),
    	),
    	'Misc. Stuff' => array(
    		'eA Logs'	   => array('module' => 'logdata'),
    		'CP Logs'	   => array('module' => 'cplog'),
    		'IP Ban List'   => array('module' => 'ipban'),
    		'Accounts'	  => array('module' => 'account'),
    		'Characters'	=> array('module' => 'character'),
    		'Guilds'		=> array('module' => 'guild'),
    		'Reload'		=> array('module' => 'reload'),
    		'Send Mail'	 => array('module' => 'mail'),
    		'Re-Install'	=> array('module' => 'install', 'action' => 'reinstall'),
    		//'Auction'	   => array('module' => 'auction'),
    		//'Economy'	   => array('module' => 'economy'),
    	)
    ),
    
    // Sub-menu items that are displayed for any action belonging to a
    // particular module. The format it simple.
    'SubMenuItems' => array(
    	'history' => array(
    		'gamelogin'  => 'Game Logins',
    		'cplogin'	=> 'CP Logins',
    		'emailchange'=> 'E-Mail Changes',
    		'passchange' => 'Password Changes',
    		'passreset'  => 'Password Resets'
    	),
    	'account' => array(
    		'index'	  => 'List Accounts',
    		'view'	   => 'View Account',
    		'changepass' => 'Change Password',
    		'changemail' => 'Change E-mail',
    		'changesex'  => 'Change Gender',
    		'transfer'   => 'Transfer Credits',
    		'xferlog'	=> 'Credit Transfer History',
    		'cart'	   => 'Go to Shopping Cart',
    		'login'	  => 'Login',
    		'create'	 => 'Register',
    		'resetpass'  => 'Reset Password',
    		'resend'	 => 'Resend E-mail Confirmation'
    	),
    	'guild' => array(
    		'index'  => 'List Guilds',
    		'export' => 'Export Guild Emblems'
    	),
    	'server' => array(
    		'status'	 => 'View Status',
    		'status-xml' => 'View Status as XML'
    	),
    	'logdata' => array(
    		//'char'	=> 'Characters',
    		//'inter'   => 'Interactions',
    		'command' => 'Commands',
    		//'branch'  => 'Branches',
    		'chat'	=> 'Chat Messages',
    		'login'   => 'Logins',
    		//'mvp'	 => 'MVP',
    		//'npc'	 => 'NPC',
    		'pick'	=> 'Item Picks',
    		//'zeny'	=> 'Zeny'
    	),
    	'cplog' => array(
    		'paypal'	 => 'PayPal Transactions',
    		'login'	  => 'Logins',
    		'resetpass'  => 'Password Resets',
    		'changepass' => 'Password Changes',
    		'changemail' => 'E-mail Changes',
    		'ban'		=> 'Account Bans',
    		'ipban'	  => 'IP Bans'
    	),
    	'reload' => array(
    		'mobskill' => 'Mob Skills'
    	),
    	'purchase' => array(
    		'index'	=> 'Shop',
    		'cart'	 => 'Go to Cart',
    		'checkout' => 'Checkout',
    		'clear'	=> 'Empty Cart',
    		'pending'  => 'Pending Redemption'
    	),
    	'donate' => array(
    		'index'   => 'Make a Donation',
    		'history' => 'Donation History',
    		'trusted' => 'Trusted PayPal E-mails'
    	),
    	'ipban' => array(
    		'index' => 'IP Ban List',
    		'add'   => 'Add IP Ban'
    	),
    	'ranking' => array(
    		'character' => 'Character Ranking',
    		'guild'	 => 'Guild Ranking',
    		'zeny'	  => 'Zeny Ranking',
    		'death'	 => 'Death Ranking'
    	),
    	'item' => array(
    		'index' => 'List Items',
    		'add'   => 'Add Item'
    	)
    ),
    
    'AllowMD5PasswordSearch'	   => false,
    'ReallyAllowMD5PasswordSearch' => false, // Are you POSITIVELY sure?
    
    // Specifies which modules and actions should be ignored by Tidy
    // (enabled/disabled by the OutputCleanHTML option).
    'TidyIgnore' => array(
    	array('module' => 'captcha'),
    	array('module' => 'guild', 'action' => 'emblem')
    ),
    
    // Job classes, loaded from another file to avoid cluttering this one.
    // There isn't normally a need to modify this file, unless it's been
    // modified in an update. (In English: DON'T TOUCH THIS.)
    'JobClasses'	=> include('jobs.php'),
    
    // Gender-linked Job class IDs and their corresponding names.
    // Should be left alone unless new gender-specific job classes are introduced.
    'GenderLinkedJobClasses' => include('jobs_gender_linked.php'),
    
    // Homunculus class IDs and their corresponding names.
    // Best not to mess with this either.
    'HomunClasses' => include('homunculus.php'),
    
    // Item Types with their corresponding names.
    // Shouldn't touch this either.
    'ItemTypes' => include('itemtypes.php'),
    
    // Specil Item Types with their corresponding names (For Weapons & Ammo by default).
    // Shouldn't touch this either.
    'ItemTypes2' => include('itemtypes2.php'),
    
    // Common Equip Location Combinations with their corresponding names.
    // Shouldn't touch this unless you've added custom combinations.
    'EquipLocationCombinations' => include('equip_location_combinations.php'),
    
    // Error Code -> Error Type mapping.
    // Shouldn't need touching, however modifying loginerrors.php should be relatively safe.
    'LoginErrors' => include('loginerrors.php'),
    
    // eA equip jobs mapping.
    'EquipJobs' => include('equip_jobs.php'),
    
    // eA equip locations mapping.
    'EquipLocations' => include('equip_locations.php'),
    
    // eA equip upper mapping.
    'EquipUpper' => include('equip_upper.php'),
    
    // eA monster sizes mapping.
    'MonsterSizes' => include('sizes.php'),
    
    // eA monster races mapping.
    'MonsterRaces' => include('races.php'),
    
    // eA elements mapping.
    'Elements' => include('elements.php'),
    
    // eA attributes mapping.
    'Attributes' => include('attributes.php'),
    
    // eA monster modes mapping.
    'MonsterModes' => include('monstermode.php'),
    
    // Item shop categories.
    'ShopCategories' => include('shopcategories.php'),
    
    // Item pick types.
    'PickTypes' => include('picktypes.php'),
    
    // Castle names.
    'CastleNames' => include('castlenames.php'),
    
    // DON'T TOUCH. THIS IS FOR DEVELOPERS.
    'FluxTables' => array(
    	'CreditsTable'		=> 'cp_credits',
    	'CreditTransferTable' => 'cp_xferlog',
    	'ItemShopTable'	   => 'cp_itemshop',
    	'TransactionTable'	=> 'cp_txnlog',
    	'RedemptionTable'	 => 'cp_redeemlog',
    	'AccountCreateTable'  => 'cp_createlog',
    	'AccountBanTable'	 => 'cp_banlog',
    	'IpBanTable'		  => 'cp_ipbanlog',
    	'DonationTrustTable'  => 'cp_trusted',
    	'AccountPrefsTable'   => 'cp_loginprefs',
    	'CharacterPrefsTable' => 'cp_charprefs',
    	'ResetPasswordTable'  => 'cp_resetpass',
    	'ChangeEmailTable'	=> 'cp_emailchange',
    	'LoginLogTable'	   => 'cp_loginlog',
    	'ChangePasswordTable' => 'cp_pwchange'
    ),
    
    // Do not change these unless you also rename the files in FLUX_ROOT/lib/eA/
    'MobSkillDb1' => FLUX_ROOT.'/lib/eA/mob_skill_db.txt',
    'MobSkillDb2' => FLUX_ROOT.'/lib/eA/mob_skill_db2.txt',
    
    // This is the combined file of the Mob Skill DBs minus the comments and clutter.
    'MobSkillDb'  => FLUX_ROOT.'/lib/eA/mob_skills.txt'
    );
    ?>

    post-524-0-16694400-1347242137_thumb.jpg

×
×
  • Create New...