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

MOTDgd Advertisements (3.0.2 2020/01/04) ** Added 'rewards' (works with CSGO) **


Post New Thread Reply   
 
Thread Tools Display Modes
Ixel
Senior Member
Join Date: Jul 2005
Old 06-25-2013 , 15:57   Re: MOTDgd Advertisements Plugin
Reply With Quote #11

Quote:
Originally Posted by Morell View Post
All adverts with flash produce this crash. I had to disable the plugin.
It's a specific ad that's causing it, it's using a second layer on top which, based on my theory, when it gets removed at the end of the ad it then crashes the game. I've added in some experimental JS to rename two elements that are related to this, as I had an ad like this that I had to get removed. If all ads were the same then everyone would be crashing, so it's just an isolated incident to one ad. I see you added me to Steam but I can't find you on my list, PM me if you want.

EDIT: Nevermind, found you now!

Last edited by Ixel; 06-25-2013 at 16:03.
Ixel is offline
XaxaXoxo
Senior Member
Join Date: Feb 2011
Old 06-26-2013 , 08:57   Re: MOTDgd Advertisements Plugin
Reply With Quote #12

i think you should do a little timer for 10 to 15 seconds, because advertising is sometimes no time to boot
XaxaXoxo is offline
XaxaXoxo
Senior Member
Join Date: Feb 2011
Old 06-26-2013 , 11:46   Re: MOTDgd Advertisements Plugin
Reply With Quote #13

Quote:
L 06/26/2013 - 15:03:48: [SM] Native "GetClientAuthString" reported: Client 23 is not connected
L 06/26/2013 - 15:03:48: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 06/26/2013 - 15:03:48: [SM] [0] Line 125, motdgd_adverts.sp::SendMOTD()
L 06/26/2013 - 15:03:48: [SM] [1] Line 116, motdgd_adverts.sp::NewMOTD()
XaxaXoxo is offline
Ixel
Senior Member
Join Date: Jul 2005
Old 06-26-2013 , 13:26   Re: MOTDgd Advertisements Plugin
Reply With Quote #14

Well spotted. I will sort that out so there's a check to see if the client is online prior to that attempt. I plan to add auto-update support to 1.04 (updater?), an optional csay type of notice after you close the MOTD to warn about sound that may continue for up to 30 seconds and finally an optional (but enabled by default) 10 second timer to allow time for the advertisement page to load and begin.

I've also been told that HTML5 is in the pipeline for release later this year.
Ixel is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 06-26-2013 , 22:29   Re: MOTDgd Advertisements Plugin
Reply With Quote #15

Good job guy I'm testing the plugin, I have a suggestion, add a cvar to force the user to watch the video advs until the end, preventing him from using the "Continue" button ;D
StayOx is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 06-27-2013 , 01:52   Re: MOTDgd Advertisements Plugin
Reply With Quote #16

Quote:
Originally Posted by StayOx View Post
Good job guy I'm testing the plugin, I have a suggestion, add a cvar to force the user to watch the video advs until the end, preventing him from using the "Continue" button ;D
The #1 complaint most users have is being forced to watch and ad... and you want it added to this plugin now. WOW!
DeathMaster is offline
Ixel
Senior Member
Join Date: Jul 2005
Old 06-27-2013 , 04:00   Re: MOTDgd Advertisements Plugin
Reply With Quote #17

Quote:
Originally Posted by DeathMaster View Post
The #1 complaint most users have is being forced to watch and ad... and you want it added to this plugin now. WOW!
It'll be made optional, but enabled by default, easily can be disabled by setting the new upcoming cvar to '0'.

Also, just to let everyone know I am busy migrating servers to something more powerful than the one currently being used, so site may be offline for an hour or two.

Last edited by Ixel; 06-27-2013 at 04:00.
Ixel is offline
Rd1981
Senior Member
Join Date: Apr 2011
Old 06-27-2013 , 05:52   Re: MOTDgd Advertisements Plugin
Reply With Quote #18

I am getting this error for the website now.

404 Not Found
The server can not find the requested page:

motdgd.com/register/ (port 80)
Please forward this error screen to motdgd.com's WebMaster.
Rd1981 is offline
Ixel
Senior Member
Join Date: Jul 2005
Old 06-27-2013 , 06:50   Re: MOTDgd Advertisements Plugin
Reply With Quote #19

Quote:
Originally Posted by Rd1981 View Post
I am getting this error for the website now.

404 Not Found
The server can not find the requested page:

motdgd.com/register/ (port 80)
Please forward this error screen to motdgd.com's WebMaster.
That's because I'm in the process of migrating the website. I'll update the main post and my latest reply when ready. It should hopefully be back in the next hour or so.

EDIT: Site should be up though I'm waiting on the host to finalise something their end.

Update 27/06 19:11 BST: Website back, optimised tracker script too.

Last edited by Ixel; 06-27-2013 at 14:12.
Ixel is offline
Ixel
Senior Member
Join Date: Jul 2005
Old 06-28-2013 , 18:49   Re: MOTDgd Advertisements Plugin
Reply With Quote #20

The plugin has been updated to version 1.04, see the following for the list of changes.

Code:
28/06/2013 – Version 1.04
+ Added CVAR for controlling forced timer support (sm_motdgd_forced 0/1), for 10 seconds
+ Added optional forced timer of 10 seconds
+ Added ‘updater’ library support for auto-update or notifications
* Changed ADMIN_GENERIC to ADMIN_RESERVATION for immunity flag
* Fixed bug where client may no longer be on the server when an action is taken
Enjoy. Feedback welcome as always. Changes are also live on github and the MOTDgd website itself.
Ixel 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 12:59.


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