Register  |  Home  |  Chat   |  ArmaBrowser  |  HowTo  |  Wiki  |  ServerStats  |  Donate  |  Forum  |  MapTools  |  Servers  |  Log in 
Forums
Information Desk
Latest News
Round Table
Servers
Trainees
Challenge us!
Off Topic

Clan Information
Public Clan Information
Active CTers+Trainees
All CTers+Trainees
Inactive CTers
CTers Earth Map
CT Groups
CT Medals
Armahacktron Wiki
Forum Ranks
Won/Lost Battles

Servers and Maps
ArmaBrowser
BFC New Ladder
CT Server Ladders
CT Mayhem Ladder
CTWF New Ladder
CT Server Maps
Flower Power Sumo Assault
Map Tools
Want to help? Donate

Jumble
Home Forum
Calendar Chat Messenger IRC
Forum Members
Links FAQ
News View Online

Search

Advanced Search

User Block
Username:

Password:

 Remember me



I forgot my password

Don't have an account yet?
You can register for FREE


Reply to topic
 Call the cops!! Newbs are invading 
Friend
CT Rank: Not a CTer
Field's place: attack
Grid Name: flea |DpG|
GID: flea@ct/public
CT Wild Fort Rank: na
Joined: 28 Apr 2006
Posts: G3616 Posts
Location: /bin/sh
Reply with quote
i dunno what is with the latest generation of "degenerates" but its getting very hard to enjoy a good couple of rounds lately. 9/10 times lately it seems that the ppl who really want to play are outnumbered by either a noob who just installed the game, and is clue-less or some annoying punks! you've all had to see them, imposters, constant-polling etc etc.

i admit, i will tk/poll-kick in a HEARTBEAT if i catch such a person. i dont hesitate! they waste bandwidth (which most claim its too laggy anyways!) and these people are honestly just in the way! i know im not ct or admin or run the server or anything, but heck, I LOVE to compete there! just making a public call to clean those kidz out! ppppllleeeeaaaasssssseeee Smile

_________________
http://respwn.us
View user's profile Find all posts by flea Send private message Visit poster's website
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place: defense
Grid Name:
GID: loops@ct/senior
CT Wild Fort Rank:
Joined: 10 Apr 2006
Posts: 5136181 Posts
Location: france
Reply with quote


i agree

_________________
http://www.myspace.com/loopsdesign25
View user's profile Find all posts by loops Send private message Visit poster's website MSN Messenger
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
I know the server can be a nightmare at times.
When there's a good crowd there it's a great server, a lot of fun.
But can quickly fill up with noobs and morons who spoil it for the rest of us.

I don't mind the noobs so much, if they're willing to listen, we all start somewhere, but the morons?
Not sure what the solution is there. If I'm (or another admin) there I can kick them, but they'll still come back.

With the open nature of the game, I'm not sure what we can do.

If you have any solution idea's, let me know.
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place: defense
Grid Name:
GID: loops@ct/senior
CT Wild Fort Rank:
Joined: 10 Apr 2006
Posts: 5136181 Posts
Location: france
Reply with quote
the solution is :
one server : wild fortress for noobs and one with password access
it's an invasion !
noobs dont listen how to play.
and many players are really agressive.
Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Mad Mad Mad

_________________
http://www.myspace.com/loopsdesign25
View user's profile Find all posts by loops Send private message Visit poster's website MSN Messenger
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
loops wrote:
the solution is :
one server : wild fortress for noobs and one with password access
it's an invasion !
noobs dont listen how to play.
and many players are really agressive.
Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Mad Mad Mad


That's a damn fine idea. Had the same one myself.

If we could set up a php/mysql frontend for people to register at this site.

Then the map_rotate bash script runs to query this database. If people are noobs/nobs they can be easily removed from this database.

A lot of work, but I can see it working.

On the Noob version there could be a text line saying "If you want to play advanced wild fortress first register at tron.pla...."

The advanced version could have more complicated maps (that I've left out due to noobs too easily spoiling them)
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place:
Grid Name: Racer
GID: PTA@ct/jedi
CT Wild Fort Rank: na
Joined: 12 Apr 2006
Posts: 8T36317 Posts
Location: Stuttgart, Germany
Reply with quote
The PHP/MySQL Frontend is no problem, as I said, I can do this very easily. But I don't knwo how you want to check the users through an bash script....kick all who aren't in the database?

_________________
Think different. But think!
View user's profile Find all posts by PTA Send private message ICQ Number
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
PTA wrote:
The PHP/MySQL Frontend is no problem, as I said, I can do this very easily. But I don't knwo how you want to check the users through an bash script....kick all who aren't in the database?


I can't remember the exact syntax, but you can query a mysql database from bash. It is a bit dirty though.
Would be far better off converting the current map_rotate script to a php script as it works so much better with mysql. Have far more freedom to do other things.

Could happily store map data in the database, make adding/amending maps so much easier. Such a hassle at the mo.
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place:
Grid Name: Racer
GID: PTA@ct/jedi
CT Wild Fort Rank: na
Joined: 12 Apr 2006
Posts: 8T36317 Posts
Location: Stuttgart, Germany
Reply with quote
Sure, but atm I don't know what the map_rotate file really does and how it interacts with the game-config. If you give me short information about that, I can try to write a PHP Script.

_________________
Think different. But think!
View user's profile Find all posts by PTA Send private message ICQ Number
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
PTA wrote:
Sure, but atm I don't know what the map_rotate file really does and how it interacts with the game-config. If you give me short information about that, I can try to write a PHP Script.


The script is here:

http://tron.plantpeanuts.co.uk/viewtopic.php?t=42

It basically reads the tron log file:

/usr/local/var/games/armagetronad-dedicated/log/armagetronad.log

as the server writes to it.

if it reads "[0] Go (round 10 of 10 )"

for instance it knows that round 10 is about to start therefore get the maps ready for round 1.

it then chooses a map at randon and writes:

MAP_FILE ed/fortress/pillar-0.0.6.aamap.xml
ROUND_CENTER_MESSAGE Round 1 - Pillar"

to /usr/local/var/games/armagetronad-dedicated/var/everytime.cfg

since tron server reads everytime.cfg file and applies any settings to the next round.

The script is abit longer now (you know where to find it) but the way it works is the same.
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place:
Grid Name: Racer
GID: PTA@ct/jedi
CT Wild Fort Rank: na
Joined: 12 Apr 2006
Posts: 8T36317 Posts
Location: Stuttgart, Germany
Reply with quote
ok, theres a problem:
PHP is not a good tool to work with files as streams. In fact, you either open a file for reading or writing and then you close it. I don't know a fuction that is similar with the tail-command for the map-rotating-script. One suggestion from me: a bash script, thats reads the log-file line for line (like now) and everytime a new line appears, it executes the php-file with the line as variable. Is that possible, bash-scripting-guys? If it is, then, the PHP-Script can analyse the line and write something in the everytime.cfg, this won't be a problem.

edit: another question: when does armagetron read the everytime.cfg? Cause I have to know for kick-commands, etc. at which moment the script has to write the commands in the file and when to delete them.

_________________
Think different. But think!
View user's profile Find all posts by PTA Send private message ICQ Number
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
PTA wrote:
ok, theres a problem:
PHP is not a good tool to work with files as streams. In fact, you either open a file for reading or writing and then you close it. I don't know a fuction that is similar with the tail-command for the map-rotating-script. One suggestion from me: a bash script, thats reads the log-file line for line (like now) and everytime a new line appears, it executes the php-file with the line as variable. Is that possible, bash-scripting-guys? If it is, then, the PHP-Script can analyse the line and write something in the everytime.cfg, this won't be a problem.

edit: another question: when does armagetron read the everytime.cfg? Cause I have to know for kick-commands, etc. at which moment the script has to write the commands in the file and when to delete them.


I'm no master of PHP, but this solution seems viable.

Tron server reads everytime.cfg at the end of each round.
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place:
Grid Name: Racer
GID: PTA@ct/jedi
CT Wild Fort Rank: na
Joined: 12 Apr 2006
Posts: 8T36317 Posts
Location: Stuttgart, Germany
Reply with quote
Ok....I've already converted and tested the mapcycle-script, so now I need the bash script which sends the every new log-line to the php-script.
Now it'll be very easy to play matches because we can chosse between different profiles - if we have the exact nicks of all players we can easily deny others to join or kick them.


Last edited by PTA on Mon May 01, 2006 7:29 pm; edited 1 time in total

_________________
Think different. But think!
View user's profile Find all posts by PTA Send private message ICQ Number
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
PTA wrote:
Ok....I've already converted and tested the mapcycle-script, so now I need the bash script which sends the every new log-line to the php-script.


Well done. Let us see what you have, the bash side should be pretty simple.
Have you got the map names stored in a mysql database?
View user's profile Find all posts by ed Send private message
  
Crazy Tronner
Honorary Member
CT Rank: Not Ranked
Field's place:
Grid Name: Racer
GID: PTA@ct/jedi
CT Wild Fort Rank: na
Joined: 12 Apr 2006
Posts: 8T36317 Posts
Location: Stuttgart, Germany
Reply with quote
All done, as I said, I only need the bash-backend Smile
For now, I don't want to post the script code because of possible errors.
Let's test it first some time, add some features Wink

_________________
Think different. But think!
View user's profile Find all posts by PTA Send private message ICQ Number
  
Jedi
Crazy Tronner
Server Tech
Honorary Member
Ladle, 1x (Amount: 1) Map Maker (Amount: 1)
CT Rank: Not Ranked
Field's place: sweeper
Grid Name: ct-eddie
GID: ed@ct/jedi
CT Wild Fort Rank: na
Joined: 22 Mar 2006
Posts: 1X9362493 Posts
Location: Wales, UK
Reply with quote
ok, untested, but this would probably work.

Code:
#!/bin/bash

while true
 do
 line=""
 read line
 ./script.php $line
done



where script.php is the name of the php script and $line would be the argument passed to it, in this case each line of the log file.
View user's profile Find all posts by ed Send private message
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 vote in polls in this forum
All times are GMT  
Page 1 of 2  

  
  
 Reply to topic  Post a reply  

free counters