[Code Request] Get Points After Time is Up
#1
After playing some battles online, I realized that players don't receive points until a few seconds after they hit their opponent. This is problematic because during the last 2-3 seconds of the battle, nobody can earn any points. I was thinking of a way this could possibly be fixed, it happens way too often when I'm battling online.

My idea is: a code that allows players to earn/lose points for 2 more seconds after time runs out.

If anyone can make this code, I would really appreciate it.
Reply
#2
Isn't this cause by lag? I may just be dumb or somethin but, I'm pretty sure the point is granted once the player on the other team (who you hit) actually get hit by the item. This is why sometimes, even though you hit the player on your screen, you aren't actually hitting them. Personally, I have never had the issue of points not properly granting at the end of battles but, I don't play a lot of battles.
~MarioKartWii.com #1~
Reply
#3
(04-15-2022, 01:19 AM)TheNinjaKingOW Wrote: Isn't this cause by lag? I may just be dumb or somethin but, I'm pretty sure the point is granted once the player on the other team (who you hit) actually get hit by the item. This is why sometimes, even though you hit the player on your screen, you aren't actually hitting them. Personally, I have never had the issue of points not properly granting at the end of battles but, I don't play a lot of battles.

Yes, it's caused by lag, but even when no players have slow internet the lag is still present.
Reply
#4
That's just how the server functions. There isn't a way to modify the lag. What you could possibly do is somewhat "remake" the score system (as in, when hitting a player do += 1 to current team's score) but, that would be my best guess. (And even still, all players would need to run the code for a true experience)
~MarioKartWii.com #1~
Reply
#5
(04-15-2022, 04:43 AM)TheNinjaKingOW Wrote: That's just how the server functions. There isn't a way to modify the lag. What you could possibly do is somewhat "remake" the score system (as in, when hitting a player do += 1 to current team's score) but, that would be my best guess. (And even still, all players would need to run the code for a true experience)

I'd still think that letting the point counter continue for a few extra seconds would be possible...

The code would be for a mod I made, and everyone would be using the code.
Reply
#6
That's literally is already a thing? When the battle ends, the game accommodates for the lag and still grants points. What exactly are you trying to do? Make the players be able to get points even though the battle has ended?
~MarioKartWii.com #1~
Reply
#7
(04-17-2022, 03:04 AM)TheNinjaKingOW Wrote: That's literally is already a thing? When the battle ends, the game accommodates for the lag and still grants points. What exactly are you trying to do? Make the players be able to get points even though the battle has ended?

It doesn't give points after the battle ends, even if someone else was hit by an item 2-3 seconds before it ends. I was hit by an item right before the game ended, I didn't lose a balloon and my opponent didn't gain a point.

I want the players to be able to gain/lose points for a few extra seconds after the game ends to fix it.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)