Commit Graph
113 Commits
Author SHA1 Message Date
ProfMobius 3daa42e5fa Adjusted Event profiler to handle the new package/class gathering. 2014-04-11 20:38:45 +02:00
ProfMobius 2a0b37b3f8 Added tab for events timing. 2014-04-10 19:09:37 +02:00
ProfMobius f56140be01 Status of each tab is kept server side and packets are filtered depending on the opened tab. 2014-04-10 00:41:02 +02:00
ProfMobius 3c9b1b9f23 Added profiler for the network packet handling call. 2014-04-09 14:17:25 +02:00
ProfMobius 8bfd237ca0 Massive refactoring to remove all the old data system. 2014-04-04 01:10:29 +02:00
ProfMobius d150c22b82 Refactoring 2014-04-04 00:40:46 +02:00
ProfMobius 70bfc814b5 Added Packet analysis.
Removed all references to the old system.
2014-04-04 00:39:24 +02:00
ProfMobius cc1ed3f7e4 Added server tick profiling to the new profiler list.
Removed a bunch of unused old stat data.
2014-04-03 23:04:13 +02:00
ProfMobius 3c93af6e1f Added ProfilerTileEntity based on ProfilerSection.
Made most of the timing data sent as a DataTiming.
Fixed total timing errors.
2014-04-03 21:57:22 +02:00
ProfMobius 854b8d2dd0 Refactoring.
EntityManager is now based on the internal data from the profiler.
2014-04-03 18:55:46 +02:00
ProfMobius 3ee21ae911 Replaced the old WorldTickProfiler by a new ProfilerDimBlockTick based on ProfilerSection.
Added a new ISerializable holding all the block update data for all dimensions + total.
2014-04-03 16:14:39 +02:00
ProfMobius a79aefb592 ChunkManager is now an Enum singleton.
Wired all the commands to the buttons in Dimensions tab.
Buttons are now JButtonAccess to handle access rights.
2014-03-31 20:34:50 +02:00
ProfMobius 7a0fc8c871 EntityManager is now an Enum singleton. 2014-03-31 20:16:26 +02:00
ProfMobius 486abcb4bb Tabs are now dynamically added at runtime by the client Proxy.
They can be registered and will be displayed in the order requested.
They can be retrieved by a name provided using the ITabPanel interface.
2014-03-31 17:07:00 +02:00
ProfMobius a732947920 Loaded chunks sending is now splitted in 500 chunks packets to prevent overloading the 250.
A "clear array" is sent prior to the data and data is cumulativly added to the array.
2014-03-31 11:12:35 +02:00
ProfMobius d08540ace3 Added a more generic way of setting up profilers (for WorldTick for now). 2014-03-31 01:06:46 +02:00
ProfMobius 88d755d481 Refactoring 2014-03-27 21:43:01 +01:00
ProfMobius 32cfa4800e Done moving all the message handlers to their proper place.
ChunkManager is now a singleton instead of a collection of statics.
2014-03-27 20:54:25 +01:00
ProfMobius b3e0427ab8 Moved the client commands to the client proxy. 2014-03-27 20:38:15 +01:00
ProfMobius 70dc1d235b Readded the last missing values. 2014-03-27 19:10:59 +01:00
ProfMobius 96db5c338f Moved all the data packets data to the top class, renamed everything.
Put the dispatcher in the main code and started adding Messages.
2014-03-27 04:11:51 +01:00
ProfMobius 11e8203065 Loaded chunks are now sent as a msg in form of ArrayList of CoordinatesChunk with metadata 0 or 1.
Overlay updates are now sent on a timer and not by ticks (5s timer).
2014-03-25 19:09:56 +01:00
ProfMobius d8dc1af510 CoordinatesChunk can now use some metadata for various purposes (right now, will be used for ChunkLoaded/Forced).
Finer profiling of the worldTick. Will be reworked later.
Packets with a size > 32000 are dropped before being sent and print an error to the server console.
2014-03-25 18:39:46 +01:00
ProfMobius dcbc5e2f59 Refactoring of client side packet handling.
It is using the same enum and same generic design as the server side.
2014-03-25 15:31:45 +01:00
ProfMobius 2da495d0a8 TileEnt & Ent amounts are now real time 2014-03-25 00:56:54 +01:00
ProfMobius b4ca0fedd0 Chunk update is now properly sent in the timed update. 2014-03-25 00:40:10 +01:00
ProfMobius 8378b8fc6d Added real time display of Loaded/Forced chunks 2014-03-25 00:31:19 +01:00
ProfMobius 6ffec426b5 Timestamp is ISO formatted now. 2014-03-24 22:15:26 +01:00
ProfMobius cd82afdeca Added reset highlight button to the TE Timing tab to remove highlight post teleport. 2014-03-24 22:11:06 +01:00
ProfMobius 0133584ec9 Refactoring 2014-03-24 19:20:29 +01:00
ProfMobius 58961bb9b8 Version bump
Removed a useless dependency on CBCore
2014-03-23 14:03:42 +01:00
ProfMobius 3d43af3903 Command sanitization.
Removed all references to the mod mean time thingy until properly reimplemented.
2014-03-23 12:52:14 +01:00
ProfMobius 7c4568a2eb Using username instead of getDisplayName for registrations.
Fake buttons are now normal buttons so they are not automatically activated.
Moved the profiler registration out of a if statement (so they register client side too).
SSP players have an automatic PRIVILEGED elevation.
Fixed Center On Map for Entities not selecting the chunk.
2014-03-23 12:13:58 +01:00
ProfMobius 3816cd0ea5 Buttons are activated / desactivated depending on the access level of the player. 2014-03-22 22:33:19 +01:00
ProfMobius 8eaec57893 Finally added one massive method to sync all data to clients. 2014-03-22 21:57:57 +01:00
ProfMobius 84be78de01 Added timestamping of the latest run.
It is taking into account clock drift from the server & client.
2014-03-22 21:20:17 +01:00
ProfMobius 872a597c2a Added a workaround the missing metadata for packet validation.
Both data packets are now just capsules for a real 250 and carry along metadata.
Means that they can't be used directly with the PacketDispatcher anymore.
Should send using the helper methods in OpisPacketHandler instead.
2014-03-22 19:29:33 +01:00
ProfMobius bf67488759 Removed the validation system (derps on ID unknown).
Horizontal lines on graph every 25.0ms
2014-03-22 19:02:58 +01:00
ProfMobius e623a9d88c Added a method to ease the sending of chat packets. 2014-03-22 18:34:19 +01:00
ProfMobius 009eee3fca Created a validateAndSend method to validate packets against the access rights prior to sending them. 2014-03-22 18:29:15 +01:00
ProfMobius 58cb0d9e23 Packets are now sent using a global "All swing" wrapper.
A max_tick packet is sent as long as the profiler is running to update swing clients.
2014-03-22 18:17:38 +01:00
ProfMobius b0f92d44af A bit of refactoring. 2014-03-22 17:47:42 +01:00
ProfMobius d937b5e288 Player Stats are now synced with the client every second or so. 2014-03-21 22:22:52 +01:00
ProfMobius 85be5f32f1 Added a progress bar on the summary tab to show Opis progress. 2014-03-21 21:14:45 +01:00
ProfMobius 265a31f2e0 Text of Run Opis buttons will switch when Opis is running. 2014-03-21 21:04:15 +01:00
ProfMobius a519d718e1 Added Teleport option to Chunk list.
Fixed coordinate derp in stats.
Removed the MeanTime Packet
2014-03-21 19:42:33 +01:00
ProfMobius ddd804f0d4 AccessLevel is now defined in an enum and getOp is checking against that. 2014-03-21 16:15:03 +01:00
ProfMobius 2615ad8079 Moved all the "3 enums" thing to a "1 enum" concept. Added the access right for each command directly to the enum. 2014-03-21 15:15:09 +01:00
ProfMobius d03b4bc1f1 Added basic Packet profiling (UP/DOWN) 2014-03-21 13:56:35 +01:00
ProfMobius 3628b4b09d Both OP list and priviliged list are now used to determined who can run what. 2014-03-20 17:05:40 +01:00