How is the signature on items Encrypted?

Any discussion not related to the other forum topics
Post Reply
azafaraht
Posts: 74
Joined: Thu Nov 22, 2012 11:04 am

How is the signature on items Encrypted?

Post by azafaraht » Mon Jan 07, 2013 3:12 pm

If I modify an item on inventory, adding a signature, it will not appear exactly as I added it in sql.
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac

azafaraht
Posts: 74
Joined: Thu Nov 22, 2012 11:04 am

Re: How is the signature on items Encrypted?

Post by azafaraht » Mon Jan 07, 2013 3:50 pm

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
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac

azafaraht
Posts: 74
Joined: Thu Nov 22, 2012 11:04 am

Re: How is the signature on items Encrypted?

Post by azafaraht » Mon Jan 07, 2013 5:56 pm

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...
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: How is the signature on items Encrypted?

Post by bluekirby0 » Mon Jan 07, 2013 6:54 pm

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.

PrBlahBlahtson
Developer
Posts: 539
Joined: Sun Jul 22, 2012 12:17 am

Re: How is the signature on items Encrypted?

Post by PrBlahBlahtson » Tue Jan 08, 2013 12:34 am

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

Zedingo
Developer
Posts: 85
Joined: Tue Aug 14, 2012 12:24 pm

Re: How is the signature on items Encrypted?

Post by Zedingo » Thu Jan 10, 2013 9:36 pm

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.

azafaraht
Posts: 74
Joined: Thu Nov 22, 2012 11:04 am

Re: How is the signature on items Encrypted?

Post by azafaraht » Sat Jan 12, 2013 4:13 pm

Thanks everyone for your time. Ended up just giving myself the HQ crystals and checking the output... Will try next bluekirby0's suggestion.
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac

BeLe
Posts: 8
Joined: Fri Jan 11, 2013 9:56 pm

Re: How is the signature on items Encrypted?

Post by BeLe » Wed Jan 16, 2013 6:23 am

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.
Last edited by BeLe on Wed Jan 16, 2013 8:44 am, edited 1 time in total.

User avatar
diatanato
Developer
Posts: 112
Joined: Thu Aug 30, 2012 9:59 pm

Re: How is the signature on items Encrypted?

Post by diatanato » Wed Jan 16, 2013 7:22 am

"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

Post Reply