Author Topic: I need Add-on loader.  (Read 3050 times)

Title.
I know that add-on loader can load add-ons in-game. But where i can get it? I found in swollow's addon archive this:
Support_DediLoader.zip
It sounds familiar to Add-on loader for me, because of 'Loader' part and 'Dedi' part. Dedicated Add-on Loader?

Dediloader is to load saves on Dedicated servers, without having to upload the save.
(only saves on the BL server can be loaded, not from your client.)

Even if such add-on does exist, it would be very buggy and only 40% of the add-ons would actually load properly and not crash any other people on the server.

It depends on the kind of add-on you want to load. There is no way to do this automatically.

Doing this can be very buggy, I recommend not doing it on a hosted server, since it requires all the users to have the add-on.
Code: [Select]
exec("Add-ons/*/Server.cs");transmitDatablocks();Replace the * with the name of the add-ons, minus the .zip.
This goes inside the console, which you can bring up with the ` key, located below ESC, and to the left of 1/!.
The reason the other users have to have the add-ons is because they need the datablocks/files, and it will kick them out if someone equips the item.
Now, if its simply a script or something, its fine to use it inside a hosted server.

Doing this can be very buggy, I recommend not doing it on a hosted server, since it requires all the users to have the add-on.
Code: [Select]
exec("Add-ons/*/Server.cs");transmitDatablocks();Replace the * with the name of the add-ons, minus the .zip.
This goes inside the console, which you can bring up with the ` key, located below ESC, and to the left of 1/!.
The reason the other users have to have the add-ons is because they need the datablocks/files, and it will kick them out if someone equips the item.
Now, if its simply a script or something, its fine to use it inside a hosted server.
Also as an extra precaution, type in the console clientCmdMissionStartPhase3(); after you type in the exec command

Badspot

  • Administrator
Ctrl+A -> Game Mode -> Custom -> check add-ons -> "Select >>"
(server restarts)

You do have to save and reload bricks, but this is the only reliable way to do this. 

Ctrl+A -> Game Mode -> Custom -> check add-ons -> "Select >>"
(server restarts)

You do have to save and reload bricks, but this is the only reliable way to do this. 
I was on Daniel.S's server and he loaded add-ons when server was hosted. Even when people didn't had the add-on.

I was on Daniel.S's server and he loaded add-ons when server was hosted. Even when people didn't had the add-on.

It is possible, but it is not recommended.

Loading an add-on during gameplay is not something that can be made to work reliably.  It may seem like it is working because the local host is more forgiving, but it will cause random crashes for remote clients.  It destabilizes the whole game because the engine is not meant to work this way.  Do not make or release things like this.



BUT i want!
No amount of begging will make people want to do things for you that Badspot has said not to do. If you read that post at all, you would know why it's an issue.

It is possible, but it is not recommended.


You said it is possible.

No amount of begging will make people want to do things for you that Badspot has said not to do. If you read that post at all, you would know why it's an issue.

You said it is possible.

I also said it is not recommended. As in "you can do this but you shouldn't".

You can't even do it for most add-ons.

You can't even do it for most add-ons.
Locking. You guys are unbelievable to not answer my question.