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

Advertisements - MySQL Updated 2/5/09


Post New Thread Reply   
 
Thread Tools Display Modes
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 02-02-2009 , 10:16   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #11

Quote:
Originally Posted by Sgt-Mess View Post
Can you use this to relay only certain messages of advertisements with the MySql to all your servers, and at the same time still use the single server version.

I only as this because I think it would be a great feature, because some servers might have adverts for things other servers on your database might not need.

Like things from css, that wouldn't be on for say a team fortress 2 server.
I don't know about using it at the same time as the single server version - there's no reason why it shouldn't work.

As for this version - you can set it so, say, all the TF2 servers, have one type of ad (e.g. a sign up for a competition in TF2) and then none of the other games (such as CSS) see it.

I'm currently working on a version for my own community that targets individual servers...
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 02-02-2009 , 11:35   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #12

Quote:
Originally Posted by strontiumdog View Post
I'm currently working on a version for my own community that targets individual servers...
Now you'll have to release it when it's done or suffer a similar hounding...

Thanks for this and the next version Strontiumdog!
SuperShadow is offline
colwulf
Member
Join Date: Jun 2008
Old 02-02-2009 , 15:26   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #13

SWEET YOU GOTR MY PM... DUDE YOUR AWSOME!!!! that is all i can say also love your site...... what you have done with it is sweet!!!
colwulf is offline
colwulf
Member
Join Date: Jun 2008
Old 02-02-2009 , 17:28   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #14

ok i appologise i am getting a error when running the plugin... see below..

Code:
L 02/02/2009 - 18:12:44: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 02/02/2009 - 18:12:44: [SM] Displaying call stack trace for plugin "sm_adsmysql.smx":
L 02/02/2009 - 18:12:44: [SM]   [0]  Line 516, /home/groups/alliedmodders/forums/files/2/4/5/7/3/36558.attach::Admin_ReloadAds()
when i attempt to recompile i get the follwoing

Code:
//// sm_adsmysql.sp
//  internal error

Press enter to exit..
i am running sm 1.1.0 and mm 1.7
colwulf is offline
Icettiflow
Senior Member
Join Date: Jan 2009
Old 02-02-2009 , 18:19   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #15

SD - Can this be integrated into the login for the mute/silence/gag list that you released as you have on your site?
Icettiflow is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 02-02-2009 , 19:04   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #16

@Colwulf: It's not getting connected to the database. Check passwords/users/database names.....
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 02-03-2009 , 00:59   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #17

Quote:
Originally Posted by Icettiflow View Post
SD - Can this be integrated into the login for the mute/silence/gag list that you released as you have on your site?
Yup.
Now you're gonna turn round and ask me to do this, aren't you?


They both use the same admin system, so if you know your PHP and MySQL, it's an easy merge...
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-03-2009 , 01:22   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #18

This is like a start to an online all in one sourcemod administration platform that can let you configure SM and addons on more than 1 server without having to edit the same file 4 times on ftp.
__________________

DontWannaName is offline
flubber
Senior Member
Join Date: Oct 2007
Old 02-03-2009 , 04:01   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #19

Thanks for the plugin, will save us quite some times. Just wondering is there a way to customize ads frequency, like every 30 seconds, or something like that?
flubber is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 02-03-2009 , 10:02   Re: Advertisements - MySQL - v1.2.100
Reply With Quote #20

Use the cvar:

Code:
sm_adsmysql_interval "30"
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog 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 02:54.


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