Author Topic: Server Reload - Map Reload Glitch 75/100 Fixed - Most Glitches Fixed  (Read 4553 times)

Description:

A very, very simple script. Allows you to go into your server/config/prefs.cs file and change any preference in the file such as max bricks, lights, emitters, bots the basic stuff. Then go back in game and say /reload. Thenceforth reloading the server preference file and allowing you to do what you changed. Note that you must change the map (even just change to the same map) and then they will work. I am working on that right now.

Download:

http://localhostr.com/download/DNDbkzv/Server_Reload.zip

Known Bugs:

None at the moment.
Map reload glitch is almost fixed.

Extra Notes:

Please do not flame as not only was this testing a new script writer but also this is in beta towards a more advanced Server_Reload.

Extra Sites:

My website. Has some more of my addons and some cool stuff such as what I am working on.

https://sites.google.com/site/aplemsblweb/
« Last Edit: April 16, 2011, 04:04:08 PM by Nom|Aplem|Nom »

i love you.
now i can use that add-on loading add-on and disable stuff with this, too.




Description:

A very, very simple script. Allows you to go into your server/config/prefs.cs file and change any preference in the file such as max bricks, lights, emitters, bots the basic stuff. Then go back in game and say /reload. Thenceforth reloading the server preference file and allowing you to do what you changed. Note that you must change the map (even just change to the same map) and then they will work. I am working on that right now.

Download:

http://localhostr.com/download/DNDbkzv/Server_Reload.zip

Known Bugs:

Must change map after server reloaded.
Servers with an overload of addons may crash due to this changing server and console info so fast.

Extra Notes:

Please do not flame as not only was this testing a new script writer but also this is in beta towards a more advanced Server_Reload.

Extra Sites:

My website. Has some more of my addons and some cool stuff such as what I am working on.

https://sites.google.com/site/aplemsblweb/



Umm you can do all this in the "Advanced config" when you click start blockland. Making this server reload pretty useless.


Umm you can do all this in the "Advanced config" when you click start blockland. Making this server reload pretty useless.
The difference is you can do this all in game.

The difference is you can do this all in game.

With a chance of crashing and you must change map each time.

The other way you would need to close the server. I'll take my chances with a possibility of a crash.

The other way you would need to close the server. I'll take my chances with a possibility of a crash.

Since you close you are able to start up advance config when you're going to re-host. See what I mean?

Since you close you are able to start up advance config when you're going to re-host. See what I mean?
As far as I understood this add-on does the exact same thing while being in the server.

Allows you to go into your server/config/prefs.cs file and change any preference in the file such as max bricks, lights, emitters, bots the basic stuff.

This won't work - that's why the feature was removed from the RTB Server Control tool.

This won't work - that's why the feature was removed from the RTB Server Control tool.
Do you know why?

The enitre code is just this:
Code: [Select]
function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         exec("Config/server/prefs.cs");
}

function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         exec("Add-Ons");
}

function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         talk("Server Reloaded - Warning map must be reset!");
}

The enitre code is just this:
Code: [Select]
function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         exec("Config/server/prefs.cs");
}

function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         exec("Add-Ons");
}

function serverCmdReload(%client)
{
    if(%client.isSuperAdmin)
         talk("Server Reloaded - Warning map must be reset!");
}
Oh wow.