Gangstaz
Joined: 27th Jul 2008
Posts: 93
Error r85 crashes
Hello everytime i compile eoserv r85 i have no problem compiling and running, but as soon as i login it crashes and this appears in error.log
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Could not load file: ./data/maps/00080.emf
Could not load file: ./data/maps/00081.emf
Could not load file: ./data/maps/00185.emf
Could not load file: ./data/maps/00223.emf
Could not load file: ./data/maps/00264.emf
Could not load file: ./data/maps/00271.emf
Could not load file: ./data/maps/00272.emf
Could not load file: ./data/maps/00276.emf
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
So many people are getting this error, but I can't reproduce it.
Can you give me a better definition of "logging in"? Sending your username/ password, selecting a character, or just before you enter the game?
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
When you enter your account information then press connect, the server closes and you get the "Lost connection with the game server" message
15 years, 6 weeks ago
|
Re: Error r85 crashes
my eoserv crash Sending your username/ password
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
Could someone replace Login.cpp with this code and tell me the last number that's printed?
https://tehsausage.com/paste/Login-cpp-debug
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
process terminated with status -1073741510 (2 minutes, 0 seconds)
That what you needed? that is the last line in compiler. it compiled fine though just disconnected when i tried to log in
error log: This application has requested the runtime to terminate it in an unusual way. please contact the application's support team for information
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
xsepx posted: (22nd Mar 2009 11:10 pm)
process terminated with status -1073741510 (2 minutes, 0 seconds)
That what you needed? that is the last line in compiler. it compiled fine though just disconnected when i tried to log in
error log: This application has requested the runtime to terminate it in an unusual way. please contact the application's support team for information
No, the last number printed by all the puts() statements I added to that file =
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
Sorry for me sounding like an idiot im trying to help but, how do i check it?
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
xsepx posted: (22nd Mar 2009 11:26 pm)
Sorry for me sounding like an idiot im trying to help but, how do i check it?
By reading the output, it should go something like this
0
1
2
3
4
5 etc. etc.
Assuming it doesn't crash before reaching the login handler somehow.
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
went from 0 to 6 then said process returned 3 (0x3) execution time : 6.599 s
press any key to continue
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
xsepx posted: (22nd Mar 2009 11:38 pm)
went from 0 to 6 then said process returned 3 (0x3) execution time : 6.599 s
press any key to continue
Interesting, does creating a new account also kill the server?
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
i'll check, then edit this message
Edit: I filled out the info, it says accounted accepted and it starts creating it, it gets close to the end then closes, so yes it does.
15 years, 6 weeks ago
|
Sausage
Administrator
Joined: 26th Jul 2008
Posts: 1346
Re: Error r85 crashes
xsepx posted: (22nd Mar 2009 11:41 pm)
i'll check, then edit this message
Edit: I filled out the info, it says accounted accepted and it starts creating it, it gets close to the end then closes
Alright, I found a buffer overrun in hash.cpp - try replace hash.cpp with this code and tell me if it solves the problem: (I have a good feeling)
https://tehsausage.com/paste/hash-cpp-fixed
15 years, 6 weeks ago
|
xsepx
Joined: 11th Mar 2009
Posts: 350
Re: Error r85 crashes
Nope, still disconnecting after the someone enters their info and presses connect
15 years, 6 weeks ago
|
Calamity
Joined: 19th Mar 2009
Posts: 35
Re: Error r85 crashes
Yup, still disconnects. After i input the user and pass, then click the Connect button, it just crashes. =(
15 years, 6 weeks ago
| | | | | | | | | | | | | | | |