Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Firesaber
New Member
Join Date: Jul 2011
Old 07-11-2011 , 04:07   Re: Advertisements 0.5.5
Reply With Quote #1161

I have an odd problem. Everything SEEMS to work. I run a private server for myself and my friends. Testing tonight (we were working on plugins) was myself, my wife via LAN and my friend (external). They both could see the adverts no problem. I could not at all. Then once or twice I'd randomly see one. We all have admin in sourcemod with the exact same flags. I have no flags in the advertisements.txt. Any ideas?

Here's whats in there:

"Advertisements"
{
"1"
{
"type" "S"
"text" "{LIGHTGREEN}[AoC] Agents of Chaos, Est. 2003."
}
"2"
{
"type" "S"
"text" "{LIGHTGREEN}[AoC] Time Remaining : {TIMELEFT}"
}
"3"
{
"type" "S"
"text" "{LIGHTGREEN}[AoC] Takin' noobs to school since 2003."
}
"4"
{
"type" "S"
"text" "{LIGHTGREEN}[AoC] Time Remaining : {TIMELEFT}"
}
"5"
{
"type" "S"
"text" "{LIGHTGREEN}[AoC] Welcome to THE GAME Team Fortress 2."
}
}

Last edited by Firesaber; 07-11-2011 at 04:10.
Firesaber is offline
oakswatch
Junior Member
Join Date: Feb 2011
Old 07-11-2011 , 21:22   Re: Advertisements 0.5.5
Reply With Quote #1162

Quote:
Originally Posted by Firesaber View Post
They both could see the adverts no problem. I could not at all. Then once or twice I'd randomly see one. We all have admin in sourcemod with the exact same flags. I have no flags in the advertisements.txt. Any ideas?
I have the same problem too. not just for adverts. But in normal chat, every now and then. I can't see people messages. As in it doesn't show up on my screen.

I only notice this because sometime when I trying to get my server going. I have my laptop running TF2 next to my desktop. And I notice the missing chat messages.

For example:

[everybody will see this]
A: 1
B: 2
C: 3

[sometime I can only see]
A:1
C
oakswatch is offline
Firesaber
New Member
Join Date: Jul 2011
Old 07-11-2011 , 22:15   Re: Advertisements 0.5.5
Reply With Quote #1163

Quote:
Originally Posted by oakswatch View Post
I have the same problem too. not just for adverts. But in normal chat, every now and then. I can't see people messages. As in it doesn't show up on my screen.

I only notice this because sometime when I trying to get my server going. I have my laptop running TF2 next to my desktop. And I notice the missing chat messages.

For example:

[everybody will see this]
A: 1
B: 2
C: 3

[sometime I can only see]
A:1
C
Hmm. I hadn't noticed missing chat text myself as my friends and I use Mumble for voice chat. I will ahve to experiment and see.

An Update however, was playing today, and when i log in, i see one advert message. then none for the rest of the match. HOWEVER, on map change i was recieving them all. So.../shrug i dunno lol. Maybe its something in the client or it resolves itself after a map change.
Firesaber is offline
nikedu45
Senior Member
Join Date: May 2011
Old 07-15-2011 , 11:47   Re: Advertisements 0.5.5
Reply With Quote #1164

Would it be possible to add multi-language function?
ex:
Quote:

"Advertisements"
{
"1"
{
"type" "S"
"en" "{GREEN}[email protected]"
"fr" "{GREEN}[email protected]"
"ru" "{GREEN}[email protected]"
}
"2"
{
"type" "T"
"en" "www.domain.com"
"fr" "www.domain.com"
"ru" "www.domain.com"
"flags" "a"
}
}
__________________
Bl4ck-And-White.fr
I'm French !!

Last edited by nikedu45; 07-15-2011 at 11:50.
nikedu45 is offline
pistelero
Junior Member
Join Date: Jul 2011
Old 07-26-2011 , 00:16   Re: Advertisements 0.5.5
Reply With Quote #1165

Hi how do i get RED to work in "S" for L4D2.

All so is it possible to have like 3 messages come on in 5 second intervillis then next 3 messages come up again 60 seconds later at 5 secs intervillis.

thanks new to all this server stuff but its working good so far

Last edited by pistelero; 07-26-2011 at 00:41.
pistelero is offline
Teigen
Senior Member
Join Date: Jun 2011
Location: Norway
Old 07-26-2011 , 08:45   Re: Advertisements 0.5.5
Reply With Quote #1166

I`m having the same problem as mentioned several times above.

I added a top message with a link to the community website,

this is the code

Code:
"Advertisements"

{
    "1"
    {
        "type"      "T" 
        "text"      " {CYAN}www.united-leet-gamers.com"
       }
    "2"
    {
	"type"	    "s"
	"text"      " {TEAM} Welcome to our Dust2 24/7 Deathmatch server!{LIGHTGREEN} Enjoy your stay"
}
Nothing shows up on my screen, so I thought it was not working.

but it was working, a player asked me what {CYAN} www.united-leet-gamers.com means

Then i understood that the color code was not working, also the message dont show for me.

Why this? anyone?
__________________
[url=steam://friends/add/76561197962940328]

Last edited by Teigen; 07-26-2011 at 11:40.
Teigen is offline
Send a message via MSN to Teigen Send a message via Skype™ to Teigen
blue zebra
BANNED
Join Date: Jun 2010
Old 07-29-2011 , 03:25   Re: Advertisements 0.5.5
Reply With Quote #1167

lol.
That txt file is full with errors. Try this working one (tested):
Code:
"Advertisements"
{
    "1"
    {
        "type"        "T"
        "text"        "{CYAN} www.united-leet-gamers.com"
    }
    "2"
    {
        "type"        "S"
        "text"        "{GREEN} Welcome to our Dust2 24/7 Deathmatch server! {LIGHTGREEN} Enjoy your stay"
    }
}
Tsunami!
Thanks for your work. This is a very useful plugin.
But please do (if you can or want) the UTF-8 coded txt file adoption in this plugin.
Reason: Now the advertisements.txt is not in UTF-8 format and now the
accented characters are not supported. For example: νιαőϊσόφ and other mid - east and north european characters.
When i now try to use UTF-8 based advertisements.txt file, the adverts never not shown or only max. for 1 round.

Last edited by blue zebra; 07-29-2011 at 03:49.
blue zebra is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 07-29-2011 , 05:09   Re: Advertisements 0.5.5
Reply With Quote #1168

you have to code it to UTF-8 without BOM
Despirator is offline
mrsus
Junior Member
Join Date: Jul 2011
Old 08-04-2011 , 21:59   Re: Advertisements 0.5.5
Reply With Quote #1169

I put "sm_advertisements_interval 600" in the server.cfg , but the server interval still 30 . any ideas ?
mrsus is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-04-2011 , 23:24   Re: Advertisements 0.5.5
Reply With Quote #1170

Quote:
Originally Posted by mrsus View Post
I put "sm_advertisements_interval 600" in the server.cfg , but the server interval still 30 . any ideas ?
Code:
sm_advertisements_interval "600"
Bacardi 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 10:27.


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