Tge not running and code problems.
by Anthony Pesce · in Torque Game Engine · 03/12/2007 (1:15 pm) · 4 replies
I was using this book as a reference for a friend at first and then i decided i was going to go through it since tourqe seemed interesting.
1 ) tge.exe doesnt run, i tried everything and i got nothing.
So i downloaded a demo of tge from garagegames. This fixed the problem for one chapter.
Now im at a point in the book(emaga4), were it says you have to run tge in emaga4, but that tge doesnt run? What should i do? I tried demo.exe and it still didnt work.
The error mesages i got from the engine went in this order
My computer(pent3)
error alocating memory
failed to initialize
error shutting down
and then finnaly i dont get anything
friends computer(better graphics card,ram,ect)
the screen flashes by and nothing
2) When i would coppy codes from the book, some of them seemed off. Such as $ was after the variable. is this normal with the coding(sorry im very foreigh with tourqe and its exeptions)? Also when i would do 51y=ect, it would say error, when i took away the first numbers, it finaly worked. Why?
Thanks alot for helping if you do? If you know of another place i can consult with the problem that would be good as well(I tried course technologies and nobody knows).
1 ) tge.exe doesnt run, i tried everything and i got nothing.
So i downloaded a demo of tge from garagegames. This fixed the problem for one chapter.
Now im at a point in the book(emaga4), were it says you have to run tge in emaga4, but that tge doesnt run? What should i do? I tried demo.exe and it still didnt work.
The error mesages i got from the engine went in this order
My computer(pent3)
error alocating memory
failed to initialize
error shutting down
and then finnaly i dont get anything
friends computer(better graphics card,ram,ect)
the screen flashes by and nothing
2) When i would coppy codes from the book, some of them seemed off. Such as $ was after the variable. is this normal with the coding(sorry im very foreigh with tourqe and its exeptions)? Also when i would do 51y=ect, it would say error, when i took away the first numbers, it finaly worked. Why?
Thanks alot for helping if you do? If you know of another place i can consult with the problem that would be good as well(I tried course technologies and nobody knows).
#2
Im not running it off a cd.
Thanks for the clarification(Then why does he use numbers infront of his variables?)
I ran tge again and got "Problem allocating memory. Shuting down"
I ran, demo.exe(guy at course technology said move it there(emaga4), to try)) and it said "Fatal error, tourqe is already in use, shuting down"
Thanks for the very fast answer.
Once again sorry for the realy dumb statements(i should have reread that, before posting).
03/12/2007 (3:32 pm)
Realy sorry about that, (blinding with the obvious).Im not running it off a cd.
Thanks for the clarification(Then why does he use numbers infront of his variables?)
I ran tge again and got "Problem allocating memory. Shuting down"
I ran, demo.exe(guy at course technology said move it there(emaga4), to try)) and it said "Fatal error, tourqe is already in use, shuting down"
Thanks for the very fast answer.
Once again sorry for the realy dumb statements(i should have reread that, before posting).
#3
03/12/2007 (3:39 pm)
Read the console.log and see where the engine errors out. It seems to not be shutting down cleanly and leaving an instance in memory (so it cannot start a new one).
#4
Thanks once again for the speedy reply.
03/12/2007 (3:48 pm)
I just did that and it said, "A sharring violation occured". What should i doThanks once again for the speedy reply.
Associate David Montgomery-Blake
David MontgomeryBlake
The $ on the variable lets the scripting engine know that it is a global. It should be at the beginning, however. $variable for a global variable and %variable for a local one.
The problem with 51y is that identifiers must start with a letter.