Raised This Month: $ Target: $400
 0% 

Server info for SQL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wsellers
New Member
Join Date: Jun 2005
Old 06-03-2005 , 12:14   Server info for SQL
Reply With Quote #1

Hi!

I have a CD-Moderator plugin that works great on my server, but, unfortunately, the sql.cfg information doesn't seem to be available during plugin_init so I had to hardcode the server ip, user and password into the plugin.

(After a user reaches a certain score ratio, his Steam_Id is entered into a MySQL table and then CD is required for him)

When does the information in the sql.cfg become available? What's the best way to get it?

Thanks!!!!
__________________
Check out the server! Female models for female players, WC3.

{7} Deadly Sins
66.208.104.170:27015
wsellers is offline
Send a message via AIM to wsellers
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-03-2005 , 12:17   Re: Server info for SQL
Reply With Quote #2

Quote:
Originally Posted by wsellers
Hi!

I have a CD-Moderator plugin that works great on my server, but, unfortunately, the sql.cfg information doesn't seem to be available during plugin_init so I had to hardcode the server ip, user and password into the plugin.

(After a user reaches a certain score ratio, his Steam_Id is entered into a MySQL table and then CD is required for him)

When does the information in the sql.cfg become available? What's the best way to get it?

Thanks!!!!
Your web-host.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 16:50.


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