Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BARC Speeder question
#1
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?
 
Reply
#2
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?
 
Reply
#3
This is a private development server that i'm working with.

No it is not available to anybody on the Bassilisk or Nova.
 
Reply
#4
(2013-11-24, 10:20 AM)Lasko Wrote: 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
 
Reply
#5
ROFL.......

Thank you so much DuffSmile

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.
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)