repowiseguyscancel

8,451 Commits over 2,131 Days - 0.17cph!

7 Years Ago
Gang warfare test mode mostly working
7 Years Ago
Join gangs correctly, spawn in gang buildings
7 Years Ago
Got gang safes working as they used to
7 Years Ago
Gang warfare mode fallback for scenes with no gangs
7 Years Ago
#CLIENT fix
7 Years Ago
Clean up all warnings
7 Years Ago
Got gangs to serialize and deserialize correctly to clients. Gangs were overriding their NetworkEntityBehaviour ID with a custom gang ID, which meant the server wouldn't match the client, and the deserialize mask would stop it deserializing. Moved the gang ID to a separate var.
7 Years Ago
Fix more gang ID stuff
7 Years Ago
Remove debug print
7 Years Ago
A potential fix for the spawn issue
7 Years Ago
Undone fix testing something
7 Years Ago
Add gang members properly
7 Years Ago
Testing another fix
7 Years Ago
We have a problem where Gangs deserialize before their members, which means they aren't found when their IDs come though. I started fixing this by making gangs just reference members by ID, and it kinda works, but there end up being too many calls to get the member objects anyway - in effect just moving the problem around. Going to solve it a different way but saving this partial work first.
7 Years Ago
Comment fix
7 Years Ago
Gang member structure edit
7 Years Ago
Comment
7 Years Ago
Another comment edit
7 Years Ago
Been trying some more gang stuff
7 Years Ago
Just rearranging
7 Years Ago
Oops
7 Years Ago
Got rid of the NetworkGameMode singleton option. Better to integrate it with NetworkPeer. But I don't like how there's a short time where NetworkPeer exists and NetworkGameMode isn't assigned yet - need to think about options there.
7 Years Ago
FINALLY got gang members synchronising properly. Added gang member NetworkUsers as referenced entities for the gangs. On top of that, we needed to delay the member stuff that was in Deserialize until OnPostDeserialize because: - User entities need to be deserialized and ready so we can use FindUser to find them by ID. - Gangs set their members as Referenced entities so that they're sent along with the gang, making sure they're available. - So everything gets deserialized, but the base thing (gang) gets deserialized first, so the members still aren't ready. - OnPostDeserialize isn't called until after ALL referenced entities are deserialized, so it now works.
7 Years Ago
Fixed another gang member bug. And there's one more to come.
7 Years Ago
Fixed gang leader serialization. With any luck, gang sync is now good.
7 Years Ago
Gang warfare test mode edit - Leave gang on death. Plus NetworkGameMode method work.
7 Years Ago
Wrote a possibly stupid event class. Will think about this better on Monday.
7 Years Ago
Shuffling UI around
7 Years Ago
UI work separating game mode client UI from server triggers. Moved game mode stuff to its own namespace.
7 Years Ago
UI stuff
7 Years Ago
UI stuff again
7 Years Ago
7 Years Ago
Did some dumb things, fixing them up to make sense here. Also discovered why King Of The Hill UI scores broke in the first place - it was a bug with empty strings in the networking system. Tried to do a proper fix, but ended with a workaround fix.
7 Years Ago
Merge in UI work
7 Years Ago
Bots are a bit more likely to jump off plane
7 Years Ago
Heavy was OP
7 Years Ago
Change "didn't expect a Deserialize after Init" from error to warning
7 Years Ago
Fixed bugs on clients for players dying while in a vehicle
7 Years Ago
Fix issues that occurred if a character was synced to a client when already dead, and the NetworkEntity was destroyed before init completed. Happened fairly reproducibly on game modes with lots of characters dying frequently, like zombie mode (with zombies dying).
7 Years Ago
Needed some IsUnityNull() checks to replace simple null checks in interfaces that could be MonoBehaviours
7 Years Ago
Might have fixed the spectating bugs. There was an issue where the spectator entity didn't get destroyed on disconnect. The player would spawn a new character in a new round, but still have their spectator entity as well, which would grab the camera.
7 Years Ago
Never spectate disconnected players
7 Years Ago
Get rid of the loading screen slide animation
7 Years Ago
Weapon view punch is back. Not really doing much though, need to tweak it.
7 Years Ago
Going back though the repo, the later version of view punch never quite worked, but it looks like this is how it was MEANT to work.
7 Years Ago
Not sure why inaccuracy delta would use mag size, so reverting al ine to Bill F's original version.
7 Years Ago
Physics mats for my test map, so I can test stuff with decals
7 Years Ago
Building manager now caches at game load rather than level load. Needs testing.
7 Years Ago
Switched my singleton classes back to my old system of sub-methods - the WiseGuys-style virtual method override system was too risky in terms of requiring the user to know they had to call base.Method.
7 Years Ago
Weapon inaccuracy + recoil + view punch work.