BARC Speeder question

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
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?
 

spudinho

New Member
Joined
Nov 21, 2012
Messages
16
Hi. Sorry but i wont be able to answer your question but i was wondering what server is this? Also how do u unlock the barc IG? Is it a reward or does everyone have one?
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
This is a private development server that i'm working with.

No it is not available to anybody on the Bassilisk or Nova.
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
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
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
ROFL.......

Thank you so much Duff:)

Schoolboy error, went through your list, typo in the object.lua. Had it pointing to shared_speederbike_swoop.

Not sure how many times I checked it...... Couldn't see the wood for the trees.

Thanks again.

BTW, was a proper addition with custom tre not just a replacement.
 
Top Bottom