Commit graph

40 commits

Author SHA1 Message Date
2d8e38d48a Clean up SteamHelper and SteamGame
* Also makes required adjustments in the DamageCalculator
2023-06-13 21:32:05 +02:00
803dd30c7f Increment version number to 1.3.2.1 2023-06-03 20:36:34 +02:00
c141aa259b Fix median armor damage not being rounded up 2023-05-12 21:21:38 +02:00
04d94a4271 Change Version to 1.3.2.0
* Because of the addition of being able to set initial armor values
2023-05-12 19:18:50 +02:00
ace07505c6 Add ability to set armor value before damage is taken
* Now uses scaleArmorDamage for shooting as well
* Removed some duplicate code
* Added comments to
2023-05-12 00:10:59 +02:00
8edbd31b94 Fix calculation issue when not on NAV area & Increment version
* Incremented to Version 1.3.1.3 as well as .NET 7
* When not standing inside of a NAV area and setting the position via button, it didn't find a NAV area and disregarded the player's height. Now we just check if Z value was set (not null)
* Also fixed comment
(Holy shit I wish I had motivation to refactor the main window)
2023-03-07 00:16:37 +01:00
81b2b98394 Increase to .NET 7.0 & Add ugly publishing scripts
* Scripts got added for DamageCalculator and ConfigManager
* Batch scripts will need 7z be added to PATH, as well as the two specified profiles in order to work
* Alter publish profiles to fit to the scripts, one for self-contained and one for lower file size
* Add explicit cast that is now needed to remove ambiguity
2023-03-01 23:43:32 +01:00
77e1bdf273 Make it inconvenient to show thanks & Increase version to 1.3.1.2
* User will have to hold only the Ctrl key while opening the about window to show extra possibly cringe info
2023-02-01 23:16:38 +01:00
b21ea87e7a Extend help section and modify "thanks" 2022-12-10 02:41:11 +01:00
00b3315275 Change version 1.3.0.3 to 1.3.1.0 2022-12-10 00:29:15 +01:00
c449cd1bf9 Fix bomb prediction & Add netconport integration
* Bomb distance was previously fetched like in CBaseEntity::BodyTarget, but was switched to CBasePlayer::BodyTarget, which adds an amount of randomness to the damage, the more above or below the bomb a player is, the more randomness
* unitsDistanceMax will now keep the maximum distance the bomb calculates damage at, whereas unitsDistanceMin will have the minimum distance, generating a from-to value for damage
* Add min and max to bomb damage in the UI
* Added more summaries
* Bomb and player stroke are now thinner
* Fixed a random crash at startup when there were no NavAreas to loop over
* Added the functionality to set the current in-game point to either of the two points in the program, -netconport is needed for that and automatically added, if not there
* Added said netconport to the settings
* Added SteamUser class
* Added ability for VdfParser to find strings where quotes are escaped, since they were treated as normal quotes
* Add function to get the steam user that most recently logged into steam
2022-12-10 00:27:23 +01:00
3e94f4c622 Fix bomb damage radius
* Change version to 1.3.0.3
* Fix bomb radius not accurate by using a box
* When creating a point somewhere we now store its in-game coordinates for the bomb intersection test
* SpatialPartitioningHelper.cs is not yet used, except for the BoxIntersects-Method
*
2022-11-27 22:03:13 +01:00
4fe796769e Fix armor rounding error and add player stance
* Fix armor being rounded down instead of up
* Add player stance (crouched or standing) to bomb mode
* Remove useless abs()
2022-11-20 23:27:59 +01:00
5f23679ef7 Change file version to 1.3.0.1
* SteamLibrary fix attempt
2022-11-19 16:03:47 +01:00
44e1c48103 Remove Pfim references
* Only remove Pfim temporarily, thus commented out
2022-11-19 15:56:18 +01:00
c706727e73 Merge branch 'master' of https://github.com/MathiasLui/CSGO-Projects 2022-11-19 15:43:58 +01:00
74be8dafc3 Hopefully fix new SteamLibrary
* Fix value between 0 and 1 being shown as percentage, this is now multiplied by 100
* If CS:GO is not found, it will also return from the function as not to execute the background worker causing an exception
* Using the new libraryfolders.vdf instead of the legacy config.vdf to fetch all libraryfolders. This is controllable via the new preprocessor directive NEWLIBRARYLOCATION
2022-11-19 15:43:15 +01:00
962cfac30a (draft) Add Pfim image library and non-tested code
* We want to be able to load extended DX10 headers and this library might be able to do it, but I can't test it on this machine
2022-06-23 11:57:49 +02:00
MathiasL
07d2a098b5 Change "SteamHelpers" csproj and "Shared" namespace to SteamShared 2022-05-20 22:56:13 +02:00
MathiasL
d1652aa588 Add count of bomb spots for the current map 2022-05-15 02:30:53 +02:00
MathiasL
aac448d227 Add walk time for distance and other information
* Add simple time that it takes to walk distance while crouching/walking/running (later might have draw mode for adding a route)
* For above the ducking and walking speed multipliers have been added (as according to csgo source code)
* Add weapon info (running speed, base damage per minute, firing rate)
2022-05-15 01:13:40 +02:00
MathiasL
65959bff26 Add taser to weapon list
* Taser has new shock damage type, that doesn't account for multipliers/armor
2022-05-14 23:28:02 +02:00
MathiasL
bce1fa13fa Fix BSP packed files being treated correctly in the map filter 2022-05-08 17:09:46 +02:00
MathiasL
c2d33f1816 Change to Version 1.3.0 & NAV area support & restructure
* Adjusted help window
* Moved all settings that get saved in a file into a single window in the Edit menu
* Add NAV area support and Z coordinate
* Add weapon and NAV info boxes
* Changed copying coordinates to include the setpos_exact command for ease of use
* Settings are now saved and loaded
* Add map scale factor override and X/Y offset
* Removed ability to hide right click/left click circles
* Add various summaries
* Add OverwriteMapping class as an overwrite object for a map, that gets loaded from the settings and applied to each map when loading them
* Add Associated area to map points and Z height
2022-04-20 08:54:29 +02:00
MathiasL
3d99b1f68b Migrate to .NET 6.0 and create ConfigManagerV2 project
* Make necessary adjustments to have the same working program
* AssemblyInfo is not set via the file anymore, but the csproj file or in the project settings under Package->General (AssemblyVersion is the one displayed in the Help window)
* Add null-forgiving operators etc. for new language version
* Move stuff that is shared between the DamageCalculator and ConfigManagerV2 into its separate project
2022-03-25 19:55:14 +01:00
MathiasL
a41fac78be Add map filter and adjust help window accordingly 2022-03-24 23:41:22 +01:00
MathiasL
5ef79f6426 Add AIN file indicator and nav/ain packed indicator
* Version increase to 1.2
2022-03-24 23:03:53 +01:00
MathiasL
7d7ce53dae Add gitignore 2022-03-18 18:55:15 +01:00
MathiasL
232c527f3a Change version number to 1.1.0.2 2022-03-18 01:10:29 +01:00
MathiasL
7993560691 Allow other keys for other controls than the main window and only keep space for itself 2022-03-18 01:08:12 +01:00
MathiasL
20c7a8f126 Fix zoom not having focus after selecting radio button 2022-03-18 01:04:31 +01:00
MathiasL
374d66e854 Make hostages CT blue and fix hostage hiding
* Hostages and other spawns should now hide respectively correctly
2022-03-18 00:50:47 +01:00
MathiasL
77f3d2c91c Fix hiding of drawn markers, bugfixes
* Reset zoom is now handled by window so one can reset even when image is not visible
* Hiding and showing markers now works
* Re-add Viewbox which fixes displaying issues, introduces a bit of lag
2022-03-18 00:35:01 +01:00
MathiasL
9642b8cd74 Zoom reset if window size changes while zoomed
* Was causing that the map might not be visible and move in weird amounts
2022-03-17 23:50:39 +01:00
MathiasL
d38a5bdf21 Add hostages to spawn display 2022-03-17 23:23:45 +01:00
MathiasL
d0bdb0d24e Adjust zoom control
* Changing map now resets zoom
* While pressing space there will now be a 4-arrow cursor
2022-03-17 22:57:37 +01:00
MathiasL
1ede942ef2 Add zoom feature 2022-03-17 22:51:30 +01:00
MathiasL
b6a5fb6612 Improve bomb placing mode and add spawns
* Now show spawns from BSP parsing, priority spawns are lighter than normal ones
* Add possibility to not display certain things via the View menu
* Add help menu
* Add bomb code credits for pasta
* Show extra info in bottom left corner: bomb damage and radius, and if a BSP or NAV has been found for the map
* Correctly renamed previous help menu entry to "about"
2022-03-17 22:20:03 +01:00
MathiasL
9dc9d3a3cc Add bomb placing mode
* Add bomb mode for maps beginning with "de"
* Something is very slightly off with the bomb mode
2022-03-17 03:31:27 +01:00
MathiasL
5ecf5d6d6d Add DamageCalculator 2022-01-27 16:16:42 +01:00