Game Development Community

Is the book code a different version than the 1.4 i have?

by Sean Brockest · in Torque Game Engine · 02/10/2007 (7:17 am) · 2 replies

I've been doing the book examples, and they all work in the book code environment (ch3 link, ch4 link) but if i try to import it to my working environment, i get massive strings of errors, over and over, until i close the program

tutorial.base/server/animshape.cs (32): Register object failed for object (null) of class Item.
Set::add: Object "0" doesn't exist
tutorial.base/server/animshape.cs (36): Unable to find object: '0' attempting to call function 'setTransform'
Inserting Shape 0
tutorial.base/server/animshape.cs (48): Unable to find object: '0' attempting to call function 'getTransform'
tutorial.base/server/animshape.cs (75): Unable to find object: '0' attempting to call function 'setScale'
tutorial.base/server/animshape.cs (76): Unable to find object: '0' attempting to call function 'setTransform'

repeat the last 3 lines over and over and over

#1
02/24/2007 (4:58 pm)
Okay, let me ask a more specific question. What version was in use at the time this book was written?
#2
02/24/2007 (5:18 pm)
Probably 1.3 or 1.4.

all these errors seem to stem from the fact you're addressing an object that couldn't be created. perhaps you could post the code from the area of line 32 in that cs file.