shavitush
9076f8febc
move optional natives to .inc file
2016-07-26 02:47:16 +03:00
shavitush
338f4c3572
better behavior of nozaxispeed
2016-07-25 17:41:28 +03:00
shavitush
9d7b5ead52
fix error spam when database goes down for a second
2016-07-25 17:13:27 +03:00
shavitush
53a483a3a2
whoops forgot to commit this
2016-07-25 14:53:06 +03:00
shavitush
5886c2d0d7
add a decent looking csgo sprite ( #95 )
2016-07-25 14:52:48 +03:00
shavitush
8167cf694a
fix 'none' halo sprite not working
2016-07-25 14:21:48 +03:00
shavitush
cf9e5dcecc
better handling of bot clients
2016-07-25 02:24:41 +03:00
shavitush
631dd117ec
add grid snapping
2016-07-25 00:41:12 +03:00
shavitush
6659fdbf74
add shavit_misc_createspawnpoints
2016-07-24 22:53:44 +03:00
shavitush
479c00910d
add shavit_misc_autorespawn ( #96 )
2016-07-24 19:00:49 +03:00
shavitush
c3a903244d
fix no saving when there's no current WR ( #94 )
2016-07-24 18:39:47 +03:00
shavitush
31ca3d7e4f
optimize even further
2016-07-24 18:29:05 +03:00
shavitush
d3d6ccfb0d
fix identation
2016-07-24 17:51:16 +03:00
shavitush
3c52b7e9e5
make zone interval cvar take effect
2016-07-24 17:20:59 +03:00
shavitush
9ca5d90b9b
fix double chat messages for csgo
2016-07-24 16:56:50 +03:00
shavitush
4995f59ce4
replay bot optimizations
2016-07-24 15:08:48 +03:00
shavitush
5b8152d472
hotfix for freestyle zone drawing
2016-07-24 04:03:57 +03:00
shavitush
2e4b2d54ca
optimize InsideZone()
2016-07-24 03:37:24 +03:00
shavitush
9fdd9146bf
fix naming again
2016-07-24 02:43:19 +03:00
shavitush
e9baef3a66
change naming for replay bots
2016-07-24 02:09:30 +03:00
shavitush
96ead1ff39
add sm_deletereplay for RCON admins
2016-07-24 02:06:31 +03:00
shavitush
6bbeefe729
add shavit_misc_noblock ( #80 )
2016-07-24 01:45:48 +03:00
shavitush
ff0aa5bdf8
freeze bots on first/last frame ( #59 )
2016-07-24 01:43:53 +03:00
shavitush
573254467a
show map rank on finish
2016-07-24 01:25:23 +03:00
shavitush
1076146f28
show potential map rank in HUD
2016-07-24 01:03:29 +03:00
shavitush
8a86825dd3
add Shavit_GetRecordAmount
2016-07-24 00:05:45 +03:00
shavitush
ff187069df
add Shavit_GetRankedPlayers
2016-07-23 23:49:57 +03:00
shavitush
495f9fb171
big updates! check README.md for changes
2016-07-23 23:34:55 +03:00
shavitush
206fe682b7
implement SCP support
...
also make my own chat processor a fallback solution. SCP is safer
2016-07-23 20:23:59 +03:00
shavitush
337347545a
add custom zone sprites
...
also re-schedule trigger zones
2016-07-23 19:22:06 +03:00
shavitush
b308eb81fe
redo notifications and proper start forward
2016-07-23 18:19:56 +03:00
shavitush
cbcfd89891
fix error spam
2016-07-23 15:55:57 +03:00
shavitush
e1bf58fcd7
fix possible errors with rtler
2016-07-23 15:14:44 +03:00
shavitush
d23773d355
remove replay bot data on deletion of the #1 record
2016-07-23 14:41:11 +03:00
shavitush
3286ddcd1d
Add Shavit_OnWRDeleted
2016-07-23 14:31:35 +03:00
shavitush
c0f6883ca5
hotfix for chat commands
2016-07-23 14:10:48 +03:00
shavitush
eff8c64be1
Add shavit_core_nozaxisspeed
2016-07-23 14:06:07 +03:00
shavitush
34aa5963aa
optimizations for replay bots
2016-07-23 13:44:21 +03:00
shavitush
48fbe3f147
add Shavit_GetClientTime
2016-07-23 13:44:11 +03:00
shavitush
577ed7ecdb
optimize timelimits
2016-07-22 13:36:28 +03:00
shavitush
9c1c152916
fix bugs with tp zones
2016-07-20 01:05:06 +03:00
shavitush
c7210e453c
fix conflicts
2016-07-19 21:35:10 +03:00
shavitush
8e7a55fe8a
Handle teleport zones
2016-07-19 21:29:05 +03:00
shavitush
5ce3a6ea42
decrease lines used in zone handlers
2016-07-19 11:12:43 +03:00
shavitush
cd94b57078
add the base of teleport zones
2016-07-19 10:30:36 +03:00
shavitush
72b409fd25
geoip thingy
2016-07-19 10:21:01 +03:00
shavitush
79dffb6307
attempt to fix crash for long countries/ipv6 ( #78 )
2016-07-18 16:28:31 +03:00
shavitush
cee3fbdf32
fix 10 fps demos in csgo
2016-07-16 11:00:31 +03:00
shavitush
f02fa98646
Merge remote-tracking branch 'refs/remotes/origin/master' into zones
2016-07-16 08:41:37 +03:00
shavitush
ae4847be7c
Fix memory leak
2016-07-16 08:34:11 +03:00
shavitush
aa07d9d17d
remote RTC and replace with Shavit_PTC
2016-07-16 08:30:15 +03:00
shavitush
2153eddd37
Add random rgb and random rgba for CS:S parsing.
...
{RGBX} - random rgb
{RGBAX} - random rgba
2016-07-13 15:19:37 +03:00
shavitush
a20ca87b3b
Fix uppercase commands showing in chat
2016-07-13 00:43:23 +03:00
shavitush
ff07be3e4a
fix 'infinity' not working on every OS
2016-07-13 00:22:55 +03:00
shavitush
e1a119c71f
Reverse order of chat ranks and fix #72
2016-07-12 23:39:06 +03:00
shavitush
af7d62d4a6
minor optimizations
2016-07-12 20:48:43 +03:00
shavitush
832e7b39ff
fix color injections and team chat showing no clors
2016-07-12 09:38:34 +03:00
shavitush
776cf1839a
escape @
2016-07-12 08:12:51 +03:00
shavitush
f567b28d22
better implementation of what i did before
2016-07-12 07:49:25 +03:00
shavitush
d78a3a2e87
Fix custom chat not working for unranked players
2016-07-12 07:44:14 +03:00
shavitush
fde3d08348
Add Shavit_FormatChat native, attach Dynamic
2016-07-12 04:34:55 +03:00
shavitush
a1be9494bd
add sm_chatranks/sm_ranks
2016-07-12 04:22:48 +03:00
shavitush
89a100d867
add chat properties for rank ranges
...
@ntoxin66 I really appreciate Dynamic, this is fantastic!
also added Shavit_OnRankUpdated() forward
2016-07-12 03:45:22 +03:00
shavitush
7c60a38fc2
cache custom chat settings
2016-07-12 00:56:39 +03:00
shavitush
4a2e2d3457
more accurate HUD updates
2016-07-12 00:17:39 +03:00
shavitush
5d45265428
minor optimizations
2016-07-11 23:37:02 +03:00
shavitush
ebc236a2a4
optimizations
2016-07-11 14:09:58 +03:00
shavitush
8058a22179
fix possible data loss
2016-07-10 02:00:15 +03:00
shavitush
45f41c2cb9
fix zones stuck in ground (CS:S)
2016-07-10 01:53:16 +03:00
shavitush
21ea157474
add per-player chat ranks (and parsing)
2016-07-10 01:46:38 +03:00
shavitush
a93c2099a4
don't show !<cmd> in chat
2016-07-09 23:32:30 +03:00
shavitush
b0e19b541d
add weapon cleanup ( #67 )
2016-07-09 20:27:24 +03:00
shavitush
2be3af740e
add rtler support
2016-07-08 21:44:39 +03:00
shavitush
299fb91bc6
handle chat gags
2016-07-08 19:59:39 +03:00
shavitush
3daa4187f1
base chat
2016-07-08 19:33:47 +03:00
shavitush
fedde68ac3
allow targeting in sm_rank
2016-07-08 18:38:23 +03:00
shavitush
cf4d528c72
Fix sudden round end ( #54 )
2016-07-08 17:48:41 +03:00
shavitush
681cd0aff8
allow sounds to have a longer path
2016-07-08 17:43:26 +03:00
shavitush
cd03dbe1c3
remove weapon cleanup thingy
2016-07-08 17:38:47 +03:00
shavitush
7a16edd9a8
fix key display
2016-07-05 20:18:37 +03:00
shavitush
5b45788ef3
fix #65 and indentations
2016-07-05 08:44:30 +03:00
shavitush
0d97c18b35
fix loose indentation
2016-07-04 19:24:39 +03:00
shavitush
4a27ecfd3c
solve issue with points not updating
2016-07-04 18:18:39 +03:00
shavitush
aa4f79ccfb
fix HSW exploit
2016-07-04 18:16:25 +03:00
shavitush
3670899e61
increase SQL priority of sm_top
2016-07-03 15:36:33 +03:00
shavitush
d5a6773200
Reduce DBPrio where needed to solve data loss
2016-07-03 01:08:58 +03:00
shavitush
cd83d4d238
dont give points if undefined
2016-07-03 00:43:39 +03:00
shavitush
3ea721ee22
Don't show garbage when unranked
2016-07-03 00:43:39 +03:00
shavitush
3aa5079f4b
Implement points into web interface
2016-07-02 23:45:45 +03:00
shavitush
311453313f
Include points in mapsdone
2016-07-02 22:55:20 +03:00
shavitush
f2dcfeafe9
Add natives and points to WR menu
2016-07-02 22:28:14 +03:00
shavitush
74d3148fab
Implement retroactive points
2016-07-02 21:29:53 +03:00
shavitush
e0032c819d
add sm_rank
2016-07-02 20:54:58 +03:00
shavitush
3e5f59c650
Add sm_top and calculate player rank on connection
2016-07-02 20:43:42 +03:00
shavitush
9e3590d86c
save per-user points to table
2016-07-02 19:15:40 +03:00
shavitush
b44df24e73
add weighting system
2016-07-02 18:35:14 +03:00
shavitush
2a79bc4a65
save points to database
2016-07-02 17:56:08 +03:00
shavitush
bf5c44901b
implement points calculation algorithm
2016-07-02 16:32:55 +03:00
shavitush
3b791dbbc7
add sm_points
2016-07-02 15:58:12 +03:00
shavitush
12f5a3926f
Base rankings
2016-07-02 15:09:17 +03:00
shavitush
4904685bed
don't interfere with hud if creating a zone
2016-07-02 13:50:02 +03:00
shavitush
14141452c7
implement proper replay bot HUD
2016-07-02 13:49:40 +03:00
shavitush
563b9f559c
fix bots going inside the end zone
2016-07-02 13:17:54 +03:00
shavitush
b35e164e4f
fix broken english
2016-07-02 12:46:24 +03:00
shavitush
8c989c6068
ok im stupid nvm
2016-07-02 03:43:35 +03:00
shavitush
df91b669c9
shorten zonehud code
2016-07-02 03:43:04 +03:00
shavitush
8027b73816
better "gradient" cycling method
2016-07-02 03:40:27 +03:00
shavitush
bfcdccc018
http://i.imgur.com/OmUxddJ.png
2016-07-02 03:30:45 +03:00
shavitush
5f98d3cd52
Fix noclip crashes
2016-07-02 02:26:41 +03:00
shavitush
1ab534a52f
fix tag mismatch
2016-07-02 02:11:33 +03:00
shavitush
c789108539
add the new native to .sp file
2016-07-01 21:50:38 +03:00
shavitush
8989f43b10
Add native Shavit_GetTimerStatus
...
possibly also solve noclip crashes
2016-07-01 21:48:26 +03:00
shavitush
84cbb9e999
ok asherkin
...
https://forums.alliedmods.net/showpost.php?p=2432154&postcount=462
2016-07-01 15:51:58 +03:00
shavitush
861ea76d07
revert most of the shit from today
...
everytime i touch something, i break something else :/
2016-06-30 23:59:40 +03:00
shavitush
f842308b27
ok thats it
2016-06-30 18:59:02 +03:00
shavitush
a9b226fdb3
for real now
2016-06-30 18:57:17 +03:00
shavitush
36abbae775
allow running hud without wr module
2016-06-30 18:54:21 +03:00
shavitush
6d7667ea55
Rework key overlay for autobhop/scrolls
...
Also add 2 natives `Shavit_GetBhopStyle` `Shavit_ForceHUDUpdate`
2016-06-30 16:03:20 +03:00
shavitush
ca6eae68d5
Bring compiler pragmas to the top
...
To ensure full support for the transitional syntax. Also updated
DHooks.inc until Dr!fter does.
2016-06-30 12:24:39 +03:00
shavitush
9b13e3b3e0
T R I G G E R E D
2016-06-30 01:43:03 +03:00
shavitush
30407a0939
Make +left/right call Shavit_OnStop ( fix #56 )
2016-06-29 23:56:53 +03:00
shavitush
8b19d2c2d8
fix 'loose indentation'
2016-06-29 13:47:18 +03:00
shavitush
333d2659e5
[hud] Implement keys display and weapon hiding
...
woooooooo 😱
2016-06-29 01:07:06 +03:00
shavitush
21c81365c8
fix typo in code
2016-06-25 22:58:50 +03:00
shavitush
d2bb07ee20
fix something stupid i did
2016-06-25 19:33:33 +03:00
shavitush
2964b7db2a
[hud] Add spectator list and revamp sm_hud
2016-06-24 14:34:44 +03:00
shavitush
949ff73a46
[sounds] Add "worse than pb" sounds
2016-06-24 11:58:05 +03:00
shavitush
7054795b4c
make freestyle zones also work for +use blocks
2016-06-20 20:09:39 +03:00
shavitush
4ede31f957
attach GNU GPL v3 license
2016-06-20 17:30:31 +03:00
shavitush
7756922e6f
remove unnecessary SubString() stock
2016-06-20 06:31:39 +03:00
shavitush
dd163e23bf
remove unnecessary include
2016-06-20 06:27:31 +03:00
shavitush
2ddeec6785
Replace RemoveMapPath with GetMapDisplayName
2016-06-20 06:26:43 +03:00
shavitush
68921bae89
Add restart timer native ( fix #53 )
2016-06-20 06:19:37 +03:00
shavitush
b655c1ae2e
Migrate files to transitional syntax
2016-06-19 22:52:22 +03:00
shavitush
4c0483b19d
Stylize map names in menus.. again.
2016-06-18 12:39:16 +03:00
shavitush
88c560a29b
Revert the MySQL prefix handler
...
- Removed the cvar
+ Added file, `configs/shavit-prefix.txt`
2016-06-18 12:37:16 +03:00
shavitush
974d6c8b85
revert to 1 day ago
2016-06-18 12:20:31 +03:00
shavit
5970b0aab0
Revert "Fix recent MySQL issues"
2016-06-18 12:15:13 +03:00
shavitush
ad488e6aed
stylize map name in menus
...
(remove workshop/ABCDEFGH/)
2016-06-18 11:47:50 +03:00
shavitush
a366bfd4b0
fix weird mysql related issues
2016-06-18 11:44:38 +03:00
shavitush
310afacf8b
Revert "fix prefixes not being respected ( #48 )"
...
This reverts commit ef33d51b6a .
2016-06-18 11:33:14 +03:00
shavitush
f0f9b3c19b
Revert "fix startup error"
...
This reverts commit b5c7c50f0a .
2016-06-18 11:33:10 +03:00
shavitush
b5c7c50f0a
fix startup error
2016-06-18 06:51:30 +03:00
shavitush
ef33d51b6a
fix prefixes not being respected ( #48 )
2016-06-17 14:51:41 +03:00
shavitush
8c77a312d6
fix WR menu erroring ( #50 )
2016-06-17 14:23:05 +03:00
shavitush
0ba5f66065
URGENT: Fix SQL injection
2016-06-13 19:46:33 +03:00
shavitush
58457674ec
migrate adt_arrays to arraylist
2016-06-08 14:35:21 +03:00
shavitush
580b886103
fix shavit_zones_interval being ignored
2016-06-08 10:43:55 +03:00
shavitush
25c7f568e6
Removed unused code
2016-06-06 22:40:09 +03:00
shavitush
ed150d3c0c
migrate events to the transitional syntax
2016-06-05 10:43:55 +03:00
shavitush
a8a7c62601
Merge branch 'master' of https://github.com/shavitush/bhoptimer
2016-06-05 10:07:16 +03:00
shavitush
4a0a7f4497
fix tapping 'back' on sm_wr <map> using the current map
2016-06-05 10:06:26 +03:00
shavitush
0aa27a2334
Fix prespeed not working with 'block prejump'
2016-06-05 01:38:56 +03:00
shavitush
85e5d5fa1d
add dhooks.inc for goddamn travis
2016-06-04 07:08:26 +03:00
shavitush
9a61e60a6f
proper anti-noclip abuse fix
2016-06-04 01:04:17 +03:00
shavitush
c60f9a8864
un-delay rankings, update todo
2016-06-03 18:16:58 +03:00
shavitush
1943c57205
hotfix for long map names
2016-06-03 17:33:25 +03:00
shavitush
dc9c8d6a8c
make the WR query faster
2016-06-03 17:32:50 +03:00
shavitush
86a18c4684
make the WR menu show the player's map rank..
...
even if it's over the records limit cvar
2016-06-03 17:24:49 +03:00
shavitush
7a76dd82b6
silly me... now works in CS:GO
2016-06-02 21:28:03 +03:00
shavitush
17e0314c3c
Add new plugin (shavit-sounds), config and samples
2016-06-02 20:42:16 +03:00
shavitush
436db58c47
Fix warnings when compiling against SM 1.8
2016-06-02 17:04:56 +03:00
shavit
ccd15110b0
Merge pull request #39 from OfficialExtan/fix-noclip-abuse
...
Fix Noclip Abuse
2016-06-02 13:54:43 +03:00
XTN
d31a4805c7
Fix Noclip Abuse
2016-06-02 12:48:11 +02:00
shavitush
ffec274fd8
Remove one condition from if()
2016-06-01 22:43:08 +03:00
shavit
946b08cd14
Merge pull request #37 from OfficialExtan/patch2
...
Allow keys on ground & block prejump in start zone
2016-06-01 22:14:22 +03:00
shavitush
39a80d86cd
fix hideradar's cvar behavior
2016-06-01 21:54:58 +03:00
XTN
7e3dc1db3a
BlockPreJump
2016-06-01 20:36:31 +02:00
XTN
77181e1e17
Allow keys on ground & block prejump on start zone
2016-06-01 17:06:34 +02:00
shavit
3c4e38f2d1
Merge pull request #36 from OfficialExtan/master
...
Add teleport to !end
2016-06-01 16:25:45 +03:00
XTN
0164509ea5
Teleport to !end
2016-06-01 13:29:45 +02:00
Anthony
f3543d85bf
[INC] HSW removal of S-block
2016-06-01 11:56:00 +01:00
shavitush
c625be51f9
Add a cvar for teleportation commands
2016-05-30 15:40:54 +03:00
shavitush
5cbdfa44aa
[hud] Generate plugin config ( fixes #32 )
2016-05-27 18:06:42 +03:00
shavitush
3d9d9fe25f
Add a security check for the radar timer using serials
2016-05-27 08:44:47 +03:00
Anthony
760fba86ab
Updated Code for radar
2016-05-26 21:29:56 +01:00
Anthony
5b2b10c60f
Removal of timer from players upon spawn
2016-05-26 21:14:49 +01:00
shavitush
835f19fb1b
Implement both HSW solutions and simplify code
2016-05-26 20:07:13 +02:00
shavitush
8f6d1ba4e2
Remove a useless condition and indent code
2016-05-26 19:59:29 +02:00
Anthony
8f5c3f87ca
HSW Additions
2016-05-26 18:52:12 +01:00
Anthony
6f596fae0a
HSW Additions
2016-05-26 18:49:56 +01:00
shavitush
03462a7e6d
remove one SQL_EscapeString() as it's unused
2016-05-26 09:59:47 +03:00
shavitush
fd18511379
Support uppercase chat triggers
2016-05-24 16:31:09 +03:00
shavitush
ef1c813711
fix start zone/prespeed issues - fixes #25
2016-05-22 14:20:46 +03:00
shavitush
61fd0f6e03
Migrate DBI to the 1.7 transitional syntax
2016-05-21 06:43:52 +03:00
shavitush
862b6d7d5d
Fix possible 'array out-of-bounds' error
...
When deleting a style while a record for it exists
2016-05-21 06:07:30 +03:00
shavitush
d3f3fb1e30
Fix infinite replay bots
2016-05-20 07:56:05 +03:00
shavitush
34aaf35a4d
Add unranked styles and new properties
...
See shavit.inc
2016-05-20 07:43:13 +03:00
shavitush
1b22209814
Fix blocking A not working
2016-05-17 20:44:55 +03:00
shavitush
d5a18967ef
Add "shavit_hud_zonehud"
2016-05-10 14:41:53 +03:00
shavitush
108337ffe2
fix error
2016-05-01 18:33:20 +03:00
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
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
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
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
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
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
Shavitush
7f303e3b15
reported as a fix for name changes
2015-10-03 13:41:40 +03:00
Shavitush
28382cb917
I gotta remember not everyone is using 100 tickrate 😆
2015-10-03 13:38:48 +03:00
Shavitush
b6e341da44
retardedness fix
2015-10-03 13:28:38 +03:00
Shavitush
6c6f4ff110
should make bot smoother
2015-10-03 13:24:52 +03:00
Shavitush
1872034791
Revert "Revert "add "sm_map MAP NAME"""
...
This reverts commit 29373d8b61 .
2015-10-03 13:24:03 +03:00
Shavitush
d529cad35d
add description
2015-10-03 13:23:40 +03:00
Shavitush
29373d8b61
Revert "add "sm_map MAP NAME""
...
This reverts commit 4addd4277e .
2015-10-03 13:22:12 +03:00
Shavitush
4addd4277e
add "sm_map MAP NAME"
2015-10-03 13:22:06 +03:00
Shavitush
41f8942596
remove debugging
2015-09-30 15:15:04 +03:00
Shavitush
d4b24b78f3
fix mapsleft
2015-09-30 15:14:44 +03:00
Shavitush
67f233497d
fix time shown in mapsdone
2015-09-30 08:52:15 +03:00
Shavitush
6002d27843
add sm_tpto/goto and handle cvars differently
2015-09-30 08:52:06 +03:00
Shavitush
8cfe5a99ca
after playing for a while i noticed how useless was this
2015-09-30 08:51:45 +03:00
Shavitush
70cfdef47b
Made bots not mess with triggers
2015-09-27 21:47:52 +03:00
Shavitush
89305ef835
Made bots not controllable
2015-09-27 21:18:56 +03:00
Shavitush
576a9e7035
that's what happens when you don't have a CS:S server to test it on
2015-09-27 06:20:57 +03:00
Shavitush
430738cabd
lol
2015-09-26 22:37:01 +03:00
Shavitush
363043f5aa
SHOULD fix crash on Linux
2015-09-26 22:35:01 +03:00
Shavitush
6fae079c09
add hud toggle
2015-09-22 13:33:57 +03:00
Shavitush
7b65e7e9c8
1.5b
2015-09-22 13:31:44 +03:00
Shavitush
8e3332d2ad
Fix shavit-hud not loading if shavit-replay isn't loaded
2015-09-21 22:58:13 +03:00
Shavitush
843affab8d
fix bot having the same name after changing map to one without replay data
2015-09-21 22:53:40 +03:00
Shavitush
489a6826d7
Fix compilation for the 1.7.3 SM compiler
2015-09-21 15:12:31 +03:00
Shavitush
519a647a53
Generate .nav files
2015-09-21 02:22:43 +03:00
Shavitush
193ee1e052
Replay bot + 1.4b release!
2015-09-21 02:16:44 +03:00
Shavitush
81b0bd15d3
Add cvars that prevent pausing/restarting.
...
And change the way I handle cvars
2015-09-14 18:19:12 +03:00
Shavitush
41ac0ae98f
fixed submenu time
2015-09-13 13:07:24 +03:00