Stolao

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

Recommended Posts

How to make the prizes on your Auto Event script to just go directly in winners inventory instead of using mail?

Share this post


Link to post
Share on other sites

umm stolaos-san thanks you for your great script it really help me alot for my new server teeheee

and +1:D:D

hmm stolaos-san what should i put in location in mining script... below is the script

MiningSpawn(<Amount>,<Tier>{,<Location>})

 

Edited by forsaken
ask a question

Share this post


Link to post
Share on other sites
On 1/11/2017 at 10:17 PM, forsaken said:

umm stolaos-san thanks you for your great script it really help me alot for my new server teeheee

and +1:D:D

hmm stolaos-san what should i put in location in mining script... below is the script

MiningSpawn(<Amount>,<Tier>{,<Location>})

 

This refers to the index of the array defined above.

Share this post


Link to post
Share on other sites

I am humbly requesting a npc that shows the current stats given by the weapon mastery.

Share this post


Link to post
Share on other sites

Stolao, what if i want to make daily login rewards, become npc?
how should i add on your script?
can you help me?
Thanks a lot!

Share this post


Link to post
Share on other sites
On 3/5/2017 at 8:32 AM, AllHailCarl said:

I am humbly requesting a npc that shows the current stats given by the weapon mastery.

its already in there use @wi

Share this post


Link to post
Share on other sites
On 4/10/2017 at 3:22 AM, arokken said:

Stolao, what if i want to make daily login rewards, become npc?
how should i add on your script?
can you help me?
Thanks a lot!

just give it a view ID and a location, thne remove OnPCLOGINEVENT: so players have to talk to it

Share this post


Link to post
Share on other sites

@Stolao any idea as to why the weapon leveling displays you have gained a level past 99 so for example after a certain time it will say you have achieved lv241 or something instead of the actual level but checking @wi will display the correct level.

Share this post


Link to post
Share on other sites
33 minutes ago, sikiro said:

@Stolao any idea as to why the weapon leveling displays you have gained a level past 99 so for example after a certain time it will say you have achieved lv241 or something instead of the actual level but checking @wi will display the correct level.

It wont let you level past the Max Level in Conf, if for some reason you get a higher level through database editing or something it will show your current level even if higher then Max


 

Share this post


Link to post
Share on other sites

@Stolao no i understand that nothing has been changed but  max level is 99 yet this is what i see.

error.png.49cced938a45fc6a7cb1cc305fb6c1f5.pngerror.png.911e1b23199c4bbc00e4276427466169.png

Share this post


Link to post
Share on other sites
Just now, sikiro said:

@Stolao no i understand that nothing has been changed but  max level is 99 yet this is what i see.

error.png.49cced938a45fc6a7cb1cc305fb6c1f5.pngerror.png.911e1b23199c4bbc00e4276427466169.png

ah i see an issue with the Display only

 

announce ""[email protected]$+" Mastery has advanced to Lv "[email protected] + 1+"!",bc_blue|bc_self;

should be 
 

announce ""[email protected]$+" Mastery has advanced to Lv "+([email protected] + 1)+"!",bc_blue|bc_self;

 ill update live version in a sec

Share this post


Link to post
Share on other sites

worked perfectly ^^ is it posible to add some type of effect when it levels? the same way as gaining a baselevel or job level?

 

also fly-wing script for storing them in an item is not functional.

Edited by sikiro

Share this post


Link to post
Share on other sites

Getting this erro: buildin_callfunc: Function not found! [dispell] when trying to join events that remover carts and mount.

Share this post


Link to post
Share on other sites
On 5/12/2017 at 3:35 PM, Zyess said:

Getting this erro: buildin_callfunc: Function not found! [dispell] when trying to join events that remover carts and mount.

https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/Dispell.txt

Edited by Stolao

Share this post


Link to post
Share on other sites

Hi! How to put the respawn of monsters script mining? Thx.

Share this post


Link to post
Share on other sites

Hello @Stolao ..

I've try your last rev script Daily Login .

This is my started config.

 

	// Basic Settings
	//   1: Item | 2: Points | 4: Exp  
	//   8: Gain Buffs Every X Consecutive Days logged in
	//   16: Show Cutins | 32: Bound Items
	//   64: No Rewards ffor Autotraders
	//   128: Show Next Day Cutin
	//     (a bit value, e.g. 3 = Items & Points from Multi)
	.Mode = 1|16|64;

	// Number of times same IP can recive rewards
	//   0 = unlimited
	.IPCheck = 0;

	// Number of times same Computer (MacAdress) can recive rewards
	//   0 = unlimited
	.MacCheck = 1;

	// Item Binding Mode
	//	 Bound_Account : Account Bound item
	//	 Bound_Guild   : Guild Bound item
	//	 Bound_Party   : Party Bound item
	//	 Bound_Char    : Character Bound item
	.Bound_Mode = Bound_Account;
	
	// To disable the command '@loginreward' comment the next lines
	// * Needs extra commands for typos
	bindatcmd("relog",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("collectreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("collectdaily",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("nextreward",strnpcinfo(3)+"::OnNextCmnd",0,99);

	// GM Command to fix the negative time till reward issue
	// #fixreward <playername>
	// * Needs extra commands for typos
	bindatcmd("fixreward",strnpcinfo(3)+"::OnFixCmnd",99,99);

	// Minimum minutes between collecting daily reward
	//   Day: 22*60 - 24*60
	//   Week: 10080
	.MinWait = 1320;

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

	// What to do upon reaching last day defined
	//   [0] Repeat last day
	//   [1] Restart at 1
	.Reset = 1;

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

 

But when i login in game. "This script is say, Reward are limited to 1 per computer sorry" .

Whats wrong with my script / config ?

Note :
- Its my first login so its not Second ID to try login .
- When i test use command @dailyreward, etc its say same "This script is say, Reward are limited to 1 per computer sorry" .

Please see my attachment for more details.

 

dailyloginconf1.thumb.jpg.2dd1c4dedf3656ab3a8453262ba37b20.jpg

 

dailyloginconf2.thumb.jpg.475d1e4279ab9d6e951423db603363b7.jpg

 

 

SSdailylogin.thumb.jpg.498553a184d358ccbf0e47025b3a0e60.jpg

Share this post


Link to post
Share on other sites
5 hours ago, dikapramantya said:

Hello @Stolao ..

I've try your last rev script Daily Login .

This is my started config.

 

	// Basic Settings
	//   1: Item | 2: Points | 4: Exp  
	//   8: Gain Buffs Every X Consecutive Days logged in
	//   16: Show Cutins | 32: Bound Items
	//   64: No Rewards ffor Autotraders
	//   128: Show Next Day Cutin
	//     (a bit value, e.g. 3 = Items & Points from Multi)
	.Mode = 1|16|64;

	// Number of times same IP can recive rewards
	//   0 = unlimited
	.IPCheck = 0;

	// Number of times same Computer (MacAdress) can recive rewards
	//   0 = unlimited
	.MacCheck = 1;

	// Item Binding Mode
	//	 Bound_Account : Account Bound item
	//	 Bound_Guild   : Guild Bound item
	//	 Bound_Party   : Party Bound item
	//	 Bound_Char    : Character Bound item
	.Bound_Mode = Bound_Account;
	
	// To disable the command '@loginreward' comment the next lines
	// * Needs extra commands for typos
	bindatcmd("relog",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("collectreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("collectdaily",strnpcinfo(3)+"::OnLoginCmnd",0,99);
	bindatcmd("nextreward",strnpcinfo(3)+"::OnNextCmnd",0,99);

	// GM Command to fix the negative time till reward issue
	// #fixreward <playername>
	// * Needs extra commands for typos
	bindatcmd("fixreward",strnpcinfo(3)+"::OnFixCmnd",99,99);

	// Minimum minutes between collecting daily reward
	//   Day: 22*60 - 24*60
	//   Week: 10080
	.MinWait = 1320;

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

	// What to do upon reaching last day defined
	//   [0] Repeat last day
	//   [1] Restart at 1
	.Reset = 1;

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

 

But when i login in game. "This script is say, Reward are limited to 1 per computer sorry" .

Whats wrong with my script / config ?

Note :
- Its my first login so its not Second ID to try login .
- When i test use command @dailyreward, etc its say same "This script is say, Reward are limited to 1 per computer sorry" .

Please see my attachment for more details.

 

dailyloginconf1.thumb.jpg.2dd1c4dedf3656ab3a8453262ba37b20.jpg

 

dailyloginconf2.thumb.jpg.475d1e4279ab9d6e951423db603363b7.jpg

 

 

SSdailylogin.thumb.jpg.498553a184d358ccbf0e47025b3a0e60.jpg

.MacCheck = 1, change to 0

Share this post


Link to post
Share on other sites

((getgmlevel()<.GMAccess)?"":" ~ Manage events...")+

// Gm Level to access GM Menus
 .GMAccess = 99;

 

Even level 0 of gm can add events.

Share this post


Link to post
Share on other sites
19 hours ago, kabralgaming said:

((getgmlevel()<.GMAccess)?"":" ~ Manage events...")+

// Gm Level to access GM Menus
 .GMAccess = 99;

 

Even level 0 of gm can add events.

Git hash?
Any modifications?
any Modifications to your groups.conf?

Share this post


Link to post
Share on other sites
58 minutes ago, Stolao said:

Git hash?
Any modifications?
any Modifications to your groups.conf?

I have not made any changes to your npc.

groups.cong is original rathena default.

auto_event.txt

Share this post


Link to post
Share on other sites

Odd i cant reproduce using a clean rAthena and clean from my Git

 

Event_Menu.png

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.

Loading...