About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
JIT error
Author Message
Dwight Offline
Member

Post: #1
JIT error
Good morning!

Once again, I have gotten myself into trouble. This time, while changing this code:
PHP Code:
Game::World.init      (                  )
              .
setObjType(Players,OBJ_PLAYER)
              .
setObjType(Statics,OBJ_STATIC)
              .
setObjType(ObjParticles,OBJ_PARTICLES)
              .
setObjType(ObjLightPoint,OBJ_LIGHT_POINT)
              .New       (
ChrData.world()->worldDir()); 

from game.cpp to main.cpp (also moving from preInit() to Init()) just like in the tutorial: Teleport, I have gotten a "Just-in-Time Debugging error" when I try to run the game, right at the start-up (thus, source does compile).

I have googled for an explanation, though I cannot seem to find one, and if I use the search here, I come up with my own topics...

Attached is an image with the error.

End result should be: teleport should work.


Attached File(s) Image(s)
   

SnowCloud Entertainment - We are recruiting!
http://www.sc-entertainment.com
02-14-2011 07:45 AM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #2
RE: JIT error
I did a quick Google search and you probably came across this already but have you tried switching user accounts, or making sure that the user account has enough permissions (cmd etc)?

http://msdn.microsoft.com/en-us/library/...71%29.aspx

edit: re-read the error and realized you have a different one from the link i sent you.. whoops smile
But i don't know.. try to enable the just-in-time debugger from visual studio and see what happens haha
(This post was last modified: 02-16-2011 03:19 AM by Dandruff.)
02-16-2011 03:12 AM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #3
RE: JIT error
I did... Nothing happened :(

SnowCloud Entertainment - We are recruiting!
http://www.sc-entertainment.com
02-18-2011 05:00 PM
Find all posts by this user Quote this message in a reply
Post Reply