Stolao

Stolao's Script Collection [Update 2018-06-02_08:16]

Recommended Posts

Hi sir about your daily rewards, how can i add rewards reset after 1 month pass and make it per account / per ip?

Share this post


Link to post
Share on other sites

Hi sir about your daily rewards, how can i add rewards reset after 1 month pass and make it per account / per ip?

In the latest edition it had a research at end of list option, combine that with a high .MaxWait and it will work fine.

As for account based just replace getitem with getitembound

Share this post


Link to post
Share on other sites

Just to clear sir that if I have to set

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 3000;

To

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 80640;


it will reset on the 29th day and will start again on the first day of the reward?

Share this post


Link to post
Share on other sites

Just to clear sir that if I have to set

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 3000;

To

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 80640;


it will reset on the 29th day and will start again on the first day of the reward?

Not even close,

Use this version https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v1.75.txt

Which is the latest. Then

.Reset = 1;

And

.MaxWait = 2000000000;

Should do

Then make sure you have 30 days worth of rewards after day 30 it will start back at day 1 again.

Share this post


Link to post
Share on other sites

Hope someone can provide a cutin for this Daily Rewards. it would be great contribution to this script.
If i can get a chance maybe i can try to design. (no good in design)

Share this post


Link to post
Share on other sites

 

Just to clear sir that if I have to set

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 3000;

To

	// Minutes before losing the consecutive reward
	//   Day: 48*60 - 50*60
	//   Week: 20160
	.MaxWait = 80640;


it will reset on the 29th day and will start again on the first day of the reward?

Not even close,

Use this version https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v1.75.txt

Which is the latest. Then

.Reset = 1;

And

.MaxWait = 2000000000;

Should do

Then make sure you have 30 days worth of rewards after day 30 it will start back at day 1 again.

 

 

 

Okay thanks sir! :)

Share this post


Link to post
Share on other sites

I did not provide a login cutin simple because different server want different amount if days, for instance my server has 1000 rewards and you cannot get old days again

Share this post


Link to post
Share on other sites

 

13631425_133173677113368_120456881179645

 

Can you send me a PNG file for this?

 

no i cant because i just saw that from google.

Share this post


Link to post
Share on other sites

it was like Nova RO's design


Sir Stolao, how can I add an automatic reset on the pvp ladder every sunday and make it back on monday with auto reward for the top 10?

Share this post


Link to post
Share on other sites

it was like Nova RO's design

Sir Stolao, how can I add an automatic reset on the pvp ladder every sunday and make it back on monday with auto reward for the top 10?

Already working on an update which does have this feature should be out by next week. Just needs testing.

Share this post


Link to post
Share on other sites

how to set the daily rewards? i want the script reset after 31 days then the reward will back to day 1. can someone help me? thanks in advance!

Share this post


Link to post
Share on other sites

how to set the daily rewards? i want the script reset after 31 days then the reward will back to day 1. can someone help me? thanks in advance!

If your using the latest https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt

Just set

// Reset
	//   [0] Repeat last day
	//   [1] reset when reach end of days
	.Reset = 1;

And have 31 days set in

// Daily Prize items (max 128 days):
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
	//   ...;
	// Total length of any days string must be 255 or shorter
	// * If players login longer than the last set
	//   day, they will keep getting the last prize.
	setarray .Rewards$[1],
		"0,0,0,0,503,5,506,5",			// Day 0: 5 White Potion + 5 Green Potion
		"100",					// Day 1: 100 Zeny
		"0,0,0,0,501,5",			// Day 2: 5 Red Potion
		"0,0,0,0,503,5,506,5";			// Day 3: 5 White Potion + 5 Green Potion

it was like Nova RO's design

Sir Stolao, how can I add an automatic reset on the pvp ladder every sunday and make it back on monday with auto reward for the top 10?

I added a monthly reset to 3.0 w/

rewards system

https://github.com/Stolao/Npc_Release/blob/master/PvP_Ladder/Pvp_Ladder.txt

Share this post


Link to post
Share on other sites

 

how to set the daily rewards? i want the script reset after 31 days then the reward will back to day 1. can someone help me? thanks in advance!

If your using the latest https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt

Just set

// Reset
	//   [0] Repeat last day
	//   [1] reset when reach end of days
	.Reset = 1;
And have 31 days set in

// Daily Prize items (max 128 days):
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
	//   ...;
	// Total length of any days string must be 255 or shorter
	// * If players login longer than the last set
	//   day, they will keep getting the last prize.
	setarray .Rewards$[1],
		"0,0,0,0,503,5,506,5",			// Day 0: 5 White Potion + 5 Green Potion
		"100",					// Day 1: 100 Zeny
		"0,0,0,0,501,5",			// Day 2: 5 Red Potion
		"0,0,0,0,503,5,506,5";			// Day 3: 5 White Potion + 5 Green Potion

it was like Nova RO's design

Sir Stolao, how can I add an automatic reset on the pvp ladder every sunday and make it back on monday with auto reward for the top 10?

I added a monthly reset to 3.0 w/

rewards system

https://github.com/Stolao/Npc_Release/blob/master/PvP_Ladder/Pvp_Ladder.txt

 

woah thank you soooooo much! is it possible make it wait for 1 hour before getting the reward?

Share this post


Link to post
Share on other sites

 

 

how to set the daily rewards? i want the script reset after 31 days then the reward will back to day 1. can someone help me? thanks in advance!

If your using the latest https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward.txt

Just set

// Reset
	//   [0] Repeat last day
	//   [1] reset when reach end of days
	.Reset = 1;
And have 31 days set in

// Daily Prize items (max 128 days):
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
	//   ...;
	// Total length of any days string must be 255 or shorter
	// * If players login longer than the last set
	//   day, they will keep getting the last prize.
	setarray .Rewards$[1],
		"0,0,0,0,503,5,506,5",			// Day 0: 5 White Potion + 5 Green Potion
		"100",					// Day 1: 100 Zeny
		"0,0,0,0,501,5",			// Day 2: 5 Red Potion
		"0,0,0,0,503,5,506,5";			// Day 3: 5 White Potion + 5 Green Potion

it was like Nova RO's design

Sir Stolao, how can I add an automatic reset on the pvp ladder every sunday and make it back on monday with auto reward for the top 10?

I added a monthly reset to 3.0 w/

rewards system

https://github.com/Stolao/Npc_Release/blob/master/PvP_Ladder/Pvp_Ladder.txt

 

woah thank you soooooo much! is it possible make it wait for 1 hour before getting the reward?

 

 

please read the conf settings before asking dumb questions -..-

 

// Number of mins after logging before collecting prize
.Rest = 0;

change to

	// Number of mins after logging before collecting prize
	.Rest = 60;

Share this post


Link to post
Share on other sites

hey i used your job changer but it shows me some errors

 

YsHUgE.jpg

  /lv

Share this post


Link to post
Share on other sites

hey i used your job changer but it shows me some errors

YsHUgE.jpg

/lv

What git revision are you using?

Share this post


Link to post
Share on other sites

Hi...i installed the MVP Speed Run npc but when i clicked on the npc, nothing showed up. Please tell me where should i edit the script to make the script working..thanks in advance.. /thx  its such a very useful script.. /ok

Edited by amauni

Share this post


Link to post
Share on other sites

Hi...i installed the MVP Speed Run npc but when i clicked on the npc, nothing showed up. Please tell me where should i edit the script to make the script working..thanks in advance.. /thx its such a very useful script.. /ok

Should work right away, so yoy have an console errors?

Share this post


Link to post
Share on other sites

This is what always appears in the console after the installation.

 

 

[Error]:  Loading NPC file: npc/basicnpc/mvpspeed.txt
script error on npc/basicnpc/mvpspeed.txt line 49
    parse_line: expect command, missing function name or calling undeclared function
    44 :                close;
    45 :        }
    46 :        next;
    47 :        mes "[MvP Speed Run]";
    48 :        mes "Which MVp would you like to face?";
*   49 :        '.'round = select(implode(.Menu$,":")) - 1;
    50 :
    51 :        if ( !getcharid(1) ) {
    52 :                mes "[MvP Speed Run]";
    53 :                mes "You have to form a party to play.";
    54 :                close;
 

Share this post


Link to post
Share on other sites

This is what always appears in the console after the installation.

[Error]: Loading NPC file: npc/basicnpc/mvpspeed.txt

script error on npc/basicnpc/mvpspeed.txt line 49

parse_line: expect command, missing function name or calling undeclared function

44 : close;

45 : }

46 : next;

47 : mes "[MvP Speed Run]";

48 : mes "Which MVp would you like to face?";

* 49 : '.'round = select(implode(.Menu$,":")) - 1;

50 :

51 : if ( !getcharid(1) ) {

52 : mes "[MvP Speed Run]";

53 : mes "You have to form a party to play.";

54 : close;

Update your rAthena....

Share this post


Link to post
Share on other sites

 

This is what always appears in the console after the installation.

[Error]: Loading NPC file: npc/basicnpc/mvpspeed.txt

script error on npc/basicnpc/mvpspeed.txt line 49

parse_line: expect command, missing function name or calling undeclared function

44 : close;

45 : }

46 : next;

47 : mes "[MvP Speed Run]";

48 : mes "Which MVp would you like to face?";

* 49 : '.'round = select(implode(.Menu$,":")) - 1;

50 :

51 : if ( !getcharid(1) ) {

52 : mes "[MvP Speed Run]";

53 : mes "You have to form a party to play.";

54 : close;

Update your rAthena....

 

 

I'm using eAthena... so i supposed this script won't work on eAthena.. is it? /sob

Share this post


Link to post
Share on other sites

Updated All Links And Formatting.
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.