Raised This Month: $ Target: $400
 0% 

DBI error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Andara
New Member
Join Date: Mar 2004
Old 01-11-2005 , 14:10   DBI error
Reply With Quote #1

Hi,

sry for repeating myself, but I got a big question using the DBI module.

I wrote an plugin, to manage more, than 64 Admins cause we are an 80 man clan, with 10 servers.. so there are much to do...
This plugin is using mysql and sends an query to the database on each player connect, to read, if there are rights.

Now, it seems that everytime, a query is send, dbi opens a new mysql connection!

I've defined a function, to handle mysql connection, this function is only one time executed, but dbi opens everytime another connection, it don't use the old one..


I've posted this in the scripting help forum before, maybe it was a bit deplaced over there ;)

If it is helpful, i'll add the source of my plugin here...
Andara is offline
Send a message via ICQ to Andara
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 01-11-2005 , 14:30  
Reply With Quote #2

Have you changed the max Admins in admin.sma? That's all you really needed to do to accomidate larger numbers of admins..=\
__________________
f1del1ty.oXi is offline
Andara
New Member
Join Date: Mar 2004
Old 01-11-2005 , 14:33  
Reply With Quote #3

yeah, i know.. but

if u got more than 120 admins, searching for errors and want to assign them to specific servers, u need a bit more, than just adding some places to the array.
I used amxbans, but it wasnt that, what i needed, ofcourse, its not "live"...
so u need only to reconnect, to change ur rights...
Andara is offline
Send a message via ICQ to Andara
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 14:54.


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