Jump to content
  • 0

REQUESTING FOR THE SCRIPT


Json

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  08/16/12
  • Last Seen:  

// //=====// /==/ /==/ /==/
// // // /==/ /==/ /=/ /==/
// //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/
// //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/
// // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/
// ================ 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


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Actually, there's only 1 variable you need to rename: DailyReward

Change that to an account variable: #DailyReward

(replace 3 times in the script).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

Simply replace all .@ by # for example like:

 

 

set .@SecondLeft,( .@Time % 60 );

to

 

 

set #SecondLeft,( #Time % 60 );
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  08/16/12
  • Last Seen:  

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 ! 

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