Petey Pablo Posted April 28, 2020 Posted April 28, 2020 I need beta script npc like the function below Need to play atleast 5 hours minimum during beta Claim beta reward on official server launch who played more than 5 hours on beta Thank you and more power to rA community Quote
0 Patskie Posted April 28, 2020 Posted April 28, 2020 Would that 5 hours mean accumulative regardless if they go offline or not? 1 Quote
0 Petey Pablo Posted April 28, 2020 Author Posted April 28, 2020 On 4/28/2020 at 12:47 PM, Patskie said: Would that 5 hours mean accumulative regardless if they go offline or not? -Yes accumulative it will continue time played if they online -Auto pause the total time played if they go offline and please add the announce message saying Congratulations this player is eligible for beta rewards on official server launch. Thank you Dont forget the Beta Rewards NPC that have function to check if this player have playing 5 hours during beta. Thank you very much @Patskie I need must be ingame for 5 hours or more during beta to this script. Thank you prontera,150,150,3 script Beta Reward 100,{ if(BaseLevel < 255) goto OnDeny; if(getcharid(3) <= 2000100){ if(#cbtreward == 1) { mes "[ Beta Reward ]"; mes "You already got your reward!"; close; } getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused. mes "[ Beta Reward ]"; mes "Here's your reward!"; set #cbtreward,1; close; } mes "[ Beta Reward ]"; mes "You're not a beta player, sorry!"; close; OnDeny: mes "[ Beta Reward ]"; mes "You don't have the required level for Beta Reward."; mes "Come back when you reached it - Base Level 255!"; close; } Quote
0 Emistry Posted May 1, 2020 Posted May 1, 2020 prontera,150,150,3 script Beta Reward 100,{ mes "[ Beta Reward ]"; if(BaseLevel < 255) { mes "You don't have the required level for Beta Reward."; mes "Come back when you reached it - Base Level 255!"; } else if(getcharid(3) > 2000100) { mes "You're not eligible for rewards"; } else if(#cbtreward == 1) { mes "You already got your reward!"; } else if (#ONLINE_MINUTE < 500) { mes "You need to stay online for next "+(500 - #ONLINE_MINUTE)+" minutes to redeem the rewards!"; } else { getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused. mes "Here's your reward!"; set #cbtreward,1; } close; OnUpdate: #ONLINE_MINUTE++; OnPCLoginEvent: if (!#cbtreward && #ONLINE_MINUTE < 500) { addtimer (60 * 1000), strnpcinfo(3)+"::OnUpdate"; } end; } try this Quote
0 Zyper143 Posted May 1, 2020 Posted May 1, 2020 1 hour ago, Emistry said: prontera,150,150,3 script Beta Reward 100,{ mes "[ Beta Reward ]"; if(BaseLevel < 255) { mes "You don't have the required level for Beta Reward."; mes "Come back when you reached it - Base Level 255!"; } else if(getcharid(3) > 2000100) { mes "You're not eligible for rewards"; } else if(#cbtreward == 1) { mes "You already got your reward!"; } else if (#ONLINE_MINUTE < 500) { mes "You need to stay online for next "+(500 - #ONLINE_MINUTE)+" minutes to redeem the rewards!"; } else { getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused. mes "Here's your reward!"; set #cbtreward,1; } close; OnUpdate: #ONLINE_MINUTE++; OnPCLoginEvent: if (!#cbtreward && #ONLINE_MINUTE < 500) { addtimer (60 * 1000), strnpcinfo(3)+"::OnUpdate"; } end; } try this Thank you for this @Emistry but how do you separate the OBT participants and non-OBT participants here? Thank you Quote
0 Emistry Posted May 1, 2020 Posted May 1, 2020 1 minute ago, Zyper143 said: how do you separate the OBT participants and non-OBT participants here? that's something that up to you to decide and figure out what and how .... Quote
0 Zyper143 Posted May 1, 2020 Posted May 1, 2020 7 minutes ago, Emistry said: that's something that up to you to decide and figure out what and how .... I see, by just removing this part on official release date OnUpdate: #ONLINE_MINUTE++; OnPCLoginEvent: if (!#cbtreward && #ONLINE_MINUTE < 500) { addtimer (60 * 1000), strnpcinfo(3)+"::OnUpdate"; } end; and add // to this part during beta //getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused. mes "Here's your reward!"; //set #cbtreward,1; Is that correct? Quote
Question
Petey Pablo
I need beta script npc like the function below
Need to play atleast 5 hours minimum during beta
Claim beta reward on official server launch who played more than 5 hours on beta
Thank you and more power to rA community
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.