Commit Graph

1452 Commits

Author SHA1 Message Date
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
shavit
2048fd0c58 Merge pull request #16 from shavitush/updatewrcache
Fix formatting issue
2016-03-09 21:47:46 +02:00
shavitush
1cdbd85d5a Fix formatting issue 2016-03-09 21:47:22 +02:00
shavit
94d094e63b Merge pull request #15 from shavitush/sqlprefix-csscolors
Add table prefix and migrate menus to SP1.7 syntax
2016-03-07 18:21:18 +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
shavit
b10beea177 Merge pull request #14 from shavitush/sqlprefix-csscolors
Fix CS:S colors.
2016-03-07 17:30:51 +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
c2b987271e Add my atom-build config to .gitignore 2016-03-07 16:34:08 +02:00
shavitush
89fdcb55bc Update README.md 2016-03-07 16:26:34 +02:00
shavitush
e04243592d Started using Atom - let it auto indent everything. 2016-03-07 16:14:21 +02:00
shavitush
da1438f379 Re-indent code. 2016-03-03 17:09:17 +02:00
shavitush
22291bd635 Fixes #13 2016-03-03 16:56:52 +02:00
shavitush
a750f21a99 Add shavit_misc_respawnonteam and hook team changes. 2016-03-03 15:54:49 +02:00
shavitush
d712e4b055 Bug fixes and minor improvements. 2016-03-03 15:54:33 +02:00
shavitush
6842649db5 Make sm_hide not show other players than the one you're spectating. 2016-02-27 12:05:08 +02:00
shavitush
bbf9130c83 Add a proper .gitignore 2016-02-18 23:04:49 +02:00
Shavitush
c10be6c69a Make one function that displays a WR menu, this allows me to work on custom styles in the near future!
Also, show your rank in the map (if it's top50, that's the best I could
pull with just one query and without caching too much stuff) and number
of records.
TODO: Remove sm_wrsw and make sm_wr one menu with all difficulties.
TODO: Add style configuration through mysql (`style` table) and allow it
to be custom with many options.
TODO: Add a cvar that limits the amount of records in the WR menu.
2016-02-16 16:48:57 +02:00
Shavitush
2e7413f42e hotfix, forgot to add some stuff to the commit 2016-02-10 14:24:33 +02:00
Shavitush
e8936b810e Added a cvar that increases the interval between drawing of zones; should reduce lag with many players in the server.
Extra: Made cvars use the new syntax.
Fixed the bug where teleportation into the start zone would get you
stuck in a wall by making the Z axis the same as the start zone's bottom
layer.
2016-02-10 10:10:56 +02:00
Shavitush
46184c31e3 fix hud not breaking lines in CS:S 2015-11-26 12:00:51 +02:00
Shavitush
1ff5634f96 Fix for the HUD being glitchy and unreadable in CS:S. 2015-11-26 02:30:15 +02:00
Shavitush
b385f688d1 Show the target's player name in the mapsleft/done menu. 2015-11-07 02:39:48 +02:00
Shavitush
b4a8c0b44c Reverting the whole name change hook, as it failed. 2015-11-05 17:23:08 +02:00
Shavitush
9344b0626e Fix error on first table creation 2015-11-05 17:00:08 +02:00
Shavitush
1771b6a6c2 I really gotta test stuff before releasing.. 2015-11-05 16:59:42 +02:00
Shavitush
b5e2a0a60d hotfix 2015-11-05 12:47:04 +02:00
Shavitush
b1d40f19de Don't show name changes for bots, except for new WRs. 2015-11-05 12:44:06 +02:00
Shavitush
095ca15093 Added a (really ugly) web interface that shows records in maps.
Configure using config.php
2015-11-01 05:34:06 +02:00
Shavitush
d6192cbe79 Add the possibility of rotating mapzones. Thanks @ofir753 ❤️ 2015-10-31 01:09:57 +02:00
Shavitush
6a0d395f3a add "hide team changes" 2015-10-29 21:48:13 +02:00
Shavitush
01972e7135 fix for bots being kicked and bots without weapons 2015-10-27 20:49:07 +02:00
Shavitush
edeede8eeb temporary fix for name change spam (won't work with more than 2 styles) 2015-10-24 18:36:52 +03:00
Shavitush
edc79c41a0 fix 2 bots on the same client index 2015-10-24 15:20:32 +03:00
Shavitush
b56d284143 Bots can now reach the end zone now 2015-10-24 14:36:00 +03:00
Shavitush
96c896dcfd Add "sm_zonehud" toggle. TODO: Make an actual "sm_hud" menu and save settings to DB 2015-10-23 19:56:13 +03:00
Shavitush
51d184335a SHOULD fix replay bots that suddenly stop 2015-10-23 19:55:52 +03:00
Shavitush
63c682b8c3 Fix bots changing their names a lot
Use https://forums.alliedmods.net/showthread.php?t=270336 if you want
another fix
2015-10-19 22:43:45 +03:00
Shavitush
879da18843 fixed an error spam when in end zone 2015-10-19 22:35:19 +03:00
Shavitush
e875708746 fix HUD not working 2015-10-19 13:28:43 +03:00
Shavitush
77cd69264d let's not create html mess with css 2015-10-17 20:23:13 +03:00
Shavitush
4be2711278 added cool text gradient when inside start/end zone 2015-10-16 14:08:13 +03:00
Shavitush
0e9f373940 make the replay bots highest in the scoreboard 2015-10-16 13:40:23 +03:00
Shavitush
fe590b7eac yeah 2015-10-15 17:52:54 +03:00
Shavitush
97c818a18d fixed error 2015-10-15 17:23:59 +03:00
Shavit
e021b39f04 Merge pull request #11 from Nomy/patch-1
hud module causes error on cs:s
2015-10-15 17:23:11 +03:00
Nomy
3c4fda927d hud mudule causes error on cs:s
L 10/15/2015 - 13:39:16: [SM] Native "ConVar.SetBool" reported: Invalid convar handle 0 (error 4)
L 10/15/2015 - 13:39:16: [SM] Displaying call stack trace for plugin "shavit-hud.smx":
L 10/15/2015 - 13:39:16: [SM]   [0]  Line 103, shavit-hud.sp::OnConfigsExecuted()
2015-10-15 13:52:06 +01:00
Shavitush
4c7b5a68af update gamedata for csgo 2015-10-10 10:14:17 +03:00
Shavitush
76abbccc09 Fixed replay bot 2015-10-07 17:25:51 +03:00
Shavitush
c50a7e3812 handle name changes correctly 2015-10-04 06:29:23 +03:00