View Single Post
  #24  
Old 06-18-2009, 09:24 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Well, it wasn't as simple as I thought, so I really didn't make any breakthroughs last night. I will give it another shot tonight. I think I am close, but there is just something keeping it from working. Might still have to do some tricky conversion stuff to get AAs working between both clients properly. I am still pretty confident that we can do it using the same tables as they are now setup.

Here are the AA table packets from EQLive that make me think it is just tricking the client:

Code:
Mar 13 2009 07:28:57:131 [Decoded] [Server->Client] [Size: 120]
[OPCode: 0x3683]
000 | 02 00 00 00 01 ff ff ff ff ff ff ff ff 02 00 00  | ................
016 | 00 02 00 00 00 33 00 00 00 01 00 00 00 01 00 00  | .....3..........
032 | 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 00  | ................
048 | 00 ff ff ff ff 00 00 00 00 00 00 00 00 fe ff 01  | ................
064 | 00 0f 00 00 00 ff ff ff ff 03 00 00 00 01 00 00  | ................
080 | 00 00 00 00 00 00 00 00 03 00 00 00 ff ff ff ff  | ................
096 | 00 00 00 00 01 00 00 00 04 00 00 00 02 00 00 00  | ................
112 | 00 00 00 00 01 00 00 00                          | ........

Mar 13 2009 07:28:57:131 [Decoded] [Server->Client] [Size: 120]
[OPCode: 0x3683]
000 | 09 00 00 00 01 ff ff ff ff ff ff ff ff 07 00 00  | ................
016 | 00 07 00 00 00 33 00 00 00 01 00 00 00 02 00 00  | .....3..........
032 | 00 03 00 00 00 00 00 00 00 00 00 00 00 01 00 00  | ................
048 | 00 ff ff ff ff 00 00 00 00 00 00 00 00 fe ff 01  | ................
064 | 00 0f 00 00 00 08 00 00 00 0a 00 00 00 03 00 00  | ................
080 | 00 00 00 00 00 00 00 00 03 00 00 00 ff ff ff ff  | ................
096 | 00 00 00 00 01 00 00 00 07 00 00 00 06 00 00 00  | ................
112 | 00 00 00 00 01 00 00 00                          | ........

Mar 13 2009 07:28:57:131 [Decoded] [Server->Client] [Size: 120]
[OPCode: 0x3683]
000 | 0a 00 00 00 01 ff ff ff ff ff ff ff ff 07 00 00  | ................
016 | 00 07 00 00 00 33 00 00 00 01 00 00 00 02 00 00  | .....3..........
032 | 00 04 00 00 00 00 00 00 00 00 00 00 00 01 00 00  | ................
048 | 00 ff ff ff ff 00 00 00 00 00 00 00 00 fe ff 01  | ................
064 | 00 0f 00 00 00 09 00 00 00 0b 00 00 00 04 00 00  | ................
080 | 00 00 00 00 00 00 00 00 03 00 00 00 ff ff ff ff  | ................
096 | 00 00 00 00 01 00 00 00 07 00 00 00 08 00 00 00  | ................
112 | 00 00 00 00 01 00 00 00                          | ........
The first packet is Innate Str, which I didn't have anything spent in, so it just sent the one packet. The second and third packets both fall into the Innate Stamina skill ID range. Those 2 packets are what make me think the server just uses the old separate AA information but sends them twice to stack the effects. Basically, the AA Effects are the same between the 2 aas for Innate Stamina and Improved Innate Stamina. But since the improved version no longer exists in SoF, it simply sends the normal innate 2 times and the client knows to double the stats up. I am sure that the extra effects work, because if I train Chaotic Potential (doesn't exist in SoF) and Planar Power while using a Titanium client, and then log in with SoF, I still get +50 to all caps as if I had both AAs. So, the only thing that is left to figure out is how to stack the AAs so it doesn't show the unknown DB entries in the AA Window. Also, we need to have something that will do conversion stuff for when an AA is purchased above what the base AA allows. An example of what I mean by that is Innate Stamina has a max of 5 train points allowed, but Improved Innate Stamina has 10, so that totals 15 between the 2 which is what should show up for normal Innate Stamina in SoF. But, since they are actually stored separately and sent separately just like in Titanium, we need something to tell the server that after 5 are trained into Innate Stamina that it needs to start putting the remaining 10 points into the improved version.

Hopefully this is starting to make more sense. Anyone who wants to chime in or give a shot at figuring this all out is more than welcome LMAO! I think I am on to something, but just need to get 1 working so I know exactly what needs to be done. Currently, I emptied out the alt_vars AA table on my server and left only 2 entries. One being Innate Str and the other is the improved version of it. This should make it easiest for testing as I only need to worry about getting 1 working. Once one is working, the hard part should be over, but no luck just yet.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote