Jump to content

erick26

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by erick26

  1. Reset password doesn't work i am getting this error..

     

    Quote

    Notice: Accessing static property Flux_Mailer::$errLog as non static in /var/www/html/lib/Flux/Mailer.php on line 20

    Notice: Accessing static property Flux_Mailer::$log as non static in /var/www/html/lib/Flux/Mailer.php on line 21

     

  2. On 2/24/2018 at 3:45 AM, Akbare said:

    Start server with LOG text
    --------------------------
     

    
    ./athena-start start >> athena.txt 2>&1 &

     

    check athena.txt in your root server folder

     

    problem on this one is if you suddenly lose connection or close the putty your server will close too

  3. Hi everyone,

    I was wondering how to make this script to summon the next round once all the mvp are killed and per round will summon 2 mvp monsters and will have 1 timer also for the whole event.

    What currently happening is MVP's are getting doubled each time.

    pvp_2vs2,40,18,4	script	BTA	736,{
    	if (getgmlevel() == 99) goto BTA_Admin;
    	mes "[ BTA ]";
    	mes "Hello " + strcharinfo(0) + ", You dont have the power to command me.";
    	mes "Go away you weakling";
    	close;
    	
    BTA_Admin:
    	mes "[ BTA ]";
    	mes "Hello " + strcharinfo(0) + ", what do you want to do?";
    	menu "Begin The Event",startbtaevent,"Kill MVP(s)",endBTA;
    		
    	startbtaevent:
    		next;
    		mes "[ BTA ]";
    		mes "All monster(s) have been summoned";
    		close2;
    		goto Round1;
    	
    	Round1:	
    		mapannounce "pvp_2vs2","Boss Time Attack: Orc Hero in 5.",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 4",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 3",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 2",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 1",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: GO!",0;
    		sleep2 1000;
    		set .MOBStartTick, gettimetick(2);
    		set .MOBKillTime, 0;
    		monster "pvp_2vs2",40,33,"BTA Event",1159,1,"BTA::OnMVPKilled";
    		monster "pvp_2vs2",40,46,"BTA Event",1087,1,"BTA::OnMVPKilled";
    		end;
    	
    	Round2:	
    		mapannounce "pvp_2vs2","Boss Time Attack: Atroce in 5.",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 4",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 3",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 2",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 1",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: GO!",0;
    		sleep2 1000;
    		set .MOBStartTick, gettimetick(2);
    		set .MOBKillTime, 0;
    		monster "pvp_2vs2",40,33,"BTA Event",1112,1,"BTA::OnMVPKilled2";
    		monster "pvp_2vs2",40,46,"BTA Event",1147,1,"BTA::OnMVPKilled2";
    		end;
    		
    	Round3:
    		mapannounce "pvp_2vs2","Boss Time Attack: RSX-0806 in 5.",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 4",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 3",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 2",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: 1",0;
    		sleep2 1500;
    		mapannounce "pvp_2vs2","Boss Time Attack: GO!",0;
    		sleep2 1000;
    		set .MOBStartTick, gettimetick(2);
    		set .MOBKillTime, 0;
    		monster "pvp_2vs2",40,33,"BTA Event",1190,1,"BTA::OnMVPKilled3";
    		monster "pvp_2vs2",40,46,"BTA Event",1038,1,"BTA::OnMVPKilled3";
    		end;
    
    
    
    OnMVPKilled:
    	set .MOBKillTime, gettimetick(2) - .MOBStartTick;
    		mapannounce "pvp_2vs2","Boss Time Attack: Time " + (.MOBKillTime /60)+ "min " + (.MOBKillTime % 60) + "sec",0;
    		sleep2 3000;
    		goto Round2;
    	end;
    
    OnMVPKilled2:
    	set .MOBKillTime, gettimetick(2) - .MOBStartTick;
    		mapannounce "pvp_2vs2","Boss Time Attack: Time " + (.MOBKillTime /60)+ "min " + (.MOBKillTime % 60) + "sec",0;
    		sleep2 3000;
    		goto Round3;
    	end;
    
    OnMVPKilled3:
    	set .MOBKillTime, gettimetick(2) - .MOBStartTick;
    		mapannounce "pvp_2vs2","Boss Time Attack: Time " + (.MOBKillTime /60)+ "min " + (.MOBKillTime % 60) + "sec",0;
    	end;	
    
    endBTA:
    		next;
    		mes "[ BTA ]";
    		mes "All monster(s) have been erase";
    		killmonster "pvp_2vs2","All";
    		close;
    	}
  4. 9 minutes ago, Vy Low said:

    That happen when players get disconnected from the server

    yes but even my own character, just out of nowhere it will randomly disconnect someone, is there something in configuration for this? I even encounter that i just logged in the suddenly i got that message

  5. Quote

    usage :

    whisper to npc:itemall (required groupid 99 or above or edit it in the script).

    in textbox try type :

    map#501#1

    all#501#1

    when i do map it's saying given to 0 players even if i have 2 players standing beside me.

    and if i want to give to everyone including vendors i just need to remove 

    && !checkvending(.@name$[.@i])

     

  6. Hi everyone,

    I am just wondering what is wrong with my script below as sometime randomly i get stuck at without a chance of inputting number or when someone just pressed enter and not inputting number. Below is my script.

    vip_lounge,157,139,4    script    Potion Converter    100,{
    
       mes "Hi! I can convert your potions to your choice.";
       mes "Select which item you want to exchange.";
       next;
       switch(select("Segen White Potion 2x->Segen Blue Potion 1x:Segen Blue Potion 2x->Segen White Potion 1x:Siege White Potion 2x->Siege Blue Potion1x:Siege Blue Potion2x->Siege White Potion1x:Close")) {
        mes "How much?";
        input .@num;
        case 1:
            if(countitem(11503) >= .@num) {
                delitem 11503, .@num;
                getitem 11504, .@num/2;
            } else if ((.@weight) > 50){
                mes "Hmmmm... it seems you are overweight";
            } else if(countitem(11503) < .@num) {
                mes "Sorry You don't have the required item!";
            }
            close;
            break;
        case 2:
            if(countitem(11504) >= .@num) {
                delitem 11504, .@num;
                getitem 11503, .@num/2;
            } else if ((.@weight) > 50){
                mes "Hmmmm... it seems you are overweight";
            }  else if(countitem(11504) < .@num) {
                mes "Sorry You don't have the required item!";
            }
            close;
            break;
        case 3:
            if(countitem(32007) >= .@num) {
                delitem 32007, .@num;
                getitem 32008, .@num/2;
            } else if ((.@weight) > 50){
                mes "Hmmmm... it seems you are overweight";
            }  else if(countitem(32007) < .@num) {
                mes "Sorry You don't have the required item!";
            }
            close;
            break;
        case 4:
            if(countitem(32008) >= .@num) {
                delitem 32008, .@num;
                getitem 32007, .@num/2;
            } else if ((.@weight) > 50){
                mes "Hmmmm... it seems you are overweight";
            }  else if(countitem(32008) < .@num) {
                mes "Sorry You don't have the required item!";
            }
            close;
            break;
        case 5:
            close;
    
        }
    OnInit:
        waitingroom "Convert pots here",0;
        
    }

     

  7. Hi guys so i have the below script and i want to add a 3min grace period time or leeway time so that a player can do character select without resetting the hourly counter.

    -    script    hourlypoints3    -1,{
        
    OnPointGet:
        //Check for idle.
        while(checkvending() >= 1) {
            if( .@mes$ == "" ) {
                dispbottom set( .@mes$, "The hourly points event stopped because you were vending, chatting, or idle!" );
                set @hourly_points_timer, 0;
            }
            sleep2 .delay;
        }
        
        @consecutive_timer++;
        .@time_string$ = Time2Str( @consecutive_timer * ( .timer / 1000 ) );
        dispbottom "You received "+.points+" Free Point(s) by staying ingame for 1 hour.";
        #HourlyRewards = #HourlyRewards + .points;
        dispbottom "Current Balance = "+#HourlyRewards+" Free Point(s)";
        @consecutive_bonus++;
    
        //Check for consecutive timer.
        if(@consecutive_bonus == .cdelay) {
            @consecutive_bonus = 0;
            #HourlyRewards = #HourlyRewards + .cpoints;
            dispbottom "You receive a bonus "+.cpoints+" Free Point(s) by playing for minimum 3 hours consecutively!!!";
            dispbottom "Current Balance = "+#HourlyRewards+" Free Point(s)";
        }
        
    OnPCLoginEvent:
        addtimer .timer,"hourlypoints3::OnPointGet";
        @hourly_points_timer = gettimetick(2) + ( .timer / 1000 );
        end;
        
    OnCheck:
        message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!";
        end;
    
    OnInit:
        bindatcmd "check","hourlypoints3::OnCheck"; //@check to view time till next point.
        .timer   = 1000*60*60; //Timer in milliseconds. ( Default: 1000*60*60 [ = 1 Hour ] )
        .cdelay  = 3;          //Delay before receiving the consecutive bonus. ( Default: 3 [ { ~ 3 Hours } *Using default timer ] )
        .cpoints = 10;         //Points gained for consecutive time online. ( Default: 10 )
        .points  = 1;          //Normal points gained. ( Default: 1 )
    }

     

×
×
  • Create New...