Json Posted March 14, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 22 Reputation: 1 Joined: 08/16/12 Last Seen: July 31, 2013 Share Posted March 14, 2013 // //=====// /==/ /==/ /==/// // // /==/ /==/ /=/ /==/// //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/// //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/// // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/// ================ rAthena Script ====================================================================//=== Made by Rikimaru//==================== Information ====================================================================//==== Daily Reward Script//================= Version : =========================================================================//=== V 1.1 Fixed a typo in the Script [ Rikimaru ]//=== V 1.0 Finished Scripting the Daily Reward Script [ Rikimaru ]//============== Credits : ============================================================================//=== Credits to Rikimaru for the Daily Reward Script//=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru///=====================================================================================================//*************************************************************************prontera,164,160,4 script CrownRo Vote NPC 911,{mes "[Vote NPC]";if(DailyReward>gettimetick(2)) {set .@Time, DailyReward-gettimetick(2);set .@SecondLeft,( .@Time % 60 );set .@MinuteLeft,( .@Time / 60 % 60 );set .@HourLeft,( .@Time / ( 60 * 60 ) % 24 );set .@DayLeft,( .@Time / ( 24 * 60 * 60 ) );set .@TimeLeft$,(( .@DayLeft )?.@DayLeft+" Day ":"" ) +(( .@HourLeft )?.@HourLeft+" hours ":"" ) +(( .@MinuteLeft )?.@MinuteLeft+" minutes ":"" ) +(( .@SecondLeft )?.@SecondLeft+" seconds":"" );mes "You have to wait for ^FF0000"+.@TimeLeft$+"^000000 before you can claim your prize again.";close;}mes "Hello "+strcharinfo(0)+"!";mes "Here's your Vote Reward.";getitem 672,25;set DailyReward, gettimetick(2)+43200;next;mes "[Vote NPC]";mes "Talk to me again in the next 12 hours.";close;} How can i make this to Base Account because this script is base for Character Only so Player Will Abuse it Sorry for my english >.< Quote Link to comment Share on other sites More sharing options...
Brian Posted March 14, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted March 14, 2013 Actually, there's only 1 variable you need to rename: DailyReward Change that to an account variable: #DailyReward (replace 3 times in the script). Quote Link to comment Share on other sites More sharing options...
Bahmut Posted March 14, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted March 14, 2013 Simply replace all .@ by # for example like: set .@SecondLeft,( .@Time % 60 ); to set #SecondLeft,( #Time % 60 ); Quote Link to comment Share on other sites More sharing options...
Json Posted March 14, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 22 Reputation: 1 Joined: 08/16/12 Last Seen: July 31, 2013 Author Share Posted March 14, 2013 Actually, there's only 1 variable you need to rename: DailyReward Change that to an account variable: #DailyReward (replace 3 times in the script). THanks it's work ! Quote Link to comment Share on other sites More sharing options...
Question
Json
// //=====// /==/ /==/ /==/
// // // /==/ /==/ /=/ /==/
// //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/
// //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/
// // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/
// ================ rAthena Script ====================================================================
//=== Made by Rikimaru
//==================== Information ====================================================================
//==== Daily Reward Script
//================= Version : =========================================================================
//=== V 1.1 Fixed a typo in the Script [ Rikimaru ]
//=== V 1.0 Finished Scripting the Daily Reward Script [ Rikimaru ]
//============== Credits : ============================================================================
//=== Credits to Rikimaru for the Daily Reward Script
//=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru/
//=====================================================================================================
//*************************************************************************
prontera,164,160,4 script CrownRo Vote NPC 911,{
mes "[Vote NPC]";
if(DailyReward>gettimetick(2)) {
set .@Time, DailyReward-gettimetick(2);
set .@SecondLeft,( .@Time % 60 );
set .@MinuteLeft,( .@Time / 60 % 60 );
set .@HourLeft,( .@Time / ( 60 * 60 ) % 24 );
set .@DayLeft,( .@Time / ( 24 * 60 * 60 ) );
set .@TimeLeft$,(( .@DayLeft )?.@DayLeft+" Day ":"" ) +
(( .@HourLeft )?.@HourLeft+" hours ":"" ) +
(( .@MinuteLeft )?.@MinuteLeft+" minutes ":"" ) +
(( .@SecondLeft )?.@SecondLeft+" seconds":"" );
mes "You have to wait for ^FF0000"+.@TimeLeft$+"^000000 before you can claim your prize again.";
close;
}
mes "Hello "+strcharinfo(0)+"!";
mes "Here's your Vote Reward.";
getitem 672,25;
set DailyReward, gettimetick(2)+43200;
next;
mes "[Vote NPC]";
mes "Talk to me again in the next 12 hours.";
close;
}
How can i make this to Base Account because this script is base for Character Only so Player Will Abuse it
Sorry for my english >.<
Link to comment
Share on other sites
3 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.