Jump to content
  • 0

request Item that can make a character GM level 1?


Critica

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

Is it possible to make an item that makes an account to upgrade GM level?

for example a normal player talked to the npc and agreed to received this item to be a Super Player, (GM level 0 to 1)
and then makes this item account bound to the account?

i like to create an npc for beta testers that gives them an item and making their account to higher than a normal account, so they can use @item,@job etc... but restricting them to trade/drop/storage...

tnx in advance!  /ok

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Thats a tad bit complicated mate. I would just hve them apply for it and later on change it through cp.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

It's very possible. The @adjgroup commands temporarily change your GM group, and SQL can permanently change it (it takes effect once you log off). So an example item script would be...

	atcommand "@adjgroup 1";
	query_sql("UPDATE `login` SET `group_id` = 1 WHERE `account_id` = "+getcharid(3));
	message strcharinfo(0),"You are now GM Level 1.";
	end;
And using "0" instead would reverse the process.

Binding items can be done through db/(pre-)re/item_trade.txt.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

i got it all working now, i got it from the other site, 
same script like yours ..

but thanks anyways! ! (: 
good to be back here

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