Author Topic: nested add-on?  (Read 585 times)

hello, I have a problem with Torque and the add-ons system.
I'm working on a semi-secret project, but I'm having a problem with the activation of the server.cs and the rest of the add-on.

the console.log says :
Code: [Select]
AddOnGui checking Add-On: Weapon_Beer/Weapon_Beer
    nested add-on - will not execute


if you need the whole thing, I'll post it up.

I completely changed the Datablock names, and it still doesn't work. I've made ported add-ons before, but sure enough, when I try to make one brand-new add-on, it gives me this error in the console. Any help would be appreciated.  :D
...yeah, my add-on has something to do with beer.

You probably have a folder inside the zip called Weapon_Beer. You should have all that directly in the zip:

+ Weapon_Beer.zip
+ -- server.cs
+ -- weapon_beer.cs
+ -- description.txt

I believe that shouldn't be the case. Let me check...

Nope  :o

I unzip the file with the basic unzip utility on a mac, it opens into the Weapon_Beer folder which was the zipped folder.
I have used the zip utility to package my ported vehicles and they work, but I'll try to do it without the folder.

If it opens into the Weapon_Beer folder then you have a folder inside the zip called Weapon_Beer.

I just fixed it. Thanks  :D

Yet another time I've taken the easier, wronger way to do stuff  :O  I really need to get myself into a habit.

I just fixed it. Thanks  :D

Yet another time I've taken the easier, wronger way to do stuff  :O  I really need to get myself into a habit.

On the standard Windows ZIP utility it's confusing to omit the second folder inside a ZIP.
Some things are just handicapped....

(oh yeah, I know you have a Mac)

Try using the options to select the files inside the folder to put in the zip file, rather than selecting the folder itself - otherwise it'll package that as well and cause the error.