Jump to content
  • 0

Sign item with Guild's name


Edubul

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  11/15/17
  • Last Seen:  

Someone can explain me because my script don't sign the item with Guild's name, this make the item with "Nameless".

getitem2 .@item,1,1,0,0,254,0,getcharid(2)&0xffff,(getcharid(2)>>16)&0xffff;

Thx for your answers!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Well, because the 'signature' isn't bound to the item, it's a 'link' between the item and the character who signed it.
So, when you get a variable and uses the math to make a getitem2 sign a item you're actually telling the script to link the signature tha a characters name.

For it to work the way you want it, you would have to create a source mod similar to wjat people do with those BG consumable items, that extract the 'character name' from a dummy actually non-existent pre-determined character, or make a system where on special accounts, every guild created generates a character with the same name (and ID to make it easier) to link the item to it.

 

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  11/15/17
  • Last Seen:  

Thx @Haziel for your answer!!

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