Jump to content
EN
Play

Forum

Error Fixes


Sabry
 Share

Recommended Posts

Hey there,

 

So let's go straight to the point , my idea would be to be able to make self-explanatory errors, as a simple explanation and trying not to be too technical, there is an error in the game when something is wrong (be it a server issue, no/bad network) and much more factors. I highly assume that those cases are forwarded to the regular error aka LostServerConnection.

My idea would be to take those error message which looks like error code messages based on experience and to specify what is exactly the issue, so in my opinion it would be easier to easily know what's wrong. I assume those are based on backend errors, which isn't something I'm really good at when it comes to coding, but (sorry if it's technical), the goal would just be to check the events linked to the error message and inform what's wrong, and for specific ones, to "parse" the error message and check what could correspond to this (close to a debug mode, but that's not exactly a debug mode).

Okay, this part starts to be a bit technical, but if you know how to code using the C language, you should easily understand what do I mean. The Tanki Online error message shown when there is an issue (the regular one) makes me think to the "Segmentation fault" error, it basically says there is a problem, but it doesn't specify which in particular (and trust me, such errors when coding is a pain). Back to the point, I believe self-explanatory errors on TO would make things easier.


And to be even more ambitious even if I don't think that point only has advantages, it may have issues which I ignore for now, but a kind of system to add on the settings to check if everything is alright, as in if you can play TO normally, such as doing a local speed test, the algorithm checking the server's state, etc...


Aight, soo if you did read till there, thanks, love ya ❤️
 

  • Like 4

Share this post


Link to post
Share on other sites

The truth is, I've thought about it sometimes to give that idea, and I think it could be very good for people who don't understand programming that much, I'm a novice and I can still understand some messages, but it would still be great to have a totally "decoded" message for people who don't understand anything

  • Agree 4

Share this post


Link to post
Share on other sites

I was fooling with this freevpn extension with chrome browser and I then tried to log into Tanki; Lostconnection error.

But then I turned the VPN off and now I can login into Tanki.  This might help some players out who can't login and never thought of this.

 

Share this post


Link to post
Share on other sites

Hmm, maybe a link to a Wiki page that explains every possible error along with the possible causes/solutions? Or, the link could take you to a specific page that explains the error you encountered...

Edited by Venerable
  • Haha 1

Share this post


Link to post
Share on other sites

On 1/15/2023 at 10:57 PM, elcatalagamer said:

The truth is, I've thought about it sometimes to give that idea, and I think it could be very good for people who don't understand programming that much, I'm a novice and I can still understand some messages, but it would still be great to have a totally "decoded" message for people who don't understand anything

Yeah, self explanatory errors are great, if we put on a side the debate about when the error itself is sometimes wrong (e.g says there is a missing ; when the truth is rather that you forgot a })

 

Then there are not self explanatory errors like "Segmentation Fault" in C, it is related to memory but not only, it can have much more reasons and you have to find that out the error by yourself by reading again and again (and again) your code till you understand the issue.

 

This error basically made me think at the one on TO as in it isn't really self-explanatory.

On 1/18/2023 at 3:01 AM, cybernite said:

I was fooling with this freevpn extension with chrome browser and I then tried to log into Tanki; Lostconnection error.

But then I turned the VPN off and now I can login into Tanki.  This might help some players out who can't login and never thought of this.

 

Indeed it can, and I would say it could count into a "known" error as in you know what's wrong but yeah, sadly much more factors could cause it, including a bad network. The issue is that you sometimes don't realise the issue is from internet (because you could assume the servers have an issue for example)

 

On 1/20/2023 at 8:27 PM, Venerable said:

Hmm, maybe a link to a Wiki page that explains every possible error along with the possible causes/solutions? Or, the link could take you to a specific page that explains the error you encountered...

Yeah, a link to the solution could be nice, not to enter into the details, this is more or less like this on some coding languages, like C, C++, Haskell, maybe Python, Lua, js, but not HTML/Css though (I know for all those languages because I practised using all of the ones I mentioned/or I am currently still learning them.) They give links about what's wrong sometimes.

  • Like 1

Share this post


Link to post
Share on other sites

Writing code more defensively helps a bit, having a script yield when it errors sometimes helps diagnose problems. Does the object exist? Is it referenced in memory? Does the script have typos?

I agree that more comprehensive error messages would be a great addition. Even for the less technical, it would be easier for the devs to diagnose the problem due to the influx of reports on several sites, if you know what I mean. No code is really perfect, but this would be useful, in my opinion.

  • Agree 2

Share this post


Link to post
Share on other sites

On 1/20/2023 at 9:30 PM, Me0w_XP said:

I once got an ArrayOutOfBounds error. As someone working in computer science, I found it absolutely hilarious.

Well, I don't know for which language for that. But for "Segmentation Fault", actually there is technically a tool that still helps you about what's wrong in your code, but not when executing your program and most of the time, the errors aren't self explanatory, just some "Invalid read size 8" and well, it could be many things tbh.

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...