SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What does a GP need
#16
Quote:"cp -sR /home/master/css/* /home/user/server/css"
That just links every thing below the folder CSS right?

This command line app should be able to do all the junctions for you: http://technet.microsoft.com/da-dk/sysinternals/bb896768.aspx

Also what app is it you start on the remote machine? If it is not to advance I might be able to make you a windows version.
Reply
#17
Its not that much. It contains only strings, parsing and sending some commands. Its written in bash. example code (here I get the files from serverdirs users need to have as real files and pass the data in an array) :
Code:
for FILES in $(find -type f -name "*.vdf" -o -name "*.cfg" -o -name "*.gam" -o -name "*.txt" -o -name "*.log" -o -name "*.smx" -o -name "*.sp" -o -name "*.db"); do
    FILEFOUND[${#FILEFOUND[*]}]=$FILES
done

The cp -sR command copies folders rekursiv. -> "R" parameter
Instead of copy the files the "s" parameter tells the cp tool to create a symlink to the file. If a file already exists it won´t be replaced with a symlink.
That is why I copy files that need to be editable first and do a cp -sR later.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#18
ahhhh. Well if you setup NTFS Junctions you can't select what files that is linked. Either you like the folder or not....
Reply
#19
So just another case where
Code:
$fail=windows;
if (!$fail=="") {
exec('rm -rf /');
echo "Problem solved";
} else {
echo "good choice";
}


EDIT:
I guess we were mislead in our search. A symlink is no junktion. Windows support symbolics links since Vista and Windows Server 2008

I Just found this on german wikipedia:
Code:
c:\>mklink "C:\EinLink.pdf" "D:\EinDokument.pdf"
c:\>mklink /d "C:\Neues Verzeichnis" "D:\Pfad\Reales Verzeichnis"
c:\>mklink /d "C:\Netzwerkshare" "\\meinserver\meinshare"

So it is possible.
We would need to list all fodlers and subfolders with their files. That output into a loop. In the loop copy folders and files users shall edit and create links for the rest of the files.

"dir /S" would list all stuff for example
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#20
is there download link ?
Reply
#21
It is not ready yet and so there is no download link.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#22
ok bro thanks good luck !
Reply
#23
Thanks.

I updated the first post to show some progress.
For example i added pictures of the addon/mappackage managing which is pretty much done and another to show how a user can get the bootlog from the server.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#24
They look's SEXY^^

when you have it finished ?

it's going to be open source or private?



sorry4myenglish
Reply
#25
I hope it will be sone possible to release it into puplic. But all I can say is it is done, when it is done.
But I made some larger progress and optimised some parts, worked out errors and so on. I reworked large parts of the root admin part and still need to do this for the rest of them. Not because it does not work. Just because I thought to complicated and the interface becomes easier to use and maintain if I apply the changes.

Regarding licencing: It wont be open source like GNU but I have not figured yet how I will do this exactly.

Ps: updated the first post.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#26
Updated the first post and added current screenshots of the panel

I am thinking of throwing the top menu out and use only the one of the left side. What do you think about that idea?

Some new details:

The panelpaswords are hashed and salted for better security. Building rainbowtables to a flexible salt should consume pretty much time if an attacker gets his hand on the database.

You can define userpermissions for admin and useraccounts. Only useraccounts are allowed to have gameservers.
From the users perspective you will have following overview:
[Image: user_overview.jpg]

The user can set up his startmap, which gametype to run, if gameswitch is active, view the first 100 lines from the console for debugging and manage serveraddons. Of course he can stop/(re)start the server.
If you allow it he can start a process that matches custom files with his fastdownload space. With srcds servers the files will be uploaded as *.bz2.

There is no direct control of the things users can do from the rootadmin part. Instead you can switch to a user from parts like gameserverlist, userlist and so on. I did that to have less code. An example can be seen here:
[Image: gserver1.jpg]

All servers will be installed as gameswitch servers. If more than one servertype is installed for the same port the user can decide which game should run and switch between the games.

Servertools, addons and mappackages can be set up either for a servertype like srcds or for a specific game. That way there is not need to maintain a servertool like sourcemod for different games:
[Image: addons1.jpg]

Combined with a cronjob there is a check for every x minutes, which checks for dead servers and restarts them if they are down. Of course deactivated servers/users will be left out at that check.

Checks for updates can be automated via cronjobs too. If you do not want to wait if an update comes out you can run the updates by hand:
[Image: master1.jpg]

For connecting the panel to rootservers you have the choice between passwords and keys:
[Image: root1.jpg]
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#27
Quote:view the first 100 lines from the console for debugging

You sir have made me smile Big Grin

However this is linux, so I'm sad.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#28
Big Grin Big Grin Big Grin You are awesome Big Grin will it be in full english in the end?
~ trewq
Reply
#29
Looks very nice, yah to bad it aint for windows, but if it is running pure console commands on the slaves, then i might try and trick it when it is done.
Reply
#30
(03-08-2011, 06:04 PM)Goilio Wrote:  Big Grin Big Grin Big Grin You are awesome Big Grin will it be in full english in the end?

Thanks.

It is already completely translated with my crappy english.

Currently I am awaiting a russian and spanish translation from native speakers.

The multilanguage system uses language arrays. Each submenu has its own language file and array. Also I have one general with words often used.

Splitting makes it easier to translate and you have less code/arrays that needs to be processed.

If a user logs in the panel looks if a language is stored for him. If not it autodetects his browserlanguage and stores it as his language if it is available.
If not the default language will be used.

If a language file is missing the panel will try loading the file from the default language.

Of course the user can change the language at any time.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)