Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
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
Christian
b5d3af6222 added squery logs, removed methods, changed alter table, fixed some qoutes probably, changed some checking with mysql 2021-02-28 23:47:41 +01:00
Christian
712ab33cb3 fixed query again with extra checks this time 2021-02-27 13:10:44 +01:00
Christian
eb9d88d94c fixed query to display toptimes correctly ingame 2021-02-27 12:48:06 +01:00
Christian
3a1e7d10f5 surpressed unimportant column exists error 2021-02-27 09:42:59 +01:00
Christian
2bd7b0cc31 fixing errors due to disconnected clients 2021-02-26 22:31:47 +01:00
Christian
277eecb4ae added default values to coloumns 2021-02-26 13:24:38 +01:00
Christian
a803cd3363 major rework of many features 2021-02-25 23:44:03 +01:00
Christian
e7930a6cd1 changed Database calls, changed timer accruacy, finally fixed escapednames 2021-01-26 19:49:43 +01:00
jenzur
3b7bf8d3f0 moved udp connection socket and fixed invalid handle probably 2020-09-23 11:48:11 +02:00
jenzur
870651e0ef small fix hopefully to error being spammed 2020-06-26 12:30:19 +02:00
jenzur
646d201025 array index issue supposedly 2020-04-15 01:00:12 +02:00
jenzur
aee9d39dde check was > but had to be < 2020-04-05 16:43:49 +02:00
jenzur
fcb11e6281 fixing up update check 2020-04-05 00:56:20 +02:00
jenzur
1e9bcdd8ca removed 2 dimensional array and instead use mysql calls
Got reported some cases of times not updating correctly, also added dev output
2020-04-04 23:56:31 +02:00
jenzur
6e4e45234b yikes 2019-09-05 23:16:38 +02:00
jenzur
23a02ceee7 !cleantime name stage added 🤷 2019-09-05 23:14:56 +02:00
jenzur
050e9438e6 not exactly what i wished to update but got asked 2019-08-19 15:32:35 +02:00
jenzur
cc2ca64ad5 minor changes for moltard 2019-08-04 15:56:53 +02:00
jenzur
452f6516aa disabling timer rather than postponning 2019-08-04 14:55:18 +02:00
jenzur
78c5249987 check was neccesary for maps with just an end zone 2019-08-04 14:42:17 +02:00
jenzur
24a3a21d55 hud client cookie 2019-08-04 12:59:39 +02:00
jenzur
00f91030f9 minor updates for the eventnotifier to run on ze again and minor adjustment for racetimer to detect teleport abuse 2019-07-25 01:31:10 +02:00