Commit Graph
90 Commits
Author SHA1 Message Date
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
ProfMobius 5235f61f83 Added a total entity update time.
Both block & ent update profiling are broken right now because it is per world.
2014-03-20 15:47:22 +01:00
ProfMobius 80441057e3 Refactoring 2014-03-20 15:19:23 +01:00
ProfMobius cf2ef06862 Added profiler for the World Tick inside MinecraftServer. 2014-03-20 15:16:23 +01:00
ProfMobius a76a19425e Added Tick profiler, display on the summary page and display of a graph. 2014-03-20 04:30:15 +01:00
ProfMobius 41d45939a4 Full wirring of the summary screen is done. 2014-03-19 21:58:17 +01:00
ProfMobius 1b6222686e Added syncing of total update time for each category.
Added new data packet type for none vectorial values.
Added a tab to display a short summary of everything.
2014-03-19 21:03:28 +01:00
ProfMobius 1925d6f47d Ticket request is now handled by a Req package. 2014-03-19 18:27:11 +01:00
ProfMobius 6a7d6f0d73 Request TE list in chunk is now handled by a Req packet 2014-03-19 18:23:39 +01:00
ProfMobius 1301f75d5d Request for Mean time overlay is now handled by a Req packet. 2014-03-19 18:13:36 +01:00
ProfMobius 578f50fbcb Request for loaded chunks is now handled by a Req packet. 2014-03-19 18:06:05 +01:00
ProfMobius 259deea921 Teleport packets are now a TELEPORT command in DataReq. 2014-03-19 15:48:14 +01:00
ProfMobius 270cc6a567 Data Request client side is now using the Factory thingy to send 2 serializable arguments. 2014-03-19 15:27:39 +01:00
ProfMobius cc98c31bb0 TileEntitiesChunkList is now included in the general Data scheme. 2014-03-19 01:50:15 +01:00
ProfMobius ddcabee728 Unregister Packet is now a COMMAND
Consolidation of PlayerTracker.
2014-03-18 21:47:19 +01:00
ProfMobius 214d7eebd3 Entity per chunk for Overlay is now under the generic data packet. 2014-03-18 21:29:43 +01:00
ProfMobius 1f4e6709d8 AmountEntities is now using a special class to be able to use an ArrayList and leverage the generic send/receive packet. 2014-03-18 21:08:05 +01:00
ProfMobius 2886137e9b Moved the ClearSelection Packet to the ClientCommand packet. 2014-03-18 20:37:24 +01:00
ProfMobius 196283eb2e Chunk timing is now tracked by the Swing interface
Removed the corresponding packet, removed the corresponding Screen.
2014-03-18 20:24:16 +01:00
ProfMobius 1e031981c4 ChunkStat is now a proper StatAbstract.
Added Entites to the update time computation.
2014-03-18 19:55:27 +01:00
ProfMobius 202255e6c0 Reworked the network system to use one unique packet to send data over to the client (ArrayList formatted data).
All the ArrayList stat data is now extending one base class.
Removed 3 packets, added 1 generic

MISSING 2 FILES FROM A DIRECTORY DERP !
2014-03-18 18:46:21 +01:00
ProfMobius 87b8f3f787 Turned ClientCommand into an enum
Turned DataReq into an enum
Fixed clean up of Swing table (reverse index)
When /opis is used, the client requests a full set of data to populate the tables.
2014-03-18 15:47:35 +01:00
ProfMobius c79c7734e8 All main screens are now pushed to Swing.
Data is still synced upon request from the corresponding command.
Refactoring of packet names.
2014-03-18 01:05:28 +01:00
ProfMobius f5243d02c3 First shoot at Swing. 2014-03-17 23:21:50 +01:00