Filip Maj
9372b4bc32
Added a thread and update() calls for gamestate changing.
2017-01-16 19:14:13 -05:00
Filip Maj
4b0ffb3882
Fixed the last actor speed. It was active mode speed.
2017-01-03 19:02:35 -05:00
Filip Maj
3864bf6d85
Merge branch 'proxy_server' into develop
...
# Conflicts:
# FFXIVClassic Common Class Lib/packages.config
2016-12-03 14:03:13 -05:00
Filip Maj
e30831fdc5
Built subpackets to let the zone servers talk to the world server. Implemented cross-server zoning but the E2 packet or something isn't being sent.
2016-12-03 12:19:59 -05:00
Filip Maj
c67f74130f
Moved packet structures to common.
2016-08-22 10:43:04 -04:00
Filip Maj
b43a6885c5
Added functions to allow for an improved seamless zone change. Player can now pull actors from two zones when performing a seamless zone change to give a improved feel.
2016-07-31 21:48:17 -04:00
Filip Maj
70b4fc8630
Removed some packet debug outputs.
2016-07-17 09:21:17 -04:00
Tahir Akhlaq
37d91480f9
Merge branch 'master' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into lua_commands
...
# Conflicts:
# FFXIVClassic Common Class Lib/packages.config
# FFXIVClassic Lobby Server/Program.cs
# FFXIVClassic Map Server/CommandProcessor.cs
# FFXIVClassic Map Server/Program.cs
# FFXIVClassic Map Server/actors/Actor.cs
2016-06-18 05:59:42 +01:00
Tahir Akhlaq
1ad2b5d7d0
more work on commands
...
- moved script object to wrapper class to catch and log exceptions
- added loggers for basepacket/subpacket (todo: colour and use them in NLog.config)
- finished up most commands (todo: !property and !property2)
- todo: create and use mysql wrapper class to log exceptions
2016-06-18 05:42:14 +01:00
Tahir Akhlaq
57b9d5ab99
start of work moving commands to lua
2016-06-17 02:44:57 +01:00
Tahir Akhlaq
ac01224769
fixed derps causing client/server crashes
2016-06-16 03:49:58 +01:00
Tahir Akhlaq
2b81660dce
accidentally mass replaced "target", fixed now
2016-06-15 04:27:25 +01:00
Tahir Akhlaq
335a59204c
Merge branch 'master' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into method_casing
...
# Conflicts:
# FFXIVClassic Map Server/CommandProcessor.cs
# FFXIVClassic Map Server/WorldManager.cs
# FFXIVClassic Map Server/actors/area/Area.cs
# FFXIVClassic Map Server/actors/area/PrivateArea.cs
# FFXIVClassic Map Server/actors/area/Zone.cs
# FFXIVClassic Map Server/actors/chara/npc/Npc.cs
# FFXIVClassic Map Server/common/Utils.cs
# FFXIVClassic Map Server/dataobjects/ConnectedPlayer.cs
2016-06-14 22:54:02 +01:00
Tahir Akhlaq
24f55139dd
mass replaced all methods to pascal case
2016-06-14 21:29:10 +01:00
Tahir Akhlaq
8b93abe86e
servers now log (almost) everything to file
...
- regex'd in mysqlexception logging
- servers can now specify server_port, log_path, log_file
- added scripts to import/export all tables (exporting will export a handful of garbage table names, open and check for structure before deleting)
- fixed packet logging (thanks deviltti)
2016-06-09 19:48:06 +01:00
Filip Maj
fc51b7f564
Modified scripts to work with new system.
2016-05-29 16:03:24 -04:00
Filip Maj
62ed9b22f1
Implemented actor instancing, as well as automatic name generation for NPCs.
2016-05-29 15:14:09 -04:00
Filip Maj
6c3918ac2f
Got the kick event packet working and implemented the director parameter in the player instantiation. The first argument of the set event status packet is an "isEnabled" flag; switched to bool rather than int.
2016-04-01 23:24:14 -04:00
Filip Maj
597a800599
More work trying to get the opening cutscene to fire right away.
2016-03-30 20:15:21 -04:00
Filip Maj
a30311d12a
Added director related code to player and packet processor. Cleaned up some debug messages. Added a flag when a player is "zoning in".
2016-03-28 11:31:21 -04:00
Filip Maj
2048d8d188
Implemented a intra-zone teleport. Trigger Name is now sent to to the "eventStart" lua callback. Lua scripts can now access world manager.
2016-03-20 21:18:46 -04:00
Filip Maj
08fd862939
Implemented the emote and notice event conditions.
2016-03-20 19:34:39 -04:00
Filip Maj
0876b293e8
Started to implement private areas. Works mostly, but only one instance is created. All the push triggers work more or less except bounding box.
2016-03-20 19:29:38 -04: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
cfb29b912f
Speed is now stored in the actor. Redid actor speed packet to use float. Added GameMessagePacket which can use all 20 msg packets. Added functions for lua side to call in player obj.
2016-02-02 00:02:06 -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
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
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
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
bea796ec85
Removed old db stuff.
2016-01-10 03:05: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
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
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