µ±Ç°Î»Öà : 145zÓÎÏ·Õ¾¡¡|¡¡Ä§Óò¡¡|¡¡¼¼Êõ½Ì³Ì¡¡|¡¡

ÔÚħÓò·þÎñÆ÷ÀïÈçºÎÀûÓÃMSGÔ´ÂëÏà¶ÔÊý¾Ý¿â½øÐÐÄÚÈÝÊÕ¼¯Ïêϸ¹¥ÂÔ

Èȶȣº
Æäʵ¶ÔÓÚ´ó¶àÊýħÓògmÀ´ËµËûÃÇ»òÐí¶¼²»ÖªµÀMSGÔ´ÂëÊÇʲô£¬¶ÔÓÚ´ó¶àÊýÐÂÊÖħÓògmÀ´ËµÕâÑùµÄÇé¿ö»¹ÊDZȽÏÕý³£µÄ£¬±Ï¾¹Ä§ÓòÊÇÒ»¸ö´óÐÍÍøÂçÓÎÏ·ÏëÒªÒ»³¯Ò»Ï¦È«²¿Á˽âÏÔÈ»ÊÇÒ»¼þ²»¿ÉÄÜÍê³ÉµÄÊÂÇé¡£Ëæ×ÅÎÒÃǶÔħÓòÓÎÏ·µÄÁ˽âÉîÈëºÜ¶àÎÊÌâ×ÔÈ»¶øÈ»µÄ¾Í¶¼Ã÷°×ÁË£¬½ñÌìÎÒÃǾÍÀ´ÁÄÒ»ÏÂMSGÔ´ÂëÏà¶ÔÊý¾Ý¿âµÄһЩ¼òµ¥ÎÊÌâºÍÏà¹ØµÄʹÓü¼ÇÉ¡£ÆäʵÕûÌåÉÏÀ´ËµÕâÆª¹¥ÂÔ»¹ÊDZȽϼòµ¥µÄ£¬ÈκÎÒ»¸öħÓògm»ù±¾É϶¼Äܹ»¿´¶®¡£

ÒÔÏÂÄÚÈݲ»½ö°üº¬ÁËÊý¾Ý×ֶνâÊÍ ¶øÇÒ »¹ÓÐÏàÓ¦Êý¾Ý×ֶεÄÉèÖÃÄÚÈÝ!
# Host: 192.168.1.200 Database: cq
#--------------------------------------------------------
# Server version 3.23.32

#
# Table structure for table 'cq_item'
#

CREATE TABLE cq_item(
id int(4) unsigned NOT NULL auto_increment,
type int(4) unsigned NOT NULL default '0',
owner_id int(4) unsigned NOT NULL default '0',
player_id int(4) unsigned NOT NULL default '0',
amount smallint(2) unsigned NOT NULL default '100',
amount_limit smallint(2) unsigned NOT NULL default '100',
ident tinyint(1) unsigned NOT NULL default '0',
position tinyint(1) unsigned NOT NULL default '0',
gem1 tinyint(1) unsigned NOT NULL default '0',
gem2 tinyint(1) unsigned NOT NULL default '0',
magic1 tinyint(1) unsigned NOT NULL default '0',
magic2 tinyint(1) unsigned NOT NULL default '0',
magic3 tinyint(1) unsigned NOT NULL default '0',
data int(4) NOT NULL default '0',
PRIMARY KEY (id),
KEY package(owner_id, position, player_id)
) TYPE=MyISAM;

#
# Table structure for table 'cq_itemtype'
#

DROP TABLE IF EXISTS cq_itemtype;
CREATE TABLE cq_itemtype (
id int(4) unsigned NOT NULL default '0',
name varchar(15) binary NOT NULL default '',
req_profession tinyint(1) unsigned NOT NULL default '0',
level tinyint(1) unsigned NOT NULL default '0',
req_level tinyint(1) unsigned NOT NULL default '0',
req_edu tinyint(1) unsigned NOT NULL default '0',
req_force smallint(2) unsigned NOT NULL default '0',
req_speed smallint(2) unsigned NOT NULL default '0',
req_health smallint(2) unsigned NOT NULL default '0',
req_soul smallint(2) unsigned NOT NULL default '0',

monopoly tinyint(1) unsigned NOT NULL default '0',
weight smallint(2) unsigned NOT NULL default '100',
price int(4) unsigned NOT NULL default '0',
id_action int(4) unsigned NOT NULL default '0',
attack_max smallint(2) unsigned NOT NULL default '0',
attack_min smallint(2) unsigned NOT NULL default '0',
defense smallint(2) unsigned NOT NULL default '0',
magicatk_min smallint(2) unsigned NOT NULL default '0',
add_soul smallint(2) unsigned NOT NULL default '0',
life smallint(2) NOT NULL default '0',
mana smallint(2) NOT NULL default '0',
amount smallint(2) unsigned NOT NULL default '1',
amount_limit smallint(2) unsigned NOT NULL default '1',
ident tinyint(1) unsigned NOT NULL default '0',
gem1 tinyint(1) unsigned NOT NULL default '0',
gem2 tinyint(1) unsigned NOT NULL default '0',
magic1 tinyint(1) unsigned NOT NULL default '0',
magic2 tinyint(1) unsigned NOT NULL default '0',
magic3 tinyint(1) unsigned NOT NULL default '0',
magicatk_max smallint(2) unsigned NOT NULL default '0',
magic_def smallint(2) unsigned NOT NULL default '0',
atk_range smallint(2) unsigned NOT NULL default '1',
atk_speed smallint(2) unsigned NOT NULL default '800',
PRIMARY KEY (id)
) TYPE=MyISAM;
##############################################################
# itemtype±íÕë¶ÔÎïÆ·µÄ×Ö¶ÎתÒ壺
# req_level£ºÈËÎïµÈ¼¶
# attack_max£ºÃ²ËÆÊÇBBԭʼ³É³¤ÂÊ
# attack_min£ºÃ²ËÆÊÇBBÉý¼¶µ½ÏÂÒ»¼¶ÐèÒªµÄ¾­ÑéÖµ
##############################################################
#
# req_weaponskill×Ö¶ÎÎÞÓ㬸ÄÃûΪlevel£ºÎïÆ·µÈ¼¶
#
##############################################################

#
# Table structure for table 'cq_friend'
#

CREATE TABLE cq_friend (
id int(4) unsigned zerofill NOT NULL auto_increment,
userid int(4) unsigned zerofill NOT NULL default '0000',
friend int(4) unsigned zerofill NOT NULL default '0',
friendname varchar(15) NOT NULL default 'ÎÞ',
PRIMARY KEY (id),
KEY userid(userid)
) TYPE=MyISAM;


#
# Table structure for table 'cq_enemy'
#

DROP TABLE IF EXISTS cq_enemy;
CREATE TABLE cq_enemy (
id int(4) unsigned zerofill NOT NULL auto_increment,
userid int(4) unsigned zerofill NOT NULL default '0000',
enemy int(4) unsigned zerofill NOT NULL default '0',
enemyname varchar(15) NOT NULL default 'ÎÞ',
time int(4) unsigned zerofill NOT NULL default '0',
PRIMARY KEY (id),
KEY userid(userid,enemy)
) TYPE=MyISAM;


#
# Table structure for table 'cq_generator'
#

DROP TABLE IF EXISTS cq_generator;
CREATE TABLE cq_generator (
id int(4) unsigned zerofill NOT NULL auto_increment,
mapid int(4) unsigned zerofill NOT NULL default '0000',
bound_x int(4) unsigned zerofill NOT NULL default '0000',
bound_y int(4) unsigned zerofill NOT NULL default '0000',
bound_cx int(4) unsigned zerofill NOT NULL default '0000',
bound_cy int(4) unsigned zerofill NOT NULL default '0000',
grid int(4) unsigned zerofill NOT NULL default '0009',
rest_secs int(4) unsigned zerofill NOT NULL default '0000',
max_per_gen int(4) unsigned zerofill NOT NULL default '0000',
npctype int(4) unsigned zerofill NOT NULL default '0000',
timer_begin int(4) unsigned zerofill NOT NULL default '0000',
timer_end int(4) unsigned zerofill NOT NULL default '0000',
born_x int(4) unsigned zerofill NOT NULL default '0000',
born_y int(4) unsigned zerofill NOT NULL default '0000',
PRIMARY KEY (id),
KEY mapid(mapid)
) TYPE=MyISAM;
# max_per_gen - 0: generat by game server
# npctype - only use for monster but pet
# (bound_x==0 && bound_y==0) : dynamic bound for pet
# timer_begin,timer_end - format: DDWWHHMMSS, DD:day of month(1-31), WW:day of week(1-7), HHMMSS:hour,minute,second. WW mast 00 when DD is not 00.
# born_x,born_y - born from bound when default 0, else born to corrd(x,y)


#
# Table structure for table 'cq_monstertype'
#

DROP TABLE IF EXISTS cq_monstertype;
CREATE TABLE cq_monstertype (
id INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
name CHAR (15) NOT NULL DEFAULT 'ÎÞ',
type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
lookface INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
length tinyint (4) NOT NULL DEFAULT 0,
fat tinyint (4) NOT NULL DEFAULT 0,
life SMALLINT (2) UNSIGNED ZEROFILL NOT NULL DEFAULT 00,
mana SMALLINT (2) UNSIGNED ZEROFILL NOT NULL DEFAULT 00,
attack_max INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,


attack_min INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
defence INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
dexterity INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
dodge INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
helmet_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
armor_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
weaponr_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
weaponl_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000, ÄÚÈÝÀ´×Ôdedecms
attack_range INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
view_range INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
escape_life INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
attack_speed INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
move_speed INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
level INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
attack_user INTEGER (1) UNSIGNED NOT NULL DEFAULT 3,
drop_money_min INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
drop_money_max INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000, ÄÚÈÝÀ´×Ôdedecms
size_add INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
action INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
run_speed INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
drop_armet tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_necklace tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_armor tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_ring tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_weapon tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_shield tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_shoes tinyint (3) UNSIGNED ZEROFILL NOT NULL DEFAULT 000,
drop_money_chance INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
drop_item_chance INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
magic_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
magic_def INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
magic_hitrate INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0100,
atk_hitrate INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
ai_type INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
defence2 INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 10000,
explode_item_chance1 INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
explode_item_chance2 INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
explode_item_chance3 INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
drop_item_rule INTEGER (4) UNSIGNED ZEROFILL NOT NULL DEFAULT 0000,
PRIMARY KEY (id)
) TYPE=MyISAM;
ÒÔÉϾÍÊÇһΪԭ´´·ÖÏí¸ø¸÷λµÄÈçºÎÀûÓÃMSGÔ´ÂëÏà¶ÔÊý¾Ý¿â½øÐÐÄÚÈÝÊÕ¼¯Ïêϸ¹¥ÂÔÈ«²¿ÄÚÈÝ£¬ÆäʵÕûÌåÉÏÀ´ËµÄ§ÓòÏà¹Ø¼¼Êõ»¹ÊDZȽÏÄѵģ¬±Ï¾¹Õâ¿ÉÒÔ˵ÊÇÒ»¸ö·Ç³£È«ÃæµÄÍøÂçÓÎÏ·¡£Ïà¹ØµÄÊý¾Ý¿âºÍ´úÂëÊýÁ¿¾ø¶Ô²»ÊÇÒ»°ãµÄСÓÎÏ·Äܹ»±ÈÄâµÄ£¬ÏëҪѧ»áÏà¹ØÉèÖúÍÍæ·¨ÐèÒªÎÒÃÇ·¢³ö´óÁ¿µÄʱ¼ä¾«Á¦¡£