TTT2 icon indicating copy to clipboard operation
TTT2 copied to clipboard

Shopeditor: Further F1Menu Additions

Open ZenBre4ker opened this issue 1 year ago • 1 comments

Building on the database module I ripped out the entire custom equipment editor syncing. Also added some more functionality to the database module. As well as added database functionality to our Panel elements.

ZenBre4ker avatar Aug 05 '22 16:08 ZenBre4ker

Yeah, couldnt stop earlier, this got larger than I thought.

Well..... additionally to above I did:

  • Remove custom syncing in the database module, now done by a net.SendStream() as table with same structure
  • Replaced custom syncing of the equipment table ttt2_items for the shop
  • Added sql database access to panel elements
  • Extended net.SendStream() so that it can handle more than 256kB at once, which somehow exceeded an internal net buffer
  • Fixed some stuff too

I am pretty sure @saibotk isnt too happy about the extension. I see a lot of caches but dont really see how I can make less of them. Otherwise I hope you like the removal of lots of custom syncing code <3

ZenBre4ker avatar Aug 28 '22 21:08 ZenBre4ker

Okay, changes seem to work, the rest is still to be discussed.

ZenBre4ker avatar Jan 18 '23 12:01 ZenBre4ker

This now needs #1136 to fully work.

ZenBre4ker avatar Nov 15 '23 20:11 ZenBre4ker

Apparently this still depends on the rework #1135, which did some bugfixes as well. So making this a draft again 🙄

ZenBre4ker avatar Nov 17 '23 21:11 ZenBre4ker

Okay, this is finally ready for review again. Seems to work fine :)

ZenBre4ker avatar Nov 25 '23 11:11 ZenBre4ker