PDA

View Full Version : ElectroServer 3.6.3 Released!



webgeek
10-31-2004, 10:14 AM
Hi all! In our continuing effort to release updates to ElectroServer faster, we have just finished the latest version. Not a lot of big changes here, but a few things we wanted to clean up.


*Fixed a bug where the append attribute of the writeFile method on the PluginHelper object was ignored
*Added a warning if you havent replaced the default administrator username and password
*Added a command-line utility that allows you to start, stop/pause, shut down, and restart the chat server. This allows you to restart the server quickly when you change a script plugin. You will still need to reboot the server entirely when you change a java plugin do to the default class-loader's caching mechanisms. This will be corrected with the new plugin loader technique in ES4.
*Updated installer technology. We are now using v3 where we were on v2. While there are no immediate changes, this will allow us to add some slick features in the future (specifically a much more capable install process that lets you choose what components you want to install).


Please let us know if you have any questions or problems. Thanks!

peterblaze
11-01-2004, 08:15 AM
Hello Micheal,

I've found that small explanation is needed:

When admin tool is started one must enter port number defined in this tag:

<AdminListenPort>60504</AdminListenPort> in configuration.xml.
BTW:
Admin tool should simply read that tag from configurationn file without prompting for port

Another thought:
You can think about building GUI admin tool based on Flash Interface compiled with 3rd party wrapper such as FlashStudioPro (I think that Jobe knows what software I talk about),

Here is an example snippet which start ES instance as windowed application (in exactly the same way as "StartElectroServer.exe" does):

fspinit();
function startES() {
var myTitle:String = "Electro Server 3.6.3";
var xPos:String = "100";
var yPos:String = "100";
var myWidth:String = "500";
var myHeight:String = "400";
var appName:String = "";
var app:String = "java -cp .;ElectroServer3.jar; com.electrotank.electroserver.ElectroServer";
var startInFolder:String = fsp_appdir;
// priority - 1 = idle 2 = normal 3 = high 4 = realtime
var priority:String = "3";
// windowStatus - 1 = hidden 2 = minimized 3 = maximised 4 = normal
var windowStatus:String = "4";
flashstudio.exec_adv(myTitle, xPos, yPos, myWidth, myHeight, appName, app, startInFolder, priority, windowStatus);
}
myButton_btn.onRelease = function() {
startES();
};

That is only example code but it works on PC/MacOS,
If You decide to use e.g. FlashStudioPro for build admin tool You could then build GUI admin tool for Win and MacOS platform.,
If admin tool is based on socket connection then Flash based admin tool is very easy to do :p

regards,
Peter

webgeek
11-01-2004, 06:22 PM
Admin tool should simply read that tag from configurationn file without prompting for port It's not there simply as a matter of time. I wanted to get this out before the weekend was over. That's why it's missing some niceties (like always needing to put in a username/password). If it can read the configuration file, it could do everything for you already.


You can think about building GUI admin tool based on Flash Interface compiled with 3rd party wrapper such as FlashStudioPro (I think that Jobe knows what software I talk about), Ha ha, you read our minds. Since ElectroServer 3.4+ we have had a mostly working web-based admin up and running. There were a few low-level details in the server that needed to get sorted out before we could implement it fully. As of 3.6.3, these are in and running properly (hence the reason we implemented the CommandLineAdmin. We now need to finish up the web=based (and probably a executable version too) as soon as we get a chance. I'm hoping for the next week or so.

Thanks!