Author Topic: add-on won't show up in game. [FIXED]  (Read 2145 times)

Ugh, A .zip archive.
It's execing, so it is in a .zip.

Code: [Select]
Loading Add-On: Weapon_Scepter
Executing Add-Ons/Weapon_Scepter/server.cs.
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterItem: ShapeBaseData: Couldn't load shape "Add-Ons/Weapon_Scepter/shapes/scepter.dts".
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterImage: Unable to load shape: Add-Ons/Weapon_Scepter/shapes/scepter.dts.
6 datablocks added.

Notice where it says Weapon_Scepter/shapes/scepter.dts?
Notice how you don't have a shapes folder in your .zip?

Two ways to fix this.

Either place the two folders inside a folder called shapes in the .zip.
Or, you can change the shapefile = " whatever you put in here";
to
shapefile = "./scepter.dts";
in both the item and the image.

Boom ninja distraction!

It's execing, so it is in a .zip.

Code: [Select]
Loading Add-On: Weapon_Scepter
Executing Add-Ons/Weapon_Scepter/server.cs.
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterItem: ShapeBaseData: Couldn't load shape "Add-Ons/Weapon_Scepter/shapes/scepter.dts".
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterImage: Unable to load shape: Add-Ons/Weapon_Scepter/shapes/scepter.dts.
6 datablocks added.

Notice where it says Weapon_Scepter/shapes/scepter.dts?
Notice how you don't have a shapes folder in your .zip?

Two ways to fix this.

Either place the two folders inside a folder called shapes in the .zip.
Or, you can change the shapefile = " whatever you put in here";
to
shapefile = "./scepter.dts";
in both the item and the image.

._. Soooooo I have to:

1. make a file containing the .dts and name it shapes

or

2. change the name of the shapefile
« Last Edit: February 07, 2009, 10:46:00 PM by gamefandan »

Thank you chrono you are a pure genius. Although I've now discovered that it has absolutely no color, doesn't show up in my hand, makes no sound, is HUGE, and doesn't really do anything. But at least I can see those problems now :D

Here is what I found in the console:
Code: [Select]
Loading Add-On: Weapon_Scepter
Executing Add-Ons/Weapon_Scepter/server.cs.
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterItem: ShapeBaseData: Couldn't load shape "Add-Ons/Weapon_Scepter/shapes/scepter.dts".
Add-Ons/Weapon_Scepter/server.cs (0): preload failed for scepterImage: Unable to load shape: Add-Ons/Weapon_Scepter/shapes/scepter.dts.
6 datablocks added.

From looking at this it might actually be a problem with the model. But I don't know what's wrong with it.


THERE IS NO SHAPE!

Ugh, A .zip archive.
I've never had any of the Add-Ons I've made in zip archives until I upload them. Blockland will recognise "Weapon_Scepter.zip" exactly the same as a folder named "Weapon_Scepter". All that matters is the contents. (server/client.cs, description.txt)

THERE IS NO SHAPE!

ahem, it says [FIXED] for a reason although i do need more help here you are not helping at all i already fixed that problem