Jump to content
  • 0

Premium User


evespiridion

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

It's more like of setting a certain account into a level 1 user (super account) then having that account the privileges of x2 exp and droprates. I would also like to request for a script that will accept a certain amount of items before making an account a premium account. It has to be with proper validation that it will only accept accounts who are still not level 1 users. And oh, the premium service should only last 1 week. Thanks!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   2
  • Joined:  03/24/17
  • Last Seen:  

On 8/21/2013 at 1:36 PM, chromus28 said:

guys my premium npc from emistry is working fine but when im paying the 10 pod this is popping out

 

[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377061112 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377061112 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
 
here is my script
 

prontera,151,185,6 script Premium NPC 435,{

mes "Want to be full time Premium Users for 1 week ?";
mes "Then give me "+10+" x "+getitemname(7179);
if( countitem( 7179 ) >= 10 ){
if( select("YES:NO") == 1 ){
delitem 7179,10;
set #PremiumUser,gettimetick(2) + ( .Day * 3600 * 24 );
sc_start SC_ITEMBOOST,( #PremiumUser * 1000 ),200;
sc_start SC_EXPBOOST,( #PremiumUser * 1000 ),200;
mes "Done. enjoy your Premium Services for 1 Week.";
}
}
close;

OnPCLoginEvent:
if( #PremiumUser > gettimetick(2) ){
sc_start SC_ITEMBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200;
sc_start SC_EXPBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200;
}
end;
}

 

 

 

problem solve by myself lol thanks for the great script

 

 

is this the final code sir?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Easier ways, and if it's not using additional @commands then there is already a script out there, go search for it, I believe Emistry replied to it.

Based on Premium user getting raised exp and increased drop rate as well would need minor modification only.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Thank you for the info. I'll go look for it.

Tried looking for it and didn't find anything related aside from the previous posts requesting for the same thing.

Edited by evespiridion
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

ya i have made this before...maybe it is at eAthena...

http://upaste.me/851341191e32f77

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/02/12
  • Last Seen:  

Posted · Hidden by Capuche, August 21, 2013 - ...
Hidden by Capuche, August 21, 2013 - ...

error sir

Link to comment

  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

ya i have made this before...maybe it is at eAthena...

http://upaste.me/851341191e32f77

 

helo emistry it's error..o_Oa..and if im using bubble gum and battle manual it's can be replace?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

ya i have made this before...maybe it is at eAthena...

http://upaste.me/851341191e32f77

i tried this script and its working fine but there is a debug and warning on my putty 

 

[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377056730 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377056730 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
 
what is the problem in this case?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

guys my premium npc from emistry is working fine but when im paying the 10 pod this is popping out

 

[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377061112 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
[Warning]: script:op_2num: overflow detected op=C_MUL i1=1377061112 i2=1000
[Debug]: Source (NPC): Premium NPC at prontera (151,185)
 
here is my script
 
prontera,151,185,6 script Premium NPC 435,{

mes "Want to be full time Premium Users for 1 week ?";
mes "Then give me "+10+" x "+getitemname(7179);
if( countitem( 7179 ) >= 10 ){
if( select("YES:NO") == 1 ){
delitem 7179,10;
set #PremiumUser,gettimetick(2) + ( .Day * 3600 * 24 );
sc_start SC_ITEMBOOST,( #PremiumUser * 1000 ),200;
sc_start SC_EXPBOOST,( #PremiumUser * 1000 ),200;
mes "Done. enjoy your Premium Services for 1 Week.";
}
}
close;

OnPCLoginEvent:
if( #PremiumUser > gettimetick(2) ){
sc_start SC_ITEMBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200;
sc_start SC_EXPBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200;
}
end;
}

 



problem solve by myself lol thanks for the great script

Edited by Capuche
Change to BBCode
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...