Jump to content
  • 0

sign item with any name


Sere

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

Hello everyone.

I got a little question again. I added today the Item Signer again, but I wanted to change it not only for

people to sign. You have another one with the function, that the guild will be signed into the item.

My problem is, that it don't work. I added at the getcharid the number 2 for the guild name, but the NPC only sign an 'Unkown' or 'Nameless' into the Item.

Here is the code I am using.

if (getarraysize(.@Item)) for(set .@i,0; .@i<getarraysize(.@Item); set .@i,.@i+2)
delitem .@Item[.@i], .@Item[.@i+1];
delitem2 .@id,1,1,.@ref,0,.@slot[0],.@slot[1],.@slot[2],.@slot[3];
mes "Done!";
emotion e_proud;
getitem2 .@id,1,1,.@ref,0,254,0,getcharid(2)&0xffff,(getcharid(2)>>16)&0xffff;
equip .@id;
close

Maybe someone of you can help me.

Greetings

Sere

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

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

3 minutes ago, gekigengar said:

Hello, I am in need of something similar.

What trick is this referring to?

insert a dummy char with the guild name as char name ... and create the signed item using that newly created char id

Link to comment
Share on other sites

  • 1

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

Afaik, you can only "sign" the name of an existing character.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

On 11/15/2012 at 6:11 AM, Emistry said:

you can try something like this..

with some minor trick it should be possible to achieve what you want...

Hello, sorry for the Necro, I am in need of something similar.

But the original link is dead.

What trick is this referring to?

Edited by gekigengar
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

wow... if you wanted that, I would just do a mod then to guild creation, to also create a "dummy" char for the guild on creation

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

13 hours ago, Emistry said:

insert a dummy char with the guild name as char name ... and create the signed item using that newly created char id

How is that done through scripts?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  615
  • Reputation:   201
  • Joined:  11/09/11
  • Last Seen:  

3 hours ago, gekigengar said:

How is that done through scripts?

query_sql ()??

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:  

you can try something like this..

http://www.eathena.w...dpost&p=1491772

GmOcean seems to still remember this trick xD

with some minor trick it should be possible to achieve what you want...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

Many thanks. :D

It helped me really good.

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