Jump to content

AsuraBro

Members
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by AsuraBro

  1. Hello

     

    i have a script request.

     

    how can i do an effect on a cell?

    like for example i want to do skilleffect "NPC_SELFDESTRUCTION",1 on prontera,150,150

     

    and the player standing on that cell to get hit by it and lose 50% of his health, second time hit on the same player he dies.

     

    and when 1 player left in the map warps all players back to savepoint.

  2. do {
    	mes "Hello";
    	switch ( select( "Menu 1", "Menu 2", "Menu 3", "Cancel" ) ) {
    		case 1:
    			mes "Hello";
    			break;
    		case 2:
    			mes "Hello";
    			break;
    		case 3:
    			mes "Hello";
    			break;
    		case 4:
    			mes "Hello";
    			break;
    		default: 
    			mes "Bye";
    			close;
    	}
    	next;
    } while ( 1 );
    

    what if i used 2 switchs like

    mes "Hello";
    	switch ( select( "hello" ) ) {
    case 1:
    next;
    switch ( select( "hello" ) ) {
    case 1:
    close;
    break;
    }
    break;
    }
    

    how to do this? i want all of them to go back to the start

     

    edit: nvm i already figured it out lol

  3. Hello

     

    i need help with this simple script for ex. i want when you reach a end of the text in npc it repeat it self.

     

    ex like this maybe

    prontera,149,194,4	script	test	 871,{
    
    mes "Hello how can i help you?";
    next;
    	switch (select("Nothing, thanks:Cancel")) {
    		
    		case 1:
    			next;
    			mes "Ok, see you later";
    			close;
    			break;  // i want in this end the script go and restart it conversation, goes back to line 1.
    			
    		case 2:
    			close;
    			break; // i want in this end the script go and restart it conversation, goes back to line 1.
    		}
    		close;
    		}
    

    what i want is whenever in the end of the case the script go and repeat himself from "mes "Hello how can i help you?";".

     

    how can i do this?

  4. -

    for if you install both main.sql and logs.sql in the same db then it shout look like this

    // MySQL Login server
    login_server_ip: 127.0.0.1  //if the sql server is in the same host then is shout be local otherwise use the server ip
    login_server_port: 3306
    login_server_id: root  // you better create other user to use for this.
    login_server_pw: 6608903c
    login_server_db: aprilroz_aprilro
    login_codepage:
    login_case_sensitive: no
    
    

    ref to.

    CentOS https://rathena.org/wiki/Installation_(CentOS)#Configure_MySQL

    windows https://rathena.org/wiki/Installation_on_Windows

  5. Catchable fatal error: Object of class Flux_Config could not be converted to string in /var/www/lib/Flux.php on line 482

     

    482 line: return is_dir(FLUX_THEME_DIR."/$themeName");

     
    What should i do whith this?

    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: Flux_Error

    Message: Critical MySQL error in Installer/Updater: Table 'cp_banlog' already exists

    File: /var/www/lib/Flux/Installer/Schema.php:133

    File Line Function/Method /var/www/lib/Flux/Installer/Schema.php 157 Flux_Installer_Schema::install() /var/www/lib/Flux/Installer/MainServer.php 46 Flux_Installer_Schema::update() /var/www/modules/install/index.php 83 Flux_Installer_MainServer::updateAll() /var/www/lib/Flux/Template.php 337 include() /var/www/lib/Flux/Dispatcher.php 168 Flux_Template::render() /var/www/index.php 170 Flux_Dispatcher::dispatch() Exception Trace As String

    #0 /var/www/lib/Flux/Installer/Schema.php(157): Flux_Installer_Schema->install(497)

    #1 /var/www/lib/Flux/Installer/MainServer.php(46): Flux_Installer_Schema->update()

    #2 /var/www/modules/install/index.php(83): Flux_Installer_MainServer->updateAll()

    #3 /var/www/lib/Flux/Template.php(337): include('/var/www/module...')

    #4 /var/www/lib/Flux/Dispatcher.php(168): Flux_Template->render()

    #5 /var/www/index.php(170): Flux_Dispatcher->dispatch(Array)

    #6 {main}

    delete the sql tables that already installed and this should solve it for you

    • Upvote 1
  6.  

    your config/application.php

     

    should look like this

    	'ServerAddress'        => 'YOURDOMAIN.OR.IP',              // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)
    	'BaseURI'              => '/flux',                       // here your flux cp folder, if its the main page should be left empty
  7. Hello.

    I copy files from this: https://github.com/HerculesWS/FluxCP to my host, then correct application.php and servers.php

    Application i correct only: 'InstallerPassword' - ********

    In servers.php i correct: 

    'Hostname'   => '127.0.0.1',
    'Username'   => 'username of my server in sql',
    'Password'   => 'password of my server in sql',
    'Database'   => 'base of my server in sql
     
    Then i get this problem when i open in browser http://17*.**.**.**/
     
    Error

    An error occurred while trying to process your request.

    Please try contacting an administrator: admin@localhost

    ',
     
    What i do wrong? Or maybe i forgot do anything?

    I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....

    open config/error.php

     

    change $showExceptions = false; to true

  8.  

    Hello.

    I copy files from this: https://github.com/HerculesWS/FluxCP to my host, then correct application.php and servers.php

    Application i correct only: 'InstallerPassword' - ********

    In servers.php i correct: 

    'Hostname'   => '127.0.0.1',
    'Username'   => 'username of my server in sql',
    'Password'   => 'password of my server in sql',
    'Database'   => 'base of my server in sql
     
    Then i get this problem when i open in browser http://17*.**.**.**/
     
    Error

    An error occurred while trying to process your request.

    Please try contacting an administrator: admin@localhost

    ',
     
    What i do wrong? Or maybe i forgot do anything?

     

    I change in servers php and application php 127.0.0.1 to localhost but nothing......problem not solved.....

     

    in config/error.php

     

    edit

    $showExceptions  = false;
    

    to

    $showExceptions  = true;
    

    and you should see your errors

  9.  

    What rev or rAthena you using, what version of my script and show your separate NPC

     

     

    im using latest rAthena rev. 1.93 autoevent.

     

    ex of my script

    prontera,162,161,4	script	Events Manager	 719,{
    
    mes "[Events Manager]";
    mes "Would you like to join the current event?";
    switch (select("Join Event:No, thanks")) {
    case 1:
    next;
    callfunc "JoinEvent"; //here where im having the problem.
    break;
    
    case 2:
    next;
    mes "see you later";
    close;
    break;
    
    }
    }
    
    
  10.  

     

    Q> How to Enable multi-language client?

     

    Or is there a way to support multiple language client? Like English/Arabic/Indonesia?

     

    Regards!

     

    Would I use the select service?

    you could try to use other server grf that has multi lang , i tried to use one and it worked with me on client 2012

     

     

    Example of it? Are there other ways?

     

    i just simply did copy the server grf, and made a 2012 client then used it and it worked.

     

    this is only for items and UI btw

  11. Q> How to Enable multi-language client?

     

    Or is there a way to support multiple language client? Like English/Arabic/Indonesia?

     

    Regards!

     

    Would I use the select service?

    you could try to use other server grf that has multi lang , i tried to use one and it worked with me on client 2012

  12. Hello everyone, I am back again X_X sorry for the constant problems. I am now able to open my server and client without any problems but when I try to login the the server it states that the account is unknown... Here are some pics of the problem, as well as pics of my sql and txt files

     

    Problem Photo: http://imgur.com/Z4BGy7x

     

    MySQL & Text Files: http://imgur.com/a/oi7Qx

     

     

    Thanks in advance, if you need anything else just post here!

    - Kris

    make a new account to play.

     

    username_M male _F female

     

    you cannot user account_id 1 for a user to play with its the server account

×
×
  • Create New...