Commit Graph

300 Commits

Author SHA1 Message Date
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 3b48ed1f74 Added actor event packets. 2016-01-23 20:12:04 -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 3fcc9eea49 Moved the warp and send packet code out of packet processor and into the server object. Rewrote the warp command to use the world manager (still working on it). Add a playmusic command. 2016-01-19 22:07:29 -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 093d3b7c15 Merge branch 'master' of https://bitbucket.org/Ioncannon/ffxiv-classic-map-server 2016-01-19 21:06:50 -05:00
Filip Maj 0462b790b7 Built a WorldManager to handle zones. 2016-01-19 21:06:41 -05:00
Filip Maj 5d11a0b356 Changed isEncrypted to isCompressed in basepacket. After speaking with another dev, game packets are not encrypted... just compressed. Figured out that byte 3 of basepacket is the connection type when handshaking with the map server. 2016-01-19 13:31:24 -05:00
Filip Maj 887da7b503 Moving zone/login stuff away from packetprocessor into a "WorldManager" class. 2016-01-17 23:36:34 -05:00
Filip Maj db62b05fdc Merge branch 'database_work' into scripting
# Conflicts:
#	FFXIVClassic Map Server/actors/chara/Character.cs
#	FFXIVClassic Map Server/actors/chara/npc/Npc.cs
#	FFXIVClassic Map Server/actors/chara/player/Player.cs
2016-01-17 11:53:52 -05:00
Filip Maj d77344b725 Multiple zones are now stored on the server and accessed properly. 2016-01-17 11:48:55 -05:00
Filip Maj 0e85e2bddf Implementing zone settings from DB. 2016-01-17 01:51:02 -05:00
Filip Maj 9d67718060 Added utils to generate sql tables from game data. 2016-01-17 01:50:38 -05:00
Filip Maj 1c845e62e3 Implemented WeatherDirector , ZoneMaster, and WorldMaster in code. Zone objects has become the ZoneMaster actor object. 2016-01-16 23:03:04 -05:00
Filip Maj 724445a54a Achievements are now loaded from the database. Cleaned up login packets. 2016-01-16 18:38:49 -05:00
Filip Maj f7702bca13 Added some new work parameters. Fixed GC Packet (wrong sized data). Connected player data packets to DB. Cleaned up login code. 2016-01-16 11:26:35 -05:00
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 e47904dc30 Got commands working. Wrong ID for one of em. 2016-01-12 00:43:52 -05:00
Filip Maj aebaa1b70e Changed param constants. 2016-01-10 23:21:06 -05:00
Filip Maj d9e274eb09 Quests and Leves now load from the db. 2016-01-10 14:15:46 -05:00
Filip Maj 5b5b99bb4b Got most of the properties getting set. Commands and General Parameters broken. 2016-01-10 13:36:36 -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 156f8e1e7d Added get init packets to packet processor. 2016-01-10 03:09:01 -05:00
Filip Maj bea796ec85 Removed old db stuff. 2016-01-10 03:05:22 -05:00
Filip Maj 625ee299f7 Added more defaults. 2016-01-10 02:59:16 -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 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 16f6fe98b3 Errr left error in last commit. 2016-01-10 00:01:33 -05:00
Filip Maj 861e8add4e Finished adding the rest of the player DB load.... except achievements. 2016-01-10 00:00:50 -05:00
Filip Maj 4dec77aa69 Added a load player character function to the database class. As I went through, changed the various properties to their correct datatype. Also added Work object to Character. 2016-01-09 23:22:10 -05:00
Filip Maj 44c45c4ad2 Cleanup. 2016-01-09 21:35:45 -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 071b1f11a8 Removed test data. 2016-01-09 18:51:20 -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 c4944032c8 Added NPC table to database loaders. 2016-01-02 14:05:37 -05:00
Filip Maj b839a281cf Forgot additions to LuaUtils that Instantiate packet uses. 2016-01-02 14:05: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 67ee70e7c5 Packet for instantiating actor in lua engine implemented, though first value unknown. 2016-01-02 14:03:28 -05:00
Filip Maj d5fb17bf7f Added NLua. 2016-01-01 14:11:48 -05:00
Filip Maj 5cb11d7957 More bin stuff untracked. 2016-01-01 14:09:45 -05:00
Filip Maj f97e488584 Removed stuffing being tracked in the bin folder. 2016-01-01 14:05:59 -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