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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-17-2008 , 16:06   Re: Advertisements
Reply With Quote #41

LocotusH, there should be a space between {CYAN} and {CURRENTMAP}.
__________________
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
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 03-18-2008 , 05:48   Re: Advertisements
Reply With Quote #42

But this would place a space on the beginning of the line, or not?
__________________
LocutusH is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-18-2008 , 11:15   Re: Advertisements
Reply With Quote #43

Short answer: no.

Long answer: no, like I explained in the first post, that's the format for top-left messages if you want colors (which is the same format as sm_tsay). It just checks if the second argument is one of the predefined colors, if it is then it will use the rest of the arguments as the text, if it's not then it will use all the arguments as the text.
__________________
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
StevenT
Member
Join Date: Dec 2007
Old 03-27-2008 , 12:34   Re: Advertisements
Reply With Quote #44

Quote:
L 03/27/2008 - 22:19:21: [SM] Native "StartMessage" reported: Invalid message name: "SayText2"
L 03/27/2008 - 22:19:21: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 03/27/2008 - 22:19:21: [SM] [0] Line 210, /home/groups/sourcemod/compiler/include/usermessages.inc::StartMessageOne()
L 03/27/2008 - 22:19:21: [SM] [1] Line 199, /home/groups/alliedmodders/forums/files/3/4/6/6/8/24253.attach::SayText2()
L 03/27/2008 - 22:19:21: [SM] [2] Line 134, /home/groups/alliedmodders/forums/files/3/4/6/6/8/24253.attach::Timer_DisplayAds()
http://www.game-monitor.com/search.p...&game=empires2

works for steamfriends.com servers and they are running 0.3, where do i get version 0.3 ?

thx

Last edited by StevenT; 03-27-2008 at 22:30.
StevenT is offline
Syxx
New Member
Join Date: Apr 2008
Old 04-03-2008 , 17:50   Re: Advertisements
Reply With Quote #45

Hey there!

Im having a little trouble getting this plugin to fully cooperate and work with a popular Mod called Zombie Panic: Source.


I've installed everything properly and edited the advertisements.txt and placed it in /configs/ yet it refuses to work.

It recognizes the plugin is installed (sort of) yet it wont let me edit any of the sm_advertisement commands
here's a picture showing my problem:


[IMG]http://img228.**************/img228/3566/infoni7.jpg[/IMG]


As you can see it shows the Plug-In is installed yet it wont allow me to change anything.

If you could explain how I could get this working for Zombie Panic: Source it would be extremely helpful for my server working properly!
Syxx is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-03-2008 , 17:53   Re: Advertisements
Reply With Quote #46

Same for me but the rest of the plugin works.
__________________

DontWannaName is offline
Filoret
Member
Join Date: Aug 2007
Old 04-03-2008 , 20:48   Re: Advertisements
Reply With Quote #47

Nice Plugin but can you put one feature?
- 2 оr more colors at messages?
Filoret is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-04-2008 , 07:00   Re: Advertisements
Reply With Quote #48

@Syxx: sm_advertisements_reload is a server command, so you have to run it through rcon. Other than that it should work fine, but I don't have Zombie Panic: Source so I can't test on it.

@Filoret: what kind of messages do you mean? Top messages only support one color, say messages already support multiple colors and all the others don't support colors as far as I know.
__________________
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
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 04-04-2008 , 07:11   Re: Advertisements
Reply With Quote #49

Top Messages support an infinite number of colours in CS:S, not sure about other mods.
In MANI you could specify a #xxxxxx colour to display adverts in the top panel.
__________________
Extreme_One is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-04-2008 , 08:05   Re: Advertisements
Reply With Quote #50

Hmm, SourceMod's tsay uses KvSetColor, so I'm not sure if it's possible to do that multiple times.

Edit: Update

Here we go, the long awaited (I hope ) update. Tested on CS:S, DoD:S and TF2, this should fix any problems with SayText2 and add most of the feature requests. The changelog is obviously in the first post again I will be releasing an update for Execute Configs too soon (hopefully today), so if anyone's interested in that keep an eye on that topic.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 04-04-2008 at 08:55.
DJ Tsunami is offline
Reply


Thread Tools
Display Modes

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 01:12.


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