Commit Graph

97 Commits

Author SHA1 Message Date
e8dcfb5048 in rare cases a guy in top 5% and the next guy right outside of it have the same time. in those cases give them the same boost. also for last guy in 1% and first guy in 5% 2024-01-27 17:43:48 +01:00
41c7113560 made toplvl into own plugin, had bs problem with response size. added endpoint to mitigate problem 2024-01-27 15:58:29 +01:00
11417f5294 added veteran banner and redid how points are awarded 2024-01-25 19:47:39 +01:00
5fb74573f6 changed so chat tag can still display even if having a clan tag 2024-01-20 15:43:16 +01:00
f710afc337 added lvl command to hide lvl, also added colors and chat tag for lvl 2024-01-20 13:15:27 +01:00
109338173c giving fakeclients lvl 1 2024-01-19 12:30:30 +01:00
0342b0be44 first upload, simply divides racetimer points by 1000 and says its your level if you dont have a clantag 2024-01-19 12:13:49 +01:00
jenz
622e88ff82 initial commit of zombie hunting zones 2023-11-08 22:09:42 +01:00
jenz
8cf6a98b26 added file for generating table with 5 best times from each map 2023-08-09 22:35:07 +02:00
jenz
c1783e81ef reduced usage of getclientauthID to only on connects 2023-06-25 13:03:32 +02:00
jenz
7322850427 removed some db reconnections as might be cause of handles issue 2023-06-18 23:55:34 +02:00
jenz
768f15ddcd finally redid the settings file so DB connections just depend on json file on disk 2023-06-03 19:34:48 +02:00
jenz
dcac8d1738 deleting result sets, some bug fixes etc 2023-04-30 15:21:36 +02:00
jenz
c71f1e0209 delete dbresults in more cases, some printing, using getclientserial 2023-04-30 12:14:28 +02:00
jenz
60997ee165 added more print messages 2023-04-29 13:41:32 +02:00
jenz
d5c3a253ff added chat message when timer gets disabled due to event. i forgot the feature existed. 2023-04-29 13:26:37 +02:00
jenz
96535dc6ec added feature to completely ignore the racetimer, this was requested by encapsulation 2023-03-27 23:17:19 +02:00
jenz
1feb7dc46a reducing DB queries from high priority to low or normal, also removed obsolete repository 2023-02-19 15:41:54 +01:00
jenz
4b87a266b4 changed roundstart to reset differently 2022-08-17 21:07:31 +02:00
jenz
e3ded32f16 bug fixes, hopefully the last one needed 2022-08-15 01:47:05 +02:00
jenz
1ec3b26569 added bandaid fix for when select queries select 0 instead of S1 2022-08-12 01:03:20 +02:00
jenz
ebd1d4c303 added alter table statements for adding and removing indexes when maps are loaded. THis way i avoid mysql's limit of 64 indexes per table. the toptimes and own times can now be displayed very quickly ingame. ONly exception is if dev/ze2/ze play the same map because mapStart and MapEnd add and remove the indexes. So if dev/ze/ or ze2/ze play the same map then the first server leaving the map will delete the index again 2022-08-11 16:05:18 +02:00
jenz
acbee23168 remade sql statement for altering table to just run every 10 seconds 2022-08-10 13:17:09 +02:00
jenz
18cb546a8a removing file not there and updating racetimer plugin to fix edge bug 2022-08-10 00:55:03 +02:00
jenz
4b6cdc5f9c updated to handle new formatting 2022-08-09 23:22:11 +02:00
jenz
788e98a29d updated so mako has its racezone back on racemode 2022-08-09 15:54:34 +02:00
jenz
c8ebb1554c many updates 2022-08-09 01:39:41 +02:00
jenz
df8b451a7b added check to prevent teleport abuse 2022-08-02 14:27:20 +02:00
jenz
a3dbbfda4d reduced query time by checking for length of column, not a real long term solution but should be good enough for some years 2022-05-07 14:20:26 +02:00
christian
230fec5592 fixed table name 2021-09-25 17:16:29 +02:00
christian
4fc29f35d0 updated ip's, passwords and query for xenforo2 forum 2021-09-25 15:50:31 +02:00
christian
060fef41ad potentially fixed the cause as to why the timer sometimes just would disable 2021-07-29 15:17:49 +02:00
christian
244725c935 fixed check if player has no previous time and added check for displaying a certain message 2021-07-02 19:56:15 +02:00
christian
5849ff62ef changed how to evaluate if time is better 2021-06-30 17:42:45 +02:00
christian
adb8cc73f7 added return fix 2021-05-03 09:41:03 +02:00
christian
b857e6668d fixed client checks on triggers and added sql db check 2021-05-03 08:56:28 +02:00
christian
15c707dac8 reduced teleport check 2021-05-02 20:36:28 +02:00
christian
75d7c562d4 redid table name for update queries 2021-05-02 10:45:28 +02:00
christian
cd21fbaf56 autism bot added mask solid and racetimer wrote table names correct 2021-05-02 02:15:50 +02:00
christian
7b920741ea trying to avoid bot running over edge and trying to prevent query bugging timer 2021-05-02 00:52:51 +02:00
christian
a3a0b640d0 removed some checks 2021-04-27 19:50:16 +02:00
Christian
788feda0dd forgot to re-add the map specific stuff 2021-03-09 10:32:51 +01:00
Christian
194621764f hopefully fixed database connection 2021-03-09 10:14:18 +01:00
Christian
fcff4a1e54 cleaning datapacks and database connections and adding check for fakeclients 2021-03-08 21:47:50 +01:00
Christian
f3b7c332a5 tested on dev, could not update time properly, adding table name and removing quotes causes the update queries to work 2021-03-03 21:28:31 +01:00
Christian
5fef2ab49a weird null fix and added last row now too 2021-03-02 15:06:31 +01:00
Christian
97115f19fd should be fixed for good now 2021-03-02 12:50:08 +01:00
Christian
de116bb1da moved db connection again to try and finally avoid invalid db handles 2021-03-02 10:21:14 +01:00
Christian
49469c6b56 char queries were actually not long enough with 256 in some cases so made them 400 long to fit all mapnames lengths 2021-03-02 09:04:29 +01:00
Christian
dcfc238a8c further sql syntax fixes and reduced rows size 2021-03-02 01:24:04 +01:00