Commit Graph

32 Commits

Author SHA1 Message Date
Filip Maj
c6ac8b2f14 Fixed an error in the netcode that would cause the client to d/c on partial packets. Set buffer size to 0xFFFF due to disconnect on really large packets (ie gm packet). Implemented support ticket packets. 2016-02-16 22:53:53 -05:00
Filip Maj
cb4171f1fd Bunch of bugfixes and final tweaking to get inventory working. 2016-02-14 12:09:18 -05:00
Filip Maj
110a112328 Implemented remove though will need to test more. Finished tweaking addItem(itemId, quantity). 2016-02-13 21:14:49 -05:00
Filip Maj
1f3cd8eaf3 Added the two new datatypes to get the inventory commands to parse properly. 2016-02-13 16:33:33 -05:00
Filip Maj
df2ac1fb32 Added all the inventory packets, and implemented add and get inventory from the db to the server. Inventory at login is now connected to the db! 2016-02-11 22:14:40 -05:00
Filip Maj
42ba95b69d Reworked zones to allow for isolated zones (IE Opening Zone) and private area instances. 2016-02-07 13:05:54 -05:00
Filip Maj
c83b4a12b9 Added the game message packets. Fixed "canRideChocobo" param in zone not working. Added a lot more function for lua to access. Various minor changes. 2016-02-03 00:45:11 -05:00
Filip Maj
789df97d48 More static actors loaded and can be accessed anywhere. Improved lua scripting to allow small talk. 2016-01-25 01:10:43 -05:00
Filip Maj
f1025f89d3 Rewrote the server commands. They can now accept a client connection, letting a user fire a command from within the game and only receive the response. Added actor removal for the instance system. Removed hardcoded packet 9. 2016-01-23 23:28:12 -05:00
Filip Maj
7bc3c8c2dd Added event conditions to the database. This is a JSON object that stores all types of conditions. The server also sends the correct packets to enable these conditions (minus the push packets... those aren't implemented). 2016-01-23 22:11:45 -05:00
Filip Maj
ea6b1e33c7 NPCs now spawn and load template from the db. 2016-01-20 23:18:10 -05:00
Filip Maj
02b90edd3f Added two new commands; warp by zone entrance and a getpos command. Fixed character actor not appearing on zone... 0x2 packet only sent on login. Added spawnType to getSpawnPackets. 2016-01-20 00:02:57 -05:00
Filip Maj
d90dc0cb80 Redid the initial handshake code to handle the found connection type field. Server should no longer create two player objects and code has been reduced. Removed instances of connection1/2 getters... server simply sends packets down zone connection. Fixed issue with world manager not zoning in player due to missing 0x2 packet. 2016-01-19 21:47:59 -05:00
Filip Maj
bea796ec85 Removed old db stuff. 2016-01-10 03:05:22 -05:00
Filip Maj
9fc4101812 Fixed all errors with player loader from db. DBAppearance is redundent and was removed. 2016-01-10 01:19:46 -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
04faf9d753 Begun reimplementing the whole actor system to follow more closely to the client side's system. Packet processor's reference chanced, and all ActorID vars in Actor class were changed to ActorId. 2016-01-02 14:04:45 -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
4eda13501c Added receiving packets for GM stuff. Started implementing the recruitment packets. 2015-12-06 20:23:34 -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
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
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
b17a86ba2c Added more packet creators to the actor class. Made sendPacketQueue private to avoid confusion. Added zone stuff to test multiplayer. 2015-10-13 19:15:44 -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
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
327dfc656b Implement the actor initial position packet and set state packet. 2015-10-06 23:08: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
3cacedf6ab New debug packets. 2015-10-04 22:42:20 -04:00
Filip Maj
46c4c26d01 Initial Commit. 2015-09-25 18:52:25 -04:00