Yuka Posted May 30, 2014 Posted May 30, 2014 getitembound2 .@id,1,1,.@ref,0,254,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff,1; This signs the item with the invoking character's name. Now is there a way to sign it with the invoking character's guild's name? getcharid(2) does not work. Quote
GmOcean Posted May 30, 2014 Posted May 30, 2014 You could make a psuedo character using the guild's name, by adding it to the sql database manually, and then use that characters name for it's purpose. Quote
Yuka Posted May 30, 2014 Author Posted May 30, 2014 Can't I say "sign this item with 'blablalba'"? Quote
GmOcean Posted May 31, 2014 Posted May 31, 2014 Yes and No. yes it can be done using the following: *getnameditem <item id>,<character name|character ID>; *getnameditem "<item name>",<character name|character ID>; Create an item signed with the given character's name. The command returns 1 when the item is created successfully, or 0 if it fails. Failure occurs when: - There is no player attached. - Item name or ID is not valid. - The given character ID/name is offline. However, again No, because then if the name your using isn't a Player ( or Player online ), then it will fail. This is why, a Psuedo character is needed, to complete this task. Also the reason getcharid(2) doesn't work, is because I believe it stores the ID the same as it does parties. Meaning Getcharid(2) would only present you with 001,002,003 etc etc..... Where as getcharid(0) is an 11(?) digit number, allowing for the name processing to take place. Quote
Question
Yuka
This signs the item with the invoking character's name.
Now is there a way to sign it with the invoking character's guild's name?
getcharid(2) does not work.
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.