Commit Graph
97 Commits
Author SHA1 Message Date
ProfMobius 5eb742e3d7 Fixed bad cast with That-Shall-Not-Be-Named by making damn sure the type of the
lists in World are of the proper type and creating the lists if they are not.
2015-03-25 19:43:58 +01:00
ProfMobius ede2d7f5b3 Fixed some unit error 2015-01-16 18:04:19 +01:00
ProfMobius 9c6cbf8416 Chat msgs are now sent to the Daemon for logging. 2014-12-10 20:02:32 +01:00
ProfMobius f6f1a79dfb Added server start/stop events. Added a default "Server" entry to the StringCache 2014-12-10 02:07:20 +01:00
ProfMobius 573c422001 Fixed players shown offline by pushing a proper status 2014-12-10 01:01:30 +01:00
ProfMobius 74956ec161 Added handling for message "COMMAND_KILLALL_BYCACHEID" 2014-12-10 00:30:33 +01:00
ProfMobius a023f59b2a Removed stack traces for most known errors (server unreachable or connection reseted by peer).
Exceptions in the handshake are passed to the RCon exception handler.
Moved the registration of the fake player to after the config packet.
Check if the handler is valid before trying to send packets in sendToAllNexus
2014-12-08 19:36:14 +01:00
ProfMobius 809f4abff0 Better handling of the timers (moved to the handler, get it via the context and default timer for auth packet) 2014-11-12 19:40:35 +01:00
ProfMobius c7ce4801c3 Added packet limiter based on a config sent by the server. 2014-11-12 19:06:48 +01:00
ProfMobius bbbaf6430a Restored "no client needed" flag. 2014-11-07 20:44:53 +01:00
ProfMobius a2fcb77026 AmountHolder now contains a 3rd member (a data string, usually modname).
Added mod identification with a block param
Modified stuff to match MobiusCore.
2014-11-06 02:41:00 +01:00
ProfMobius a5e9667e4f Modified to use the new way of getting cumulative data per class.
TileEntity list is now sent as an AmountHolder instead of the old whatever.
2014-11-06 01:58:23 +01:00
ProfMobius 853920ac1e Added PlayerStatus on Player Death 2014-10-26 02:59:29 +01:00
ProfMobius f6152c589a All events are now an enum and send as a PlayerStatus.
All player updates are now sent as a PlayerStatus.
2014-10-26 02:38:28 +01:00
ProfMobius c093287b5c We moved the modification of the pipeline inside the ChannelActive, post handshake success.
This correct the missing auth packets at the beginning of the transaction.
2014-10-24 21:29:00 +02:00
ProfMobius 05c0044dd1 Better CME handling. 2014-10-24 01:38:32 +02:00
ProfMobius a18afdb975 Added timestamps to NexusAuth and NexusData for a better graph
Small concurrent modification derp fix ?
2014-10-24 01:36:05 +02:00
ProfMobius 17ff3421fd Will stop trying to reconnect once it received a CONNECTION_REFUSED packet. 2014-10-23 21:03:47 +02:00
ProfMobius 98d6df8312 Supression of duplicated error msgs. 2014-10-23 20:25:38 +02:00
ProfMobius 292726b37e The client will now try to reconnect if the server drops the connection (or if the connection fails because it cannot find the server)
Moved the exception handler to a more generic one in RConHandler
Added a future to check on the write operations in RConHandler.
2014-10-23 20:13:36 +02:00
ProfMobius 3ad2c5be55 Added reconnect to the NexusAuth message.
Added proper handling of the return packets from Nexus.
2014-10-23 00:15:31 +02:00
ProfMobius 51bb8700da Added a ALL SelectedTab that will accept all messages (used for testing ?) 2014-10-22 01:42:01 +02:00
ProfMobius 67bb9e0c77 More data sent in the player message, renamed it to playerstatus 2014-10-21 20:40:54 +02:00
ProfMobius be53815b57 AmountHolder is now using a CachedString
Added PlayerLogging datatype (just a player name + online status).
Simplification of the TickHandler. Added checks for 0 players. Sending TEs & Ent count on a 5s timer
Sending log in/off packet on player logging/off events.
New message for PlayerOnline thingy
Added a new separate Netty version as dep in gradle. The package is called nettyopis. Let me use the 4.0.23 nifty things.
2014-10-21 18:16:55 +02:00
ProfMobius cab5ecef8b Removed unused msgs. 2014-10-20 23:17:21 +02:00
ProfMobius e2b15b242e Cleanup 2014-10-20 23:07:40 +02:00
ProfMobius c7c123c01c All data transfer for the summary inside one packet/msg 2014-10-20 22:43:34 +02:00
ProfMobius 9d4f036ea4 Added support for the amount of players. 2014-10-19 02:19:02 +02:00
ProfMobius 559211c64f Added passphrase Auth to the handshake 2014-10-16 18:34:47 +02:00
ProfMobius 3cd002769f New datatype for Nexus.
Reworked the whole sending pipeline to separate msgs to Rcon and Nexus.
Much cleaner and network/IO friendly solution.
2014-10-15 05:18:55 +02:00
ProfMobius 663d616f21 Added SSL support to Nexus Client 2014-10-13 18:43:24 +02:00
ProfMobius ea7ee7d2c8 Added support for UUID.
The UUID will be sent before anything else upon connection to the Nexus so it can
associate the connection with a proper db entry.
2014-10-13 17:58:46 +02:00
ProfMobius e3aa9a4788 Set the default tab for the Nexus FakePlayer 2014-10-11 17:42:18 +02:00
ProfMobius 93cf3172a8 Basic Nexus client implemented.
Common code has been moved to RConHandler (sendToPlayer, fakePlayer list, packet BiMap)
2014-10-11 16:35:31 +02:00
ProfMobius 258c8fea7c Refactoring 2014-10-11 15:41:17 +02:00
ProfMobius 0d31512ec7 Cleaner CME prevention. 2014-10-04 19:11:13 +02:00
ProfMobius 6a4a2981fd Removed access right identification by name to prevent a potential security risk. 2014-10-04 18:07:06 +02:00
ProfMobius 3a38873281 Fixed a CME on the TE methods.
Removed some debugging.
2014-10-04 16:33:45 +02:00
ProfMobius 7d837824fd Added support for a password. 2014-10-04 15:41:10 +02:00
ProfMobius 7c693ab480 Added shaded netty 4.0.23
Added support for SSL encryption.
2014-10-03 22:46:52 +02:00
ProfMobius 70b4e8d5fa Added disconnect detection. 2014-10-03 20:25:26 +02:00
ProfMobius 0c7e17c061 DataBlockTileEntityPerClass is now sending the block & mod name.
Adv side detection is now working a bit better (handle worker threads for Rcon)
PacketManager will try to dispatch the packets to the FakePlayers when doing an untargeted send.
PacketManager handling of fake player is done on the sendToPlayer level.
Rcon connections are reproducing the "player logged in" behavior.
2014-10-03 18:27:45 +02:00
ProfMobius 572d0158cb Renamed a class. 2014-10-03 17:14:14 +02:00
ProfMobius f32a771e6b Fixed the decoder to prevent crash on buffer starving. 2014-10-03 03:18:03 +02:00
ProfMobius 6faaf46b80 Registered the rcon fake player in the swing active list. 2014-10-02 23:47:41 +02:00
ProfMobius 3692055926 Added size/type to the return packet. 2014-10-02 15:32:30 +02:00
ProfMobius e099f67fb0 Data is properly injected in the main Opis pipeline and sent back to the rcon
once the processing is done.
2014-10-02 15:27:38 +02:00
ProfMobius 9226578062 Cleaned out the colater. 2014-10-02 03:46:29 +02:00
ProfMobius 5d9e5b6806 Added packet colater and descriminator. 2014-10-02 03:31:10 +02:00
ProfMobius 2b081c955b Merge with forge_1208 2014-10-02 00:33:00 +02:00