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

Ads


Post New Thread Reply   
 
Thread Tools Display Modes
steambob
Member
Join Date: Sep 2007
Old 11-04-2007 , 18:15   Re: Ads
Reply With Quote #81

I experience the same issue as Kernel. I am running HL2MP.
steambob is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 11-04-2007 , 23:39   Re: Ads
Reply With Quote #82

Any news on the {Commands}?
bl4nk is offline
^BuGs^
Senior Member
Join Date: May 2007
Old 11-04-2007 , 23:54   Re: Ads
Reply With Quote #83

Quote:
Originally Posted by K2 View Post
Question about the top-left ad msgs - is the max number of characters allowed for a message a plugin limitation, or one imposed by Valve? Reason I ask, is that some of my ads that were in the hint area get cut off when being displayed up on the top-left.
Valve, for top left. Sorry. Nothing I can do about that.

Now the hex color been a problem. I will have to check it out tomorrow night (monday night) when I get back from work then.
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.
^BuGs^ is offline
FatGamer.net
Member
Join Date: Oct 2007
Old 11-13-2007 , 11:10   Re: Ads
Reply With Quote #84

Experiencing a display problem with the addition of color choices.

All messages are white, and begin with "0 ". If it is replaced with any other character it displays them. I am using "-" right now because it looks funny otherwise
FatGamer.net is offline
ric-dee
Junior Member
Join Date: Oct 2007
Old 11-14-2007 , 02:08   Re: Ads
Reply With Quote #85

Yeah! You're not alone!

As you can see here, some other user - and me too - have exactly the same problem:
Quote:
Originally Posted by Kernel View Post
I'm having one issue with the latest version, i want to use the chat text option and it will only display the first char in the hex value segment:

/* Hex value of the chat ads color. */
"AdsChatColor" "0x04"

All messages display the 0 and then the message, if i change the 0 to a 1 it displays the 1, etc. etc. i even tried just x04, x02 etc, then it just displays the x. Although i'm glad i can have white text, anything other than green in a tf2 server, i'd like to have the ability to vary the color.

For now i have made the following changes:

/* Hex value of the chat ads color. */
"AdsChatColor" "-"

So it wil display in game as: -My Message. Looks a little better than a single letter or number. Any ideas?

I'm running tf2 with the following plugins on a linux box:

Ads 1.0.4.0
Hlstats 1.0.7
AutoBan Bad Name
Web shortcuts
But i guess we have to wait until ^BuGs^ has enough time to fix this...
ric-dee is offline
FatGamer.net
Member
Join Date: Oct 2007
Old 11-14-2007 , 17:09   Re: Ads
Reply With Quote #86

If source was posted I could take a look and make a quick hack
FatGamer.net is offline
Tekniqal
Senior Member
Join Date: Aug 2006
Old 11-14-2007 , 22:38   Re: Ads
Reply With Quote #87

Quote:
Originally Posted by FatGamer.net View Post
If source was posted I could take a look and make a quick hack
http://users.svn.alliedmods.net/viewvc.cgi/?root=bugs
__________________
Tekniqal is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 11-15-2007 , 17:45   Re: Ads
Reply With Quote #88

PHP Code:
//    Ads
//    Configuration File
//    By Shane A. ^BuGs^ Froebel
//    Do not change the variable names or the script will fail!

"Ads"
{
    
"Config"
    
{
        
/* Enables/Disables Ads */
        
"EnableAds" "1"
        
        
/* Enables/Disables that other plugins can register their Ads Messages */
        
"EnableOutsideAds" "0"
        
        
/* Time between the messages. */
        
"TimeBetweenMsg" "60.0"

        
/* Allow the use of the default magic words. (not working yet) */
        
"AllowDyanmicReplace" "0"

        
/* 
            For the Insurgency Mod, there is no setting. It will goto everyone by default.
            
            For most source games.. the spot where you want the messages to show.
            
            0 = Chat Messages
            1 = Hint Box
            2 = Center Messages
            3 = Top Menu (Set Colors Below)
         */
        
"LocationOfAds" "0"
        
        
/* This is the color of the ads. */
        
"AdsRedAlpha"            "255"
        "AdsBlueAlpha"        "255"
        "AdsGreenAlpha"        "255"
        "AdsAlpha"            "255"
        
        
/* If this plugin is being installed For the Insurgency Mod, make this enabled. */
        
"InsurgencyAds"     "0"
        
        
/* Hex value of the chat ads color. */
        
"AdsChatColor"        "0x04"
        
    
}
    
"AdMessages"
    
{
        
"0"        "Add 208.69.150.246:27015 to your favorites!"
        "1"        "Visit our website at [url]www.JoinPGN.com[/url], thanks!"
        "2"        "Use the /voteban command if there's a cheater!"
    
}

However messages appear prefixed with 0? 0 Use the /voteban command if there's a cheater! And they're colored in the regular color not 0x04.

Last edited by P4rD0nM3; 11-15-2007 at 18:24.
P4rD0nM3 is offline
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 11-16-2007 , 09:04   Re: Ads
Reply With Quote #89

We are also getting the "0" in front of ads if used in chat area. Changed location to hint box and "0" is gone.
__________________

Last edited by tkaway69; 11-16-2007 at 09:21.
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 11-16-2007 , 18:58   Re: Ads
Reply With Quote #90

Is hint box the grey bottom center message?
P4rD0nM3 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:44.


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