Jump to content
  • 0

Named item converter to named item converter


DR4LUC0N

Question


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   6
  • Joined:  04/04/12
  • Last Seen:  

So to explain what I mean, I'd like to have a script look for all named player skull on player and rename it to something like pvps skull or people's skull.  So it doesn't take up multiple slots and gets mashed into one slot. 

 

Bonus if it can search the players storage and ask if they'd like the skulls on them or in storage.

 

Unless I'm missing something and there's a way to make all skulls dropped from players be the same skull name so they don't take up a ton of slots. 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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

5 hours ago, DR4LUC0N said:

Unless I'm missing something and there's a way to make all skulls dropped from players be the same skull name so they don't take up a ton of slots. 

you can use this trick

On 11/4/2012 at 3:55 AM, GmOcean said:

As of right now it's not possible. Your best option, is to go into your sql database, and create those characters, just for your scripting purposes, on a dummy account.

That way, they will indeed exist. What's more it won't matter if someone else has the same name, since your sql db editor will say, duplicate entry, that way, you know you can use that name.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   6
  • Joined:  04/04/12
  • Last Seen:  

@Emistry thank you for the fast reply, I'm sorry, I'm not following what you're saying, how do I make it so when someone dies in pvp it drops the fake accounts skull?

So I go into my sql database and make a dummy account and make a character named dummy, now when I kill Fred, how do I get it to say dummys skull rather than Fred's skull? 

Or how to create a script that'll make the named skull someone else? 

Edited by DR4LUC0N
Link to comment
Share on other sites

  • 0

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

getnameditem(7420, "Dummy's Char Name");
getnameditem(7420, <dummy_char_id>);

 

  • Upvote 1
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...