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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Noobina
Junior Member
Join Date: May 2009
Old 06-23-2009 , 13:36   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #531

Yes...but how do I get them to pop up at the same time?
Noobina is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-23-2009 , 13:44   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #532

Sounds like a bug. Plugin should erase color tags if it is showing message somewhere differ from the chat.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 06-29-2009 , 04:34   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #533

Unofficial release 0.5.6:
* Fixed bug. Changed GetClientCount to MaxClients.
It was a bug that ads did not showing to clients for example in the following situation:
1) restart server
2) add 4 bots
3) connect to server
4) remove one bot
As a result - you'll not see any ads on release 0.5.5.
* Some minor code optimization. Added separate function to detect players to show ads to.
+ Added new cvars to set datetime format to date, time, time24 placeholders:
sm_advertisements_dateformat, sm_advertisements_timeformat and sm_advertisements_time24format.
Attached Files
File Type: zip sm_advertisements-0.5.6.zip (16.0 KB, 195 views)

Last edited by altex; 06-29-2009 at 14:16.
altex is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 06-29-2009 , 08:32   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #534

Unofficial release 0.5.7:
* Fixed bug report:
>> I want to have an ad pop up in two different places (chat and hint). I want it to be colored
>> in chat, but, as you know that isn't possible in hint and it shows the color tags.
Now all color tags strips from ads if the method does not support colors.
* Fixed multiline hint adv:
>> Also added \n for newlines, which worked for me for C, M and S messages. Don't
>> know why it doesn't work for H.
It was a bug, "\n" is char 10 not 13.
* Optimized CPU usage. Removed OnGameFrame(). It was changed to another ticktime detection.
Attached Files
File Type: zip sm_advertisements-0.5.7.zip (16.2 KB, 193 views)

Last edited by altex; 06-29-2009 at 14:17.
altex is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 06-29-2009 , 08:58   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #535

Quote:
Originally Posted by Wachert View Post
Doenst work?

installed it in a css server, it got loaded, i created the txt but there are no chat messages
Try 0.5.6 / 0.5.7 unofficial build.

To test what i mean do the following:
1) restart server
2) add 4 bots
3) connect to server
4) remove one bot
As a result - you'll not see any ads on release 0.5.5.

Last edited by altex; 06-29-2009 at 09:18.
altex is offline
Noobina
Junior Member
Join Date: May 2009
Old 06-29-2009 , 11:13   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #536

Thanks! It works just like I hoped!

And not to nit-pick, but is there any way to fix the box that now appears around some letters in the hint message?
Noobina is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 06-29-2009 , 11:15   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #537

Quote:
Originally Posted by Noobina View Post
but is there any way to fix the box that now appears around some letters in the hint message?
it's a bug.

Last edited by altex; 06-29-2009 at 13:08.
altex is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 06-29-2009 , 14:15   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #538

Unofficial release 0.5.8:
* Fixed boxes that appears around some letters in the hint message after previous release 0.5.7.
It was a bug because of color tags was striping incorrectly.
+ Added cvar sm_advertisements_showexitbutton. If enabled than players can close panel with "1" button.
It's more ergonomic than "0" button.
Attached Files
File Type: zip sm_advertisements-0.5.8.zip (16.8 KB, 189 views)
altex is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 06-29-2009 , 14:18   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #539

Altex i think you should ask the author for premisson to open a new post fro this plugin (and give credits).

And: GOOD JOB.
Keep Up teh good work, maintaning our basic plugins
PStar is offline
Noobina
Junior Member
Join Date: May 2009
Old 06-29-2009 , 14:29   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #540

Thank you so much Altex!
Noobina 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 03:56.


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