Jump to content
  • 0

R> Daily Reward NPC


skymia

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

does anyone have already this kind of daily reward npc?

Click the Npc and you will receive your daily reward.

reward: poring coin....but random 1-5 poring coin will receive if you get your reward every 24hrs in this type of npc

hope have this script already...thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

try this you might like it ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

On 10/9/2018 at 8:14 PM, NakedWolf said:

try this you might like it ^_^

how to edit this script to reward only poring coin and random to 1-5 poring coin per day?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

7 hours ago, skymia said:

how to edit this script to reward only poring coin and random to 1-5 poring coin per day?

am not sure about the random reward but you can edit it manually what player needs to get each day you can set that at this part

// Daily Prize items:
    //   "<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
    setarray .Rewards$[1],
        "1000",                // Day 1: 1000 Zeny
        "0,0,0,0,501,5",        // Day 2: 5 Red Potion
        "0,0,0,0,506,5",        // Day 3: 5 Green Potion
        "2000",                // Day 4: 2000 Zeny
        "2000",                // Day 5: 2000 Zeny
        "0,0,0,0,502,5",        // Day 6: 5 Orange Potion
        "0,0,0,0,12208,1",        // Day 7: 1 Battle Manual

for example:

if you dont want zeny 1000 // Day 1: 1000 Zeny

change it to:

"0,0,0,0,poringcoin ID,amount(how many the player should get)",

same way you can do for all the other days

------------------------------------------------------------------------------------------

also you can check this part to edit it accoring to your needs:

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

    // 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","LOGIN::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);

    // Reset days back to 0 on a skipped day.
    // Toggle 
    // [0] = Off
    // [1] = On
    .Reset = 0;

    // .Rest
    // Delay after login to collect rewards
    // In Minutes
    .Rest = 0;

    // Point Name
    .Points$ = "Loyalty Points";

    // Ip check to prevent multi accounts
    // Toggle 
    // [0] = Off
    // [1] = On
    .IPCheck = 0;

 

i think this will help you understand ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

if i edit it manually it is fix item that will be receive for that day...

i want is

player 1 random receive 3 poring coin

player 2 random receive 1 poring coin

player 3 random receive 4 poring coin

player 4 random receive 2 poring coin

etc.

 

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