Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 16:42

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: ventrcon
PostPosted: 08 Jun 2008 22:50 

Joined: 09 Apr 2008 08:06
Posts: 66
Location: USA
i must say u did a great job with this :P keep up the wonderful awesome work luigi!!!


Top
 Profile  
 
 
 Post subject:
PostPosted: 08 Jun 2008 23:11 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
yes, I think ventrcon is very useful for the admins.
For example all the /chan commands were just a suggestions of an admin who uses it in version 2.x, so now that it works on 3.x too there are no other limits.


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 20:14 

Joined: 09 Jun 2008 18:15
Posts: 3
This really is a great tool, although small side note i was trying to play a joke on my friend who's vent server i am admin on, i was going to rick roll him through TTS in the rcon, i originally tried to send the song threw a text file using the -f switch but this just played every line as a huge jumble of nonsense, i tried putting it all in one line but its way to long, and proceeding to fail, i couldn't find a way to pause between commands, the only way i found it possible was to make a batch file, and each time running ventrcon.exe with the -c "tts SOMELYRICS", but this would occasionally skip lines, and was fairly slow. any ideas? my thought was to have the /rcon TTS command have a sleep(3) or something after each use. unfortunately your C code is a bit over my head and i don't quite know how to do this.


Top
 Profile  
 
 Post subject:
PostPosted: 09 Jun 2008 23:28 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I have never used the TTS command, I will take a look to it tomorrow


Top
 Profile  
 
 Post subject:
PostPosted: 10 Jun 2008 17:20 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I have tested the tts command (which is just "tts text") with both 2.3 and 3.02 servers through ventrcon just in this moment and worked perfectly:

ventrcon -a adminpass -c "tts hello" 127.0.0.1
ventrcon -a adminpass -f list_of_commands.txt 127.0.0.1


Top
 Profile  
 
 Post subject:
PostPosted: 13 Jun 2008 20:22 

Joined: 09 Jun 2008 18:15
Posts: 3
the command works fine but because TTS has a word length limit, when i would have a list of TTS commands like
TTS SOMEWORDS
TTS SOMEWORDS
..etc

in my .txt document that it was reading, they would basically all go at once, and all you get is jibberish, i just thought there might be an easyer way with ventrcon, instead of the normal way with lots of copy and paste.


Top
 Profile  
 
 Post subject:
PostPosted: 14 Jun 2008 10:29 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
uhmmm there is something I miss.

So at the moment ventrcon execute each command included in the file line per line which is normal:

Code:
RCON: ID 8, '' issued 'tts first'
ADMIN: Server TTS message sent by '' was 'first'.
RCON: ID 8, '' issued 'tts second'
ADMIN: Server TTS message sent by '' was 'second'.
RCON: ID 8, '' issued 'tts third'
ADMIN: Server TTS message sent by '' was 'third'.


what I don't understand is how you would send these rcon commands.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron