Raised This Month: $32 Target: $400
 8% 

MySQL Mapcycle


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
GDX^
Junior Member
Join Date: May 2005
Old 06-25-2005 , 12:59   MySQL Mapcycle
Reply With Quote #1

Hello,

This is my first plugin so ...

This plugins selects the mapcycle from a MySQL Database.

Table:
CREATE TABLE maps (
map varchar(32) NOT NULL default ''
) TYPE=MyISAM;

Add a map with:
INSERT INTO maps VALUES ('de_dust'); (this will add de_dust)

Greetz,
GDX^

EDIT: webcontrol added
Attached Files
File Type: sma Get Plugin or Get Source (mysql_mapcycle.sma - 2473 views - 1.2 KB)
File Type: zip mysql_mapcycle_webcp.zip (966 Bytes, 1121 views)
GDX^ is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 07-16-2005 , 13:28  
Reply With Quote #2

32 characters seems short for some maps.. maybe extend it to 128 or 255
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
evilspy
Member
Join Date: Jun 2004
Location: Finland
Old 08-02-2005 , 09:42  
Reply With Quote #3

Isn't 32 the max for mapname on HL1?
__________________
^^ ^^ ^^ ^^
Metamod-P
- http://metamod-p.sf.net/
evilspy is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 08-02-2005 , 17:42  
Reply With Quote #4

I like the thought of this.. very nice.

I'll put it up asap.

+Karma for joo!
__________________
pendragon is offline
Send a message via ICQ to pendragon
vazze
Junior Member
Join Date: Dec 2004
Old 08-17-2005 , 20:44  
Reply With Quote #5

Cant get the web-app to function?

Can see what maps thats in the DB, but i cant ADD och DELETE them.

Help pls.

(Great plugin btw!!)
vazze is offline
Send a message via ICQ to vazze Send a message via MSN to vazze
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 08-18-2005 , 04:09  
Reply With Quote #6

what does the web function do?
allows you to change map trough weB?
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
vazze
Junior Member
Join Date: Dec 2004
Old 08-18-2005 , 14:17  
Reply With Quote #7

Yes, you can view, remove and add maps into the database..

but i cant for the love of god make it work..
vazze is offline
Send a message via ICQ to vazze Send a message via MSN to vazze
Vorex
Junior Member
Join Date: Jul 2004
Location: South Florida
Old 10-14-2005 , 03:13  
Reply With Quote #8

Webapp works fine you have to edit it to reflect your mySQL server settings
__________________
- Vorex out
Vorex is offline
Send a message via AIM to Vorex Send a message via MSN to Vorex
Mano
New Member
Join Date: Oct 2005
Old 10-14-2005 , 12:01  
Reply With Quote #9

I see no text box for adding map name. Everything else displays fine.
__________________
Mano is offline
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 10-14-2005 , 12:04  
Reply With Quote #10

This is pretty cool.
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
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:50.


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