userJake_Richcancel

3,984 Commits over 1,035 Days - 0.16cph!

48 Days Ago
Fix some fields and add others
48 Days Ago
Make `RPC_UpdateItems` to not kick in editor
48 Days Ago
The code generator code for last commit
48 Days Ago
Add ability to mark RPC attributes to not kick in editor - avoids you getting disconnected every time a RPC throws exception when developing - by default RPCs all throw errors
48 Days Ago
Refactor ItemManager by moving the addition & removal of ItemDefinitions to separate methods instead of all inside one `Initialize()` method
48 Days Ago
Add `test_custom_items` command to confirm it works
48 Days Ago
Add a bunch of code to support creating custom items based on JSON sent from server
48 Days Ago
RPC & Protobuf for server to send custom phrases
48 Days Ago
Add support to Translate.cs for additional translate files to be added from the server - additional translations will always apply after the built-in ones
48 Days Ago
merge from main -> hackweek_modding_improvements
48 Days Ago
merge from protobuf_skip_default_fields_2 -> main
48 Days Ago
Accidently included the codegen exe with hardcoded arguments (when testing)
48 Days Ago
DragDrop Server RPCs Fix cui_test command blocking "Exit" button due to UpdateLabel being full screen Allow button colors when hovered / pressed to be modified
48 Days Ago
Add JSON API for Draggables & Slots, add parent options to transform Added the JSON API required to setup & update Draggables & Slots. Also added the ability to reparent & order a transform if called via an update call, this is needed to allow reparenting a Draggable fixed GetComponent for slot Draggable Component Slot Component Draggable Test Json Update Init fix Fix Illegal Swapping, Prevent DragRPC Fix a potential illegal swap when a panel inside a restricted slot was swapped with a non-slotted panel. Changed DragRPC to not send when a swap/attach operation fails & the panel will reset to its last position, the change was made because in those situations, a player didnt intend to drag the panel, they intended to attach it. Fix DragRPC on attachment fail fixed attachement fail sending a DragRPC, also properly sets the position of panels that can be dropped anywhere Fix example Add Callbacks (Used by Animation) More Robust LimitToParent Approach the previous approach used offsets, only modifying the position if the new position would be within bounds. this caused awkward behaviour where the dragged object would stop long before its actual bounds. this was also framerate dependant as it would make bigger leaps on lower framerates, making it more likely that the new position would have been out of bounds and increasing the apparent distance from its bounds after actually testing the PR in game i've realized it is safe to just use the absolute position (anchor + offset) and to constrain that to the rect with respect to the padding. Updated Test after rust client testing adding default sprites and changed some images to use Image instead Fix parent issues (caching & anchoring) the draggable now consider's both the parent's position and scale instead of just its scale when determining if its bounds need to be recached - this solves an issue with animated elements having cached old bounds the anchor now also gets parented based on the parentLimitIndex, previously it was parented to the draggable's initial parent which brought with it unwanted behaviour when that parent was moving Merge branch 'Facepunch:master' into DragnDrop Move example to Test folder Merge branch 'Facepunch:master' into DragnDrop Merge branch 'master' into DragnDrop Merge branch 'master' into DragnDrop Merge pull request #55 from Kulltero/DragnDrop Adding Drag & Drop Support via Draggables & Slots Rename Slot -> DraggableSlot to avoid naming conflict, fix compile errors / warnings Get rid of javascript style braces Merge branch 'drag_drop'
48 Days Ago
merge from cui_button_colors -> hackweek_modding_improvements
48 Days Ago
Fix CUI test "Exit" button being covered up by the UpdateTestLabel
48 Days Ago
Allow the color when a CUI button is hovered to be changed - string `normalColor` - string `highlightedColor` - string `pressedColor` - string `selectedColor` - string `disabledColor` - float `colorMultiplier` - float `fadeDuration`
48 Days Ago
merge from dropped_item_name -> hackweek_modding_improvements
48 Days Ago
Fix items dropped on ground not using their server-sided name
48 Days Ago
merge from draggable_cui -> hackweek_modding_improvements
48 Days Ago
Reapply brace in correct place
48 Days Ago
Subtract previous fix for BaseEntity.saveload.cs
48 Days Ago
Convert the enum to an int since RPCs don't like bytes either
48 Days Ago
Rename PositionSendType -> DraggablePositionSendType Add SERVER RPC methods
48 Days Ago
Add the test JSON for draggable slots
48 Days Ago
Merge PR for draggable CUI slots
48 Days Ago
Get rid of javascript style braces
48 Days Ago
Rename Slot -> DraggableSlot to avoid naming conflict, fix compile errors / warnings
48 Days Ago
Add JSON API for Draggables & Slots, add parent options to transform Added the JSON API required to setup & update Draggables & Slots. Also added the ability to reparent & order a transform if called via an update call, this is needed to allow reparenting a Draggable fixed GetComponent for slot Draggable Component Slot Component Draggable Test Json Update Init fix Fix Illegal Swapping, Prevent DragRPC Fix a potential illegal swap when a panel inside a restricted slot was swapped with a non-slotted panel. Changed DragRPC to not send when a swap/attach operation fails & the panel will reset to its last position, the change was made because in those situations, a player didnt intend to drag the panel, they intended to attach it. Fix DragRPC on attachment fail fixed attachement fail sending a DragRPC, also properly sets the position of panels that can be dropped anywhere Fix example Add Callbacks (Used by Animation) More Robust LimitToParent Approach the previous approach used offsets, only modifying the position if the new position would be within bounds. this caused awkward behaviour where the dragged object would stop long before its actual bounds. this was also framerate dependant as it would make bigger leaps on lower framerates, making it more likely that the new position would have been out of bounds and increasing the apparent distance from its bounds after actually testing the PR in game i've realized it is safe to just use the absolute position (anchor + offset) and to constrain that to the rect with respect to the padding. Updated Test after rust client testing adding default sprites and changed some images to use Image instead Fix parent issues (caching & anchoring) the draggable now consider's both the parent's position and scale instead of just its scale when determining if its bounds need to be recached - this solves an issue with animated elements having cached old bounds the anchor now also gets parented based on the parentLimitIndex, previously it was parented to the draggable's initial parent which brought with it unwanted behaviour when that parent was moving Merge branch 'Facepunch:master' into DragnDrop Move example to Test folder Merge branch 'Facepunch:master' into DragnDrop Merge branch 'master' into DragnDrop Merge branch 'master' into DragnDrop Merge pull request #55 from Kulltero/DragnDrop Adding Drag & Drop Support via Draggables & Slots
48 Days Ago
Refactor ServerImage.cs to return sprites directly & use ImageRequest class for pending image requests from the server Update with fixes from Rust repo
48 Days Ago
48 Days Ago
Fix compile error from merge
48 Days Ago
Merge from main -> hackweek_modding_improvements
48 Days Ago
Skip serialization of optional fields set to their default value Also exclude serializing default value of required fields Add support for all default values, fix optional field checks applying to DeltaSerialize() Make sure existing null checks aren't applied on top of new default value checks Don't apply to enums Merge branch 'master' into skip_optional_default_fields Merge branch 'master' into skip_optional_default_fields Merge branch 'skip_optional_default_fields'
48 Days Ago
merge from protobuf_skip_default_fields_2 -> main
48 Days Ago
Codegen
48 Days Ago
Update codegen DLLs
48 Days Ago
Update: add VarInt U64 buffer read&write utility funcs Allows to avoid interacting with a stream and it's bookkeeping. Tests: Used as part of server demo playback Merge branch 'master' into skip_optional_default_fields
48 Days Ago
merge from main -> hackweek_modding_improvements
48 Days Ago
merge from main -> protobuf_skip_default_fields_2
49 Days Ago
merge from main -> hackweek_modding_improvements
49 Days Ago
merge from custom_url_tag -> hackweek_modding_Improvements
49 Days Ago
Include level url in tags so you can get the custom map by querying server
49 Days Ago
merge from custom_vitals -> hackweek_modding_improvements
49 Days Ago
Fix compile error
49 Days Ago
Add ability for the icon to be changed - use textureId just like CUI
49 Days Ago
Add `test_custom_vitals` command to test modding vitals works
49 Days Ago
Add code to create custom vitals when the CustomVitals RPC is sent to the client