Jump to content

  •  

* Blaze *'s Content

There have been 27 items by * Blaze * (Search limited from 17-May 23)



Sort by                Order  

#81212 Hourly Points Question

Posted by * Blaze * on 22 March 2017 - 08:36 PM in Script Support


 
-    script    hourly_point_main    -1,{
    
    OnInit:
        .max_hour = 8;
        .duration = 3600;
        .npc_name$ = strnpcinfo(3);
        bindatcmd "hourly", .npc_name$ + "::OnCheck";
        end;
        
    OnClock0000:
        deletearray $@hourly_tick;
        
    OnUpdate:
        .@aid = getcharid(3) & 0xFFFF;
        deltimer .npc_name$+"::OnUpdate";
        $@hourly_ticks[.@aid]++;
        #KAFRAPOINTS += $@hourly_ticks[.@aid] * 10;
        
    OnPCLoginEvent:
        .@aid = getcharid(3) & 0xFFFF;
        if ( $@hourly_ticks[.@aid] < .max_hour ) {
            @timer = gettimetick(2) + .duration;
            addtimer ( .duration * 1000 ), .npc_name$+"::OnUpdate";
        } else {
            dispbottom "[ Hourly Rewards ] You've reached the daily maximum of "+.max_hour+" hours played, well done!",0x9ae2d7;
            end;
        }
        if ( #reward && $@hourly_ticks[.@aid] )
            dispbottom "[ Hourly Rewards ] " + $@hourly_ticks[.@aid] + "/" + .max_hour + " hours played, "+#reward+" point(s)!",0x9ae2d7;
        end;
        
    OnCheck:
        .@min = (@timer - gettimetick(2))/60;
        .@sec = (@timer - gettimetick(2))%60;
        dispbottom "[ Hourly Rewards ] Your next reward will be achieved in " +
                    ((.@min)?            "[ " + .@min + " ] minute"         + ((.@min > 1)?"s":""):"") +
                    ((.@min && .@sec)?    " and ":"") +
                    ((.@sec)?            "[ " + .@sec + " ] second"    + ((.@sec > 1)?"s":""):"") +
                    "!",0x9ae2d7;
        end;            
}

 


Allows players who afk and pubbing to gain points except players who use @autotrade or Vending I see this script any one help me??

 




#81191 Question size Landprotector

Posted by * Blaze * on 21 March 2017 - 11:11 AM in Source Support

how to change the size of land protector ?




#80298 From developing cheats ( xRag ) to developing a server with protection. Some...

Posted by * Blaze * on 09 February 2017 - 09:09 PM in Ragnarok Mo? Pag usapan natin

Hina

 

Hi guys,

 

Ask ko lang sa mga experienced server owners dito, ano kaya ang pinakamagandang pakulo para mapasikat ang server?

 

Bakit kaya nasa classic lahat ng player ng 99/70?

 

Salamat sa mga sasagot.

 


Also, if meron interested I'm looking for a person na makakapag manage ng server. Like game content, community management, etc.

 

Hinahanap kasi nila sa isang server classic 99/70 no MVP/Mini boss card / No healer / No warper yan po hanap nila midrate or lowrate style 




#80165 Automated Event ( Hourly ) with Cashpoint Reward

Posted by * Blaze * on 05 February 2017 - 10:12 AM in General Server Support

 


What kind of event do you want?

 

What will be it's goals?

 

 

Sample of hourly event:

 

prontera,150,150,4	script	Hide and Seek::hourly_event	1_M_01,{
	
	if ( .STATUS ) {
		mes("[^FFA500Hide and Seek^000000]");
		mes("Oh! You found me!");
		mes("Here's your reward!");
		announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
		#CASHPOINTS += 75; // Adds 75 Cash Points
		close2();
		donpcevent("hourly_event::OnStopEvent");
	}
	end();

	OnInit:
		hideonnpc("hourly_event");
		.STATUS = 0;
		end();

	OnMinute00: //Every hour at this minute the event will begins
		donpcevent("hourly_event::OnStartEvent");
		end();

	OnStartEvent:
		initnpctimer();

		setarray(
			.COORDINATES[0],
			// x, y (just for prontera)
			119, 311,
			105,  74,
			129, 261,
			188, 330,
			241,  76,
			205, 238,
			 60, 335,
			240, 292
		);

		.@i = rand(getarraysize(.COORDINATES));
		.@x = .COORDINATES[.@i];
		.@y = .COORDINATES[.@i + 1];

		movenpc("hourly_event", .@x, .@y);

		.STATUS = 1;

		announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);

		hideoffnpc("hourly_event");

		end();

	OnStopEvent:
		stopnpctimer();
		.STATUS = 0;
		hideonnpc("hourly_event");
		end();

	OnTimer1800000:
		donpcevent("hourly_event::OnStopEvent");
		end();
}

Goal: Find the NPC in Prontera.

i wanted that like 

LMS

Disguise

Mushroom Hunting

Dice

Jumper

Poring Catcher

Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate


-    script    AutoPickEvent    -1,{
 
OnClock2000:
 
while(1)
{
  query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid;
  attachrid .@aid;
  if(CheckVending())
  {
   DetachRID();
   continue;
  }
  announce strcharinfo(0) +" won in Lucky Pick Event.", 0;
 #CASHPOINTS += 25; // Adds 25 Cash Points Rewards
  break;
}
end;
}

Lucky pick event try this Every 2hrs 




#80146 [WIP] dDelays

Posted by * Blaze * on 04 February 2017 - 09:03 PM in Projects

Ready? can i have a slot?




#80145 YARL - Yet Another Ragnarok Launcher

Posted by * Blaze * on 04 February 2017 - 09:00 PM in Paid Services

Awesome work please add Reset password also :) can i test the beta?




#80144 how to add #main cost zeny?

Posted by * Blaze * on 04 February 2017 - 08:49 PM in Script Requests

 

Do you want to make players pay some fee when talking in #main channel?


I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

 

Yes bio to avoid spam #main chat thanks up for this 

 

Here's the plugin:

 

Download Link

 

How to configure it:

// FIXME: make a better way to add fee on channels (directly on channels.conf)
const struct {
	char name[HCS_NAME_LENGTH];
	int zeny;
	int nameid;
	int amount;
} channels_fee[] = {
	// -- Add channels with fee like the example: {"name", zeny, item id, item count};
	{"main"    , 1000, 0  , 0}, // #main - 1000z and no item
};

Find "channels_fee[]" declaration and add an element just like de example above.

 

It's already set to charge 1000 zenys when trying to speak on #main channel, so just change if you want to add or remove a channel.

 

Hope you enjoy it!

 

Thanks Bio  ;)  ;)  ;)  ;)




#80120 how to add #main cost zeny?

Posted by * Blaze * on 03 February 2017 - 04:59 PM in Script Requests

Do you want to make players pay some fee when talking in #main channel?


I think channel system hasn't any feature like that (have no idea, has it?), so it will need some src edits.

 

@edit

 

Oh, I'll make a plugin, It's a very good idea! Thank you @Blaze!

 

Yes bio to avoid spam #main chat thanks up for this 




#80075 how to add #main cost zeny?

Posted by * Blaze * on 02 February 2017 - 10:37 AM in Script Requests

Help me any script when player using #main it will cost 10000z??




#79796 Check weight request

Posted by * Blaze * on 19 January 2017 - 08:21 PM in Script Support

 

 

setarray .@CoinID[0], 607;
 
for (.@i = 0; .@i < getarraysize(.@CoinID); ++.@i)
    .@Menu$ += getitemname( .@CoinID[.@i] )+":";
.@i = select(.@Menu$) - 1;
if (#KAFRAPOINTS < 2) {
    mes "Sorry but you didnt have 2 Reward Points.";
} else {
    mes "How many ^339FFFArrow Quiver^000000";
    mes "you want to purchase?";
    mes "Amount : 1 ~ " + (#KAFRAPOINTS / 2);
    input .@Amount, 0, (#KAFRAPOINTS / 2);
    if (.@Amount) {
		if (!checkweight(Knife, 1) || MaxWeight - Weight < 1000) {
			mes "- You're over weight or you dont have enough space in your inventory -";
			close;
		}
        #KAFRAPOINTS -= .@Amount * 2;
        getitem .@CoinID[.@i], .@Amount;
        mes "Done";
    }
}
close;

 

hello i got error line 763tG5cGJ.png

it seems like you're not using hercules  -_-

 

Hello im using rAmod sorry old revision


Fixed thanks




#79794 Check weight request

Posted by * Blaze * on 19 January 2017 - 07:11 PM in Script Support

setarray .@CoinID[0], 607;
 
for (.@i = 0; .@i < getarraysize(.@CoinID); ++.@i)
    .@Menu$ += getitemname( .@CoinID[.@i] )+":";
.@i = select(.@Menu$) - 1;
if (#KAFRAPOINTS < 2) {
    mes "Sorry but you didnt have 2 Reward Points.";
} else {
    mes "How many ^339FFFArrow Quiver^000000";
    mes "you want to purchase?";
    mes "Amount : 1 ~ " + (#KAFRAPOINTS / 2);
    input .@Amount, 0, (#KAFRAPOINTS / 2);
    if (.@Amount) {
		if (!checkweight(Knife, 1) || MaxWeight - Weight < 1000) {
			mes "- You're over weight or you dont have enough space in your inventory -";
			close;
		}
        #KAFRAPOINTS -= .@Amount * 2;
        getitem .@CoinID[.@i], .@Amount;
        mes "Done";
    }
}
close;

 

hello i got error line 763tG5cGJ.png




#79746 Check weight request

Posted by * Blaze * on 18 January 2017 - 12:14 AM in Script Support

 
Any idea how add checkweight here thanks 
 


setarray .@CoinID[0],607;
 
for( set .@i,0; .@i < getarraysize( .@CoinID ); set .@i,.@i + 1 )
    set .@Menu$,.@Menu$ + getitemname( .@CoinID[.@i] )+":";
set .@i,( select( .@Menu$ ) - 1 );
if( #KAFRAPOINTS < 2 ){
    mes "Sorry but you didnt have 2 Reward Points.";
}else{
    mes "How many ^339FFFArrow Quiver^000000";
    mes "you want to purchase?";
    mes "Amount : 1 ~ "+( #KAFRAPOINTS / 2 );
    input .@Amount,0,( #KAFRAPOINTS / 2 );
    if( .@Amount ){
        set #KAFRAPOINTS,#KAFRAPOINTS - ( .@Amount * 2 );
        getitem .@CoinID[.@i],.@Amount;
        mes "Done";
    }
}
close;

 

 




#79745 Help me guys

Posted by * Blaze * on 18 January 2017 - 12:11 AM in Script Requests

Emm try this one

-    script    Heal    FAKE_NPC,{
OnPCDieEvent:
	sleep2 1300;
	dispbottom "50% of Max HP/SP will be restored";
	percentheal 50,50;
	end;
} 

 

Hello not working sir 

Asheraf

z0ttGZc.png




#79720 Help me guys

Posted by * Blaze * on 16 January 2017 - 10:54 PM in Script Requests

still when i respawn my HP : 1 only 




#79717 Help me guys

Posted by * Blaze * on 16 January 2017 - 08:41 PM in Script Requests

Hercules > Conf / Map / Battle /Player.conf
 

// The amount of HP a player will respawn with, 0 is default.
// (Unit is in percentage of total HP, 100 is full heal of HP, 0 is respawn with 1HP total.)
restart_hp_rate: 0  << Change to 50
 
// The amount of SP a player will respawn with, 0 is default.
// (Unit is in percentage of total SP, 100 is full heal of SP, 0 is respawn with 1SP total.)
restart_sp_rate: 0  << Change to 50



// The amount of HP a player will respawn with, 0 is default.
// (Unit is in percentage of total HP, 100 is full heal of HP, 0 is respawn with 1HP total.)
restart_hp_rate: 50
 
// The amount of SP a player will respawn with, 0 is default.
// (Unit is in percentage of total SP, 100 is full heal of SP, 0 is respawn with 1SP total.)
restart_sp_rate: 50
 

I did already bug 




#79713 Help me guys

Posted by * Blaze * on 16 January 2017 - 04:53 PM in Script Requests

I try this script its not working any one help me

The amount of HP a player will respawn with 50%HP and SP

 

-    script    Heal    -1,{
OnPCDieEvent:
sleep2 1300;
if(killerrid != getcharid(3)) {
   dispbottom "50% of Max HP/SP will be restored";
   if(HP == 0);
   percentheal 50,50;

end;




#79697 Question the amount of HP a player will respawn

Posted by * Blaze * on 16 January 2017 - 01:10 AM in General Server Support

Player.conf setting

// The amount of HP a player will respawn with, 0 is default.
// (Unit is in percentage of total HP, 100 is full heal of HP, 0 is respawn with 1HP total.)
restart_hp_rate: 50

// The amount of SP a player will respawn with, 0 is default.
// (Unit is in percentage of total SP, 100 is full heal of SP, 0 is respawn with 1SP total.)
restart_sp_rate: 50

How to set On respawn, 50% of Max HP/SP will be restored.??

When i try to set restart_hp_rate: 50  the formula not working any idea how fix restart_hp_rate & restart_sp_rate? im using old revision thanks

hlUBRb7.png




#78581 [Question] Exe for eamod

Posted by * Blaze * on 29 November 2016 - 07:54 PM in Client-Side Requests

2010 to 2011 check mmo.h what client supported eAmod




#78580 Question

Posted by * Blaze * on 29 November 2016 - 07:52 PM in Client-Side Support

20130807 sir 




#78428 Hourly Points

Posted by * Blaze * on 24 November 2016 - 12:55 AM in Script Support

Fixed thanks 




#78426 Hourly Points

Posted by * Blaze * on 24 November 2016 - 12:18 AM in Script Support

Any idea?

Every Hour you get reward points
After 8 consecutive hours, rewarding will start all over again
Rewards without Voting Events Triggered
First Hour: 10 Rewards Points
Second Hour: 20 Reward Points
Third Hour: 30 Reward Points
Fourth Hour: 40 Reward Points
Fifth Hour: 50 Reward Points
Sixth Hour: 60 Reward Points
7th Hour: 70 Reward Points
8th Hour: 80 Reward Points

I thought this is script not working any posible script please help me.. thanks??  B) 

//===== Hourly Points Script =========================================
//===== By: ==========================================================
//= GorthexTiger modified by Nibi
//===== Current Version: =============================================
//= 1.0
//===== Compatible With: =============================================
//= Any eAthena Version
//===== Description: =================================================
//= Get Points every successful hours of gameplay, you cannot get
//= the points even if you miss a second or a minute. A player will
//= get a very big bonus if they played 3 hours consecutively
//= or without logging out of the game. If the player is vending
//= the script will then stop.
//===== Additional Comments: =========================================
//= You can modify the script to your liking.
//= The default points is Kafrapoints change it anyway if you like.
//= 1.1 = Check Chatting too
//= 1.2 = 5 Minute Idle Check & @at/@autotrade check.
//= 1.3 = Corrected the current balance line on 12 Hours Consecutive
//====================================================================
-    script    hourlypoints    -1,{
//--Start of the Script
OnPCLoginEvent:
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
OnPointGet:
    //while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) {
        //sleep2 .delay;
        //if(.@mes$=="")
            //dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle.");
    //}
    set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt;
    dispbottom "You received "+.point_amt+" Reward Cash Points by staying ingame for 1 hour";
    dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    set @consecutive_hour, @consecutive_hour + 1;

    //Check for 2 hours consecutive
    if(@consecutive_hour == 2) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .2cpoint_amt;
        dispbottom "You received "+.2cpoint_amt+" Reward Cash Points due to playing for 2 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
    //Check for 3 hours consecutive
    if(@consecutive_hour == 3) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .3cpoint_amt;
        dispbottom "You received "+.3cpoint_amt+" Reward Cash Points due to playing for 3 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
     //Check for 4 hours consecutive
    if(@consecutive_hour == 4) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .4cpoint_amt;
        dispbottom "You received "+.4cpoint_amt+" Reward Cash Points due to playing for 4 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
    //Check for 5 hours consecutive
    if(@consecutive_hour == 5) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .5cpoint_amt;
        dispbottom "You received "+.5cpoint_amt+" Reward Cash Points due to playing for 5 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
    //Check for 6 hours consecutive
    if(@consecutive_hour == 6) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .6cpoint_amt;
        dispbottom "You received "+.6cpoint_amt+" Reward Cash Points due to playing for 6 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
    //Check for 7 hours consecutive
    if(@consecutive_hour == 7) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .7cpoint_amt;
        dispbottom "You received "+.7cpoint_amt+" Reward Cash Points due to playing for 7 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;
    
    //Check for 8 hours consecutive
    if(@consecutive_hour == 8) {
        set @consecutive_hour,0;
        set #KAFRAPOINTS, #KAFRAPOINTS + .8cpoint_amt;
        dispbottom "You received "+.8cpoint_amt+" Reward Cash Points due to playing for 8 consecutive hours";
        dispbottom "Current Balance = "+#KAFRAPOINTS+" Reward Cash Points";
    }
    addtimer .timer,"hourlypoints::OnPointGet";
    end;

OnInit:
    set .timer, 1000*60*60; //Timer in milliseconds.
    set .2cpoint_amt, 20; //Points gained for consecutive time online.
    set .3cpoint_amt, 30; //Points gained for consecutive time online.
    set .4cpoint_amt, 40; //Points gained for consecutive time online.
    set .5cpoint_amt, 50; //Points gained for consecutive time online.
    set .6cpoint_amt, 60; //Points gained for consecutive time online.
    set .7cpoint_amt, 70; //Points gained for consecutive time online.
    set .8cpoint_amt, 80; //Points gained for consecutive time online.    
    set .point_amt, 10; //Normal points gained.
    //set .delay, 1000; //Delay for idle re-check check.
    //set .dlimit, 60*5; //Stop points if afk greater then in seconds.
}

 




#78414 Question

Posted by * Blaze * on 23 November 2016 - 02:12 PM in Client-Side Support

Can you please specify what line? thanks




#78410 Question

Posted by * Blaze * on 23 November 2016 - 01:03 PM in Client-Side Support

Please help me i for got this ( P ) where i can change this?

 

hwrhcUV.jpg




#78394 Question

Posted by * Blaze * on 22 November 2016 - 06:41 PM in Script Support

Fixed i got the answer




#78389 Question

Posted by * Blaze * on 22 November 2016 - 05:20 PM in Script Support

HP + 400 Reduce 50 HP Every 10 Level  Error default_wacko.png any one can fix this?

{ bonus bMaxHP,400; bonus2 bHPLossRate,50,-readparam(JobLevel/10); },{},{}