Page 1 of 1

How is the signature on items Encrypted?

Posted: Mon Jan 07, 2013 3:12 pm
by azafaraht
If I modify an item on inventory, adding a signature, it will not appear exactly as I added it in sql.

Re: How is the signature on items Encrypted?

Posted: Mon Jan 07, 2013 3:50 pm
by azafaraht
Found the getSignature and setSignature functions in svn/ trunk/ src/ map/ items/ item.h... time to read up. If anyone know the answer and want to help a guy avoid some stress, I'll appreciate the reply. <3

Re: How is the signature on items Encrypted?

Posted: Mon Jan 07, 2013 5:56 pm
by azafaraht
Well, I did find out that the signature is being encrypted through a PackBits Length Encoding... however, I have no idea how to find the value that is stored in the database when my char signs an item... guess I'll have to try to syn something...

Re: How is the signature on items Encrypted?

Posted: Mon Jan 07, 2013 6:54 pm
by bluekirby0
It would probably save you a lot of stress to hijack the existing functions into a new lua binding and call it from a script or GM command than try to do the query by hand.

Re: How is the signature on items Encrypted?

Posted: Tue Jan 08, 2013 12:34 am
by PrBlahBlahtson
azafaraht wrote:Well, I did find out that the signature is being encrypted through a PackBits Length Encoding... however, I have no idea how to find the value that is stored in the database when my char signs an item... guess I'll have to try to syn something...
At least last night, those crystals seem to be crashing game-server :D

Re: How is the signature on items Encrypted?

Posted: Thu Jan 10, 2013 9:36 pm
by Zedingo
I ran the server from debug in Vis Studio, and kept getting out of range errors. Apparently the for loop that reads the player's name is going 1 too far. Fix that and new errors come along to crash you.

Re: How is the signature on items Encrypted?

Posted: Sat Jan 12, 2013 4:13 pm
by azafaraht
Thanks everyone for your time. Ended up just giving myself the HQ crystals and checking the output... Will try next bluekirby0's suggestion.

Re: How is the signature on items Encrypted?

Posted: Wed Jan 16, 2013 6:23 am
by BeLe
So signing works now? what item are you making? not too long ago I was trying to do the "classic cheesey" thing and make a truelove chocolate signed with my characters name.. couldn't get it to work :<

Guess I'll test it again. are there any requirements i have to meet like a certain crafting skill level? or can I just do it with an HQ crystal?

Edit: tested again, it appears the problem is that the true/love chocolates don't have the INSCRIBABLE flag set.

Re: How is the signature on items Encrypted?

Posted: Wed Jan 16, 2013 7:22 am
by diatanato
"The High Quality Crystal will add your name at the bottom of the little display window of the item you make." ©

http://wiki.ffxiclopedia.org/wiki/High_Quality_Crystals