Lasko said:
I've added the BARC to my server and have written a short guide for it, I just have one problem I cant fix.
When the server starts I get an error message....
null template object for object/mobile/vehicle/shared_barc_speeder.iff
Everything loads ok and the speeder is granted, renders ok has all the correct sounds and moves ok etc. Just wondering if the message is an easy fix. I think I've checked everything but have run out of ideas.
Can anybody shed some light on what i'm missing?
#1, did you add object/mobile/vehicle/shared_barc_speeder.iff to your object_crc file? I'm guessing so or you wouldn't get it in game, but you could have replaced an existing speeder and in that case it would work, kind of.
#2, Check your LUA files. The OBJECT.LUA file is used to declare the object as it is, and should point to the shared_barc_speeder.iff. But then there should be another file in the same directory which is "yourspeeder.lua), which refactors the object path and removes the "shared_" from the iff file name. (it also changes the CRC but the CORE automatically compensates, or seems to). This 2nd file should have only "barc_speeder.iff" as it's file path as the shared_ is dropped.
#3, open up eclipse and search for the string that throwing the error and track it down. without being there it's hard for me to visualize what's going on, but I'm guessing it's either that you're not declaring your objects fully, or that the CRC is missing because you replaced an existing speeder, OR it could be that the core and iff aren't compatible on some level.
*shrug*
Best bet is to check your object codes first, verify the crc if it's a new object, and then start comparing IFF files to see if there's a versioning difference that you missed. Ultimately if it's working tho, enjoy it.
-Duff