Raised This Month: $ Target: $400
 0% 

Linux HLDS (cstrike) - Mapcycle does not work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Roland of Gilead
Junior Member
Join Date: May 2005
Old 05-26-2005 , 17:03   Linux HLDS (cstrike) - Mapcycle does not work?
Reply With Quote #1

The subject line pretty much says it all.

My server runs almost as it should...the problem is that the map never changes. When the maptimer expires, it just reloads the same map every time.

I've tried putting mapcycle.txt in various different directories, all with no effect. I've ensured that the file has "+rw" permissions.

Quote:
Originally Posted by AMXX Log
L 05/26/2005 - 14:290: -------- Mapchange --------
L 05/26/2005 - 14:294: [nextmap.amxx] WARNING: Couldn't find a valid map or the file doesn't exist (file "mapcycle.txt")
Directories I have tried:
./hlds/hlds_l
./hlds/hlds_l/cstrike
./hlds/hlds_l/cstrike/addons/amxmodx
./hlds/hlds_l/cstrike/addons/amxmodx/configs
./hlds/hlds_l/cstrike/addons/metamod

Right now, I have deleted ALL copies of mapcycle.txt, which should allow ./cstrike/addons/amxmodx/configs/maps.ini to control the rotation. But it's still not working.


Here's the relevant data on the system:

RedHat Enterprise Linux 3.0 (kernel-smp-2.4.21-27.0.4.EL)
AMX Mod X 1.01
Metamod 1.17.4
UWC3 1.0.0RC6j



Quote:
Originally Posted by addons/amxmodx/configs/amxx.cfg
// AMX Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 2

// Frequency in seconds and text of scrolling message
//amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//amx_imessage "Welcome to %hostname%" "000255100"
//amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
amx_freq_imessage 1800

// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75

// Amount of reserved slots (for more details see comments in a plugin source)
amx_reservation 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "a 1200" "a 600" "a 300" "a 180" "a 60"

// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 0

// Minimum delay in seconds between two voting sessions
amx_vote_delay 10

// How long voting session goes on
amx_vote_time 10

// Display who votes for what option
amx_vote_answers 1

// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02

// Max. time to which map can be extended
amx_extendmap_max 90

// Step for each extending
amx_extendmap_step 15

// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
csstats_rank 1

// Max size of the stats file
csstats_maxsize 3500

// Duration of HUD-statistics
amx_statsx_duration 12.0

// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
amx_statsx_freeze -2.0

//If you set this to 0, clients cannot chose their language
amx_client_languages 0

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 1

Quote:
Originally Posted by addons/amxmodx/configs/plugins.ini
; AMX Mod X plugins

; Admin Base - Always one has to be activated
;admin.amxx ; admin base (required for any admin-related)
admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
;multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)


; Custom - Add 3rd party plugins here
uwc3.amxx debug ; ultimate warcraft3 mod

Quote:
Originally Posted by addons/amxmodx/configs/maps.ini
; Maps configuration file
; File location: $moddir/addons/amxmodx/configs/maps.ini
; To use with Maps Menu plugin

; Add in your mod's maps here
; Delete this file to use mapcycle.txt

cs_assault
cs_estate
cs_italy
cs_militia
cs_office
de_aztec
de_cbble
de_chateau
de_dust
de_dust2
de_inferno
de_nuke
de_piranesi
de_train
de_vertigo
Roland of Gilead is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 05-26-2005 , 17:05  
Reply With Quote #2

the mapcycle.txt, should be in your /cstrike folder. Not amxmodx
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
Roland of Gilead
Junior Member
Join Date: May 2005
Old 05-26-2005 , 17:07  
Reply With Quote #3

Quote:
Originally Posted by WaZZeR++
the mapcycle.txt, should be in your /cstrike folder. Not amxmodx
Quote:
Originally Posted by Roland of Gilead
Directories I have tried:
./hlds/hlds_l
./hlds/hlds_l/cstrike
./hlds/hlds_l/cstrike/addons/amxmodx
./hlds/hlds_l/cstrike/addons/amxmodx/configs
./hlds/hlds_l/cstrike/addons/metamod
Roland of Gilead is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 05-26-2005 , 17:10  
Reply With Quote #4

sorry, didnt saw that, was just spaming through...

can you post your mapcycle?
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
Revolution
Member
Join Date: Apr 2005
Old 05-26-2005 , 17:10  
Reply With Quote #5

Have you checked to verify that the maps listed in the maps.ini are indead in the maps folder? meaning do the following files exist in the cstrike/maps/ folder

cs_assault.bsp
cs_estate.bsp
cs_italy.bsp
cs_militia.bsp
cs_office.bsp
etc......
__________________
Revolution is offline
Roland of Gilead
Junior Member
Join Date: May 2005
Old 05-26-2005 , 17:13  
Reply With Quote #6

Yeah, I should have stated in the first post that I checked all the basic gotchas. I'm new to these forums, but by no means am I new to programming and system administration.

Quote:
Originally Posted by My console
[root@William maps]# pwd
/opt/hlds/hlds_l/cstrike/maps
[root@William maps]# ls -l
total 79036
-rw-r--r-- 1 root root 2056040 May 6 17:44 as_oilrig.bsp
-rw-r--r-- 1 root root 1702788 May 6 17:44 cs_747.bsp
-rw-r--r-- 1 root root 1041700 May 6 17:44 cs_assault.bsp
-rw-r--r-- 1 root root 2142344 May 6 17:44 cs_backalley.bsp
-rw-r--r-- 1 root root 4485488 May 6 17:45 cs_estate.bsp
-rw-r--r-- 1 root root 4988672 May 6 17:45 cs_havana.bsp
-rw-r--r-- 1 root root 2303480 May 6 17:45 cs_italy.bsp
-rw-r--r-- 1 root root 2022676 May 6 17:45 cs_militia.bsp
-rw-r--r-- 1 root root 4679872 May 6 17:45 cs_office.bsp
-rw-r--r-- 1 root root 3361120 May 6 17:46 cs_siege.bsp
-rw-r--r-- 1 root root 7156240 May 6 17:46 de_airstrip.bsp
-rw-r--r-- 1 root root 2705772 May 6 17:46 de_aztec.bsp
-rw-r--r-- 1 root root 2260516 May 6 17:46 de_cbble.bsp
-rw-r--r-- 1 root root 2693 May 6 17:46 de_cbble_detail.txt
-rw-r--r-- 1 root root 4953700 May 6 17:46 de_chateau.bsp
-rw-r--r-- 1 root root 2057288 May 6 17:47 de_dust2.bsp
-rw-r--r-- 1 root root 1359684 May 6 17:47 de_dust.bsp
-rw-r--r-- 1 root root 6269880 May 6 17:47 de_inferno.bsp
-rw-r--r-- 1 root root 2021352 May 6 17:47 de_nuke.bsp
-rw-r--r-- 1 root root 3446068 May 6 17:47 de_piranesi.bsp
-rw-r--r-- 1 root root 1929740 May 6 17:47 de_prodigy.bsp
-rw-r--r-- 1 root root 2955604 May 6 17:48 de_storm.bsp
-rw-r--r-- 1 root root 6464260 May 6 17:48 de_survivor.bsp
-rw-r--r-- 1 root root 5466396 May 6 17:48 de_torn.bsp
-rw-r--r-- 1 root root 1145428 May 6 17:48 de_train.bsp
-rw-r--r-- 1 root root 1733800 May 6 17:48 de_vertigo.bsp
Roland of Gilead is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-26-2005 , 17:18  
Reply With Quote #7

no need to add .bsp this might cause the prob?
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
Revolution
Member
Join Date: Apr 2005
Old 05-26-2005 , 17:26  
Reply With Quote #8

@Proach
if you look at his maps.ini he doesn't have .bsp on there...(wich is correct)

the other post is just a listing of all the files in the maps folder wich should have .bsp afterwards otherwise they are not map files...
__________________
Revolution is offline
Roland of Gilead
Junior Member
Join Date: May 2005
Old 05-26-2005 , 17:26  
Reply With Quote #9

Quote:
Originally Posted by proach
no need to add .bsp this might cause the prob?
You realize that's just a directory listing I posted, right?

Or are you suggesting that I need to add ".bsp" to the entries in my maps.ini file?

That would be interesting, because I didn't create that file...it came with AmxModX. I just removed some of the entries that I didn't want in it.
Roland of Gilead is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-26-2005 , 17:27  
Reply With Quote #10

I mean
in your mapcycle.txt
do you have the map names WITH .bsp or without?
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode