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

[ANY|Source 2009] Advanced Advertisements


Post New Thread Reply   
 
Thread Tools Display Modes
musosoft
Senior Member
Join Date: Dec 2008
Location: Thailand
Old 07-17-2013 , 14:07   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #231

Hurrican you're right I've tested it few days before, I'm using edited Advertisements 0.6 with morecolors support for CS:S.
__________________
Making FiveM servers nowadays. Can help with CS:GO, CS:S, and other Source server stuff too, just PM me. Thanks
musosoft is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 07-17-2013 , 14:18   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #232

Quote:
Originally Posted by Hurrican View Post
This plugin doesnt work for me in CS:S....
No error logs, nothing.

I am sure, i installed it correctly!!!

But it shows always ingame:
Spoiler
I've had same problem with custom colors in CS:S, but the default {OLIVE} {GREEN} {DEFAULT} tags work just fine.
__________________
cw main:

cw speedruns:
vodka00 is offline
Rainicorn
Member
Join Date: Jun 2011
Location: Palo Alto, California
Old 07-27-2013 , 01:37   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #233

I love this plugin and I use it on all of my English servers. When I use only English characters with the plugin, it works great! But when I use anything with UTF-8, it breaks. This is what I am trying to add to my Japanese server right now:

Quote:
"Advertisements"
{
"1"
{
"type" "S"
"text" "{GREEN}ポニーヴィルへようこそ! {RED}Please do not use English in voice chat."
}
"2"
{
"type" "S"
"text" "{GREEN}命令: {LIGHTGREEN}/sounds {DEFAULT}オンオフ {LIGHTGREEN}/pony {DEFAULT}ボス {LIGHTGREEN}/mm {DEFAULT}模型"
}
}
Would you please consider adding foreign language support for this plugin in the future? I know that it would make a lot of people (like me) very happy!
__________________
=~ s/(.*)/<ditziness>$1<\ditziness>/g if any point you wish();
Rainicorn is offline
Reag
Junior Member
Join Date: Aug 2009
Old 08-09-2013 , 18:21   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #234

Plugin fails to load under SourceMod 1.5-hg3755 "unsupported game", guessing it uses a function which was removed.
Reag is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-20-2013 , 07:23   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #235

Just curious, why are users with the root flag forced to view all advertisements (see: Native_CanViewAdvert)?
bl4nk is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 08-20-2013 , 10:40   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #236

A suggestion if it is possible to be done, would be to add support for multi-language advertisement, as well as files phrases.

e.g:

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
        "text"    "en"       "Hello"
        "text"    "es"       "ˇHola"
        "text"    "pt"       "Óla"
    }
}
Obviously only one of the languages ​​would be visible to the player determined by the language of your game.
StayOx is offline
nikedu45
Senior Member
Join Date: May 2011
Old 08-20-2013 , 11:12   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #237

Quote:
Originally Posted by StayOx View Post
A suggestion if it is possible to be done, would be to add support for multi-language advertisement, as well as files phrases.

e.g:

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
        "text"    "en"       "Hello"
        "text"    "es"       "ˇHola"
        "text"    "pt"       "Óla"
    }
}
Obviously only one of the languages ​​would be visible to the player determined by the language of your game.
I had already suggested on another post advertising, good idea.
Why not color tag {random}?
__________________
Bl4ck-And-White.fr
I'm French !!

Last edited by nikedu45; 08-20-2013 at 11:14.
nikedu45 is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 08-20-2013 , 12:17   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #238

Quote:
Originally Posted by StayOx View Post
A suggestion if it is possible to be done, would be to add support for multi-language advertisement, as well as files phrases.

e.g:

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
        "text"    "en"       "Hello"
        "text"    "es"       "ˇHola"
        "text"    "pt"       "Óla"
    }
}
Obviously only one of the languages ​​would be visible to the player determined by the language of your game.
that structure is not supported

may be this one

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
         "en"       "Hello"
         "es"       "ˇHola"
         "pt"       "Óla"
    }
}
Despirator is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 08-20-2013 , 18:11   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #239

Hello friends. Sorry for the inactivity. I've been lurking in the shadows, but I'll try to post more as time goes by.
Quote:
Originally Posted by bl4nk View Post
Just curious, why are users with the root flag forced to view all advertisements (see: Native_CanViewAdvert)?
My thought process behind this was that as a server owner, I would like to see how every single advert looks to make sure I haven't goofed somewhere.
Quote:
Originally Posted by StayOx View Post
A suggestion if it is possible to be done, would be to add support for multi-language advertisement, as well as files phrases.

e.g:

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
        "text"    "en"       "Hello"
        "text"    "es"       "ˇHola"
        "text"    "pt"       "Óla"
    }
}
Obviously only one of the languages ​​would be visible to the player determined by the language of your game.
The new version idea that I had incorporated a similar idea. A very extensive tag system (with giving developers the option of making tags in regex or just simple plaintext search) would allow for a regex style translation tag, such as an ad like: "Hello is {TRANSLATION:Hello} in your language!". You can extend this to using advertisements that only contain tags. (Keep in mind that the translation system would also process new tags in the translated string).
Quote:
Originally Posted by nikedu45 View Post
I had already suggested on another post advertising, good idea.
Why not color tag {random}?
A long time ago when I was actively developing this plugin, I had the idea of making it modular to where developers can create tags (a tag being 1 word wrapped around {} that gets replaced with another value), but that failed after seeing how messy the code already was. This new system, however, would make adding new tags so much simpler. I have plans on updating this plugin in the next two weeks, but all of this depends on the work load from my classes.
Quote:
Originally Posted by Despirator View Post
that structure is not supported

may be this one

Code:
"Advertisements"
{
    "1"
    {
        "type"               "H"
         "en"       "Hello"
         "es"       "ˇHola"
         "pt"       "Óla"
    }
}
Same thing as I said above about the translation tag.

EDIT: As I have said before, I've been very busy, but if any developer around here wants to help me with this new version and work with me to make this as extensive and awesome as I hope for it to be, please let me know.
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING

Last edited by minimoney1; 08-20-2013 at 18:14.
minimoney1 is offline
Jakesterdog123
Senior Member
Join Date: Oct 2012
Location: California
Old 08-22-2013 , 20:01   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #240

Yeah, idk what happened but all of a sudden the advertisements in the "T"/titles for TF2 show the color names in them...
e.g. {GREEN}WELCOME TO THE SERVER!
__________________
TF2 Server/Community - "Pony: Elements of Harmony - Squee!"
**IP - peohtf2.clanservers.com**

Jakesterdog123 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 19:20.


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