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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
MaKTaiL
Senior Member
Join Date: Jul 2008
Location: Brazil
Old 08-21-2008 , 11:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #211

Quote:
Originally Posted by NightLinks View Post
Hello,

I am trying to make this plugin work but is not showing my ads in the server. I have the flags empty and i have the advertisements.txt file in the config folder of source mod. I want it to just show in the chat area.
Try to take off the flag line. Look at this post:

Quote:
Originally Posted by Lebson506th View Post
If left empty only admins will see the advertisement but if its omitted everyone will see it

That means don't put that Flag part in and everyone can see it.
MaKTaiL is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 08-21-2008 , 11:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #212

take out the flags line and it will work (i think)
__________________
r3dh3adkid is offline
FernFerret
Member
Join Date: Feb 2008
Old 08-21-2008 , 12:03   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #213

Or if you want to show these to admins (which since you're posting here I assume you are an admin on said server) turn all of the flags lines into:
Code:
                "flags"         ""
Note the lack of a space between the second set of quotes

--FF
__________________
Check out the SaySounds Hybrid Edition with Action Sounds! http://forums.alliedmods.net/showthread.php?t=82220
FernFerret is offline
bartus2003
New Member
Join Date: Aug 2008
Old 08-22-2008 , 10:57   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #214

This plugin not work correctly in Team Fortress 2!!!
When it display ads, nobody can change weapon in game.
When ads not display changing weapons is ok.

Last edited by DJ Tsunami; 08-22-2008 at 12:20. Reason: A normal size font is fine too.
bartus2003 is offline
RM_Hamster
SourceMod Donor
Join Date: Jul 2008
Location: MA
Old 08-22-2008 , 11:58   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #215

The plugin works perfectly on TF2.

From the first page:

M A menu message, like sm_msay, but without the title or the Exit-option. 0 will still hide the message though. Will block 1-9 from switching weapons as long as it's showing.
RM_Hamster is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-22-2008 , 12:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #216

What he said ;) Please read before bashing.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
FernFerret
Member
Join Date: Feb 2008
Old 08-22-2008 , 13:39   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #217

This pluin is awesome, the only request** I would have is to be able to randomize the keys. Now note the asterisk, I say request, yet I have already started some work on this, hope to have a beta of my code up soon, if it's alright with Tsunami.

Oh the countless times i've heard this "YOUR CODE IS BROKE!", yet somehow, the answer is almost always: OPERATOR ERROR.

--FF
__________________
Check out the SaySounds Hybrid Edition with Action Sounds! http://forums.alliedmods.net/showthread.php?t=82220
FernFerret is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 08-22-2008 , 17:41   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #218

oooh. Randomization of the ads would be cool.
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
FernFerret
Member
Join Date: Feb 2008
Old 08-23-2008 , 01:26   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #219

Yea i'm thinking something like this:
"1"
{
"S" "MESSAGE"
"QTY" "5"
}
So putting qty in as 5 would be like adding the line 5 times, but in random places.

Now I'm not sure if it will be worth it, you guys can let me know, but how many messages should be shown before it can repeat one? for example:

Message A
Message B
Message B

Should a message be allowed to be played twice in a row? does anyone care? (It's easier to code if I don't keep track )

Also, as previosuly posted somewhere else on these forums, (its getting late and i had a 19 hour work day yesterday...) I am in north carolina bumming internet where I can, so I can't promise anytime this weekend, hopefully by next friday I should have this, the saysounds update, and possibly the cbaseplugin updates finished, hopefully

--FF
__________________
Check out the SaySounds Hybrid Edition with Action Sounds! http://forums.alliedmods.net/showthread.php?t=82220
FernFerret is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 08-23-2008 , 04:11   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #220

I think that there should be a "cycle", and a message should only be allowed to play as many times as the quantity allows in each cycle. It should definitely not be allowed to play two in a row.

To the plugin maker: When I do SM_NEXTMAP, it displays the next map even though when I type "nextmap" in chat it says "Vote Pending". This is confusing to my players, as before a vote, I would like it to say "Vote Pending" ... this is with the latest mapchooser/nominations/etc by Pred in the 1.1 branch. Is there any way to remedy this? I tried just doing NEXTMAP, but it doesn't work (it doesn't get replaced)
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
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 05:48.


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