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

Clan API (Clan Management Interface) v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-12-2006 , 20:26   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #21

Quote:
Originally Posted by TiMbErLaNd
My mistake, why DONT you have it create it. It auto created the one for the web admin or whatever but not the clan_members.
The plugin will autocreate it.

I just realized that people that aren't members get spammed with the "this server is running Clan API" message every round. That's not supposed to happen, so I'll fix it and release 1.1 as a bug fixing release.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 07-12-2006 , 20:30   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #22

Yes it is Spamming a little...

This is what was displayed to me when I first entered the main.php on the bottom of the page under the input fields

Then once again after I tried to add myself as the Leader

"Failed to query Table 'webclan.clan_members' doesn't exist"
TiMbErLaNd is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-12-2006 , 20:36   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #23

Quote:
Originally Posted by TiMbErLaNd
Yes it is Spamming a little...

This is what was displayed to me when I first entered the main.php on the bottom of the page under the input fields

Then once again after I tried to add myself as the Leader

"Failed to query Table 'webclan.clan_members' doesn't exist"
Sounds like you didn't input your sql settings correctly in the sql.cfg.

EDIT: I found a solution to your spamming issue too. If you aren't connected, it'll error before it sets the variable that indicates you have seen the message. Just set your sql.cfg correctly (then change maps) and that should solve it.
__________________

Last edited by Hawk552; 07-12-2006 at 20:39.
Hawk552 is offline
Send a message via AIM to Hawk552
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 07-12-2006 , 20:46   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #24

Quote:
Originally Posted by Hawk552
Sounds like you didn't input your sql settings correctly in the sql.cfg.
While that sounds like it could be an issue eventhough I have about 10 DB plugins running, I think I can find my way around this one.

This is what I get after running the setup.php
Quote:
Attempting to connect to database.
Connected to database.
Attempting to create table clan_web.
Created table clan_web.
WARNING: Could not find the member table clan_members. (plugin will create this)

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/.boone/afk10faction69/afkfaction.com/clan/setup.php on line 42
Attempting to insert master account into database.
Master account created.

Setup complete. Please delete this file.
After this I run the index.php and login, this takes me to the main.php

I get this..

Quote:
Members | Web Admins | Logout

Add member:

Auth:
Name:
Rank:
Leader
Co-Leader
Member
Recruit




Failed to query Table 'webclan.clan_members' doesn't exist
TiMbErLaNd is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-12-2006 , 20:52   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #25

As I said, the plugin does it automatically. The only logical thing is that you didn't set up the plugin correctly, so check your logs, and see if it was able to connect. My guess is that it's flooded with runtime errors.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 07-12-2006 , 20:58   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #26

I guess its not accepting the url as the location, I will try the ip then, hopefully that will work.
TiMbErLaNd is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-13-2006 , 12:44   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #27

Here's version 1.1, it's not tested heavily so I'd like someone to try it before I officially release it.

It adds a character to chat so you can use # instead of amx_clanchat, as well as fixes many runtime errors when not connected. It also adds the ability to seperate your sql connection into another file, or by default use the sql.cfg.

EDIT: File removed, it's now released as 1.1.
__________________

Last edited by Hawk552; 07-21-2006 at 19:52.
Hawk552 is offline
Send a message via AIM to Hawk552
6pack
BANNED
Join Date: Mar 2006
Location: Cedarhurst, Long Island
Old 07-13-2006 , 14:28   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #28

could you make this compatable with 1.71? I dont want to upgrade bcause my server is where I want it.

Thanks
6pack is offline
6pack
BANNED
Join Date: Mar 2006
Location: Cedarhurst, Long Island
Old 07-13-2006 , 18:20   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #29

also, what is this?
Quote:
Attempting to connect to database.
Connected to database.
Attempting to create table clan_web.
ERROR: Could not create table clan_web.
6pack is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-13-2006 , 20:22   Re: Clan API (Clan Management Interface) v1.0
Reply With Quote #30

Quote:
Originally Posted by 6pack
also, what is this?
You probably didn't input the correct database, I'll add a message for that in the next release of the web interface.

I do not plan on making it compatible with 1.71 (nor do I plan on supporting any obsolete version) however if you download the SQLx module it should work. Please be aware, I will not help you if you have any problems with it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 13:00.


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