Map graphics not displaying

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby mrdek11 » Wed Apr 22, 2009 7:59 pm

I just changed the rcon_password to a temporary one "temp", I'd love it if somebody could test it! Thanks!
Also, I run my own webserver, so I know its not being filtered. Apache2's access.log shows no connections from Nexuiz.


[edit] I just double checked, and the client is getting the defaulturl wrong.
it says:
Code: Select all
"http://www.nexuiz.com/contentdownload/getmap.php?file="
for the current setting and the default setting.
mrdek11
Member
 
Posts: 18
Joined: Wed Apr 22, 2009 6:04 am

Postby esteel » Wed Apr 22, 2009 8:19 pm

There is NO setting on the client that reflects the server setting. The server just combines the pk3 name and sv_curl_defaulturl (OR the url from curl_urls.txt) and sends it to the client on connect so the client can download it. No setting on the client is changed..

I just tried connecting to your server.. did not get a download either. Not sure yet why, but for example you have strange settings like g_antilag 1 (the 2.5 default is 2 which works a bit better.. i wonder why other funny settings you have active :P)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby mrdek11 » Wed Apr 22, 2009 8:43 pm

Lol oops. I was following the server setup guide in these forums. They must be outdated, as they told me to set it to 2 if I wanted it enabled.

Here's my server.cfg, hopefully I just made a simple mistake in there...
Thanks again for your help!

Code: Select all
sv_public 1               // 0 if the server should not be on the public servers list
sv_status_privacy 0      // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)
hostname "Durasia 24/7 Dedicated"  // this name will appear on the server list
sv_motd "Please bear with us, we're just starting out."                // this message (unless "") is displayed to players on connect
maxplayers 16              // number of players allowed on the server
port 26000                // the port used by the server
log_file server.log       // server console output will also be copied to this file

// List of maps to play on the server.  Set to "" to autodetect (which would enumerate ALL maps.  Maps that don't support the current game mode will be skipped, so you don't need to remove them here.
g_maplist "capturecity-v2r2 accident aggressor aneurysm basement basementctf bleach bloodprison bloodprisonctf bluesky darkzone desertfactory dieselpower dismal downer eggandbacon evilspace farewell final_rage ons-reborn racetrack reslimed ruiner runningman runningman_1on1remix runningmanctf silvercity skyway slimepit soylent starship stormkeep strength toxic warfare"
g_maplist_shuffle 1           // 0 always selects the next map out of g_maplist (but then better set g_maplist_votable 0 below to prevent repetitive votes), 1 will select random maps each time
//g_maplist_mostrecent_count 3  // number of maps that have to be played before a map can be repeated

// LIMITS: how long a match will last before the next map starts (-1 means use the map default, 0 = unlimited, please note that the variables fraglimit/timelimit can NOT be globally used for this but only DURING a match is being played)
//timelimit_override -1        // global timelimit for all maps and gametypes
//fraglimit_override -1        // global frag/point limit for all maps and gametypes
//g_ctf_capture_limit -1       // frag/capture limit for CTF
//capturelimit_override -1     // capture limit for CTF
//g_domination_point_limit -1  // frag/point limit for DOM
//g_runematch_point_limit -1   // frag/point limit for RUNE
//g_keyhunt_point_limit -1     // frag/point limit for KH
//g_lms_lives_override -1      // lives for LMS

//g_ctf_win_mode 0             // CTF win mode: 0 = caps only, 1 = caps + points as tie breaker, 2 = points only
//g_ctf_ignore_frags 1         // set to 1 to ignore kills except for FC kills

// TEAMS for key hunt (change this to 2, 3, 4 to set a fixed keyhunt style)
//g_keyhunt_teams_override -1  // teams for KH

// GAME MODE: what type of server do you want to host?
// possible values: dm (deathmatch), tdm (team deathmatch), dom (domination), ctf (ctf), rune (runematch), lms (last man standing), arena (arena), kh (keyhunt), as (assault), ons (onslaught), race (race)
gametype ctf


// enable some mutators you'd like
//g_cloaked 0              // set to 1 for transparent hard to see players
//g_footsteps 0            // set to 1 to enable footsteps
//g_grappling_hook 0       // set to 1 to enable the hook
//g_laserguided_missile 0  // set to 1 for laser guided missiles in the RL
//g_midair 0               // set to 1 to make only midair damage count
//g_vampire 0              // set to 1 to give players the damage they cause as health
//sv_gravity 800           // for low gravity, set this somewhere between 50 and 400
g_grappling_hook 1
g_start_weapon_hook 0

// select AT MOST one of these arena mutators
//g_minstagib 0          // set to 1 for MinstaGib
//g_nixnex 0             // set to 1 for No Items Nexuiz
//g_nixnex_with_laser 0  // set to 1 to always give players the laser in NixNex
//g_rocketarena 0        // set to 1 to make the rocket launcher the only weapon

/////////////////////////////////////////////////////////////////////
// Some settings you MIGHT want to change.  Again IF so remove the //
// from the line start and change them to your liking.

rcon_password "temp" // you can use rcon if this password is set.  you need to set the same password in your client if you want to issue rcon commands
//rcon_restricted_password "" // put here the password for a "restricted" rcon user (see below)

//bot_number 0 // number of bots to add
//skill 1 // the bots skill level
//minplayers 0 // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
//bot_prefix [BOT] // prepend this to all botnames
//bot_suffix "" // append this to all botnames
//g_maplist_check_waypoints 0 // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots

//g_maplist_votable 5 // number of maps to vote between.  set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
//g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command
//g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in the vote screen
//g_maplist_votable_nodetail 1 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes)

//sv_vote_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" // players can vote for those commands or use them if they are masters. You canm also add 'g_grappling_hook' for hook voting, and 'sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off' for fbskin voting.
//sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks. It may be good to also put "sv_status_privacy 0" then...
//rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" // commands for the (stronger) rcon restricted

//sv_vote_call 1 // 0 will disable the normal voting
//sv_vote_master 1 // 0 will disable voting to become master, good if you prefer to use the master password instead
//sv_vote_master_password "" // when set, vlogin PWD will allow people to become master to run master commands directly using vdo
//sv_vote_majority_factor 0.5 // 0.666 will require a 2/3 majority instead of a regular 1/2 one
//sv_vote_simple_majority_factor 0 // 0.666 will win votes by a 2/3 majority of the VOTERS (not the players!)
//note: to JUST support simple majorities, set these two factors equal

/////////////////////////////////////////////////////////////////////
// Some more advanced settings.  You probably are not interested in changing them at all.

// select one of these:
//g_balance_rocketlauncher_detonatedelay 0    // rocket detonation at any time
//g_balance_rocketlauncher_detonatedelay 0.2  // rocket detonation at least 0.2s after it was shot (reduces rocket boosting)
//g_balance_rocketlauncher_detonatedelay -1   // rocket detonation only if the rocket is out of range of the owner (prevents rocket boosting, makes rockets "safer")

//sv_ready_restart 0 // 1 to allow players to restart the map when all of them press the ready button
//sv_autoscreenshot 0 // 1 will force a screenshot for all clients when the map ends.  Useful for competitions or the ladder.

g_antilag 1 // 0 to disable the antilag feature, 1 and 2 use different methods

sys_ticrate 0.05 // how long a server frame is.  0.05 = 20 fps, 0.02 = 50 fps.  Lower settings makes things smoother but create much more traffic
sv_maxrate 524288 // limits client connections to this rate in bytes/seconds

// see Docs/mapdownload.txt for more info
sv_curl_defaulturl http://www.durasia.net:500/nexmaps/

//sv_defaultcharacter 0 // 1 will force a specific model for all players
//sv_defaultplayermodel models/player/nexus.zym // this model will be used
//sv_defaultplayerskin 0 // this skin number will be forced for all players
//g_fullbrightplayers 0 // 1 to make players fullbright
//g_fullbrightitems 0 // 1 to make items fullbright

g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team
//g_balance_teams_force 0 // 1 to automaticly balance teams even during a game

mrdek11
Member
 
Posts: 18
Joined: Wed Apr 22, 2009 6:04 am

Postby esteel » Wed Apr 22, 2009 9:03 pm

If you mean this thread: http://forums.alientrap.local/viewtopic.php?t=18 it clearly states its outdated in big red letters.. Basicly i don't find time to update it.. and Nexuiz/Server/readme.txt and the other files should almost have more info by now then that thread. I started it when all those files have not yet been added to Nexuiz..
The server.cfg file looks ok.. Have you just added those files to the data directory? Have you maybe unzipped them?


OH are you running on linux or mac? You need to have libcurl installed to make the download work. Look up your server.log file and take a look at the beginning.. it should print several lines about it loading libraries.. does it find and load libcurl??

Looks like this for me:
Code: Select all
Nexuiz Linux 20:46:36 Apr 22 2009 8937 debug
Trying to load library... "libz.so.1" - loaded.
Added packfile data/common-spog.pk3 (26 files)
Added packfile data/zzz_svn-compat-dummy.pk3 (2001 files)
Trying to load library... "libcurl.so.4" - loaded.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby mrdek11 » Wed Apr 22, 2009 9:23 pm

Haha, yes that's the thread I used, and I can't believe that I somehow didn't notice the massive red warning... wow, I'm an idiot.
It took me forever to figure out how to make the maps work. What I finally did, was I unzipped all of the maps into the data directory, and that seemed to work. (PS I tried manually installing the capturecity map on my client, and it works fine)
And for the downloads, I just have the pk3 files in the directory I'm using for the downloadurl.
I'm running the server on an Ubuntu Linux 8.10 server, and I'm running my client is Mac OS X.

I can't find server.log, I would've expected it to be in the root server directory, but it's not there. I'll try creating one with 777 permissions and restarting my server to see if its just having trouble writing.

[edit]That didn't help, it didn't write to the new file. Where should I be looking for server.log?[/edit]
mrdek11
Member
 
Posts: 18
Joined: Wed Apr 22, 2009 6:04 am

Postby mrdek11 » Wed Apr 22, 2009 9:35 pm

Aha, I wasn't able to find server.log, but just manually saved the output of the server to a file.
Code: Select all
Trying to load library... "libcurl.so.4" "libcurl.so.3" "libcurl.so" "./libcurl.so.4" "./libcurl.so.3" "./libcurl.so" - failed.

Looks like it's not loading libcurl.

Alright, manually installed libcurl, and now:
Code: Select all
Trying to load library... "libcurl.so.4" "libcurl.so.3" "libcurl.so" - loaded.

Still doesn't seem to allow clients to download the maps though...
mrdek11
Member
 
Posts: 18
Joined: Wed Apr 22, 2009 6:04 am

Postby divVerent » Wed Apr 22, 2009 9:45 pm

Actually, only clients really NEED the library.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby esteel » Wed Apr 22, 2009 9:47 pm

mrdek11 wrote:It took me forever to figure out how to make the maps work. What I finally did, was I unzipped all of the maps into the data directory, and that seemed to work.
And for the downloads, I just have the pk3 files in the directory I'm using for the downloadurl.
[edit]That didn't help, it didn't write to the new file. Where should I be looking for server.log?[/edit]


All files written by Nexuiz are to be found in ~/.nexuiz/data as programs usually do not have permissions to write to the path were the program itself is installed and also because its simply the unix way of doing stuff.

DO NOT extract the pk3 files.. The server needs those files to know the name of the pk3 file to be able to combine the curl url and the name to tell the client what file to download! Try to delete those 'extracted' files again..

It should be enough to download the pk3 into either the Nexuiz/data directory or into ~/.nexuiz/data and then (re)start the server..

divVerent wrote:Actually, only clients really NEED the library.

Oh, i was not sure.. well in that case the extracting of the pk3 files if at fault :P
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby mrdek11 » Wed Apr 22, 2009 9:56 pm

Weird, I had read that they needed to be extracted server-side.

capturecity-v2r2.pk3 is in Nexuiz/data/
Code: Select all
changelevel capturecity-v2r2
SpawnServer: no map file named maps/capturecity-v2r2.bsp


[edit] I don't know what changed, but after restarting it twice, it now works. Downloads and all.

Thanks so much for your help! I really appreciate it!
mrdek11
Member
 
Posts: 18
Joined: Wed Apr 22, 2009 6:04 am

Postby esteel » Wed Apr 22, 2009 10:06 pm

Its capturecity_v2r2

a _ not a minus sign..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron