Hi, I have a problem with my Server, and I can't make that my plugins with custom Files works.
Well, the plugins works (I guess so) and the server sends to the client the Source files that I need, but when I use the command to enable it (the plugin that I'm trying is PonySpenser and Dispenser Music) and later I put a Dispenser, there aren't any Custom Model, materials and Sound either, just the normal, bored and classic Dispenser.
Of course I'm using custom Sounds (not provided by Eggman, sorry man, but I'm not a Brony, I just want to put the Still Alive song to my server) and I test it with the "play" Command, there is a fun faction:
When I was in my server, the Play command didn't work (there wasn't any error, just doesn't play anything), but when I was in the Main Menu, the Play command works and the MP3 too (with Dispenser Music I tried to use a Wav), so I put the "sv_pure 0" and the Play Command works!!....... But the Plugins no
well, I don't know what I need to add, besides my *.sh (run Script, my server is hosted in Ubuntu Server [Linux]), my pure_whitelist and my Server.cfg:
// Server bans and server logs
sv_rcon_banpenalty "15"
sv_rcon_minfailures "5"
sv_rcon_maxfailures "10"
sv_rcon_minfailuretime "30"
sv_rcon_maxpacketsize "1024"
sv_rcon_maxpacketbans "1"
log "on"
sv_logbans "1"
sv_logecho "1"
sv_logfile "1"
sv_log_onefile "0"
// Server downloads and files
// No fast download maximum file size. 16 is def. 64 (max) recommended if you do not have a fast download server.
net_maxfilesize "64"
//Fast download url. Leave blank if you dont have one but set the above to max.
sv_downloadurl ""
sv_allowdownload "1"
sv_allowupload "1"
sv_consistency "1"
sv_pure_kick_clients "1"
sv_pure_trace "1"
// TF2 specific Gameplay and server settings
//(ONLY found in TF2)
tf_weapon_criticals "1"
sv_allow_votes "1"
tf_damage_disablespread "0"
tf_use_fixed_weaponspreads "0"
mp_idlemaxtime "3"
mp_idledealmethod "1"
mp_respawnwavetime "10"
mp_disable_respawn_times "1"
// Execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
pure_server_whitelist.txt:
Spoiler
whitelist
{
// Example custom server whitelist.
//
// Do not modify this file. Instead, rename this file to "pure_server_whitelist.txt" and then modify it as appropriate.
//
// sv_pure values are in order of "increasing pureness":
//
// -1: No restrictions. Allow clients to load any files.
// 0: Only load pure_server_minimal.txt.
// 1: Load pure_server_full.txt, followed by pure_server_whitelist.txt (the custom file).
// Also, in this mode, the server may specify additional public keys that it considers to be trusted.
// 2: Load pure_server_full.txt only.
// In this mode, user only the public keys listed in trusted_keys_base are used.
//
// If multiple rules apply to the same file, then the rule listed later (or from the file loaded later) takes priority.
// Therefore, because the custom whitelist file is loaded last, after a fully pure whitelist has been loaded, typically
// the custom whitelist file is used to carve out exceptions (where the server wants to be more permissive), rather than
// listing the files that are requested to be.
//
// 2 different rule types may be used:
//
// trusted_source - require file to be loaded from a "trusted source".
// A trusted source is a VPK that is signed with one of the public keys listed
// in trusted_keys_base.txt or trusted_keys.txt.
// any - Client can use file from any source.
//
// For historical purposes, the following strings are also allowed:
//
// allow_from_disk - same as "any"
// from_steam - same as "trusted_source"
// check_crc - same as "trusted_source"
// allow_from_disk+check_crc - same as "trusted_source"
//
// Three types of file specifications:
//
// 1. directory\*.* - refers to all files under the directory
// 2. directory\... - refers to all files under the directory and all directories under that (recursively)
// 3. directory\filename - refers to a single file
//
// Allow custom player models.
//
models\player\... any
materials\models\player\... any
//
// Allow custom spray decals.
//
materials\temp\... any
materials\vgui\logos\... any
materials\vgui\logos\ui\... any
//
// Allow "mymod" resources to come from disk.
//
materials\mymod\... any
models\mymod\... any
sound\mymod\... any
materials\... any
models\... any
sound\... any
}
*I Used a generator.
Well, I don't know if it is enough. Please, so sorry for my English, it isn't my native language (I Speake Spanish). If you need something else, just comment it and I will add it
Last edited by JPZV; 12-09-2014 at 05:10.
Reason: Nothing... Nothing...
Sorry, I think that it will be a Server problem, because no one in it thread has a problem, although, now I discovered that the PonySpenser is working, but it only works on LvL1 Dispensers (maybe I didn't see that in the Thread, my mistake), but the Dispenser Music doesn't works for now, again, maybe the path are not correct and still as my error. Here is a copy of my dispenser_music.cfg:
Anyway I will post a comment in its thread, asking if any server has a problem with the last TF2 Update (you know that a lot of plugins may not still working after a Update).
Do you have any errorlogs. What is console output of sm plugins refresh ? What Metamod/Sourcemodversion do you run?
Well, I have Ubuntu Server, so there are not any UI (so, I can' take any screenshoot) and the console doesn't stop for any second so it's difficult to see if there are any Error Logs
Anyway, I get this message when I Refresh:
Quote:
[SM] The plugin list has been refreshed and reloaded.
Oh, And I replaced the Plugin, Now i'm working with Respawn Room Music
and here is the CFG:
Spoiler
"music"
{
"mvm_upgrade_station"
{
"file" "RespawnMusic/Still_Alive_Xmas.mp3"
"volume" "0.7"
"length" "43.0" <-- I don't know what does mean this, but 43 is the lenght of the sound
}
}
Now, In my client TF2 There are not any Still_Alive_Xmas.mp3, and when I Connect to my server, there are always the text "Downloading /sound/RespawnMusic/Still_alive_xmas.mp3", but with the 100% Bar, although still not appear on my client.
Thanks for your reply
EDIT: Hmmmm, Maybe here is the error, I didnt change the "sound/PonyDispenser" to "sound/RespawnMusic" on the Download_simple.ini, so maybe that is why I can't download the sound, but I can't probe it until the next map, I will need to wait :/
Well, I have Ubuntu Server, so there are not any UI (so, I can' take any screenshoot) and the console doesn't stop for any second so it's difficult to see if there are any Error Logs
errorlogs are in addons/sourcemod/logs as txt file...
Quote:
Now, In my client TF2 There are not any Still_Alive_Xmas.mp3, and when I Connect to my server, there are always the text "Downloading /sound/RespawnMusic/Still_alive_xmas.mp3", but with the 100% Bar, although still not appear on my client.
Sound will try to download as long as it is precached or in any downloadtable. So you are not downloading the file, but server thinks he has to give you the download.
What Metamodsource Version, what Sourcemodversion? Did you chmod -R -v 775 your serverfolder? Is the user which runs the server the owner of the server? (I mean chown not if you have rented the server XD )
Did you upload the soundfiles to your server?
Hint:
get THIS TOOL for a better (and pastable) output of your console
Metamod:Source version 1.10.4
Compiled on: Nov 25 2014
Plugin interface version: 15:14
SourceHook version: 5:5
h
Quote:
Originally Posted by Sm Version
]
SourceMod 1.7.0-dev+5061, by AlliedModders LLC
To see running plugins, type "sm plugins"
To see credits, type "sm credits"
Visit http://www.sourcemod.net/
N
Quote:
Sound will try to download as long as it is precached or in any downloadtable. So you are not downloading the file, but server thinks he has to give you the download.
But I have another 2 sounds file from the Gomba Stomp plugin (I don't know if it wors, beacause I'm on MVM and I don't know if the plugin works there) and it was downloaded without problems, and the download.ini (not the simple.ini) I linked the "sound/goomba" and "sound/RespawnMusic" togheter:
Spoiler
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)
//Decal Files (Download and Precache)
//Sound Files (Download and Precache)
sound/RespawnMusic
sound/player
sound/goomba
//Model Files (Download and Precache)
Quote:
Did you chmod -R -v 775 your serverfolder?
No, I guess I didn't. the .sh is opened as a normal user (without sudo or sudo su), but, is it necessary? I mean, why I have to chmod? I know that chmod is like the "Security" tab on windos, but the Serverfolder are in /home/JPZ/
Quote:
Is the user which runs the server the owner of the server?
Yes, it's an old (but a pretty good one) HP, running from my house with my illegal (i'm kidding, everything is legal on my house) internet.
Quote:
Did you upload the soundfiles to your server?
Well, before the server used itself to send the files (not from fastDL), today I've configured the FastDL (with google drive) but I don't know if that works, because I deleted the goomba's sound to test it (the sounds are uploaded as bz2, i don't know if it must be as wav) and when the clients download the files, they are .wav and not .bz2. How Can I know if the FastDL are working?
Quote:
errorlogs are in addons/sourcemod/logs as txt file...
Ok, well, I Have 10 logs but no one say "xmas" or "respawn" either. If you still want it, I can upload all of them, but I don't know if the problem was saved on some log.
Ok, well, I Have 10 logs but no one say "xmas" or "respawn" either. If you still want it, I can upload all of them, but I don't know if the problem was saved on some log.
Errorlogs are titled errorsomething. Open them and read them.
Quote:
No, I guess I didn't. the .sh is opened as a normal user (without sudo or sudo su), but, is it necessary? I mean, why I have to chmod? I know that chmod is like the "Security" tab on windos, but the Serverfolder are in /home/JPZ/
I do not know why exactly but it DOES make a difference. Chmod 775 changes some things in executebehaviour.
Quote:
Yes, it's an old (but a pretty good one) HP, running from my house with my illegal (i'm kidding, everything is legal on my house) internet.
That is exactly what I didnt want to hear ^^ I do not care if your aunt, your mother or you the computer where you are running the server =D
I meant: You are logging in your server with a username. Your homedir is jzp so I am assuming you have to login with jpz and some password. Did you do chown -R -v jpz:jpzsusergroup Your serverDir in your terminal?
Quote:
Well, before the server used itself to send the files (not from fastDL), today I've configured the FastDL (with google drive) but I don't know if that works, because I deleted the goomba's sound to test it (the sounds are uploaded as bz2, i don't know if it must be as wav) and when the clients download the files, they are .wav and not .bz2. How Can I know if the FastDL are working?
You can compress your files on your fastdlserver. It is downloaded and extracted then. So if you have downloaded files, which were not there before, everything is fine
Errorlogs are titled errorsomething. Open them and read them.
I just have "Error_201412[DAY]" and "L201412[DAY]" and no one says something like "xmas" (from the Still_Alive_xmas.wav name) or Respawn (from the Respawn room music plugin)
Quote:
I do not know why exactly but it DOES make a difference. Chmod 775 changes some things in executebehaviour.
I Need to restart the TF2 Server or the Computer for that? Because right now there are 5/6 players playing on MvM so I don't want to screw their party.
Quote:
Did you do chown -R -v jpz:jpzsusergroup Your serverDir in your terminal?
Ahm... no? ups
Quote:
You can compress your files on your fastdlserver. It is downloaded and extracted then. So if you have downloaded files, which were not there before, everything is fine
Yeah but I want to know if I the FastDL is working or not,. When someone download a map from the FastDL, it says "Downloading [Map].bsp.bz2" but yesterday when I downloaded the wav from the GOomba stomp it says "Downloading Bommba/Stomp.wav", without the bz2, and that wav is as BZ2 in the Google Drive.
Well, I have more news (bads I guess), and I have a lots of errors saying:
Quote:
SV_StartSound: RespawnMusic/Still_Alive_Xmas.wav not precached (0)
Really, A loooooooooot of time.
I have the Xmas wav on my download.ini as I said before:
Spoiler
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)
//Decal Files (Download and Precache)
//Sound Files (Download and Precache)
sound/RespawnMusic
sound/player
sound/goomba
//Model Files (Download and Precache)
EDIT: I made a Chmod to my ServerFolder and almost all of the files were on 775, just a fews were on 664