Pages: [1]
  Print  
Author Topic: Error connect to server  (Read 14617 times)
[snif]
Nub


Cakes 1
Posts: 19


« on: April 19, 2009, 10:19:22 AM »

   
Hello All, I am using debian 5.0 Lenny. I installed the package openarena-server. First, I use a standard configuration file q3config_server.cfg, take a look
Code:
// generated by quake, do not modify
seta net_socksPassword ""
seta net_socksUsername ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksEnabled "0"
seta net_noudp "0"
seta sv_strictAuth "1"
seta sv_lanForceRate "1"
seta vm_ui "2"
seta vm_game "2"
seta vm_cgame "2"
seta com_introplayed "0"
seta com_ansiColor "0"
seta com_blood "1"
seta com_maxfps "85"
seta com_altivec "0"
seta com_hunkMegs "128"
seta sv_hostname ""
seta sv_maxclients "16"
seta sv_minRate "0"
seta sv_maxRate "25000"
seta sv_minPing "0"
seta sv_maxPing "150"
seta sv_floodProtect "1"
seta sv_fps "40"
seta sv_dlURL ""
seta sv_master2 ""
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""
seta com_zoneMegs "24"
After I run in console openarena-server I get the logo
Code:
snif@snif-desktop:~$ openarena-server
ioq3+oa 1.35 linux-i386 Sep  7 2008
----- FS_Startup -----
Current search path:
/home/snif/.openarena/baseoa
/usr/share/games/openarena/baseoa/pak7-patch.pk3 (12 files)
/usr/share/games/openarena/baseoa/pak6-misc.pk3 (204 files)
/usr/share/games/openarena/baseoa/pak5-TA.pk3 (15 files)
/usr/share/games/openarena/baseoa/pak4-textures.pk3 (1720 files)
/usr/share/games/openarena/baseoa/pak3-music.pk3 (1 files)
/usr/share/games/openarena/baseoa/pak2-players.pk3 (610 files)
/usr/share/games/openarena/baseoa/pak2-players-mature.pk3 (234 files)
/usr/share/games/openarena/baseoa/pak1-maps.pk3 (89 files)
/usr/share/games/openarena/baseoa/pak0.pk3 (988 files)
/usr/share/games/openarena/baseoa

----------------------
3873 files in pk3 files
execing default.cfg
execing q3config_server.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: snif-desktop.snifer
Alias: snif-desktop
IP: 127.0.1.1

It shows that the server running on localhost. When I try to connect to it does not. Help me
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #1 on: April 19, 2009, 10:33:07 AM »

You will as a minimum need to define a map to play on. Like: "openarena-server +map oa_shine"

Look at (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers for a more complete server config.

There has been talk in the Debian about providing a default sample configuration but currently it doesn't.
Logged

There are nothing offending in my posts.
[snif]
Nub


Cakes 1
Posts: 19


« Reply #2 on: April 19, 2009, 10:43:01 AM »

I can use the configuration from the example of article ((DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers)?
Logged
[snif]
Nub


Cakes 1
Posts: 19


« Reply #3 on: April 21, 2009, 05:21:14 AM »

   
I was able to configure the server but now I want to change the type of game. Now the server is configured to ordinary game, but I need a team game (winning the flag) Give as the server for this type of game or do I need to download additional maps? I think that the case for maps, if I am right then Give where you can download the maps and how to install and replace the set of cards in a configuration file. The current configuration file:
Code:
// generated by quake, do not modify
seta g_lms_mode "0"
seta g_awardpushing "0"
seta elimination_ctf_oneway "0"
seta elimination_plasmagun "200"
seta elimination_lightning "200"
seta elimination_railgun "200"
seta elimination_rocket "200"
seta elimination_grenade "200"
seta elimination_shotgun "200"
seta elimination_machinegun "200"
seta elimination_roundtime "120"
seta elimination_bfg "0"
seta g_truePing "0"
seta g_delagHitscan "0"
seta g_voteMinFraglimit "0"
seta g_voteMaxFraglimit "0"
seta g_voteMinTimelimit "0"
seta g_voteMaxTimelimit "0"
seta g_voteStrictGametypes "0"
seta g_voteGametypes "/0/1/3/4/8/9/10/11/"
seta g_voteMaps "*"
seta g_voteNames "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/"
seta g_allowVote "1"
seta g_filterBan "1"
seta g_banIPs ""
seta g_logsync "0"
seta g_log "games.log"
seta g_warmup "20"
seta g_teamForceBalance "0"
seta g_teamAutoJoin "0"
seta g_friendlyFire "0"
seta capturelimit "8"
seta g_maxGameClients "0"
seta cm_playerCurveClip "1"
seta net_socksPassword ""
seta net_socksUsername ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksEnabled "0"
seta net_noudp "0"
seta sv_strictAuth "1"
seta sv_lanForceRate "1"
seta sv_master5 ""
seta sv_master4 ""
seta sv_master3 ""
seta sv_master2 ""
seta sv_dlURL ""
seta sv_fps "20"
seta sv_floodProtect "1"
seta sv_maxPing "0"
seta sv_minPing "0"
seta sv_maxRate "0"
seta sv_minRate "0"
seta sv_maxclients "32"
seta sv_hostname "noname"
seta timelimit "0"
seta fraglimit "20"
seta dmflags "0"
seta vm_ui "2"
seta vm_game "2"
seta vm_cgame "2"
seta com_introplayed "0"
seta com_ansiColor "0"
seta com_blood "1"
seta com_maxfps "85"
seta com_altivec "0"
seta com_hunkMegs "128"
seta com_zoneMegs "24"

Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #4 on: April 21, 2009, 08:49:40 AM »

You made things in a complicated way, there is far too much parameters you don't need in the .cfg files you show.

All you have to do is to have a basic .cfg file (with an arbitrary name, do not necessarily edit existing one) with almost nothing in it, and a command to start the server with the .cfg file as a parameter.
Debian should already have the command to start the server, then the main task for you is to fill some rather empty config file.

The main things to set up are port number, IP address, the first map to start with, hostname, and some "map rotation" to do things well.

So, we've got our /etc/init.d scripts, and we have the config file.
Here is an example of config file : http://openarena.tuxfamily.org/wiki/projet:reseau:serveur1 (same kind that you've seen on the wiki).
I separated map rotation from main configuration.

You've got a list of maps which come with the game here : (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Maps
You'll see there are DM maps, and CTF maps as well, so you don't need to download anything Wink

That's about all, good luck Wink
Logged

Todo: Walk the cat.
[snif]
Nub


Cakes 1
Posts: 19


« Reply #5 on: April 21, 2009, 11:48:04 AM »

with maps, I understand, but now a new problem now my config file:
Code:
    sv_hostname "snifer openarena server"
    sv_maxclients 16
    sv_master1 "dpmaster.deathmask.net"
    sv_maxPing 300
    sv_minPing 0
    sv_pure 1
    //sv_maxRate is number of bytes per second. 25000 is the maximum that can be set through the gui. The integrated VOIP protocol requires 25000 to work.
    sv_maxRate 25000
    //Tip: If g_delaghitscan is used sv_fps should be 20 for best results
    sv_fps 20
    sv_allowdownload 1

    sv_privateClients "2" // slots substracted from sv_maxclients
    sv_privatePassword "*****"

    capturelimit 8
    timelimit 15
    fraglimit 35

    set rconPassword "*****" // for remote ingame servercontrol

    g_motd "welcome to snifer openarena server!"
    g_quadfactor 4
    g_inactivity 0
    g_allowvote 1

    //Special vote restriction since 0.8.0
    //The next three variables holds the allowed vote options, gametypes, and maps that can be voted for.
    //g_voteNames "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/"
    //g_voteGametypes "/0/1/3/4/5/6/7/8/9/10/11/12/"
    //g_voteMaps "/ctf_inyard/oa_ctf4ish/hydronex/oasago2/"
    //If you want to allow every vote option, all gametypes, and all the maps you can write it like this:
    //g_voteNames *
    //g_voteGametypes *
    //g_voteMaps *
    //You can prevent the server from getting unrealistic time or fraglimits here (0 = no limit)
    g_voteMaxTimelimit 0
    g_voteMinTimelimit 0
    g_voteMaxFraglimit 0
    g_voteMinFraglimit 0

    //If you want to use unlagged functionality (since 0.7.6)
    g_delagHitscan 1

    //You might want to count pushing players over the side of a map as kills. In that case:
    //g_awardPushing 1
    //g_awardPushing has been modified many times but as of 0.8.1 is still not that reliable.

    //Special modes since 0.7.6:
    //g_instantgib 1
    //g_rockets 1
    //g_vampire 0.25 //25%
    //g_regen 5 //5 health per sec.

    //Gametypes
    // 0 = Free For All
    // 1 = Tourney
    // 3 = Team Deathmatch
    // 4 = Capture The Flag
    // 5 = One Flag Capture
    // 6 = Obelisk
    // 7 = Harvester
    // 8 = Elimination
    // 9 = CTF Elimination
    // 10 = Last Man Standing
    // 11 = Double Domination
    // 12 = Domination
    g_gametype 0

    set d1 "g_gametype 4; map oa_ctf4ish; set nextmap vstr d2"
    set d2 "g_gametype 4; map oa_bases3; set nextmap vstr d3"
    set d3 "g_gametype 4; map oasago2; set nextmap vstr d4"
    set d4 "g_gametype 4; map oabases5; set nextmap vstr d1"
   // set d5 "map oa_dm4; set nextmap vstr d6"
   // set d6 "map kaos2; set nextmap vstr d7"
   // set d7 "map oa_dm5; set nextmap vstr d8"
   // set d8 "map oa_rpg3dm2;set nextmap vstr d9"
   // set d9 "map oa_shouse; set nextmap vstr d1"
    wait
    vstr d1 // start loop at d1
    //you can change gametype or any other variable like this:
    //set d10 "g_gametype 5; g_instantgib 0; map oasago2; set nextmap vstr d1"
    //"g_gametype" should always be before "map" or the map might load twice.

// --- bots ---
set bot_enable "1"                              // whether bots are allowed on the server
set bot_minplayers "4"                  // minimum players number, filled up with bots if fewer
set bot_nochat "1"


a prescribed sv_hostname "snifer openarena server" but the list of all servers, my server is named "noname" help fix this
Logged
[snif]
Nub


Cakes 1
Posts: 19


« Reply #6 on: April 26, 2009, 03:02:13 AM »

UP!
Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #7 on: April 26, 2009, 07:54:52 AM »

Maybe you've got several .cfg files which conflict between each other.
Only keep the .cfg you wrote.

Also, by which command do you start your server ?
Logged

Todo: Walk the cat.
[snif]
Nub


Cakes 1
Posts: 19


« Reply #8 on: April 27, 2009, 10:01:36 AM »

   
configuration file to the server, only 1, but past him, there are other configuration files, look at the logs:
Code:
snif@snifer:~$ cd .openarena
snif@snifer:~/.openarena$ ls
baseoa  cpma  qkey
snif@snifer:~/.openarena$ cd baseoa
snif@snifer:~/.openarena/baseoa$ ls
@          games.log~    q3config_server.cfg  q3key
games.log  q3config.cfg  q3history            screenshots
snif@snifer:~/.openarena/baseoa$
advise me which file to delete and what to leave given the fact that my computer and installed packages openarena openarena-server.
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #9 on: April 27, 2009, 10:15:35 AM »

Here are a few steps:

1. Delete ~/.openarena (rm -rf ~/.openarena)
2. Create baseoa in .openarena (mkdir -p ~/.openarena/baseoa)
3. Create your config file as ~/.openarena/baseoa/myconfig.cfg (placement and extension are important)
4. Run "openarena-server +set dedicated 2 +exec myconfig.cfg"

(q3config.cfg and q3config_server.cfg will be autogenerated again, do not edit them only make changes in your myconfig.cfg file)

It it still does not work try to start with:
"openarena-server +set dedicated 2 +exec myconfig.cfg +set g_gametype 4"
Logged

There are nothing offending in my posts.
[snif]
Nub


Cakes 1
Posts: 19


« Reply #10 on: April 27, 2009, 10:32:29 AM »

I understand in the directory .openarena / baseoa I need to create a file mycfg.cfg, a steel bar that the files have to keep them or delete the same? What exactly set in mycfg.cfg?
Logged
dash9
Member


Cakes 6
Posts: 189


« Reply #11 on: April 29, 2009, 03:50:56 AM »

I understand in the directory .openarena / baseoa I need to create a file mycfg.cfg, a steel bar that the files have to keep them or delete the same? What exactly set in mycfg.cfg?
Have a look at the wiki: (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers#Server_config_example
Logged

I found a great camping place: the enemy base!
[snif]
Nub


Cakes 1
Posts: 19


« Reply #12 on: April 30, 2009, 09:34:33 AM »

I understand in the directory .openarena / baseoa I need to create a file mycfg.cfg, a steel bar that the files have to keep them or delete the same? What exactly set in mycfg.cfg?
Have a look at the wiki: (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers#Server_config_example
   
I use the configuration from this site but not all the parameters that are specified in my config file work correctly.
Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #13 on: April 30, 2009, 09:48:09 AM »

Did you try Sago's solution ?

note: "all the parameters that are specified in my config file" = myconfig.cfg, in sago's example.
Logged

Todo: Walk the cat.
Pages: [1]
  Print  
 
Jump to: