Author Topic: Multi-threaded Admin Client Beta[w/source][Alpha Linux Port]  (Read 9186 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Multi-threaded Admin Client Beta[w/source][Alpha Linux Port]
« on: September 05, 2007, 12:15:44 am »
So, I finally got a beta version of my admin client whipped up; it will probably crash, but it's a beta, it's expected.

So far, featurewise, it's similar to ARSSE, except it's multithreaded so it runs much smoother even if you are connected to 10+ servers simultaneously.

Has some basic Lua scripting built in, but not much has been done with it yet.

Try it out, let me know if you find bugs, comment on the horrible GUI, etc.

Edit: Updated version in http://forums.soldat.pl/index.php?topic=19882.msg287128#msg287128
Edit: Alpha Linux version in http://forums.soldat.pl/index.php?topic=19882.msg293963#msg293963
« Last Edit: February 29, 2008, 06:36:29 pm by chrisgbk »

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Multi-threaded Admin Client Beta
« Reply #1 on: September 05, 2007, 04:40:26 am »
Interesting, me test this :)

*Looks nice, found a few bugs. You use irc ? I am at #lrs most of the time. Find me and I'll help you by reporting bugs :)
« Last Edit: September 05, 2007, 04:56:55 am by Leo »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Multi-threaded Admin Client Beta
« Reply #2 on: September 05, 2007, 05:07:36 am »
Or you can just talk to him in #soldat.devs rather than advertising your channel

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Multi-threaded Admin Client Beta
« Reply #3 on: September 05, 2007, 05:19:09 am »
LoL. I was making a new admin client too.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Multi-threaded Admin Client Beta
« Reply #4 on: September 05, 2007, 05:30:06 am »
Or you can just talk to him in #soldat.devs rather than advertising your channel
I am not advertising my fucking channel, it was a simple post. Stop seeing everywhere bad intentions ffs...  ::)

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta
« Reply #5 on: September 05, 2007, 04:05:45 pm »
Interesting, me test this :)

*Looks nice, found a few bugs. You use irc ? I am at #lrs most of the time. Find me and I'll help you by reporting bugs :)

I can idle in there, but would prefer bugs be reported here, since I'm more likely to see them and I don't have to be physically here to be able to catch them being reported.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Multi-threaded Admin Client Beta
« Reply #6 on: September 05, 2007, 04:26:41 pm »
Development stuff should be in #soldat.devs, that way others can learn about it at the same time.

chris, are you going to share the source of this?  More importantly, will you consider writing it in other languages that are a bit more non-windows friendly?  Or, can you compile it with Kylix at some point(s) ?

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta
« Reply #7 on: September 05, 2007, 06:18:51 pm »
Development stuff should be in #soldat.devs, that way others can learn about it at the same time.

chris, are you going to share the source of this?  More importantly, will you consider writing it in other languages that are a bit more non-windows friendly?  Or, can you compile it with Kylix at some point(s) ?

I will probably release the source at some point, probably being when I stop working on it. As for porting it, that's a large task for something like this due to it being multi-threaded since it uses all the delphi units, and not WinAPI, which makes it much harder to port.

If someone can FIND me Kylix, I can compile with it; the problem is that it's impossible to find since Borland completely discontinued it; even in torrents.

I would be interested to know how well, if it all, it runs under WINE.
« Last Edit: September 05, 2007, 06:25:10 pm by chrisgbk »

Offline Ride

  • Soldier
  • **
  • Posts: 199
    • NA Soldat Clan Website
Re: Multi-threaded Admin Client Beta
« Reply #8 on: September 05, 2007, 06:48:40 pm »
*someone none important posts*

Hey I downloaded it and Im going to use this now for my server(s) For the future.
Ill go to #soldat.devs if i find any problems though

Ingame Name: TC ~ Ryde.Lf ~
Past Clans: ^Re/ ~ -eO:

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Multi-threaded Admin Client Beta
« Reply #9 on: September 06, 2007, 06:59:49 am »
Well I found a kylix 3 update, on an old pc  2 weeks ago, if you have an old version of kylix you may be able to install it. There are old versions of kylix (found version 1) just try get them with emule. And I'll give you the update.
Rules
Tools: ARSSE - SARS - SRB - chatMod

Offline KeFear

  • Soldier
  • **
  • Posts: 181
  • ARSSE Creator
Re: Multi-threaded Admin Client Beta
« Reply #10 on: September 06, 2007, 12:59:16 pm »
Nice, good job on multi-threading, i haven't tested it with 10+ servers, only a few at the same time.
Hope i can make mine multi-threaded also ;)

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta
« Reply #11 on: September 12, 2007, 06:52:07 pm »
Source code. Feel free to do whatever you wish with it, just give me credit for anything you use. If you need help with some part of it, send me a PM, try to hunt me down in IRC, add me to MSN, whatever works for you. Email is probably a poor choice, so avoid using that.

PS: I hardly commented anything, since I wasn't planning on releasing it yet, but thought I may as well do it anyhow.

Edit: See below.
« Last Edit: February 06, 2008, 09:02:55 pm by chrisgbk »

Offline bja888

  • Flagrunner
  • ****
  • Posts: 745
  • Working
    • Bja888.com
Re: Multi-threaded Admin Client Beta
« Reply #12 on: September 12, 2007, 09:55:57 pm »
So far, featurewise, it's similar to ARSSE, except it's multithreaded so it runs much smoother even if you are connected to 10+ servers simultaneously.

Is that the only place or reason it is multi-threaded? Its for sure the easiest implementation. I've been tossing around the idea of having the net communication on a different thread then the gui.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta
« Reply #13 on: September 12, 2007, 10:42:00 pm »
So far, featurewise, it's similar to ARSSE, except it's multithreaded so it runs much smoother even if you are connected to 10+ servers simultaneously.

Is that the only place or reason it is multi-threaded? Its for sure the easiest implementation. I've been tossing around the idea of having the net communication on a different thread then the gui.


Every server runs on it's own thread, so they all run independantly of each other.

There is also another thread for scripting related stuff to prevent the server threads from freezing while processing.
« Last Edit: September 12, 2007, 10:54:17 pm by chrisgbk »

Offline BurnedKirby

  • Major(1)
  • Posts: 39
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #14 on: September 27, 2007, 06:21:35 pm »
Tried this admin client. Apparently it hates my computer. When I tried running it, it took 50% of my cpu to run it and it froze when I tried to log it into my server. So yes there is a bug, but I'm not sure what it is...

I guess I'll still be stuck with SARJ for a while. (Dont talk to me about ARSSE. I've had enough problems with it already.)
« Last Edit: September 27, 2007, 06:29:15 pm by BurnedKirby »

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #15 on: September 27, 2007, 09:55:41 pm »
My computer thinks ARSSE is a trojan, does it have a trojan?
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline Hydro

  • Major(1)
  • Posts: 31
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #16 on: October 14, 2007, 11:53:51 am »
Very nice but you could in server info timelimit/3600 ;]

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #17 on: October 14, 2007, 08:59:48 pm »
Very nice but you could in server info timelimit/3600 ;]

It was a proof of concept, and at a fairly early stage, to allow people to try it out. It was never intended to be a proper full admin program yet.

Offline Ninja80p

  • Major
  • *
  • Posts: 96
  • "Lol, Dragonball Z reference"-Valorman
    • PortalNexus
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #18 on: October 15, 2007, 08:31:32 pm »
looks good keep up the good work!
Christmas Update!!! (finally eh?)
Ninja80p's Comics

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Multi-threaded Admin Client Beta[w/source]
« Reply #19 on: February 06, 2008, 09:01:56 pm »
Update:

- Fixed high CPU usage when servers aren't connected.
- Fixed servers not disconnecting.

Source, as well as binary: