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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
nikedu45
Senior Member
Join Date: May 2011
Old 10-24-2011 , 12:58   Re: Advertisements 0.5.5
Reply With Quote #1221

When is the multilanguage version?
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-24-2011 , 15:57   Re: Advertisements 0.5.5
Reply With Quote #1222

Ok, I tested again
@Bloodlvst and @Powerlord you both are rigth what you post.

I didn't notice that map config path "maps" was missing from Tsunamis post. (...maps/cfg/de_dust2.cfg)
This how Cs:s works and maybe TF2, if I don't remember wrong, HL2MP not support map configs (need plugin).

And yes, changing sm_advertisements_file "file" works on map configs without reload.
- But problem is, after next map where is not map config and need use file by server.cfg not coming.
You have still previous map advertisements.
when reload map again or other no-map-config-map it show file by server.cfg

So need use that server command sm_advertisements_reload at least in server.cfg

Or what @Powerlord mention, change ParseAds from OnMapStart to OnConfigsExecuted

the end
__________________
Do not Private Message @me
Bacardi is offline
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 10-31-2011 , 18:26   Re: Advertisements 0.5.5
Reply With Quote #1223

Hay, i'm having a small problem with this. The adverts seem to work when i'm in spec but when i join a team they stop working and when i rejoin spec they work.
This is extremely frustrating, adverts are an important part of the server and i need them to work.
Further more i found this plugin advcommands.smx (advanced commands) to be causing the problem. i might be wrong tho

If someone could help me out with this i would greatly appreciate it.

Regards - Soul Reaper
soulreaper1o1 is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-31-2011 , 18:31   Re: Advertisements 0.5.5
Reply With Quote #1224

Sourcemod logs? Error logs? We need some info.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 10-31-2011 , 18:51   Re: Advertisements 0.5.5
Reply With Quote #1225

L 10/31/2011 - 1869: [adminmenu.smx] Could not load admin menu config (file "addons\sourcemod\configs\adminmenu_sorting.t xt": Section declared with unknown tokens)
L 10/31/2011 - 18:41:14: [SM] Fatal error encountered parsing translation file "pt/rankme.phrases.txt"
L 10/31/2011 - 18:41:14: [SM] Error (line 63, column 60): Section beginning without a matching ending
L 10/31/2011 - 18:41:14: [SM] Fatal error encountered parsing translation file "ko/rankme.phrases.txt"
L 10/31/2011 - 18:41:14: [SM] Error (line 215, column 24): Section beginning without a matching ending
L 10/31/2011 - 18:41:14: Error log file session closed.
L 10/31/2011 - 18:41:15: SourceMod error session started
L 10/31/2011 - 18:41:15: Info (map "dm_crackhouse20") (file "errors_20111031.log")
L 10/31/2011 - 18:41:15: [adminmenu.smx] Could not load admin menu config (file "addons\sourcemod\configs\adminmenu_sorting.t xt": Section declared with unknown tokens)
soulreaper1o1 is offline
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 10-31-2011 , 18:52   Re: Advertisements 0.5.5
Reply With Quote #1226

I don't think those errors are causing the problem but again i could be wrong
soulreaper1o1 is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-31-2011 , 19:48   Re: Advertisements 0.5.5
Reply With Quote #1227

What about normal logs?

I know advanced commands does do some processing on text. Try disabling it to see if you still get the problem.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
soulreaper1o1
SourceMod Donor
Join Date: Sep 2011
Old 10-31-2011 , 20:08   Re: Advertisements 0.5.5
Reply With Quote #1228

Quote:
Originally Posted by Bloodlvst View Post
What about normal logs?

I know advanced commands does do some processing on text. Try disabling it to see if you still get the problem.
Got it...it works now
it was sm_adv_admin_vision i turned it off and it works.

Thanks for the help.
soulreaper1o1 is offline
Target Practice
New Member
Join Date: Nov 2011
Old 11-03-2011 , 09:26   Re: Advertisements 0.5.5
Reply With Quote #1229

Hey folks, just figured I'd weigh in with something I picked up on that I didn't spot in this thread. It's probably real ABC stuff, but I'm figuring that if I'm dumb enough to miss it, then there are probably others like it too.

Anyway, I had Advertisements 0.5 installed on a server I rent from Multiplay, and for the life of me I couldn't figure out why nothing was happening. I had all the relevant variables in the server.cfg file, and my advertisements.txt was all fine, but still nothing.

Then I noticed that there was nothing in the server.cfg telling it to load the plugin.

So, if you think everything should be working fine, but nothing's happening, check that the line below is in your server.cfg

Code:
sm plugins load optional/advertisements
if it's not, add it in, and that might help.
Target Practice is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 11-03-2011 , 09:35   Re: Advertisements 0.5.5
Reply With Quote #1230

sm_advertisements default is "1" (on) So you shouldn't need to load it. And it kind of states in the first post that cvars are used. Not every developer states in the first post that you need to add cvars to a cfg.

If a plug doesnt generate a cfg on restart or its not stated that it does and you see that there are cvars in the first post (like this)

Quote:
sm_advertisements_enabled (0/1, def 1)
Enable/disable displaying advertisements.

sm_advertisements_file (def "advertisements.txt")
File to read the advertisements from. Useful if you're running multiple servers from one installation, and want to use different advertisements per server.

sm_advertisements_interval (def 30)
Amount of seconds between advertisements.

sm_advertisements_reload
Server command to reload the advertisements from advertisements.txt.
It generally means you have to manually add them.
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 11-03-2011 at 09:36.
sinblaster 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 02:30.


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