View Single Post
  #221  
Old 03-10-2009, 07:30 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Last night, I was able to get selling to merchants working properly. Just had to adjust for the special slot changes that KLS setup in the item struct and do an encode/decode for selling items.

Also, I got trading working from PC to PC/NPC. Though, it will bug your character if you cancel a trade and require you to zone or relog to fix it.

I also corrected a stacking issue introduced in Revision 376 that was causing stackable items that weren't in a stack to show up as being non-stackable.

I thought I did a commit of those changes last night, but I must have forgotten to. I will get it on the SVN tonight.

I am pretty sure that AAs are close to being usable now too, but I just need to figure out why it isn't using the encode I set on it when it sends the packet. It always wants to send a 1920 byte sized packet, which is the same that it sends in Titanium. I am guessing that it is just not using the structs at all and is being forced to send that way in the AA.cpp file. Maybe I can figure out how to set it to use the structures like all other normal packets do. I am sure that respondAA is why AAs aren't being updated after purchasing them until you zone currently. Once respondAA is working properly, that should fix that problem. I am hoping it will also make AAs actually start working too, and it just might. Other than that, it may be that SendAAStats may be needed for AAs to actually work. More testing needed on that one though.

Big thanks to Xinu for helping me by collecting opcodes and logs from Live to make this work alot easier. He has gotten me everything I asked for so far and does it quicker than I would have
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote