Commit Graph

162 Commits

Author SHA1 Message Date
shavitush
7a7c8ae1d4 Fix replay bot not showing style 2016-04-29 16:39:08 +03:00
shavitush
270f55525e Add easybhop to the default scroll style 2016-04-29 16:11:25 +03:00
shavitush
3c6c131796 Add 3 new default styles (w-only/legit/400vel) 2016-04-29 16:05:45 +03:00
shavitush
1857f9ef48 Support dynamic zone loading on creation of zones 2016-04-29 15:49:33 +03:00
shavitush
bbf1209f06 Support more than 2 replay bots 2016-04-29 15:25:45 +03:00
shavitush
ca7fba802d Fix chat formatting for CS:S 2016-04-29 15:11:53 +03:00
shavitush
c42b4f9e58 Fix -stats menus showing wrong style names 2016-04-29 15:04:10 +03:00
shavitush
0006e984e2 Fix velocity being limited for every style 2016-04-29 14:56:01 +03:00
shavitush
12c8b6d9ce Add per-style settings
Check shavit.inc
2016-04-29 14:50:22 +03:00
shavitush
68d62cb16e Use SourceMod's native vector scaling 2016-04-29 14:49:06 +03:00
shavitush
b8d1fa3f9b Add "No Speed Limit" zone type
Also make map zones prettier using beam/halo sprites according to the
game (CS:S/CS:GO) and make mapzones more dynamic!
2016-04-29 14:48:37 +03:00
shavitush
31e70fa2bd Revamp shavit-stats
Now `shavit-stats` is also style-dynamic
2016-04-28 04:03:39 +03:00
shavitush
a410c583b6 Shorten code 2016-04-28 03:06:26 +03:00
shavitush
10cc1bc1db Fix timer starting w/o a start zone (fixes #23)
shavit_core_timernozone:
Allow the timer to start if there's no start zone?
2016-04-28 03:05:13 +03:00
shavitush
d017ea54eb Fix possible SQL error
and migrate PrintToChat() to Shavit_PrintToChat()
2016-04-25 12:04:08 +03:00
shavitush
ef10f50be0 Add replay bot HUD formatting
style it so it looks better in CS:GO, and add a replay bot native
2016-04-25 08:10:11 +03:00
shavitush
a1180fb647 Fix SQL error for workshop maps
[shavit-wr.smx] Timer (WR cache update) SQL query failed. Reason: You
have an error in your SQL syntax; check the manual that corresponds to
your MariaDB server version for the right syntax to use near '' at line
1
2016-04-25 07:45:27 +03:00
shavitush
bec3e4df27 Fix Forwards replay bots not playing
and update todo
2016-04-25 07:35:21 +03:00
shavitush
819eb45088 Make sm_wr a dynamic menu
Removes sm_wrsw, makes it easier for server owner to add new styles!
2016-04-25 07:03:58 +03:00
shavitush
4ac17f9a9b Make style names editable from shavit.inc
This means you will be able to add your own styles very soon!
2016-04-25 07:03:12 +03:00
shavitush
e0bbcf970b Fix shavit-zones not compiling 2016-04-25 06:42:29 +03:00
shavitush
1f3d2264e0 Make shavit-replay create a plugin config 2016-04-25 05:48:13 +03:00
shavitush
eaba734203 Add replay restart delay cvar (solves #23) 2016-04-25 05:47:23 +03:00
shavitush
cc32334100 Add min/max bounds for cvars that missed it 2016-04-25 05:46:19 +03:00
shavitush
bae583cfdd Add 3 new cvars (check commit description)
[shavit-misc]
shavit_misc_respawnonrestart: Respawn a dead player if he uses the timer
restart command?
0 - Disabled
1 - Enabled

shavit_misc_startonspawn: Restart the timer for a player after he
spawns?
0 - Disabled
1 - Enabled

[shavit-zones]
shavit_zones_teleporttostart: Teleport players to the start zone on
timer restart?
0 - Disabled
1 - Enabled
2016-04-25 05:40:08 +03:00
shavitush
9eaa2bfced Make zonehud more dynamic 2016-04-25 05:31:36 +03:00
shavitush
d5ae626498 Fix an error for CS:S 2016-04-24 04:30:57 +03:00
shavitush
8980a157c0 Fix SQL error on table creation and attempt on..
migrating EVERYthing to the transitional SM syntax
2016-04-24 01:44:56 +03:00
shavitush
3a4a805b06 shavit_core_nostaminareset ("easybhop") toggle 2016-04-24 01:09:26 +03:00
shavitush
ade75f76e9 create a placeholder as 1337 is immature 2016-04-17 06:44:25 +03:00
shavitush
ab86bfab37 Stop crashing if maps/base.nav doesn't exist
(don't cause the server to go into an endless map loading loop if
maps/base.nav doesn't exist)
2016-04-16 22:40:56 +03:00
shavitush
c397abb7da Fix formatting issue for sm_autobhop 2016-04-13 01:03:05 +03:00
shavitush
7dd5f6db5e attempt to fix rot_ang not being created at first time 2016-04-10 23:08:52 +03:00
shavitush
54e15f4799 Code cleanup 2016-04-06 22:38:24 +03:00
shavitush
429c161d81 Fix issue that could cause the mapzones table to not create 2016-04-04 22:47:58 +03:00
shavitush
f937cb56ed Fix shavit-zones not working. Can't believe no one else reported it.. 2016-04-02 01:43:00 +03:00
shavitush
6298f3ad53 Reverse order of Shavit_GetDB and SetSQLPrefix 2016-04-02 01:42:38 +03:00
shavitush
5aae6851c7 !R (note: capitalized) now restarts the timer. 2016-03-26 22:55:20 +03:00
shavitush
3f8b3c297a Added shavit_wr_recordlimit and removed some extra useless lines 2016-03-26 22:54:57 +03:00
shavitush
884bbc55af Rewrite UpdateWRCache and add Shavit_GetWRRecordID() 2016-03-26 22:20:18 +03:00
shavitush
3f446e246d Optimize copying of strings and fix table prefixes for mapzones 2016-03-26 20:53:04 +03:00
shavitush
ed1e7801a5 Fix sm_zonehud being set to random people 2016-03-22 18:44:43 +02:00
shavitush
ef4c865584 Update todo 2016-03-22 18:44:02 +02:00
shavitush
184a0b14da Fix bots spinning endlessly.
Oh god, if anyone wants to rewrite this code with backwards
compatibility it would be cool.
2016-03-11 17:47:38 +02:00
shavitush
1cdbd85d5a Fix formatting issue 2016-03-09 21:47:22 +02:00
shavitush
7be1c9417e Migrate every menu to the new syntax. 2016-03-07 18:17:21 +02:00
shavitush
08c6dac1f3 Add table prefix (shavit_core_sqlprefix) 2016-03-07 17:58:49 +02:00
shavitush
4b599462f4 Fix chat colors for Counter-Strike: Source.
Also added `Shavit_PrintToChat()` and `Shavit_PrintToChatAll()`
2016-03-07 17:29:36 +02:00
shavitush
e04243592d Started using Atom - let it auto indent everything. 2016-03-07 16:14:21 +02:00
shavitush
a750f21a99 Add shavit_misc_respawnonteam and hook team changes. 2016-03-03 15:54:49 +02:00