Commit Graph

603 Commits

Author SHA1 Message Date
shavitush
bf928a1db7 Solve replay saving/loading lag (#193)
Changed the structure of the way replays are saved, thanks blacky!
2016-09-06 17:35:06 +03:00
shavitush
cd42463ffb Drop SCP support for redwerewolf's CP #182 2016-09-01 12:03:47 +03:00
shavitush
7ee92499c5 Remove SSJ (#189) 2016-08-31 10:43:43 +03:00
shavitush
1c6d35ecdf fix HSW strafe counter spam (#163) 2016-08-29 15:04:05 +03:00
shavitush
2dc4c74c56 Measure sync for more styles (#169 #186) 2016-08-29 14:46:20 +03:00
shavitush
cfc63affcf Fix first replay playback not working 2016-08-29 14:19:01 +03:00
shavitush
e15be2b030 Cache and hook every cvar value (#179)
took me long enough..
2016-08-29 13:15:03 +03:00
shavitush
431eb22c31 Implement truevel (#174) 2016-08-29 12:26:33 +03:00
shavitush
43a18f492f Don't count A/D strafes if W is held (#175) 2016-08-29 12:12:26 +03:00
shavitush
e68116d8e2 Rewrite every bitflag condition (#177) 2016-08-29 12:03:29 +03:00
shavitush
4b286f555e Fix sm_specs listing bots (#184) 2016-08-29 11:50:05 +03:00
shavitush
7dc604dc20 Kick players on no steam connection 2016-08-18 02:22:37 +03:00
shavitush
a655f025c8 fix replay bots not teleporting to start 2016-08-17 21:28:55 +03:00
shavitush
c490eecde0 add no speed limit indicator (CS:S #170) 2016-08-17 11:48:12 +03:00
shavitush
3dce9a3a6e solve moving to spectator respawning #171 2016-08-17 11:42:36 +03:00
shavitush
e2fa891f53 Record bot buttons and solve teleport lag (#164) 2016-08-17 11:38:34 +03:00
shavitush
fdf33d431d Add noclip commands (#162) 2016-08-15 22:34:27 +03:00
shavitush
6e412546cc add shavit_misc_staticprestrafe and #166 2016-08-15 21:25:24 +03:00
shavitush
0cc1963544 Fix some stuff (including #167)
Fix insane CS:S lag; make spectator list/keys look proper in CS:S; fix
one bot not being set to what it should if there's sourcetv, don't
precache the unused zone model
2016-08-15 17:36:58 +03:00
shavitush
aeb9c4b3fc dummy fix 2016-08-08 15:00:36 +03:00
shavitush
f3474d2d4c Modify rankings system to use tiers and reduce weighting (#71) 2016-08-08 02:23:06 +03:00
shavitush
3c0f2a857f huge rework on shavit-stats and add 'last login' (#149) 2016-08-05 05:13:23 +03:00
shavitush
30433ff79a add percentages to profile (#149) 2016-08-05 01:39:31 +03:00
shavitush
b3271b5c57 add {palered} (#148) 2016-08-04 23:14:28 +03:00
shavitush
95fe50e5da fix old bot naming style (#128) 2016-08-04 23:08:18 +03:00
shavitush
9a040ba033 add 'clantag' property (#99) 2016-08-04 23:04:20 +03:00
shavitush
141ee10e14 solve ranked players not instantly updating (#136) 2016-08-04 22:57:03 +03:00
shavitush
d06f82e56c fix shavit_core_timernozone doesnt work 2016-08-04 22:52:35 +03:00
shavitush
cfb05c3e6f solve map completion query (#147) 2016-08-04 22:50:52 +03:00
shavitush
f92f286702 fix wrong game detection (#146) 2016-08-04 22:32:06 +03:00
shavitush
cf6121eb44 extend sm_profile (#142) 2016-08-04 22:13:45 +03:00
shavitush
5be9d48e58 fix time formatting messing up after 1 hour (#141) 2016-08-04 03:38:37 +03:00
shavitush
0d40a995b4 fix chat spam (#136) 2016-08-04 00:58:32 +03:00
shavitush
dc320e058b add map tiers (#91) 2016-08-03 09:24:43 +03:00
shavitush
cc72806a2b update shavit-hud to not use Shavit_GetTimer (#115) 2016-08-03 08:55:57 +03:00
shavitush
d17aeeb5e5 add shavit_misc_playeropacity (#107) 2016-08-03 08:48:25 +03:00
shavitush
bae6e18322 fix SSJ printed wrong and (#129) 2016-08-03 08:27:43 +03:00
shavitush
dcf8c4af81 fix sm_usp not working (#126) 2016-08-03 03:15:25 +03:00
shavitush
b2460919e9 fix 'enabled' SSJ setting not working 2016-08-03 03:05:00 +03:00
shavitush
7d3bf54a7d fix replay naming issues (#128) 2016-08-03 02:54:47 +03:00
shavitush
5bd88d102a fix SSJ settings not workijng (#127) 2016-08-03 02:50:51 +03:00
shavitush
462317c021 fix not printing SSJ to spectators 2016-08-03 02:42:38 +03:00
shavitush
2b18533a8c save autobhop/style cookies (#123) 2016-08-03 02:16:31 +03:00
shavitush
5d4d6668d4 add SSJ (#122) 2016-08-03 02:06:10 +03:00
shavitush
fe5ff31b9a add sm_usp sm_glock sm_knife (#121) 2016-08-02 21:56:06 +03:00
shavitush
756855100d make use of scoreboard (shavit_misc_scoreboard) (#101) 2016-08-02 20:56:40 +03:00
shavitush
0368938068 add bot stuff to cronjob (#113) 2016-08-02 20:37:26 +03:00
shavitush
93a95bb82c add STYLE_MEASURESYNC property (#119) 2016-08-02 20:23:15 +03:00
shavitush
5914325937 fix strafes being count for blocked keys 2016-08-01 23:25:59 +03:00
shavitush
7e02b24e9b remove the round end remove, use mp_do_warmup_period 0 2016-08-01 21:55:32 +03:00
shavitush
45ba502aa0 fix map changing issues (#88) 2016-08-01 08:19:17 +03:00
shavitush
b931b26ed1 fix random zone sprites (#114) 2016-08-01 04:41:25 +03:00
shavitush
46f1c22cd6 take care of #112 2016-08-01 02:15:50 +03:00
shavitush
38df2183e1 remove support for 'worse' sounds 2016-08-01 02:00:20 +03:00
shavitush
0fcc37a71f fix random bot without replay data spawning (#106) 2016-08-01 00:03:28 +03:00
shavitush
968e96f598 add 'overwrite' to OnFinish_Post API 2016-07-31 23:11:55 +03:00
shavitush
dc681e9df2 fix people getting random chat props (#104) 2016-07-31 21:49:51 +03:00
shavitush
0b5aa476b6 make zone height match at all times (csgo #111) 2016-07-31 21:30:39 +03:00
shavitush
bbe85824b1 visualize grid snap for first point (#110) 2016-07-31 21:18:13 +03:00
shavitush
25a37ae5c9 fix front edge disappearing 2016-07-31 21:02:27 +03:00
shavitush
bef1393066 fix stats incrementing when paused (#108) 2016-07-31 21:00:34 +03:00
shavitush
a09491bdef add support for 'sound for X map rank' 2016-07-31 06:46:43 +03:00
shavitush
61082f1944 better implementation of autobhop and +ds (doublestep fix) 2016-07-31 06:04:25 +03:00
shavitush
41aed365a3 add shavit_replay_enabled (#82) 2016-07-31 03:54:09 +03:00
shavitush
e98d05064b add shavit_misc_disableradio (#73) 2016-07-31 03:40:36 +03:00
shavitush
e911fde106 fix error when removing a style but not from database 2016-07-31 03:20:39 +03:00
shavitush
e0b987b5e7 whoops forgot to add to enum 2016-07-31 03:16:53 +03:00
shavitush
6b7b4e77c4 add slow motion styles (#73) 2016-07-31 03:16:08 +03:00
shavitush
9674c21d27 improvements to unranked styles and API updates 2016-07-31 02:53:31 +03:00
shavitush
356e83acb4 fix compilation error 2016-07-31 02:14:11 +03:00
shavitush
3236691a19 update time formatting to match other places, change default 'forwards' style to 'normal' 2016-07-31 02:11:53 +03:00
shavitush
ccdd333963 fix recent records (#103) 2016-07-30 19:36:27 +03:00
shavitush
5052ff465e check for direction angle before counting sync (#102) 2016-07-30 19:18:44 +03:00
shavitush
8b7f2ea259 add table migration for new dates 2016-07-30 18:01:13 +03:00
shavitush
fae2ca904d make csgo hud look proper 2016-07-30 05:12:26 +03:00
shavitush
fb12d7ee9e fix loose identation 2016-07-30 04:16:49 +03:00
shavitush
df9c7631c4 add strafes/sync 2016-07-30 04:00:27 +03:00
shavitush
28da693457 add strafe counter (sync soon™) 2016-07-30 01:22:19 +03:00
shavitush
1d133feb3f add support for 100AA styles (STYLE_100AA) 2016-07-29 23:18:12 +03:00
shavitush
59a7bed898 add sm_recent sm_recentrecords sm_rr 2016-07-29 22:24:52 +03:00
shavitush
9cc988a61f show map rank in mapsdone and points in submenu 2016-07-29 19:03:21 +03:00
shavitush
c60a243812 generate menu points on the fly 2016-07-29 18:51:01 +03:00
shavitush
3e663732cb fix minutes field timestamp 2016-07-29 17:47:08 +03:00
shavitush
6c6551a955 use unix timestamps for record dates 2016-07-29 17:43:48 +03:00
shavitush
5cbddeba84 add out of the box installation support/sqlite 2016-07-29 17:32:34 +03:00
shavitush
c6f767b3e2 add speed reset at timer start 2016-07-29 15:59:19 +03:00
shavitush
8f4b07bb44 add an experimental fix for db issues 2016-07-29 15:56:40 +03:00
shavitush
5725506549 fix me being drunk 2016-07-29 15:45:28 +03:00
shavitush
c128941bac minor code optimizations 2016-07-28 10:29:33 +03:00
shavitush
08cf272bb0 fix display map names not fully showing 2016-07-28 10:29:26 +03:00
shavitush
ad066178c3 fix unranked players getting rank 1 title 2016-07-28 10:28:50 +03:00
shavitush
e157623e46 fix bot names fucking up (#100) 2016-07-26 21:05:43 +03:00
shavitush
3478b9edd3 fix bots not dying (#100) 2016-07-26 19:11:13 +03:00
shavitush
14f92241ed move stuff from cron timer 2016-07-26 19:07:06 +03:00
shavitush
5f18c94bd5 fix incorrect bot info for csgo 2016-07-26 18:58:54 +03:00
shavitush
1c97554010 support prespeed styles replay bots 2016-07-26 18:49:14 +03:00
shavitush
4a4510e174 add color to css wr message 2016-07-26 18:25:43 +03:00
shavitush
b986edb12a fix choppy replay frames and optimize 2016-07-26 18:06:22 +03:00
shavitush
4a6a728c9b fix optional natives aaa i hate sourcepawn 2016-07-26 05:52:49 +03:00
shavitush
1a7cdc385d fix rare error with cached leaderboards 2016-07-26 02:53:33 +03:00
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