PDA

View Full Version : New to C4.. Looking 4 Server knowledge...



theG
08-17-2004, 04:43 AM
First of all thanx for all your help and info on my questions and thanx for having this place... :)
I know some people hate answering newbies. Plus they seem to ask the same questions over and over. But I searched threw the forums. Some of my questions I had in my head I didn't not find exact answers...

1. Any other server programs you suggest that will help in hosting the game. Also why would they be of help...

2. Is 4 players the MAX you can play on C4 COOP & the rest to?

3. By installing the maps to the C4 folder and just hosting the game. Will the player made maps cycle with the original game maps also? I want to be able to cycle all the maps. Can I select certain maps while in the game in multiplayer? Like cmd line codes?

4. I see when I select server and host the game. It only has 3 open slots. Why is this, when it says 4 players? I have a possible 6 players who want to play. there gonna get the game. So I wanna be able to have 6 and not 4. My connection is adsl and good upload speed 1mb...

5. My other online buddies want to join in on the game. But not go threw novalogic and join straight into the game. By simply typing in a IP address. How do you go about doing this in C4? Is there a seperate prorgam that allows this?

6. I also notice C4 isn't that stable. I can't play the game in max graphics. I have to play in normal or some times the game CTDs. I have a 3.4ee intel/ 2gb ddr2 ram/ raptor HD 74gb/ fx5950 256mb/ asus mb/winxp pro/ SB audiogy 2zs/ 6 90mm case fans. Is there a casue to this and a cure? Also can you push the resolution even higher then 1024x768?

7. Anything else you would like to add on the game. Little tid bits of info are good sometimes :)

(edit) OPS almost forgot this question...

8. Do all the players who join my server have to get the same maps prior to joining the server? Or does the server upload the maps to them automaticly?

_______________________________________________


Thank You sir or Ma'am for all your effort and time....

Reaper
08-17-2004, 05:10 PM
Man lots of questions Lets take them 1 at a time

#1 not really a server manager, If you want to host 4x tem play, koth games then use Banes utility to set the koth timer and set up some of the ops. The game has a 8h bug that can be fixed with auto explode.

#2 No each game type has it's own player limit.

#3 having the custum maps in the root folder while the stock maps are in the pff file can cause the server to crash when the map rotates from custum to stock or vice versa. Place all the maps all in one or the other all in the same place ie place them all in the pff or all maps in the root folder and deleate the maps in the pff.

#4 if your playing coop your the 4th player. If you want to play coop with more players make a team death match map and objectives to it. Not perfect but it's the closest you will get pass word the server and have everyone join the same color.

#5 direct ip does not work. However when the other players join the server through nova, after they enter the server they are dropped from the nova feed at your server ie if it's the shortest ping time you want it doesn't matter, The server contacts with nova again to reenter the players in the server for the next game.

#6 C4 uses a lot of resources. Yours look fine tho I would check what else is running in the back ground that is using you ram up. You can use a program called {End it all} to shut down stuff you don't need also a dedicated server will run better than a play and server.

#7 this is my C4 information site you will find alot of info there http://webpages.charter.net/die/c4/c4.htm

#8 Players do not need custum maps to play them on your server unless you mod the game and change things like wac files. In that case they would need what ever files you changed to see and hear the things you changed.

rommel
02-11-2009, 08:11 PM
Hey reaper you seem to know a fair bit about c4 server. Do you have a list of ~commands and what they do. Also how do I stop players with certain alliases from signing on to my sever. Do you know where I could get some documentation on the c4 server? :help:

Bluetiereign
02-11-2009, 08:44 PM
Wow.. look at the date of that post. Has it been that long ?

Reaper
02-11-2009, 09:42 PM
It has been so long since I was involved in C4, I don't remember the commands, Rab and I tested a bunch maybe he remembers them. There is a command you add to the command line after creating a short cut to the games exe file that will list the commands. I just don't remember what it was.

As for control over who enters your server, we used a ban text file created with a command to block players by IP address. I don't think it worked using a players call sign. If I remember correctly you could only create the ban text file in version 1.5, then place it in the version 2 root folder. Maybe when Rab reads this he can add some more info.

The ban would not work on players who have their IP address change after a reboot.

as for the commands some were, and I am not sure these are typed correctly but test them and you will find out.

~punt# used to punt a player by his player number
~ban# ban a player by his player number
(dont type # put the player id number in place of the #)
~netdelay create a net delay to help with lag
~puntrck used to set some sort of delay used to help with CIs , we used it about once every ten mins or so

~bantext ok not sure if this is correct or not - used to create the ban text file in version 1.5

there were also some commands used to test the server but i don't remember them.
Any way try these and see what happens.

RAB
02-12-2009, 10:51 PM
LOL I'm in the same place as Reaper on this one. It's been so long since I done anything with C4. I do know the banlist will keep in C4 for version 2.0 as long as it's set up properly. Just don't remember exactly how I did that before. You might try getting with Phaser. I had helped him set his up on a server a while back. I believe he still runs his server and should have the information you need.

Rotor6
02-28-2009, 10:37 AM
First let me say Thanks... to all of you "Old" Pilots.. LOL who continue to keep your memory banks loaded with C4 data.. Without you, trying to fix some of these "new" (old) issues & discoveries would be like pullin teeth.
As far as server and game commands... Avenger posted a list of commands for C4 in here somewhere. But for general use.. the list Reaper gave you is good... with some exceptions.
The command to punt, ~punt #, needs to have a space between the ~punt and the # (remember that the number is the player number on the player list) This process is also necessary for ~ban #.
The command ~puntcrc is the correct spelling for clearing net back logs. Here's a quote from Google on it.: PUNTCRC clears leftover packets which is useful in clearing up some connection problems...and that netdelay ##(where ## is the value you wish to use) is used to slow, or speed up, the server to enable all players to recieve data in a more timely fashion.
Unfortunately.. some bonehead has aslo posted it as a cheat code.. LMAO and you know which on gets more posts??... Yep.. the cheat listings SAD!!
This (legal) operation, is also a built in action of the C4GET Player Manager Program.. available for your down load in the download section of checkpointdelta.net .. LOL Now back to the program...
Most times you will see a screen note that says NETDELAY... that is the server side of this.. and ~puntcrc is a user side command. The two do not interact and no matter what you do.. you cannot cause a netdelay action on the server, from the player side.. When you enter ~puntcrc correctly you will see a series of numbers in the bottom right side of your screen.. If you don't, you won't ... Do it again Johnny LOL
BAN Text.. the current "name only" ban text works if it is properly put together.. The best way to "create" one, is to add a BLANK notepad(.txt) file to your game folder. Then begin by punting your friends to get the data on the list.. Once you see how the game enters the data, you can start entering the data you want (dont forget to take your friends off, or they may not be friends for long LOL)... but be careful with the spacing! You must be exact or it will cause the game to dump everytime you try to start it. Remember that you must save the data BEFORE you close the server by entering ~save (I think that is right?) from the server side command window. If you dont, all the data you captured will be lost. If I could find Avenger's notes I could verify this one...and post it or send it to you. Keep in mind that this only blocks by name. The IP blocking part of this is a different animal and will cause you days of frustration and system dumps...so best to leave that one alone. We never did get it to work.
The only other way to ban by IP, is to get a program that lets you capture and block IP's. Peer Guardian is one.. It lists all IP's in the server, including the operator and the server's ip.. If you have issues with a certain IP (pilot), you can trace back (in the logs) to the time and date they were there, and see them and the folks they were flying with. Then you need to be a detective of sorts, to figure out who's IP belongs to whom... Once you find the subject IP, you can ban or block it by using the tools within the PG program (or just track the IP, to an email account and send them a nasty note) Once you confirm that you got the right guy, block his ass.. Also, keep an IP list of ALL the IP's that cause issues, so when you get an alias, you can check the list and see who it really is. We found that some do it just to fly in peace.. others to stir crap. PeerGuardian works very well when properly applied, just ask the two South American hackers. LOL
I hope this has helped. If I find Avengers notes I'll get them out where all can see them (again).

They're buried in this forum some where.. Where's that search link..:crazy257.gif:

See ya in the skies..

Bluetiereign
02-28-2009, 12:37 PM
Not Avenger's list... but here are some more: LINK (http://www.checkpointdelta.net/showthread.php?p=17520#post17520)

Knuckles
02-28-2009, 06:12 PM
Here are the one's I have found.

~puntcrc (see R6 post above-client & server)
~netdelay (see R6 post above-server only)
~bozo (blocks text chat from offending player- client)
~punt (punt player- server only)
~puntlog (creates a log file in c4 folder of players punted- serve only)
~ban (ban player- server only)
~banlog (creates a log file of players banned- server only)
~exit (leave mission)
~quit (shut down game)
~savescores (save the scores of players in each map- server only)
~talkred (server text to red team only- server only)
~talkblue (server text to blue team only- server only)
~resetgames (reloads the game- client & server)
~lastgame (ends mission and closes server when mission time expires)

rommel
03-06-2009, 12:05 AM
Thank you guys, if anyone any one know how to get the ip address of the players it would be appreciated. Is there is a command that gets the ip address of players? As far as banning certain names I know one server that will not allow any one to sign in as griffon but not sure how it was done.

Rotor6
03-06-2009, 07:29 AM
Rommel
Please see the notes above about BAN TEXT.. and IP blocking, Its there

rommel
04-17-2009, 04:12 AM
Hey Rotor do you know how to prevent the EFRAM bug in a c4 server. :alcoholic.gif:I noticed other servers prevent the first 12 stingers from doing any damage. Would like to block that bug on my server :comeandgetsome.gif:

Rotor6
04-17-2009, 07:00 AM
The EFAM bug fix is built into the GET Host Manager. If you are running it and you see 8AP, HE and DE146.. Then 8h AutoPunt is running, altitude imiting is running, and EFAM Fix (DE146) is running. If not, get a copy of the GET Host Manager and install it on your game server.

rommel
06-14-2009, 05:45 AM
I have noticed that some times there will be numbers, varying, instead of names while in server mode. Most distressing how do you switch back to player names.

Knuckles
06-14-2009, 07:24 AM
I have noticed that some times there will be numbers, varying, instead of names while in server mode. Most distressing how do you switch back to player names.

Use the Enter key to switch it back to players name.

Rotor6
07-03-2009, 09:14 AM
update...

After messing with Ban.txt a bit more, I see the we missed a few steps. First, when you ban someone, for example.. ~ban 01 (dont forget the space between ban and the player number). Once you ban, you have to save.. so before you shut the server down, dont forget to do ~save. This saves it to the list and once the restart is done, you will see the name of the pilot listed on your ban text. You will also see his IP... YEP.. IP
I was messing with it the other day, and banned myself to check the list. I found there was no entry for me, but it kept on blocking me. I did a server reboot and when the list came up.. it had my name and IP... I cleared that and hit SAVE (dont forget to save!!!) and all was good again...
But knowing that it will actually log IP's is new to me. We had fought with it before and had given up on using it as an IP blocker... but now that I understand (better) how it works, it works well...
SO.. Moral of the story.. Dont forget to do ~save after you ban someone.. and remember that you must restart the server to see the name (and IP) on the list... and once you edit your list.. dont forget to SAVE IT before you close it...and make a back-up copy...
ALSO, if you mess with it, and your server fails to start... take it out.. and restart the server. Bantext will cause immediate sysdumps if the editing is wrong, generally if you screw up the spacing... Fix it before you use it again... if it still fails.. use your back up copy to compare spacing and entrys.

Good Luck