Commit Graph

99 Commits

Author SHA1 Message Date
rtldg
91ca6a7ea9 Use IsMapValid instead of GetMapDisplayName sometimes
For reasons, only known to God and Gaben, `GetMapDisplayName` will start failing.

Something along these lines:
- make hundreds (or thousand+) maps named `test_{i}.bsp`
- start server
- delete them all
- make `test_{i+1}.bsp`
- `sm_map test_{i+1}.bsp`
- "Invalid map :("

thinker emoji
2025-05-15 22:45:11 +00:00
rtldg
b150073754 make shavit-mapchooser grab tiers even if not mysql
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-11 03:52:42 +00:00
rtldg
16a927cd91 drop support for sourcemod 1.10 2024-04-23 20:53:18 +00:00
rtldg
66c730a897 fixups for mapchooser nominate menu after sqlite support was added to shavit-rankings 2024-03-26 20:02:27 +00:00
rtldg
1102a0971c
Merge pull request #1195 from Nairdaa/patch-35
Update shavit-mapchooser.sp
2024-03-12 12:58:13 +00:00
rtldg
e8ff7fe663 increase menu-input blocker length 2023-12-13 09:21:25 +00:00
Nairda
c6c38b0816
Update shavit-mapchooser.sp
ocd
2023-07-06 04:35:24 +02:00
rtldg
d69bd18407 stop that random map change thing 2023-07-04 01:23:01 +00:00
rtldg
79c307fea8 fix maplist type 3 not clearing maps list 2023-03-31 05:42:52 +00:00
Jacob Davidson
e4c58dd952
Added map reroll to Shavit-MapChooser (#1184)
* Added map reroll to Shavit-MapChooser and necessary update to phrases

* fixed wr replay for Shavit-Ghost

* fixed to work with latency

* Fixed issues with Pull Request

* Delete shavit-ghost.sp

* fixed if statments to be consistant and removed spaces/tabs

* additional spaces removed

* Removed Bool and fixed translations

* Fixed nomination issue and map loop issue

* Fixed Novote bug by adding check for reroll.

* small touchs of love

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2023-02-26 07:09:13 +00:00
rtldg
888b4be951 fix maplist clearing after sm ReadMapList fix 2023-02-21 21:35:41 +00:00
rtldg
9400b7c7e3 probably fix a bug that allowed you to rtv to a different map after the mapvote can change the map from a previous rtv 2022-12-26 05:49:33 +00:00
rtldg
09c0d228b4 filter invalid maps in !map, !nominate, and map votes 2022-10-05 19:15:24 +00:00
rtldg
a1a1c6adfa
actually do the Shavit_GetMapsStringMap map display name thing right #1168 2022-08-27 01:19:30 +00:00
rtldg
3d16f5ffa7
make Shavit_GetMapsStringMap use map display name #1168 2022-08-24 04:07:26 +00:00
rtldg
864b46379b
save pos on enhanced (tier list) !nominate menu 2022-08-15 12:58:45 +00:00
rtldg
a778908e32 only wait for tiers in mapchooser if rankings & mysql 2022-07-11 14:16:57 +00:00
rtldg
4c21dc96f9 try to let specs rtv until the cooldown triggers 2022-06-28 02:22:41 +00:00
rtldg
0f44dd1710 add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps 2022-06-13 06:28:46 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
rtldg
a23348d843 add !maprestart and !mapreload aliases 2022-05-12 07:27:27 +00:00
Nairda
d7785f91ce
add two additional commands for nomlist (#1136)
* add two additional commands for nomlist

that are more intuitive

* Update shavit-mapchooser.sp
2022-04-02 09:15:58 +00:00
rtldg
ddb902e663 make sure not to put nominations twice on the map vote 2022-03-27 13:31:19 +00:00
rtldg
d6aaa8e413 clean some random tiers usage stuff in shavit-mapchooser 2022-03-26 13:30:07 +00:00
rtldg
85ff178f47 move CheckRTV to OnClientDisconnect_Post so it works properly ™️ 2022-03-23 10:30:46 +00:00
Nairda
120f82eaf4
add test_ to default mapchooser exclusion list (#1121)
add default "test_" maps to be excluded from being shown in nominations and mapvotes
2022-02-10 20:14:29 +00:00
rtldg
150bd15b55 move !extend to shavit-timelimit 2022-01-11 09:44:39 +00:00
rtldg
cf7c1d85bb something that might let people unrtv after a non-rtv'd mapvote 2022-01-09 18:35:45 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
rtldg
01a2e616a6 make smc_display_timeleft display time until map vote in chat 2021-12-30 07:53:28 +00:00
rtldg
426d6af3c5 add some notes deleting some handles returned from natives 2021-12-29 19:31:12 +00:00
rtldg
c89e1d4400 use shavit-mapchooser list for some shavit-stats stuff 2021-11-22 19:41:18 +00:00
rtldg
ad837a7d24 remove nomination on disconnect 2021-11-16 00:14:55 +00:00
rtldg
a2003f72c8 forgot to delete all_maps 2021-11-14 22:48:18 +00:00
rtldg
cdb4b5746e add Shavit_GetMapsArrayList and Shavit_GetMapsStringMap 2021-11-12 23:16:51 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
5312c31253 add SanerGetClientName 2021-10-26 21:35:01 +00:00
rtldg
d901c6bf91 make maps-folder-stocks.inc 2021-10-19 08:57:19 +00:00
rtldg
966ceea5f8 finish splitting shavit.inc 2021-10-18 07:22:50 +00:00
rtldg
bfbeff6a86
Merge pull request #1084 from Sirhephaestus/patch-3
Spelling error
2021-10-07 05:11:49 +00:00
rtldg
cf51054460 make rtv change map on novote 2021-10-07 05:09:23 +00:00
rtldg
4f98303b4c fix !map menu using wrong param for client 2021-10-07 03:54:31 +00:00
rtldg
0164d15910 fix shavit-mapchooser error with novote & rtv 2021-10-06 04:52:12 +00:00
Sirhephaestus
3e6d79942a
Spelling error 2021-10-05 22:39:58 -04:00
rtldg
a3e3e0682b add smc_mapvote_printtoconsole 2021-10-05 05:48:08 +00:00
rtldg
3388c7b5d3 !map without args will show the menu using the smc map list. !map mapname will still use the entire maps folder 2021-10-05 03:00:03 +00:00
rtldg
276d74b968 don't show !map menu when only 1 item 2021-10-04 11:09:37 +00:00
rtldg
afed33e944 add matches-menu to !map 2021-10-04 10:49:02 +00:00