BoomShot
b22092fcf3
Move remaining shavit-rankings dependent calls ( #1043 )
...
If the shavit-rankings plugin isn't loaded, the calls to its natives will cause an exception and the client's messages will not be formatted correctly.
2021-04-07 21:18:27 +00:00
rtldg
e89c83b1ae
fix error when serverside 'say /Asdf'
2021-04-07 17:24:39 +00:00
rtldg
5c772b06e3
hopefully fix checkpoint timescale stuff
2021-04-07 17:21:53 +00:00
rtldg
85609db2e6
increase css center keys text buffer
2021-04-07 16:30:01 +00:00
rtldg
f825338079
shh
2021-04-07 15:41:03 +00:00
rtldg
efea62a023
mark some forgotten natives as optional
2021-04-07 15:37:14 +00:00
rtldg
d4012966bd
fix when i broke reading older replay frames
2021-04-07 15:16:33 +00:00
rtldg
bbca665d4f
fix errors i made
2021-04-07 14:44:42 +00:00
rtldg
d2810f778d
set this savestate bool always or Player_Spawn will come back and maybe destroy our already persisted data on disconnect?
2021-04-07 14:31:34 +00:00
rtldg
a0a74b8eaa
too tired for commit messages but i promise this is a good one and if you're not satisfied then we will fully refund your purchase of the bhoptimer
2021-04-07 05:36:15 +00:00
rtldg
6bd7b0af0e
infinite ammo things
2021-04-06 18:34:11 +00:00
rtldg
d272aae97b
bad thing to not let you pause while crouching
2021-04-06 18:10:59 +00:00
rtldg
b821844a4c
remove redundant pause eye-angles since it's already done in shavit-core
2021-04-06 16:30:16 +00:00
rtldg
eaf2e3b280
less allocations for csgo zone hud
2021-04-06 14:26:47 +00:00
GAMMACASE
85ef97122c
Fix incorrect memory allocation for segmented checkpoints ( #1040 )
...
* Fix incorrect allocation for a new cp
* fine
2021-04-06 10:51:31 +00:00
rtldg
6229900baf
now all radars are gone forever and dynamic replay bots will no longer show the radar (WHY DO THEY ANYWAY???)
2021-04-05 19:48:51 +00:00
rtldg
6113b0c3dc
checkpoint code churn
2021-04-05 18:03:19 +00:00
rtldg
aef853a308
fix csgo sm_keys alignment
2021-04-05 17:04:22 +00:00
rtldg
64d16342d8
check for BAD BAD BAD WRONG entities named mod_zone_bonus_start or mod_zone_bonus_end (bhop_somp_island is bad and does this)
2021-04-05 12:03:25 +00:00
rtldg
f9060498fb
cleaner looking angle normalization for sm_keys direction
2021-04-05 11:18:45 +00:00
rtldg
9db01e2eb5
stop spawning in the ground / hook CGameRules::IsSpawnPointValid()
2021-04-04 15:07:27 +00:00
rtldg
1531d65f3c
csgo teammenu selecting same team didn't close the menu
2021-04-04 11:41:59 +00:00
rtldg
02c8af2af2
recreate ClosestPos when using closestpos.ext
2021-04-04 09:09:48 +00:00
rtldg
2d5aec9a3e
change RemoveAllWeapons() a bit
2021-04-04 09:07:45 +00:00
rtldg
eb9c09be65
something something zones not loading
2021-04-04 08:34:43 +00:00
rtldg
7ce9878a50
fix some errors
2021-04-02 19:11:34 +00:00
rtldg
3750c8edeb
some angle diff arrows in keys
...
WHICH I CAN'T SEE IF IT LOOKS GOOD BECAUSE THE CHARACTERS DON'T SHOW ON LINUX
2021-04-02 18:31:24 +00:00
rtldg
7d6d906060
moving some stuff from stats to rankings
...
shavit_stats_mvprankones -> shavit_rankings_mvprankones
shavit_stats_mvprankones_maintrack -> shavit_rankings_mvprankones_maintrack
Shavit_GetWRCount, Shavit_GetWRHolders, and Shavit_GetWRHolderRank now in shavit-rankings.sp
2021-04-02 18:15:00 +00:00
rtldg
4dbb371d4f
forgot closestpos.inc
2021-04-02 15:14:26 +00:00
rtldg
1af3d7f9ed
add testing code for sm_closestpos
2021-04-02 15:12:28 +00:00
rtldg
3a24c6a955
thing to delete savestate if changing style (spec->change style->respawn as old style)
2021-04-02 06:21:30 +00:00
rtldg
0448297994
.nav file loading without restarting the map 🤔
2021-04-01 18:00:18 +00:00
rtldg
91ccae3509
add dumb create-all .nav files thing that doesn't work for all the workshop maps which i might make it do eventually
2021-04-01 16:39:33 +00:00
rtldg
3a84ae091a
remove some TODOs
2021-04-01 15:46:20 +00:00
rtldg
d50a93db09
another prebuilt zonecache error thing
2021-04-01 14:29:12 +00:00
Nairda
cd8bbdf850
update menu drawing time ( #1036 )
...
* Update shavit-rankings.sp
* Update shavit-rankings.sp
* Update shavit-hud.sp
* Update shavit-core.sp
* Update shavit-misc.sp
* Update shavit-replay.sp
* Update shavit-stats.sp
2021-04-01 13:44:10 +00:00
rtldg
f238bbcb60
bug fixes for the prebuilt zonecache merging
2021-04-01 13:43:15 +00:00
rtldg
2d39b90564
wip merging prebuilt zones into zonecache, drawing prebuilt zones, and using prebuilt stages
2021-03-31 10:14:28 +00:00
rtldg
3a691c1835
replay prop model for tf2 (untested)
2021-03-31 06:33:14 +00:00
rtldg
6ff1357c16
fix ccnames after sm_ccadd broke it
2021-03-30 13:00:04 +00:00
rtldg
14e9bf27c3
some maybe working eventqueuefix anti-basevelocity-from-startzone fix
2021-03-29 18:36:40 +00:00
rtldg
9c54cd733c
maybe working eventqueuefix segmented checkpoint integration
2021-03-29 17:18:26 +00:00
rtldg
2beb4dc2ec
write nav mesh for potential workshop maps
2021-03-29 14:26:54 +00:00
rtldg
01c0ab9639
preemptively add some stuff for the next replay version format
2021-03-25 04:57:17 +00:00
rtldg
56c3b2af00
+some natives +less resizing for player frames arraylist
2021-03-25 02:05:25 +00:00
rtldg
abb7cbc052
make cloned replay data be owned by the calling plugin
2021-03-25 01:19:21 +00:00
rtldg
807cbc6dfe
add some checks so infinite dynamic bots can't be spawned in
2021-03-25 01:18:31 +00:00
rtldg
7117b38038
reset stamina on landing for easybhop so you don't have to change sv_staminalandcost on csgo for stamina scroll stuff
2021-03-23 12:29:57 +00:00
rtldg
78ecccf7c4
change some cvar defaults
2021-03-23 10:14:34 +00:00
rtldg
ac784cb7b8
make looping bots spawn when a replay is made
2021-03-23 08:35:52 +00:00
rtldg
dc13f2bdd2
fix replay bugs from bot_quota that only happen on csgo... hopefully this doesn't break it on css now xd
2021-03-23 06:54:25 +00:00
rtldg
6386577ef4
fix team select menu needing to be closed twice
2021-03-23 05:52:26 +00:00
rtldg
84a4f10f22
fix some new replay errors that happen on csgo
2021-03-23 05:45:46 +00:00
rtldg
87c74d329a
remove some errors and warnings
2021-03-23 03:15:41 +00:00
rtldg
d1e415498e
add beam_ignorez to draw beams through walls when setting up zones #618
2021-03-22 11:02:49 +00:00
rtldg
19c5ccb7f3
add sm_ccadd and sm_ccdelete
2021-03-22 09:42:03 +00:00
rtldg
db575c577b
accidentally undid a change
2021-03-22 06:51:27 +00:00
rtldg
916f141c48
rename some variables and stuff
2021-03-22 06:45:02 +00:00
rtldg
8d4ffd443b
ReplayStatus/ReplayType -> int. +Shavit_StartReplayFromFrameCache(), +Shavit_StartReplayFromFile(). change replay file reading so i can have a replayfile_header_t which can be used to read stuff in DeleteReplay easier
2021-03-22 05:59:33 +00:00
Joe
bef718852b
Merge pull request #1032 from GAMMACASE/trace_ray_mask
...
Change TraceRay masks to MASK_PLAYERSOLID
2021-03-22 02:01:16 +00:00
rtldg
cb63c59352
add Shavit_GetReplayButtons() and fix error in #1033
2021-03-21 09:16:07 +00:00
rtldg
1d4128d874
reorder tickrate grabbing in shavit-replay
2021-03-21 08:37:44 +00:00
GAMMACASE
2843123712
Change TraceRay masks to use MASK_PLAYERSOLID
2021-03-21 08:17:39 +03:00
rtldg
e9db6dcb02
add Shavit_GetReplayStarter
2021-03-21 02:10:41 +00:00
rtldg
45ad54c41e
use IsValidClient instead of IsClientInGame in my new loop
2021-03-20 15:07:30 +00:00
rtldg
4084f8deee
hopefully work around non-ingame clients that might be passed to NormalSHook's
2021-03-20 04:15:03 +00:00
rtldg
32d5861d04
remove unnecessary if statement
2021-03-19 12:09:50 +00:00
rtldg
c59a2af012
fix some errors in shavit-replay.sp
2021-03-19 10:58:39 +00:00
rtldg
94c38ad34c
print worse time messages to spectators
2021-03-19 10:10:35 +00:00
rtldg
4d91c49d60
add sm_toggleadverts for someone special
2021-03-19 07:51:36 +00:00
rtldg
9e43f67fc3
add looping, dynamic, and prop replay bots
...
changed natives:
Shavit_OnReplayStart, Shavit_OnReplayEnd, Shavit_GetReplayBotFirstFrame, Shavit_GetReplayBotIndex,
Shavit_GetReplayBotCurrentFrame, Shavit_GetReplayTime, Shavit_GetReplayStatus, Shavit_StartReplay
added natives:
Shavit_IsReplayEntity
thanks carnifex for telling me how to make replay props
2021-03-19 03:03:24 +00:00
rtldg
1c4438911d
remove use of MAX_NAME_LENGTH_SQL (32) and replace with MAX_NAME_LENGTH (32)
2021-03-19 02:39:27 +00:00
rtldg
9700482045
remove unused parameter 'track' from ShowWRStyleMenu()
2021-03-18 10:11:19 +00:00
rtldg
f9825f8ca1
allow beams to be changed for each zone. add vanilla_beams and no_halo too
2021-03-14 01:43:53 +00:00
rtldg
bf7f68faec
change all menus to display for at least 5 minutes
2021-03-14 00:03:10 +00:00
rtldg
6ff39c0891
hopefully remove velocity difference when timer stopped in csgo
2021-03-13 23:08:10 +00:00
rtldg
dcb9595f1a
show wrs and blank styles on !wr notcurrentmap
2021-03-13 22:50:44 +00:00
KiD Fearless
9dde6c1b06
Remove base.nav and write nav meshes manually
...
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-03-13 20:53:04 +00:00
rtldg
8b48ae8c91
add velocity difference
...
Shavit_GetClosestReplayTime(client, style, track) -> Shavit_GetClosestReplayTime(client)
+ Shavit_GetClosestReplayStyle(client)
+ Shavit_SetClosestReplayStyle(client, style) // to be used eventually for allowing you to change replay style to compare to
+ Shavit_GetClosestReplayVelocityDifference(client, threeD)
+ shavit_replay_timedifference_tick
2021-03-13 08:19:51 +00:00
rtldg
3f7d3e3a59
speculative fix for timers starting when you're not on the ground
2021-03-11 13:09:36 +00:00
rtldg
f69d692bd6
don't allow setstart if !gB_ZonesCreated
2021-03-11 10:11:23 +00:00
rtldg
0cf6920328
use next track when copying zone settings
2021-03-11 09:51:09 +00:00
rtldg
a89e306322
add message about !m/!main
2021-03-11 09:46:49 +00:00
rtldg
17847d7cb0
add more setstart cmds, add anglesonly for floating bonuses, add missing create table, fix some sql ordering
2021-03-11 09:37:48 +00:00
rtldg
96ee05b5aa
add sm_main/sm_m
2021-03-11 08:20:18 +00:00
BoomShot
63819a4e88
Implemented SetStart/DeleteSetStart into zones
...
The player's position and view angles when using sm_r, sm_b, and sm_start are saved into the startpositions table in the database. The primary key for each entry is a concatenation of their Steam ID, map name, and track number. It still needs to be tested on MySQL. The Natives have been tested in a separate plugin.
2021-03-11 01:25:46 -05:00
BoomShot
35206c7ded
Add missing parameter to SetStart native
2021-03-11 00:34:51 -05:00
BoomShot
e6b3baae81
Maintain user's current track when restarting
...
Previously, the timer would send you to the main start zone every time a player used sm_r, so now it'll send them to their respective track.
2021-03-11 00:00:30 -05:00
BoomShot
21cd90597b
Add Natives for SetStart/DeleteSetStart
2021-03-10 23:58:32 -05:00
rtldg
ad9581ce2e
add sm_b%d for bonuses and sm_s%d for stages
2021-03-11 02:09:23 +00:00
rtldg
16a8ba33d1
copy bonus1 zone settings to the rest of the bonuses
2021-03-11 01:22:02 +00:00
rtldg
c9cf2802c6
add another view because mysql 5.6 gives "View's SELECT contains a subquery in the FROM clause"
2021-03-11 01:21:52 +00:00
rtldg
9b0f3dff92
fix loose formatting warning
2021-03-11 00:55:13 +00:00
rtldg
8d6e730bee
make my wrrank/wrcount queries work with mysql 5.6/5.7
...
also my DeleteWR() query that used variables to be fancy is unneeded and just breaks sqlite compatibility
have you noticed that i've been winging it with all the sql stuff?
2021-03-10 08:50:33 +00:00
Nairda
687cb0a96a
Update dhooks.inc
2021-03-09 08:04:04 +00:00
rtldg
6f0685406f
fix query for bonuses & WR Holder rank for #1025
2021-03-09 07:50:36 +00:00
rtldg
4350ca0994
fix segmented checkpoints practice bug ( #1023 )
2021-03-08 22:30:40 +00:00
rtldg
e08a1bf952
rename player_speedmod_AcceptInput to DHook_AcceptInput_player_speedmod
2021-03-08 22:27:37 +00:00
rtldg
6db6b5f3cf
fix player_speedmod & timescaled styles interacting
2021-03-08 01:52:08 +00:00
KiD Fearless
f93a47742b
Update version
2021-03-07 14:21:01 -07:00