Chapter 6: error <41>: unable to find function
by Mike Niblett · in Torque Game Engine · 03/12/2007 (7:02 pm) · 3 replies
When I run the dedicated server code (both from my root EMAGA6 folder 9the code I have input) or from the 3D2E\resources\ch6|EMAGA6 folder (the code from the CD, now on my hard drive), i get the same error message:
Control/main.cs <41>: unable to find function InitializeDedicatedServer
the function is there (in control\server\initialize.cs), and it's spelled the same, this doesn't seem to be a data input issue ebcause it's happening in both evrsions of the code.
need some help so i can move on, thanks to any who respond!
BTW, I am using the second edition book.
BD
Control/main.cs <41>: unable to find function InitializeDedicatedServer
the function is there (in control\server\initialize.cs), and it's spelled the same, this doesn't seem to be a data input issue ebcause it's happening in both evrsions of the code.
need some help so i can move on, thanks to any who respond!
BTW, I am using the second edition book.
BD
#2
I get this from the unmodified CH6 CD files as well (there is a shortcut there with the target as "C:\EMAGA6\tge.exe -dedicated -map control/data/maps/book_ch6.mis", so i know it's not a typo on my part). Not sure what is going on.
Anyone have any clues?
03/15/2007 (7:42 pm)
OK, thanks. That seemed to fix that error, i ran the deletedsos.bat and re-ran and didn't get the function not found error. But instead, I am getting No map specified, use -map filename.I get this from the unmodified CH6 CD files as well (there is a shortcut there with the target as "C:\EMAGA6\tge.exe -dedicated -map control/data/maps/book_ch6.mis", so i know it's not a typo on my part). Not sure what is going on.
Anyone have any clues?
#3
03/15/2007 (8:01 pm)
I know there was one file in that chapter were you had to edit the script to load that map before running the server. I hope that is what your asking. like change from chapter 5 map to chapter 6
Torque Owner James W.
I am new torque script and am having a hardtime learning it.