Commit Graph

102 Commits

Author SHA1 Message Date
Filip Maj 2bf532a6db Fixed bug in property reflection code. If array had 2 or more digit index, would truncate to 1 digit. 2016-01-12 01:20:09 -05:00
Filip Maj d42dac543f Fixed wrong values sent for the setactorproperty packet. Initialized commandSlot_compatibility which was null. 2016-01-10 11:47:22 -05:00
Filip Maj 3205bd1c83 Added property init function which should get everything working. Added defaults to some properties. 2016-01-10 02:44:32 -05:00
Filip Maj c9f35a207b Fixed up warping with new values for SetActorPosition packet. The script instantiation packet is done and implemented. Player init is done except for parameters. 2016-01-09 18:52:23 -05:00
Filip Maj ff5a6c0c8e Fixed actors not spawning. 2016-01-09 17:09:36 -05:00
Filip Maj 315ec1f220 Fixed state being wrong size. Player substate will always be 0xBF. 2016-01-09 00:06:56 -05:00
Filip Maj fac9d28529 Got warp working. BROKE ACTOR SPAWNING! 2016-01-08 21:37:09 -05:00
Filip Maj 360d72b376 Implemented the player portion of the new actor system. 2016-01-02 18:17:03 -05:00
Filip Maj 93a42c1ba3 Implemented the SetIdleAnimation packet, and a placeholder for packet 0x132 used to login. 2016-01-02 18:16:38 -05:00
Filip Maj 7aeb33d884 Figured out all main actor states and implemented the stuff properly. Implemented the chocobo/goobbue appearance stuff. Formatted CharaWork a bit. 2016-01-02 16:47:35 -05:00
Filip Maj 67ee70e7c5 Packet for instantiating actor in lua engine implemented, though first value unknown. 2016-01-02 14:03:28 -05:00
Filip Maj 734a3f4e7f Added implementations of the event receive/send packets. Added lua scripting stuff. Added some utils. 2016-01-01 14:04:44 -05:00
Filip Maj d60938346b Fixed up message packet and set dream packets. 2015-12-30 12:20:47 -05:00
Filip Maj aeef4f5616 Can queue subpackets now (automatically creates basepacket). List packets implemented. Base packets fully figured out and implemented. Login has been stablized and no longer crashes. Implemented the following packets: List Packets, Set Job packet, chat message receive packet, SetActorIcon, SetActorIsZoning, SetActorSingleStatus, AchievementRate and some unknown packets. 2015-12-29 01:20:46 -05:00
Filip Maj fa3d69b8b3 Map packet now sends region ID used to set various UI things (ie: search). Added weather ids to the weather packet. GM packet now takes a true/false value; the proper function is to send a 0x1D3 packet whenever client asks for it... false unless has GM then true. 2015-12-13 22:18:22 -05:00
Filip Maj 6f8125a947 Redid haschocobo packet and added hasgoobbue packet. Redid the GC Info packet to work properly. I've begun adding the list packets. 2015-12-13 22:16:40 -05:00
Filip Maj 93a08c0128 More recruitment packets implemented. Still need to finish the search results packet. 2015-12-06 22:58:42 -05:00
Filip Maj 4eda13501c Added receiving packets for GM stuff. Started implementing the recruitment packets. 2015-12-06 20:23:34 -05:00
Filip Maj de353c9909 Added null option for status update packet to send empty list. Added 0x1CF response for FL list to packet processor. Exception reason will now be printed when can't send packet by console. 2015-12-05 18:58:06 -05:00
Filip Maj 0dcebd1658 Finished figuring out and implementing the last friend list and black list packets. 2015-12-05 18:18:35 -05:00
Filip Maj daaded83c3 Added receive packet for all social add/remove. They are all the same structure so a single packet should do. 2015-12-05 00:11:29 -05:00
Filip Maj 2ce801f217 Implemented packets for add/remove for friend/black lists. 2015-12-05 00:05:09 -05:00
Filip Maj bda686681d I've begun working on implementing social packets. 2015-12-04 23:39:57 -05:00
Filip Maj 1b190b1b4f Incorporated the GM packets into the packet processor. Still need to connect it to the DB. Added IssueListPacket and Start/EndGMTicketPacket. 2015-12-04 23:39:18 -05:00
Filip Maj 1f7c876461 Added support for actor property changed. Removed a lot of hard coded packets. Added a bunch of Support Desk packets. 2015-12-04 02:00:05 -05:00
Filip Maj c8d6326ecd Finished SetChocoboName packet and fixed a bug with cutscene packet. 2015-11-29 00:30:41 -05:00
Filip Maj 4d83989d1a Finished the SetCutsceneBook packet. All offsets were written down. 2015-11-28 23:24:59 -05:00
Filip Maj 9bb8cc816f Finished SetCompletedAchievementsPacket and renamed CutsceneBookSetPacket to SetCutsceneBookPacket in line with other "set" packets. Moved a lot of the hardcoded packets into the coded login part under PacketProcessor. 2015-11-28 20:56:22 -05:00
Filip Maj 50659afc82 Fixed actor state property packet not sending in string correctly. Added test command for it. Fixed bug in MurmurHash algo. 2015-11-28 10:00:18 -05:00
Filip Maj 0a6b005a0c Added command and script packets. Finished the SetActorProperty packet. Fixed bug with manually send packets from console. 2015-11-27 00:42:35 -05:00
Filip Maj ba68546cc9 Begun writing script packets. 2015-10-16 21:30:49 -04:00
Filip Maj d21bbf9b48 Merge branch 'fix_connection' into multiplayer 2015-10-15 22:36:21 -04:00
Filip Maj 2e683892c8 Connection working again. Fixed type 7 ping packet. 2015-10-15 22:17:21 -04:00
Filip Maj 235a5adae3 Fixed bugs on how subpackets handled. Reorganized subpackets and split header with game header. 2015-10-14 23:48:49 -04:00
Filip Maj 6939c380cd Implemented the "SetActorProperty" packet. 2015-10-14 17:18:29 -04:00
Filip Maj 1d20f8b8b8 Started doing multiplayer stuff. 2015-10-13 22:58:21 -04:00
Filip Maj 7116c96b2f Fixed packet creators in Actor. Added replace id overload. Fixed Zone class, should work correctly. 2015-10-13 22:57:16 -04:00
Filip Maj 1986a646e5 Added skeleton of "DoBattleActionPacket". Added size checks for chat message packet. 2015-10-13 12:50:23 -04:00
Filip Maj 2f6841b125 Fixed emote not working when no target was set. 2015-10-12 10:45:35 -04:00
Filip Maj d3325676c5 Got rid of some garbage packets. Emote packet implemented though bug with descriptions. 2015-10-12 02:03:47 -04:00
Filip Maj 810edfcee4 More packets implemented. 2015-10-12 00:42:28 -04:00
Filip Maj 9a9388aabf Figured out a lot of the 19X and 1AX packets. Adding test packet data used in experiments. 2015-10-11 14:57:24 -04:00
Filip Maj 29f030eddb Fixed music packet, no longer hard coded. Added setTarget, lockOn, and startScript packets. Console window has quieted down woo! 2015-10-08 00:49:31 -04:00
Filip Maj f0c914844e Actor speed packet done, actor position packet implemented. 2015-10-06 23:53:14 -04:00
Filip Maj 327dfc656b Implement the actor initial position packet and set state packet. 2015-10-06 23:08:40 -04:00
Filip Maj af2262c4b1 Added chat packet and state change packet. Fixed file spelling error for RemoveActorPacket and deleted UnknownLoginPacket. Was empty. 2015-10-06 20:06:08 -04:00
Filip Maj 0f80fa12dc Added new equipment change packet. Renamed ChangeEquipmentPacket to EquipmentChangePacket. Renamed folder Actor to actor. 2015-10-06 11:53:40 -04:00
Filip Maj a81d6bb26a Implemented equipment packets as well as actor name/appearance packets. Appearance and name is now retrieved for the chara id. 2015-10-06 00:39:18 -04:00
Filip Maj b0ab527550 Implemented more packets. Implemented zone grid map. 2015-10-05 19:36:15 -04:00
Filip Maj 8f7e7d4c0d Implemented item packets, did some fixes with one of the conns going null. 2015-10-04 22:43:22 -04:00