Kajamaz Posted July 16, 2012 Author Share Posted July 16, 2012 Alot of my users get it ingame some times when fighting a monster, sometimes for no reason at all :0This is one that a user got recently ingame and took a screeny of…![](http://everember.ucoz.com/_fr/1/4402257.png)Please help! Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 16, 2012 Share Posted July 16, 2012 I have never heard of this occurring in the default Eclipse source code. What source edits have you added? Link to comment Share on other sites More sharing options...
abhi2011 Posted July 16, 2012 Share Posted July 16, 2012 Not much. Just walkthorugh player. Why does it occur? It happens in crystalshire also. Link to comment Share on other sites More sharing options...
Kajamaz Posted July 16, 2012 Author Share Posted July 16, 2012 The server also crashes, gives runtime error 9 script out of range and one runtime error 11 divide by zero Link to comment Share on other sites More sharing options...
Jacquelinett Posted July 16, 2012 Share Posted July 16, 2012 Did you add flash support to the game? Link to comment Share on other sites More sharing options...
Kajamaz Posted July 16, 2012 Author Share Posted July 16, 2012 Flash support? Link to comment Share on other sites More sharing options...
Kajamaz Posted July 17, 2012 Author Share Posted July 17, 2012 Reply Please! Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 17, 2012 Share Posted July 17, 2012 Enable Debug=1 in the client's config.ini. Then tell us what "data files\logs\errors.txt" says. Link to comment Share on other sites More sharing options...
Kajamaz Posted July 17, 2012 Author Share Posted July 17, 2012 @Soul:> Enable Debug=1 in the client's config.ini. Then tell us what "data files\logs\errors.txt" says.Well i personally have never gotten it, and these errors also appear on the servers, those crash the servers and we need those fixed, Next version we will release it with enable debug on which is in a day or two and we will reply as to what we find. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 17, 2012 Share Posted July 17, 2012 @Kajamaz:> Well i personally have never gotten it, and these errors also appear on the servers, those crash the servers and we need those fixed, Next version we will release it with enable debug on which is in a day or two and we will reply as to what we find.If it crashes the server you can enable debug for the server as well.Again, I've never seen this before. I have seen automation errors that crash the client, but never ones that crash the server as well. I'm trying to do my best to help you diagnose the issues. Link to comment Share on other sites More sharing options...
JohnPony Posted July 18, 2012 Share Posted July 18, 2012 > The server also crashes, gives runtime error 9 script out of range and one runtime error 11 divide by zeroThis is most likely occurring because for some reason, somewhere in you're code its attempting to divide "11" by "0", which can't be done in Visual Basic 6 and will return the error you are getting.Try and figure out why the number 11 is being divided by equals 0\. A quick fix would be to check if the variable is greater then 0, and if not exit the sub/function.Example:```If X > Then```Or```If X = 0 Then Exit Sub```Although, that is a great check to leave in the code. But you are going to want to further investigate this and find the source of the error. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 18, 2012 Share Posted July 18, 2012 @General:> This is most likely occurring because for some reason, somewhere in you're code its attempting to divide "11" by "0", which can't be done in Visual Basic 6 and will return the error you are getting.> > Try and figure out why the number 11 is being divided by equals 0\. A quick fix would be to check if the variable is greater then 0, and if not exit the sub/function.> > Example:> ```> If X > Then> ```> > Or> > ```> If X = 0 Then Exit Sub> ```> Although, that is a great check to leave in the code. But you are going to want to further investigate this and find the source of the error.Runtime error 11 literally means "Division by Zero". It does not indicate that 11/0 is being called. In fact, -1/0, 0/0, 5/0, etc., will all produce the same error.My idea is to use the Debug feature (or VB6, but the Debug feature is easier) to pin-point the cause of error. Link to comment Share on other sites More sharing options...
Kajamaz Posted July 18, 2012 Author Share Posted July 18, 2012 @Soul:> If it crashes the server you can enable debug for the server as well.> > Again, I've never seen this before. I have seen automation errors that crash the client, but never ones that crash the server as well. I'm trying to do my best to help you diagnose the issues.How do i enable server debug, sorry, i dont know how or where? Link to comment Share on other sites More sharing options...
Exception Posted July 18, 2012 Share Posted July 18, 2012 You don't, errorhandlers were never inserted into the server (Unless if you've already done it, or are using a version that's done that).You're just gonna have to run it in the VB6 IDE, and try and recreate what caused the error. Once you do that, you can find out exactly what's causing RTE 11, add an If x = 0 Then Exit Sub check before it, and that side of the issue should be perfectly fine.As for RTE 9, somewhere, you're most likely attempting to load/reload bad data, for example, you're loading a mismatched item structure.As for the client automation error, are you using FMOD by any chance? Because clearly it's not a DX matter, the client's loaded, and I know that FMOD has the funny tendency to occasionally unload incorrectly, at the wrong time. If not, it's still most likely a sound issue, either way, as DS7 in the legacy EO had a few sound issues, too.As for the server automation error, I have no idea. Link to comment Share on other sites More sharing options...
abhi2011 Posted July 18, 2012 Share Posted July 18, 2012 Server never got Automation. No we aren't using fmod.dll (it is not there in the folder so i am guessing it is not used.) I 2 think it is sound. I never got it in the game and I haven't put on music and sound.P.S the automation occurs on Crystalshire 2. Link to comment Share on other sites More sharing options...
Jacquelinett Posted July 18, 2012 Share Posted July 18, 2012 If i remember correctly, back then I had faced an automation error like this, but it was because of flash support. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 18, 2012 Share Posted July 18, 2012 @TheChoosenOne:> Server never got Automation. No we aren't using fmod.dll (it is not there in the folder so i am guessing it is not used.) I 2 think it is sound. I never got it in the game and I haven't put on music and sound.> P.S the automation occurs on Crystalshire 2.You said the server received an error. Can you run the server through VB6 and tell us what that error is? Link to comment Share on other sites More sharing options...
JohnPony Posted July 18, 2012 Share Posted July 18, 2012 @Soul:> Runtime error 11 literally means "Division by Zero". It does not indicate that 11/0 is being called. In fact, -1/0, 0/0, 5/0, etc., will all produce the same error.> > My idea is to use the Debug feature (or VB6, but the Debug feature is easier) to pin-point the cause of error.duck… I know that, i misread his initial error message, i thought it returned 11/0. Link to comment Share on other sites More sharing options...
Master oF Chaos Posted February 4, 2013 Share Posted February 4, 2013 > Enable Debug=1 in the client's config.ini. Then tell us what "data files\logs\errors.txt" says.hey thanks for tell me that to fix client is to go in the client file and then to config.ini file thanks to you i can make my mmo thanks so much Link to comment Share on other sites More sharing options...
abhi2011 Posted February 4, 2013 Share Posted February 4, 2013 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now