Comments (4)
This is probably related to the recent commit where I split input handling out of EOCharacterRenderer and into separate game components. I've only encountered this once since that change and thought it was a fluke. I'll have a fix in for it soon.
from endlessclient.
The IndexOutOfRange exception can happen anywhere, especially on large maps! It's a time related bug. Forcing the code to wait or lag if DestX and DestY are larger than the appropriate dimension BEFORE the exception would be thrown prevents it- however this causes a lot of render issues(character disappearing and jumping back and forth), and if this happens multiple times it will eventually crash the client with no exceptions.
I'm guessing this all has to do with loading and/or downloading the map while it's trying to draw. Possibly halting the renderer for a while could solve fix it. If you are looking for a fast way to throw the exception for testing, walk into the Aeven grocer, and immediately walk out, and then walk back in. Doing this 3-4 times is a sure-fire way.
Since your last update, throwing the except seldom breaks the game unless it happens back-to-back.
from endlessclient.
I've got a better / more permanent fix that I haven't submitted yet.
The problem occurs as a result of trying to validate the 'next' tile on a walk action when the map is changing. The next tile is out of bounds of the map size - this used to be automatically checked by the way input was handled and broke since I changed it to be more modular.
I tried adding a synchronization object to prevent trying to validate the next tile while the map is updating but I think that adds too much unnecessary overhead (and it wasn't working properly anyway). I've added bounds checking for GetTileInfo that should take care of this problem in all cases.
I am currently optimizing the fix (I'm catching the IndexOutOfRangeExceptions currently and doing nothing on that error, which is a band-aid at best) and testing that it still works with the bounds checking method and then this issue should be taken care of.
from endlessclient.
Fixed in commit f00a0c2
from endlessclient.
Related Issues (20)
- Unnecessary DLLs are included in build drops
- Reports are not implemented HOT 1
- Fast NPC animations sometimes jump around
- Missing "out of drop range" chat message
- Missing sound effect when giving "safety comment" for dropping a large amount of gold HOT 2
- Implement credits/checksum generation
- Character Misalignment on Chair Without Character initially sat HOT 2
- Visual glitch with chairs facing "Up" direction HOT 2
- EHF file parsing and display
- Implement quest switcher functionality
- PVP - Visuals HOT 2
- Rendering gold for example near bank locker HOT 1
- Use and enforce "server settings" during Welcome exchange
- Send WALK_SPEC when ghosting players
- Implement "freeze" walk packets
- Admins hiding does not play effect
- Chat bugs and inconsistencies
- Changing password HOT 1
- Sound handling in EOLib
- .net 8.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endlessclient.