Jump to content
  • 0

Premium Player Script


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Good day script makers,

I would like to request a script where if the person have a particular item (RENTAL ITEM), he/she will become a premium player. Or a look-a-like script of pRO (Philippine Ragnarok Online) that when the player is a premium player he/she will double his/her rates.

What is a premium player?

- He/She will receive double rates. (e.g. Normal player rates is 10/10/10, when he/she is a private/special player his/her rates will become 20/20/20)

- He can use @storage command

- He can use @request command

The script will be activated when he/she log-on. Thanks!

It's okay if no @storage/@request commands. What's important is the rates of the premium player will be doubled

That's all!

Note: I don't know where to put this. Thanks in advance!

Edited by emong
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Are you using rAthena or eAthena?

On eathena you could make a script with a SQL Query like this :

query_sql "UPDATE `login` SET level = '1' WHERE account_id = "+getcharid(3)+"";

,but you'll have to edit the commands for GM Level 1!

with rAthena you'll have to make a new Group or edit the Group,to give that commands to a player,there you'll have to use this SQL Query in the NPC :

query_sql "UPDATE `login` SET group_id = '1' WHERE account_id = "+getcharid(3)+"";

For the Basics of the NPC read the rAthena Wiki : http://www.rathena.org/wiki/Main_Page

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

I'm using rAthena sir. How about the double rates? How will I do it? Thanks!

bump

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:  

OnPCLoginEvent:
if( getgroupid() )
   sc_start SC_ITEMBOOST,3600000,100;
end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

^Sorry for the late reply.. I have a question if I use that script? Will bubble gum and field manual will be useless?

How to add timer on that script example..

It will show on his screen that..

You premium account will end in +day +time +seconds. Thanks!

Edited by emong
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Posted · Hidden by Arcenciel, July 24, 2012 - No reason given
Hidden by Arcenciel, July 24, 2012 - No reason given

BUMP

Link to comment

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

i am not finish the Premium Player Script im busy in my server and in my school so i cannot finish the script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Its okay :)! Asking for help to other script makers. Hehe. Thanks!

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