Tremulous Forum
General => General Discussion => Topic started by: Paradox on March 20, 2007, 12:50:27 am
-
I stardted development to ease the task of creating and managing an admin.dat. It is currently non-functional, only a gui, but I will continue to work on it. If it is beyond the scope of the language, or time, i will drop it, but i do not plan to. Here are some dev shots so far:
(http://img299.imageshack.us/img299/5738/tremadminviewdc8.th.jpg) (http://img299.imageshack.us/img299/5738/tremadminviewdc8.jpg)
(http://img19.imageshack.us/img19/6470/addlvldialgpx4.th.jpg) (http://img19.imageshack.us/img19/6470/addlvldialgpx4.jpg)
-
Looks nice.
I'm assuming C# (or other .net) so no linux version?
One thing, some mods add new flags for there commands.
It would be nice if the list of flags was in a file so it could be customized easily, and would be more future proof.
-
Will this be editable through server via rcon :D
My host won't give me Ftp :cry:
-
its local, has to open/generate file.
Its actually visual basic, since i dont want to fuck around too hard with c# for a small project.
As for mods adding flags, they can be entered into the permissions field on the dialog, the text one. The checkboxes will tie to the field, and populate it, but the field is what gets parsed to the data.
-
Damn, if you ever release the source I might try to translate it to python. Then again the last time I read some Vb I nearly killed myself.
-
its local, has to open/generate file.
Its actually visual basic, since i dont want to fuck around too hard with c# for a small project.
As for mods adding flags, they can be entered into the permissions field on the dialog, the text one. The checkboxes will tie to the field, and populate it, but the field is what gets parsed to the data.
Awes, Good work though :wink:
-
bah, stupid microsoft coding :| it would be nice if it worked for linux too as I think more than half of the servers runs on linux.
-
Doesn't Real Software have a MSVB to Real Basic converter? RB compiles to Linux.
-
just use mono.
-
As i said, this is about on the middle-back burner, and i dont even know if i get it done. I could build the interface, then upload the prj file for someone else to use.
-
it would be cool if you managed to also make it so this could be implimented to a website for better administration. :) Or, so it will connect to a server somehow and drag the necessary things from the admin.dat (and of course, you'd need to have a username and password). then you could assign rights and the such.
-
it would be cool if you managed to also make it so this could be implimented to a website for better administration. :)
Now THAT is a project.
phpTremAdmin :p
Some cool config tool for admin.dat, server.cfg and all that.
-
If I can get the time I'm sure that I could write something in QT. Aparently there is libraries that can be installed so that it can be compiled in Visual Basic.
Time is a precious commodity though
-
it would be cool if you managed to also make it so this could be implimented to a website for better administration. :)
Now THAT is a project.
phpTremAdmin :p
Some cool config tool for admin.dat, server.cfg and all that.
I'v got something like that, web editing for the files and such, :)
-
Yea, i have an ajax text editor, but nothing complicated.
We could work with some people, i know some tools from the DoJo toolkit that could be used.
-
Wow This looks really nice...
-
just use mono.
DON'T WANT
-
umm.. I'm not trying to troll here but I don't really understand the purpose of this program. Why ? What's wrong with Notepad/PsPad/UltraEdit/vi/vim/jed/kate/gedit/etc ? If I find the reason strong enough I might make a php/gtk front end to edit it.
-
OMG! its a text configuration file!!! *noob dies from shock*
Some people are just thick.
Those people shouldn't have access to a server, but sadly some do.
-
Wait,
are you seriously trying to tell me I have to edit some wierd .dat file manually using notepad? I dont get it. It's not a .txt so how do you expect me to open and change what's inside? How will I know what to do?
Thank god paradox has made this tool, otherwise I would never be able to do anything to my admin.dat
Good thing he made it in Visual Basic too, that way I can be sure that when my friend sends me the file (admin.vbs) I can rest assured it's safe and sound to run as administrator on my computer.
Thanks so much for your hard work paradox!
Khalsa
(no Really[/i])
-
I'm not trying to troll here but I don't really understand the purpose of this program. Why ? What's wrong with Notepad/PsPad/UltraEdit/vi/vim/jed/kate/gedit/etc ?
Why is because some people find it difficult to remember what a few dozen symbols stand for. What's "i" mean? It means "!listplayers"... not exactly intuitive.
-
Its here for many reasons:
[list=1]Why is because some people find it difficult to remember what a few dozen symbols stand for. What's "i" mean? It means "!listplayers"... not exactly intuitive.
- Easier to search through admins
- Easier to search through bans[/list:o]
While yes you can edit a dat file in any text editor, this is a tool to provide assistance. While it isnt he most powerful tool for the job (imagine building a whole site in emacs), it is the WYSIWYG tool, the simpler interface that doesnt have access to all the features, but provides quick and easy access to most of them. Even if you dont use it pro actively, you can use it to look up what flag does what.
-
Why is because some people find it difficult to remember what a few dozen symbols stand for. What's "i" mean? It means "!listplayers"... not exactly intuitive.
wget -qO - http://tjw.org/tremulous/ADMIN.txt |grep whatever
Easier to search through admins
grep -C 5 -B 0 "\[admin\]" .tremulous/base/admin.dat |grep whatever
Easier to search through bans
grep -C 8 -B 0 "\[ban\]" .tremulous/base/admin.dat |grep whatever
GUIs start failing at a few hundred records. Grep and VIM don't mind.
-
the censorship department will only let you continue if you make a mac port!
-
Why is because some people find it difficult to remember what a few dozen symbols stand for. What's "i" mean? It means "!listplayers"... not exactly intuitive.
wget -qO - http://tjw.org/tremulous/ADMIN.txt |grep whatever
Easier to search through admins
grep -C 5 -B 0 "\[admin\]" .tremulous/base/admin.dat |grep whatever
Easier to search through bans
grep -C 8 -B 0 "\[ban\]" .tremulous/base/admin.dat |grep whatever
GUIs start failing at a few hundred records. Grep and VIM don't mind.
Then why do you even bother to use a gui? Why not switch to solaris, if a console does everything you need? Why was it such a revoloution when xerox PARC and apple developed the first computer gui system? Why doesn't the world still use DOS and UNIX for everything. Because GUIs are more human. Yes they are limited in some ways, but they are more human.
-
The point was more that this is something that doesn't benefit from a GUI.
wget -qO - http://tjw.org/tremulous/ADMIN.txt |grep whatever
Humans are very bad at mechanical translation. Computers are very good at it. grep can find where the flag is described (or better yet, defined), but it can't translate the human form of a bunch of commands into the cryptic version for your flag string.
The optimal solution is probably a single web page with a dumb little Javascript and a bunch of check boxes.
-
Then why do you even bother to use a gui?
I don't. I use X server just to watch videos, play Tremulous, and view websites that don't like Links. I do everything else in a few terminals and GVIM instances.
Why not switch to solaris, if a console does everything you need?
Because I use Gentoo Linux.
Why was it such a revoloution when xerox PARC and apple developed the first computer gui system? Why doesn't the world still use DOS and UNIX for everything. Because GUIs are more human. Yes they are limited in some ways, but they are more human.
Not at all.
CLI magic: shell programming
Monday March 15, 2004 (09:00 AM GMT)
By: Joe Barr
Shell programming? I can hear it now. "Barr, you're a lunatic! This time you've gone too far! Noobies will never, ever, under any circumstances, grok shell programming!" I don't blame them for feeling that way. I was a doubter myself until I saw it with my own eyes. But because I have seen it, and others (http://osnews.com/story.php?news_id=6282) have as well, this week we're going to jump in the middle of that pond and see who can swim and who can't. ... (http://docs.linux.com/article.pl?sid=04/03/11/1426214&tid=89&tid=14)
grep can find where the flag is described (or better yet, defined), but it can't translate the human form of a bunch of commands into the cryptic version for your flag string.
Should I waste an hour writing perl script that will turn a few descriptive words into that cryptic flag string?
-
GUIs start failing at a few hundred records. Grep and VIM don't mind.
time for an upgrade?
-
Should I waste an hour writing perl script that will turn a few descriptive words into that cryptic flag string?
No, but should you waste an hour trying to turn a few descriptive words into that cryptic flag string when someone else wasted an hour of their time writing a perl script to do it for you? :wink:
-
When will this tool be ready to be released?
-
I promise nothing.
If i cant make it parse them, i can at least make it create them.
-
Old topic, but while researching I come across this.
What ever happen to this tool?
-
It is yet another topic which i lost interest to.
Also, you wouldn't want it, it was in Vb. :(
-
Ahh, I understand. Okay thanks.