Petey Pablo Posted April 28, 2020 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 569 Reputation: 11 Joined: 11/24/11 Last Seen: March 7, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 Patskie Posted April 28, 2020 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share Posted April 28, 2020 Would that 5 hours mean accumulative regardless if they go offline or not? 1 Quote Link to comment Share on other sites More sharing options...
0 Petey Pablo Posted April 28, 2020 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 569 Reputation: 11 Joined: 11/24/11 Last Seen: March 7, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted May 1, 2020 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Zyper143 Posted May 1, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 05/01/20 Last Seen: June 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted May 1, 2020 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Zyper143 Posted May 1, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 05/01/20 Last Seen: June 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.