Jump to content
  • 0

Request Newbie Instructor NPC


y0h4ne5

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/09/13
  • Last Seen:  

Hi all, I need some script that have NPC whose give newbie player 5x exp & 5x job exp rate when base level < 75 for only 24 hours, Please Help... sory for my bad english...

 

 

EDIT: Im very sorry to post here, this thread should move on Script Request Thread, any moderator please move it.. Thank you..

Edited by y0h4ne5
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Hi

 

here's your script

<map>,<x>,<y>,<pos>	script	<name of your npc>	<sprite id>,{
	.@name$ = "[^0066ff"+strnpcinfo(0)+"^000000]";
	if (ExpBonusGiven) { mes .@name$,"I already gave you a bonus, can't give you more!" ; close; }
	if (BaseLevel >= 75) { mes .@name$,"Sorry but I'm not allowed to give exp boost to players level 75 or higher!" ; close; }
	mes .@name$,"Hello there, since you are under level 75 I can give you an exp bonus for the next 24 hours." ; next;
	mes .@name$,"Do you want to enable the exp bonus now?"," ~ ^0000fflasts 24 hours^000000"," ~ ^ff0000only available under the level 75^000000" ; next;
	if (select("Not now:Sure I want!") == 1) close;
	ExpBonusGiven = 1;
	sc_start SC_EXPBOOST,24*60*60*1000,400;
	mes .@name$,"There you go, make good use of that bonus!";
	close;
}

If you need anything else, you now where to ask  /no1

 

Welcome to rAthena! Glad to see a new face here (too many oldies there ^^)

Edited by Kurofly
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/09/13
  • Last Seen:  

Hi

 

here's your script

<map>,<x>,<y>,<pos>	script	<name of your npc>	<sprite id>,{
	.@name$ = "[^0066ff"+strnpcinfo(0)+"^000000]";
	if (ExpBonusGiven) { mes .@name$,"I already gave you a bonus, can't give you more!" ; close; }
	if (BaseLevel >= 75) { mes .@name$,"Sorry but I'm not allowed to give exp boost to players level 75 or higher!" ; close; }
	mes .@name$,"Hello there, since you are under level 75 I can give you an exp bonus for the next 24 hours." ; next;
	mes .@name$,"Do you want to enable the exp bonus now?"," ~ ^0000fflasts 24 hours^000000"," ~ ^ff0000only available under the level 75^000000" ; next;
	if (select("Not now:Sure I want!") == 1) close;
	ExpBonusGiven = 1;
	sc_start SC_EXPBOOST,24*60*60*1000,400;
	mes .@name$,"There you go, make good use of that bonus!";
	close;
}

If you need anything else, you now where to ask  /no1

 

Welcome to rAthena! Glad to see a new face here (too many oldies there ^^)

Hi there, Thank you very much for your great script, i've already tested it and its worked great  /no1

its nice to see many great people around here :)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  92
  • Reputation:   17
  • Joined:  08/11/12
  • Last Seen:  

@y0h4ne5
Hello buddy, how are you!?

Kurofly did such a wonderful job, as he always do. However, I read that you want to raise the exp rate of both job and base. If so, you need to put an extra line to fix the exp job rate.

Put this:

sc_start SC_JEXPBOOST,24*60*60*1000,5;

Above/bellow this:

sc_start SC_EXPBOOST,24*60*60*1000,5;

And don't forget to change the bonus value... Now it gives 400% exp rate instead of the 5% you want.

Best regards,
_Okuz_.

Edited by _Okuz_
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

xD hopefully you're here I totally forgot about the job exp!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/09/13
  • Last Seen:  

@y0h4ne5

Hello buddy, how are you!?

Kurofly did such a wonderful job, as he always do. However, I read that you want to raise the exp rate of both job and base. If so, you need to put an extra line to fix the exp job rate.

Put this:

sc_start SC_JEXPBOOST,24*60*60*1000,5;

Above/bellow this:

sc_start SC_EXPBOOST,24*60*60*1000,5;

And don't forget to change the bonus value... Now it gives 400% exp rate instead of the 5% you want.

Best regards,

_Okuz_.

 

Hi _Okuz_, im fine here, Thank you for reminding that one.. ^^

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
Answer this question...

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