Jump to content

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


Stolao

Recommended Posts


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

 

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! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  95
  • Topics Per Day:  0.02
  • Content Count:  210
  • Reputation:   3
  • Joined:  12/20/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

13631425_133173677113368_120456881179645

 

Can you send me a PNG file for this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  95
  • Topics Per Day:  0.02
  • Content Count:  210
  • Reputation:   3
  • Joined:  12/20/11
  • Last Seen:  

 

13631425_133173677113368_120456881179645

 

Can you send me a PNG file for this?

 

no i cant because i just saw that from google.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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.
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  95
  • Topics Per Day:  0.02
  • Content Count:  210
  • Reputation:   3
  • Joined:  12/20/11
  • Last Seen:  

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!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  95
  • Topics Per Day:  0.02
  • Content Count:  210
  • Reputation:   3
  • Joined:  12/20/11
  • Last Seen:  

 

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?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

 

 

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

awesome pvp ladder dude! <3 keep it up

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   5
  • Joined:  04/23/12
  • Last Seen:  

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

 

YsHUgE.jpg

  /lv

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

YsHUgE.jpg

/lv

What git revision are you using?
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  02/25/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  02/25/13
  • Last Seen:  

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;
 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  02/25/13
  • Last Seen:  

 

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

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Updated All Links And Formatting.
 

Link to comment
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.

×
×
  • Create New...