ewardd Posted November 30, 2013 Posted November 30, 2013 Hello everyone Im trying to run compiled openjk.x86.exe and im getting "Debug Assertion Failed".Im using VS 2012It says: File: f:\dd\vctools\crt_bld\self_x86\crt\src\isctype.cLine: 56 Expression: c >= -1 && c <= 255If i press 'Skip' few times game will run and work as it must.How can i fix this? : o
ensiform Posted November 30, 2013 Posted November 30, 2013 Don't compile a debug build. Choose release from the dropdown in the toolbar. Also the assert likely means someone has an out of range character in a name or something to that effect? (A full callstack is required to determine this) What language are you running the game in? ewardd likes this
eezstreet Posted November 30, 2013 Posted November 30, 2013 Like Ensiform said, looks like a Unicode character found its way into the game. ewardd likes this
ewardd Posted November 30, 2013 Author Posted November 30, 2013 Oh yeah, it is cuz of Russian language. How can i fix this?
ensiform Posted November 30, 2013 Posted November 30, 2013 Make sure the paths you have for the game are not unicode. Assert failed isn't a crash or anything in this case (and its not even in openjk code, its in the C runtime for VS). Stop running Debug compile, use a release build instead and see what happens.
Xycaleth Posted November 30, 2013 Posted November 30, 2013 If an assertion has triggered then it's a really bad idea to ignore it, especially if it's coming from the C runtime. You probably want to go up the call stack until you reach OpenJK and see what it's calling, and with what input.
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