Jump to content
  • 0

Below lvl 99 Reward. Npc.


iamjhigz

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/12/17
  • Last Seen:  

What's up homies!! Does anyone know how to edit this reward 99 Reward NPC .  Only Below lvl 99 can get the reward
It would be usefull on Ready PvP Ready Server with instant 99 Job changer. 
Thanks in advance!! Bless up!!

I just saw this script on raThena credit to the owner.

 

// -- A very simple script that made by me (Radian)
// -- Compatible with rAthena.
// -- I don't mind if you want to optimized this
// -- just please include me on the credits 

prontera,35,270,6    script    LvL 98 Reward    864,{

    if ( .enable_event ) {
    
    if ( getcharid(3) > .aid_end ) {
        mes "[ ^777777Account ID Checker^000000 ]";
        mes "I'm sorry you are late to avail this..";
        close;
    }

    if ( getcharid(3) < .aid_start ) {
        mes "[ ^777777Account ID Checker^000000 ]";
        mes "It's impossible you are below of the id we required to obtained the special event rewards.";
        close;
    }
    
    if ( BaseLevel < .max_base_level || JobLevel < .max_job_level ) {
        mes "[ ^00FF00Race Up to Max^000000 ]";
        mes "We're sorry you are not qualified yet on this event, please come back when you are base level is "+.max_base_level+" and job level is "+.max_job_level+".";
        close;
    }
    
    if ( #Reward == 1 ) {
        mes "[ ^FF0000Baj^000000 ]";
        mes "We apologize that you are not qualified any more to receive or get a special reward from us.";
        close;
    }
        mes "[ ^0000FFCongratulation Note^000000 ]";
        mes "We verified that you are qualified and will receive a reward from us.";
            for ( .@i = 0;  .@i < getarraysize(.reward); .@i++ )
            for ( .@i = 0; .@i < getarraysize(.amount); .@i++ )
                getitem .reward[.@i],.amount[.@i];
                    set #Reward, 1;
    announce "Congratulations! "+strcharinfo(0)+" has claimed his reward for Road to 99 Event", bc_all;
        close;        
    OnInit:
    // ------------------------------------------------------------ \\
    .enable_event =    1;        // Set 0 = Disable / 1 = Enable Default.
    .max_base_level    = 98;    // Set the maximum base level here.
    .max_job_level = 50;    // Set the maximum job level here.
    .aid_start = 2000000;    // Set the Account ID here where you want to start. [ set this to 0 = disable ]
    .aid_end = 5000000;    // Set the ending Account ID here. [ set this to 0 = disable ]
    setarray .reward,20737,12210,14002,6316,12211;    // Set the rewards here.
    setarray .amount,1,5,10,10,10;            // Set the reward amouns here.
    waitingroom "98 Reward",0;        // Waiting Room.
    // ------------------------------------------------------------- \\
    end;
    }
}

 

Edited by Patskie
codebox
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

Yeah, even level 1 can get the reward. Anyone below 99 can talk to the npc, anyway:

This

 if ( BaseLevel > .max_base_level || JobLevel > .max_job_level ) {
        mes "[ ^00FF00Race Up to Max^000000 ]";
        mes "We're sorry you are not qualified anymore for this event. Come back being less than "+(.max_base_level+1)+" base level and "+(.max_job_level+1)+" job level.";
        close;
    }

to this


 if ( BaseLevel != 98 ) {
        mes "[ ^00FF00Race Up to Max^000000 ]";
        mes "Only level 98 players can get the reward.";
        close;
    }
Edited by Kreustoo
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

So you want anybody below 99 being able to talk to the npc BUT not anyone at 99? And it'll be one time by account with the #Reward thing.

Change this part :

 if ( BaseLevel < .max_base_level || JobLevel < .max_job_level ) {
        mes "[ ^00FF00Race Up to Max^000000 ]";
        mes "We're sorry you are not qualified yet on this event, please come back when you are base level is "+.max_base_level+" and job level is "+.max_job_level+".";
        close;
    }

to:

 if ( BaseLevel > .max_base_level || JobLevel > .max_job_level ) {
        mes "[ ^00FF00Race Up to Max^000000 ]";
        mes "We're sorry you are not qualified anymore for this event. Come back being less than "+(.max_base_level+1)+" base level and "+(.max_job_level+1)+" job level.";
        close;
    }

(not tested)

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

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/12/17
  • Last Seen:  

@Kreustoo it work. Thank you. it will help other pvp server.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

I've edited the error message :

mes "We're sorry you are not qualified anymore for this event. Come back being less than "+(.max_base_level+1)+" base level and "+(.max_job_level+1)+" job level.";

(forgot the base level and job level information)

Happy to know it'll help you ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/12/17
  • Last Seen:  

@Kreustoo sir i got a problem 
how can i put lvl put reward  should be lvl 98  to get the reward.? even lvl 50 can get the reward

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

I don't understand what you want:

Quote

So you want anybody below 99 being able to talk to the npc BUT not anyone at 99?

You want anybody at 98 having the reward?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/12/17
  • Last Seen:  

@Kreustoo yes sir.. road to 98 reward. cause i have instant 99 job changer. 
but i recently discover. even lvl 50 hunter  can get the reward.

@Kreustoo Thanks it worked now. SOLVED!!! Thanks ROAD TO 98 REWARD.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/12/17
  • Last Seen:  

@Kreustoo sir can i ask last favor? how can i change this to. Only lvl 98 trans or 99  can only get this event.
Thank you.

 

 

Edited by iamjhigz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

Do they reborn using the official way or custom one?
You can remove the job you don't want to have it like Job_Hunter ect.

And 98 trans or 99? What about ninja ect?

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