Raised This Month: $32 Target: $400
 8% 

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 07-06-2020 , 05:24   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2131

Quote:
Originally Posted by enderandrew View Post
Here is my attempt to update syntax.
Thanks, you only changed
PHP Code:
    bool bAdmins StrEqual(sFlags""),
         
bFlags  = !StrEqual(sFlags"none"); 
to
PHP Code:
    bool bAdmins StrEqual(sFlags"");
    
bool bFlags  = !StrEqual(sFlags"none"); 
which is the same thing.
__________________
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; 07-06-2020 at 05:25.
DJ Tsunami is offline
hartii14
Member
Join Date: Aug 2017
Old 07-09-2020 , 14:32   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2132

@DJ Tsunami is it possible to create .cfg file because everytime i change sm_rcon sm_advertisements_interval it reset every map change...
hartii14 is offline
Kbh
New Member
Join Date: Jul 2020
Old 07-21-2020 , 00:40   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2133

Hello I am having trouble with the advertisement.txt. File it says it auto creates one and that is what I use but it is not auto creating one. Alternatively I made my own txt file and nothing happens after restarts etc.
Kbh is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-21-2020 , 02:00   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2134

It does not auto create advertisements.txt, where did you read that? advertisements.txt is included in the download, so just put it in the configs folder.
__________________
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; 07-22-2020 at 02:00.
DJ Tsunami is offline
hartii14
Member
Join Date: Aug 2017
Old 07-23-2020 , 16:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2135

Quote:
L 07/23/2020 - 20:492: [SM] Call stack trace:
L 07/23/2020 - 20:492: [SM] [0] KillTimer
L 07/23/2020 - 20:492: [SM] [1] Line 77, advertisements.sp::ConVarChange_Interval
L 07/23/2020 - 20:492: [SM] Exception reported: Invalid timer handle 125f086b (error 1)
L 07/23/2020 - 20:492: [SM] Blaming: advertisements.smx
hartii14 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-24-2020 , 05:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2136

Quote:
Originally Posted by hartii14 View Post
Quote:
L 07/23/2020 - 20:49:32: [SM] Call stack trace:
L 07/23/2020 - 20:49:32: [SM] [0] KillTimer
L 07/23/2020 - 20:49:32: [SM] [1] Line 77, advertisements.sp::ConVarChange_Interval
L 07/23/2020 - 20:49:32: [SM] Exception reported: Invalid timer handle 125f086b (error 1)
L 07/23/2020 - 20:49:32: [SM] Blaming: advertisements.smx
What game? Does it happen when the server starts, when the map changes, or when you manually change sm_advertisements_interval?
__________________
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
hartii14
Member
Join Date: Aug 2017
Old 07-25-2020 , 21:22   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2137

CSGO game, when server restart there is error almost every 3 minutes, its true that i have in server.cfg message interval on 300 secounds ��
hartii14 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-26-2020 , 08:28   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2138

I can't reproduce it, but can you try the attached plugin? I think it should fix the issue regardless.

Edit: attachment removed, see latest release.
__________________
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; 07-30-2020 at 03:58.
DJ Tsunami is offline
JeffMakesGames
Junior Member
Join Date: Aug 2020
Old 08-02-2020 , 16:08   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2139

Hey DJ Tsunami, thanks for this great plugin. It works well on my L4D server, but do you have any plans to add a randomize option yourself?

Because whenever a map restarts, or players advance to the next map of a campaign, the ads list just starts over to the beginning. I currently use the plugin to display hints as to what has been changed but if players finish the map quickly, they never see all the hints in the list.

I know many have asked this in the past of you and I know someone a few years back edited the plugin to do just that. I tried that edited plugin but it didn't function at all and won't even display ads.
JeffMakesGames is offline
TheMightyUnknown
Junior Member
Join Date: Jul 2020
Old 08-15-2020 , 11:14   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2140

Just gotta say: I fucking love this plugin!
TheMightyUnknown 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 15:15.


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