mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
fix me being drunk
This commit is contained in:
parent
c128941bac
commit
5725506549
@ -74,6 +74,7 @@ General
|
||||
- [x] Migrate DBI to the 1.7 transitional syntax.
|
||||
- [x] Migrate events to the 1.7 transitional syntax.
|
||||
- [x] Migrate ADT_Arrays to ArrayList.
|
||||
- [ ] Support "out of the box" installations (SQLite).
|
||||
|
||||
Core
|
||||
--
|
||||
@ -83,6 +84,7 @@ Core
|
||||
- [x] ~~Make a global enumerator/variable with per-style settings (bitflags)~~ - configs are canceled, just recompile the plugin with your own edit of `shavit.inc`.
|
||||
- [x] Add unranked styles.
|
||||
- [x] Add a setting to not start timer if Z axis velocity is a thing (non-prespeed styles).
|
||||
- [ ] Add speed reset at timer start.
|
||||
- [ ] Measure strafe count/sync, also have it in the Shavit_OnFinish forward.
|
||||
- [ ] Add native that will execute threaded MySQL queries and allow callbacks - including safety checks, to prevent error spams. (Migrate DBI to new syntax first!)
|
||||
- [ ] Add bonus timer.
|
||||
@ -194,6 +196,7 @@ World Records
|
||||
- [x] Show map rank on finish.
|
||||
- [ ] Add strafe sync to the WR menu where available.
|
||||
- [ ] Calculate points on the fly (sub-menu) instead of grabbing them from `playerpoints`.
|
||||
- [ ] Add `sm_recent`.
|
||||
- [ ] Add `sm_bwr` `sm_bonuswr` `sm_bonusworldrecord`.
|
||||
- [ ] Use unix timestamps for future record dates.
|
||||
|
||||
|
||||
@ -529,7 +529,7 @@ public void Player_Jump(Event event, const char[] name, bool dontBroadcast)
|
||||
|
||||
public void Player_Death(Event event, const char[] name, bool dontBroadcast)
|
||||
{
|
||||
int userid = event.GetInt(GetClientOfUserId(userid));
|
||||
int client = GetClientOfUserId(event.GetInt("userid"));
|
||||
|
||||
ResumeTimer(client);
|
||||
StopTimer(client);
|
||||
|
||||
@ -748,8 +748,7 @@ public bool ReplayEnabled(any style)
|
||||
|
||||
public void Player_Event(Event event, const char[] name, bool dontBroadcast)
|
||||
{
|
||||
int userid = event.GetInt("userid");
|
||||
int client = GetClientOfUserId(userid);
|
||||
int client = GetClientOfUserId(event.GetInt("userid"));
|
||||
|
||||
if(IsFakeClient(client))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user