Jump to content

ReSp

Members
  • Posts

    43
  • Joined

  • Last visited

Posts posted by ReSp

  1. Hello. When i use such:

    11503,Siege_White_Potion,WoE White Potion,0,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if ( getmapflag( strcharinfo(3), mf_gvg ) ) itemheal rand(400,500),0; },{},{}
    It is used in every map.

    When i use such:

    11503,Siege_White_Potion,WoE White Potion,0,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ { if ( getmapflag( strcharinfo(3), mf_gvg ) || getmapflag( strcharinfo(3), mf_gvg_castle ) || getmapflag( strcharinfo(3), mf_gvg_dungeon ) ) itemheal rand(400,500),0; },{},{}

    It isnt use anywhere.....

    Help with my problem please, i need using it only in gvg maps (castles).
     

  2. Help me please with NPC which can for zeny change group_id of player who use it.

    It is for buying premium account.

    I can find only such, but it is gives premium and not changes group_id:

    -	script	VIPServiceLogin	-1,{
    OnPCLoginEvent:
    	if(#VIPSERVICE == 1 && VIP_Lasttime + $VIP_Cooldown > gettimetick(2) && VIP_Lasttime < gettimetick(2)) {
    	dispbottom "Your VIP service is active!";
    	sc_start SC_EXPBOOST,86400,50;
    	sc_start SC_ITEMBOOST,86400,200;
    	end;
    	}
    }
    
    
    prontera,108,112,4	script	VIP Service	54,{
    
    	// Configs
    	//
    	//
    	set .itemID, 7539; // Set this number to the VIP ticket
    	//
    	set $VIP_Cooldown,86400;
    	//
    	//
    	// 2592000 is the amount of milliseconds in 30 days.
    	// So the VIP ticket will last exactly 30 days.
    	//
    	// When a player logs in on any char on the account, they will get an item / exp drop rate buff.
    	// The buff lasts 24 hours, but it is given every single time they login, so it will never run out until the 30 days are up.
    	//
    	// After giving in a VIP ticket, the player can talk to the NPC to see how much longer they have till the 30 days are over.
    	//
    	//
    	
    		if(#VIPSERVICE == 1 && VIP_Lasttime + $VIP_Cooldown > gettimetick(2) && VIP_Lasttime < gettimetick(2)) {
    		set .@last,VIP_Lasttime + $VIP_Cooldown - gettimetick(2);
    		set .@days,.@last / 60 / 60 / 24;
    		set .@hours,.@last / 60 / 60 % 60;
    		set .@minutes,.@last / 60 % 60;
    		set .@seconds,.@last % 60;
    		mes "You have: ";
    		mes ""+.@days+" days "+.@hours+" hours "+.@minutes+" minutes "+.@seconds+" seconds";
    		mes "in your VIP service remaining.";
    		close;
    		}
    	mes "Hello!";
    	mes "Would you like to redeem your VIP Service ticket?";
    	switch(select("Yes!:No.")) {
    	case 1:
    		if (countitem(.itemID) > 0) {
    		delitem .itemID,1;
    		set #VIPSERVICE,1;
    		mes "Congrats, you now have VIP service!";
    		mes "You must relog for it to take effect.";
    		set VIP_Lasttime,gettimetick(2);
    		close;
    		}
    		else {
    		mes "You do not have a VIP ticket!";
    		mes "Come back when you get one.";
    		close;
    		}
    	case 2:
    		mes "Very well, I shall be here if you change your mind.";
    		close;
    	}
    }

     

  3. FluxCP видит английский язык, но вместо русского текста выдает подобное:

    ���� ��� �������� Ragnarok Online. ����� �������: ��

    Как исправить подскажите пожалуйста.

    Пробовал в servers.php менять utf8 на cp1251, не помогло, комментировать Convert строку - не помогло.

    'Encoding'   => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is.
                'Convert'    => 'utf8',

     

  4. 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}
    
  5. 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.....

  6. 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*.**.**.**/
    ErrorAn 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.....

  7. Hosting publicy.

    check all files, packet db.txt mmo_h clientinfo, they have the same version as exe file...

     

    When i have folder data i can connect to server as other players....but when i do my grf file i cant connect to it......

     

    I do like this guide: https://rathena.org/board/topic/84746-tutorial-how-to-create-ragnarok-offline-2013-client-tutorial/

    But why 2013-07-03 Rage.exe is 38 version? in file conf/battle/client.conf 2013-07-03 is 42 version....

     

    My putty write this when i connect to server:

    39af43ddd60715eca77bd178afedae9c.jpg


    I need disable PACKET_OBFUSCATION.....

    Problem solved....

    thx

  8. Hello.

    I have some problem.

    I do my grf file, put in him clientinfo file with my settings, after this with NEMO patch using 2012-07-24aRagexe.exe do EXE file.

    Data ini include 2 grf files - my grf and data grf, they are applied when i enter exe, i can enter my account to server, then i see window "Service select" where i can choose server, if i enter it - i has a window "Failed to Connect to server"......

    What did I do wrong?

    Thank you in advance for your help

×
×
  • Create New...