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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
foxman31292
Junior Member
Join Date: Apr 2008
Old 04-27-2008 , 18:18   Re: Advertisements
Reply With Quote #81

here is what i have now and it isnt working

no error messages or anything
Attached Files
File Type: txt advertisements.txt (277 Bytes, 422 views)
foxman31292 is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 04-27-2008 , 19:45   Re: Advertisements
Reply With Quote #82

Hi,

First off, great plugin, answered 90% of the desires from using the other ads plugin, however three suggestions:

1. Add the ability to use the paler green, I believe the code is "\x04", not sure if this works in TF2, but works fine in CS:Source.

2. This is slightly more complex. Add the ability to contain the say text within a container, so for example one of my ads is:

S {TEAM}[Afterbuy.co.uk]{DEFAULT} Add this server to your favourites {TEAM}78.129.142.161:27015{DEFAULT} & come back ANYTIME!

To be able to encompass this within an upper and lower container (of characters such as '=') so that when it prints out in the console, it appears as:

Line 1: =============================================
Line 2: [Afterbuy.co.uk] Add this server to your favourites 78.129.142.161:27015& come back ANYTIME!
Line 3: =============================================

Thus making the message much more clearer to read. Yes its 'spammier', but we're spamming the chat box in the first place, we're just aiding the eye to take notice of the message.

3. Please add {IP} as well, I have so many game servers [+10] and I cannot be arsed to edit each version =)

Matt
__________________

Last edited by MoggieX; 04-27-2008 at 19:52.
MoggieX is offline
Send a message via Skype™ to MoggieX
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-28-2008 , 13:27   Re: Advertisements
Reply With Quote #83

1. I'll look in to the other colors, it'll be kind of difficult naming them though since they're different for every mod.

2. Have you tried using \n for a new line? I'm not sure if it works, if it doesn't I could have a look at that.

3. {IP} should already work since ip is a cvar, just like hostport for the port.
__________________
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
foxman31292
Junior Member
Join Date: Apr 2008
Old 04-28-2008 , 23:27   Re: Advertisements
Reply With Quote #84

is my txt file ok because its not reading the file
foxman31292 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-29-2008 , 10:46   Re: Advertisements
Reply With Quote #85

Yes your file seems to be fine, as long as it's in addons/sourcemod/configs it should read it.
__________________
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
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 04-29-2008 , 11:52   Re: Advertisements
Reply With Quote #86

Quote:
Originally Posted by DJ Tsunami View Post
1. I'll look in to the other colors, it'll be kind of difficult naming them though since they're different for every mod.

2. Have you tried using \n for a new line? I'm not sure if it works, if it doesn't I could have a look at that.

3. {IP} should already work since ip is a cvar, just like hostport for the port.
1. yea good point
2. will try that out and post back
3. Ace!

Ignoring the above 'suggestions', ace plugin

Matt
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
st0rm_r1der
Member
Join Date: Feb 2008
Location: DE
Old 04-30-2008 , 11:02   Re: Advertisements
Reply With Quote #87

hello everybody,

on my server {SM_NEXTMAP} or {NEXTMAP} doesn't work.
Have someone a idea whats up with it?
st0rm_r1der is offline
MjrNuT
SourceMod Donor
Join Date: Feb 2008
Location: Under the Beaming CA Sun
Old 04-30-2008 , 11:18   Re: Advertisements
Reply With Quote #88

Hey Tsunami,

I have version 0.2 of this plugin. Seems to be working fine even though I get some errors. When set to debug (if I did it right), the following lines are echoed

Code:
L 04/29/2008 - 21:34:36: [SM] Native "GetArrayString" reported: Invalid index 29 (count: 29)
L 04/29/2008 - 21:34:36: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 04/29/2008 - 21:34:36: [SM]   [0]  Line 58, /home/groups/alliedmodders/forums/files/3/4/6/6/8/24253.attach::Timer_DisplayAds()

Let me know if you need any other info or whether I should update to your latest version.

Thanks in advance!
__________________
Flames and Ash Gaming
Addon: SM v1.4.0-dev MM 1.8.5-dev
Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
MjrNuT is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 04-30-2008 , 18:16   Re: Advertisements
Reply With Quote #89

Is it possible to display the same message at the same time showed in 2 place(chat+topleft)?
PStar is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-30-2008 , 19:00   Re: Advertisements
Reply With Quote #90

Quote:
Originally Posted by PStar View Post
Is it possible to display the same message at the same time showed in 2 place(chat+topleft)?
No, I dont think so. Could be a feature request though for Tsunami.

If you use DMR for your mapcycle the sm_nextmap stuff wont work.
__________________

DontWannaName 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 17:17.


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