Jump to content
  • 0

sign item with any name


Question

Posted

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

8 answers to this question

Recommended Posts

  • 0
Posted
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

  • 0
Posted (edited)
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
  • 0
Posted

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

  • 0
Posted
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?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...