Raised This Month: $51 Target: $400
 12% 

[Dev + Any] Files Management Interface


Post New Thread Reply   
 
Thread Tools Display Modes
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 01-12-2013 , 04:49   Re: [Dev + Any] Files Management Interface
Reply With Quote #11

It looks good
I though materials should not be precached

HTML Code:
parseFileWithFolderNamesAndPrecacheAndDownload::Couldn't open file '%s' for reading
dat name
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-12-2013 , 05:12   Re: [Dev + Any] Files Management Interface
Reply With Quote #12

Quote:
Originally Posted by Root_ View Post
It looks good
I though materials should not be precached

HTML Code:
parseFileWithFolderNamesAndPrecacheAndDownload::Couldn't open file '%s' for reading
dat name
Unless you use the fmi_file convar, materials will normally only be precached via request, which... is what you want...

And not precaching materials would make it partially useless...

If by material you mean .vmt, it is a wanted behaviour, since you can then random a picture... The .vtf won't be precached however, since it's a helper file.

Dunno if I'm answering correctly this ...

And the long logging makes it easier to debug.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
ChickenFighter
Junior Member
Join Date: Oct 2010
Location: Germany
Old 01-12-2013 , 14:41   Re: [Dev + Any] Files Management Interface
Reply With Quote #13

Looks like I have some issues setting this up on my L4d2 Server :/ It just won't download anything.

I've tryed to add a couple of sounds, so I've created a new folder called sounds in my Server L4d2 dir.

After that I setted up my filesmanagementinterface.ini like this:Screenshot

And then i putted it in this dir.:Screenshot

I would REALLY appreciate it, if someone could help me with this issue

Last edited by ChickenFighter; 01-12-2013 at 14:42.
ChickenFighter is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-12-2013 , 21:38   Re: [Dev + Any] Files Management Interface
Reply With Quote #14

Quote:
Originally Posted by ChickenFighter View Post
Looks like I have some issues setting this up on my L4d2 Server :/ It just won't download anything.

I've tryed to add a couple of sounds, so I've created a new folder called sounds in my Server L4d2 dir.

After that I setted up my filesmanagementinterface.ini like this:Screenshot

And then i putted it in this dir.:Screenshot

I would REALLY appreciate it, if someone could help me with this issue
Hi,

first, you might not want to put sound ; this will make EVERY sounds you have downloaded and precached.

Second, you're using this, right ? If so you made sure to rename the value of the convar "sm_join_sound" to add the 's' to the sound folder ? (If you don't use that; files should still be downloaded / precached; just wondering)

Third, wow, I didn't know sounds folder name was "sounds" (it's "sound" under CSS/CSGO, even DODS). This cause the sounds to not get precached; but they should still be downloaded...

You sure you meant not played, rather than not downloaded ?

Fourth, try I just tested again in CSGO (which should be using the same sound scheme as in L4D) and I get my sounds downloaded.

5th ; try attachment (consider 'sounds' instead of 'sound' in the code); I also enabled debug (this will spam your console). Tell me if you see something like "found file NAMEOFTHEFILE was a sound; under key = PATHTOTHESOUND".

Thank you for reporting the problem.

Red
Attached Files
File Type: sp Get Plugin or Get Source (filesmanagementinterface_excludeL4D.sp - 164 views - 30.0 KB)
File Type: smx filesmanagementinterface_excludeL4D.smx (13.4 KB, 162 views)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 01-12-2013 at 21:45.
RedSword is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 01-12-2013 , 22:31   Re: [Dev + Any] Files Management Interface
Reply With Quote #15

you already have a plugin to add in the second post
https://forums.alliedmods.net/showthread.php?t=205644


btw, any way to add files by default such as "hl2/sound/music" ?
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-12-2013 , 22:36   Re: [Dev + Any] Files Management Interface
Reply With Quote #16

Quote:
Originally Posted by Franc1sco View Post
you already have a plugin to add in the second post
https://forums.alliedmods.net/showthread.php?t=205644


btw, any way to add files by default such as "hl2/sound/music" ?
Thanks. I'll add it to the 2nd post.

And I don't see what you mean by "hl2/sound/music" didn't know there was such a thing -_-... that's something to add.

Did you try something like "../hl2/sound" ? I think that may work (I'm really not sure as how PrecacheSound works; if it precache search from both folder :$).
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-12-2013 , 23:36   Re: [Dev + Any] Files Management Interface
Reply With Quote #17

Quote:
Originally Posted by ChickenFighter View Post
Looks like I have some issues setting this up on my L4d2 Server :/ It just won't download anything.

I've tryed to add a couple of sounds, so I've created a new folder called sounds in my Server L4d2 dir.

After that I setted up my filesmanagementinterface.ini like this:Screenshot

And then i putted it in this dir.:Screenshot

I would REALLY appreciate it, if someone could help me with this issue
After having talk with a duck, I believe using the initial plugin with your folder having the name "sound" would get your things precached (if that was the problem). L4D doesn't have an official "sound" folder in the server side.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 01-12-2013 at 23:38.
RedSword is offline
ChickenFighter
Junior Member
Join Date: Oct 2010
Location: Germany
Old 01-13-2013 , 06:54   Re: [Dev + Any] Files Management Interface
Reply With Quote #18

Quote:
Originally Posted by RedSword View Post
After having talk with a duck, I believe using the initial plugin with your

folder having the name "sound" would get your things precached (if that was the problem). L4D doesn't

have an official "sound" folder in the server side.
In the first case, thank you very mutch for your work and help. Keep up the very good work!

But in the second case, I've tryed to set it up exactly like you have it: sound/joinsounds

I have also edited the filesmanagementinterface.ini and I've added the cvar sv_allowdownload to the server.cfg (dunno if that really matters)

Still no sounds downloaded and yes they really aren't downloaded. My in-game console says nothing

about something downloaded or anything just like that and i don't have those files in my L4d2 game dir.

Should I try it with your edited version and rename the folder back to sounds?
ChickenFighter is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-13-2013 , 07:00   Re: [Dev + Any] Files Management Interface
Reply With Quote #19

Yes. Please do that and report what is in the console (_L4D + "sounds").

If you don't have console access tell me and I'll change those into logs.

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
ChickenFighter
Junior Member
Join Date: Oct 2010
Location: Germany
Old 01-13-2013 , 07:10   Re: [Dev + Any] Files Management Interface
Reply With Quote #20

I do have acces to that. I'll edit this post after i have tryed that. Thank you again!

Somehow I don't have acces to my server console anymore. Strange.

Anyway I've noticed that the plugin is actually working now, it found my .mp3 and precached it,

but still I don't hear any sound after I have joined. I have uploaded my server log right here.
Attached Files
File Type: log console-2013-01-13T13-31.log (49.0 KB, 230 views)

Last edited by ChickenFighter; 01-13-2013 at 07:40.
ChickenFighter is offline
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 18:36.


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