Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Query Problemm in db einfügen

Discussion on Query Problemm in db einfügen within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Resqu's Avatar
 
elite*gold: 110
Join Date: Jun 2015
Posts: 85
Received Thanks: 22
Query Problemm in db einfügen

Hallo habe ein problemm wenn ich die query in db einfügen will kommt bei mir folgende fehler

PHP Code:
Data truncated for column 'size' at row 1 
hab versucht versucht leider krieg ich es nicht hin hoffe ihr könnt mir helfen


PHP Code:
INSERT INTO mob_proto VALUES(8028'Metin der Hoffnung''Metin der Hoffnung'52395'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8029'Metin des Schreckens''Metin des Schreckens'523100'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8030'Metin des Zorns''Metin des Zorns'523105'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8031'Metin der Barmherzigkeit''Metin der Barmherzigkeit'523110'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8032'Metin der Unterwelt''Metin der Unterwelt'523115'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000); 
INSERT INTO mob_proto VALUES(8033'Metin der Wiedergeburt''Metin der Wiedergeburt'523120'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000); 
INSERT INTO mob_proto VALUES(8034'Metin der Wut''Metin der Wut'523125'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8035'Metin der Vernunft''Metin der Vernunft'523130'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8036'Metin des Lichts''Metin des Lichts'523135'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8037'Metin der Verzweiflung''Metin der Verzweiflung'523140'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000);
INSERT INTO mob_proto VALUES(8038'Metin der Geduld''Metin der Geduld'523145'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000); 
INSERT INTO mob_proto VALUES(8039'Metin der Elemente''Metin der Elemente'523150'''NOMOVE'0'''STUN,SLOW,CURSE,TERROR'0''000600009999995118480092400540579529953002000175000000000000000000100000070104000000000000000); 
Resqu is offline  
Old 04/21/2016, 18:41   #2
 
Max_N's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 12
Received Thanks: 5
Kann es sein, dass deine mob_proto tabelle column `size` nicht "NOT NULL" ist?

Die size spalte braucht diese Werte:
Code:
`size` enum('SMALL','MEDIUM','BIG') NOT NULL default 'SMALL'
Um das zu prüfen, dump deine mob_proto Tabelle in Navicat und öffne mit einen Text Editor die mob_proto.sql Datei.

mfg
Max_N is offline  
Old 04/21/2016, 19:02   #3
 
Resqu's Avatar
 
elite*gold: 110
Join Date: Jun 2015
Posts: 85
Received Thanks: 22
ich check grad nix mehr

PHP Code:
INSERT INTO `mob_protoVALUES ('8001''???'0x4D6574696E20646573204B756D6D657273'5''2''3''5''''NOMOVE''0''''STUN,SLOW,CURSE,TERROR''0''''0''0''0''6''0''0''0''14550''5''1''2432''1824''1''8''104''109''0''2000''175''0''0''0''0''0''0''0''0''0''0''0''0''0''0''0''0''0''0''100''0''0''0'null'0''0''0''0''0''0''0''0''0''0''0''0''0''0''0''0'); 
Könntes du bitte mal Prüfen und machen weill komme echt nicht weiter

PHP Code:
  `vnumint(11NOT NULL DEFAULT '0',
  `
namevarchar(24NOT NULL DEFAULT 'Noname',
  `
locale_namevarbinary(24NOT NULL DEFAULT 'Noname',
  `
ranktinyint(2NOT NULL DEFAULT '0',
  `
typetinyint(2NOT NULL DEFAULT '0',
  `
battle_typetinyint(1NOT NULL DEFAULT '0',
  `
levelsmallint(3NOT NULL DEFAULT '1',
  `
sizeenum('SMALL','MEDIUM','BIG') DEFAULT NULL,
  `
ai_flagset('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT '',
  `
mount_capacitytinyint(2NOT NULL DEFAULT '0',
  `
setRaceFlagset('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT'NOT NULL DEFAULT '',
  `
setImmuneFlagset('STUN','SLOW','FALL','CURSE','POISON','TERROR'NOT NULL DEFAULT '',
  `
empiretinyint(4NOT NULL DEFAULT '0',
  `
foldervarchar(100NOT NULL DEFAULT '',
  `
on_clicktinyint(4NOT NULL DEFAULT '0',
  `
stsmallint(5unsigned NOT NULL DEFAULT '0',
  `
dxsmallint(5unsigned NOT NULL DEFAULT '0',
  `
htsmallint(5unsigned NOT NULL DEFAULT '0',
  `
iqsmallint(5unsigned NOT NULL DEFAULT '0',
  `
damage_minsmallint(5unsigned NOT NULL DEFAULT '0',
  `
damage_maxsmallint(5unsigned NOT NULL DEFAULT '0',
  `
max_hpint(10unsigned NOT NULL DEFAULT '0',
  `
regen_cycletinyint(3unsigned NOT NULL DEFAULT '0',
  `
regen_percenttinyint(3unsigned NOT NULL DEFAULT '0',
  `
gold_minint(11NOT NULL DEFAULT '0',
  `
gold_maxint(11NOT NULL DEFAULT '0',
  `
expint(10unsigned NOT NULL DEFAULT '0',
  `
defsmallint(5unsigned NOT NULL DEFAULT '0',
  `
attack_speedsmallint(6unsigned NOT NULL DEFAULT '100',
  `
move_speedsmallint(6unsigned NOT NULL DEFAULT '100',
  `
aggressive_hp_pcttinyint(3unsigned NOT NULL DEFAULT '0',
  `
aggressive_sightsmallint(10unsigned NOT NULL DEFAULT '0',
  `
attack_rangesmallint(5unsigned NOT NULL DEFAULT '0',
  `
drop_itemint(10unsigned NOT NULL DEFAULT '0',
  `
resurrection_vnumint(10unsigned NOT NULL DEFAULT '0',
  `
enchant_cursetinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_slowtinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_poisontinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_stuntinyint(3unsigned NOT NULL DEFAULT '0',
  `
enchant_criticaltinyint(3unsigned NOT NULL DEFAULT '0',
  `
enchant_penetratetinyint(3unsigned NOT NULL DEFAULT '0',
  `
resist_swordtinyint(4NOT NULL DEFAULT '0',
  `
resist_twohandtinyint(4NOT NULL DEFAULT '0',
  `
resist_daggertinyint(4NOT NULL DEFAULT '0',
  `
resist_belltinyint(4NOT NULL DEFAULT '0',
  `
resist_fantinyint(4NOT NULL DEFAULT '0',
  `
resist_bowtinyint(4NOT NULL DEFAULT '0',
  `
resist_firetinyint(4NOT NULL DEFAULT '0',
  `
resist_electtinyint(4NOT NULL DEFAULT '0',
  `
resist_magictinyint(4NOT NULL DEFAULT '0',
  `
resist_windtinyint(4NOT NULL DEFAULT '0',
  `
resist_poisontinyint(4NOT NULL DEFAULT '0',
  `
dam_multiplyfloat DEFAULT NULL,
  `
summonint(11) DEFAULT NULL,
  `
drain_spint(11) DEFAULT NULL,
  `
mob_colorint(10unsigned DEFAULT NULL,
  `
polymorph_itemint(10unsigned NOT NULL DEFAULT '0',
  `
skill_level0tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum0int(10unsigned DEFAULT NULL,
  `
skill_level1tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum1int(10unsigned DEFAULT NULL,
  `
skill_level2tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum2int(10unsigned DEFAULT NULL,
  `
skill_level3tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum3int(10unsigned DEFAULT NULL,
  `
skill_level4tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum4int(10unsigned DEFAULT NULL,
  `
sp_berserktinyint(4NOT NULL DEFAULT '0',
  `
sp_stoneskintinyint(4NOT NULL DEFAULT '0',
  `
sp_godspeedtinyint(4NOT NULL DEFAULT '0',
  `
sp_deathblowtinyint(4NOT NULL DEFAULT '0',
  `
sp_revivetinyint(4NOT NULL DEFAULT '0',  `vnumint(11NOT NULL DEFAULT '0',
  `
namevarchar(24NOT NULL DEFAULT 'Noname',
  `
locale_namevarbinary(24NOT NULL DEFAULT 'Noname',
  `
ranktinyint(2NOT NULL DEFAULT '0',
  `
typetinyint(2NOT NULL DEFAULT '0',
  `
battle_typetinyint(1NOT NULL DEFAULT '0',
  `
levelsmallint(3NOT NULL DEFAULT '1',
  `
sizeenum('SMALL','MEDIUM','BIG') DEFAULT NULL,
  `
ai_flagset('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT '',
  `
mount_capacitytinyint(2NOT NULL DEFAULT '0',
  `
setRaceFlagset('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT'NOT NULL DEFAULT '',
  `
setImmuneFlagset('STUN','SLOW','FALL','CURSE','POISON','TERROR'NOT NULL DEFAULT '',
  `
empiretinyint(4NOT NULL DEFAULT '0',
  `
foldervarchar(100NOT NULL DEFAULT '',
  `
on_clicktinyint(4NOT NULL DEFAULT '0',
  `
stsmallint(5unsigned NOT NULL DEFAULT '0',
  `
dxsmallint(5unsigned NOT NULL DEFAULT '0',
  `
htsmallint(5unsigned NOT NULL DEFAULT '0',
  `
iqsmallint(5unsigned NOT NULL DEFAULT '0',
  `
damage_minsmallint(5unsigned NOT NULL DEFAULT '0',
  `
damage_maxsmallint(5unsigned NOT NULL DEFAULT '0',
  `
max_hpint(10unsigned NOT NULL DEFAULT '0',
  `
regen_cycletinyint(3unsigned NOT NULL DEFAULT '0',
  `
regen_percenttinyint(3unsigned NOT NULL DEFAULT '0',
  `
gold_minint(11NOT NULL DEFAULT '0',
  `
gold_maxint(11NOT NULL DEFAULT '0',
  `
expint(10unsigned NOT NULL DEFAULT '0',
  `
defsmallint(5unsigned NOT NULL DEFAULT '0',
  `
attack_speedsmallint(6unsigned NOT NULL DEFAULT '100',
  `
move_speedsmallint(6unsigned NOT NULL DEFAULT '100',
  `
aggressive_hp_pcttinyint(3unsigned NOT NULL DEFAULT '0',
  `
aggressive_sightsmallint(10unsigned NOT NULL DEFAULT '0',
  `
attack_rangesmallint(5unsigned NOT NULL DEFAULT '0',
  `
drop_itemint(10unsigned NOT NULL DEFAULT '0',
  `
resurrection_vnumint(10unsigned NOT NULL DEFAULT '0',
  `
enchant_cursetinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_slowtinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_poisontinyint(4unsigned NOT NULL DEFAULT '0',
  `
enchant_stuntinyint(3unsigned NOT NULL DEFAULT '0',
  `
enchant_criticaltinyint(3unsigned NOT NULL DEFAULT '0',
  `
enchant_penetratetinyint(3unsigned NOT NULL DEFAULT '0',
  `
resist_swordtinyint(4NOT NULL DEFAULT '0',
  `
resist_twohandtinyint(4NOT NULL DEFAULT '0',
  `
resist_daggertinyint(4NOT NULL DEFAULT '0',
  `
resist_belltinyint(4NOT NULL DEFAULT '0',
  `
resist_fantinyint(4NOT NULL DEFAULT '0',
  `
resist_bowtinyint(4NOT NULL DEFAULT '0',
  `
resist_firetinyint(4NOT NULL DEFAULT '0',
  `
resist_electtinyint(4NOT NULL DEFAULT '0',
  `
resist_magictinyint(4NOT NULL DEFAULT '0',
  `
resist_windtinyint(4NOT NULL DEFAULT '0',
  `
resist_poisontinyint(4NOT NULL DEFAULT '0',
  `
dam_multiplyfloat DEFAULT NULL,
  `
summonint(11) DEFAULT NULL,
  `
drain_spint(11) DEFAULT NULL,
  `
mob_colorint(10unsigned DEFAULT NULL,
  `
polymorph_itemint(10unsigned NOT NULL DEFAULT '0',
  `
skill_level0tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum0int(10unsigned DEFAULT NULL,
  `
skill_level1tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum1int(10unsigned DEFAULT NULL,
  `
skill_level2tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum2int(10unsigned DEFAULT NULL,
  `
skill_level3tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum3int(10unsigned DEFAULT NULL,
  `
skill_level4tinyint(3unsigned DEFAULT NULL,
  `
skill_vnum4int(10unsigned DEFAULT NULL,
  `
sp_berserktinyint(4NOT NULL DEFAULT '0',
  `
sp_stoneskintinyint(4NOT NULL DEFAULT '0',
  `
sp_godspeedtinyint(4NOT NULL DEFAULT '0',
  `
sp_deathblowtinyint(4NOT NULL DEFAULT '0',
  `
sp_revivetinyint(4NOT NULL DEFAULT '0'
Resqu is offline  
Old 04/21/2016, 19:39   #4
 
Max_N's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 12
Received Thanks: 5
Code:
  `vnum` int(11) NOT NULL DEFAULT '0',
  `name` varchar(24) NOT NULL DEFAULT 'Noname',
  `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname',
  `rank` tinyint(2) NOT NULL DEFAULT '0',
  `type` tinyint(2) NOT NULL DEFAULT '0',
  `battle_type` tinyint(1) NOT NULL DEFAULT '0',
  `level` smallint(3) NOT NULL DEFAULT '1',
  `size` enum('SMALL','MEDIUM','BIG') NOT NULL default 'SMALL',
  `ai_flag` set('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT '',
  `mount_capacity` tinyint(2) NOT NULL DEFAULT '0',
  `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT') NOT NULL DEFAULT '',
  `setImmuneFlag` set('STUN','SLOW','FALL','CURSE','POISON','TERROR') NOT NULL DEFAULT '',
  `empire` tinyint(4) NOT NULL DEFAULT '0',
  `folder` varchar(100) NOT NULL DEFAULT '',
  `on_click` tinyint(4) NOT NULL DEFAULT '0',
  `st` smallint(5) unsigned NOT NULL DEFAULT '0',
  `dx` smallint(5) unsigned NOT NULL DEFAULT '0',
  `ht` smallint(5) unsigned NOT NULL DEFAULT '0',
  `iq` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_min` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_max` smallint(5) unsigned NOT NULL DEFAULT '0',
  `max_hp` int(10) unsigned NOT NULL DEFAULT '0',
  `regen_cycle` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `regen_percent` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `gold_min` int(11) NOT NULL DEFAULT '0',
  `gold_max` int(11) NOT NULL DEFAULT '0',
  `exp` int(10) unsigned NOT NULL DEFAULT '0',
  `def` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attack_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `move_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `aggressive_hp_pct` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `aggressive_sight` smallint(10) unsigned NOT NULL DEFAULT '0',
  `attack_range` smallint(5) unsigned NOT NULL DEFAULT '0',
  `drop_item` int(10) unsigned NOT NULL DEFAULT '0',
  `resurrection_vnum` int(10) unsigned NOT NULL DEFAULT '0',
  `enchant_curse` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_slow` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_poison` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_stun` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_critical` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_penetrate` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `resist_sword` tinyint(4) NOT NULL DEFAULT '0',
  `resist_twohand` tinyint(4) NOT NULL DEFAULT '0',
  `resist_dagger` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bell` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fan` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bow` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fire` tinyint(4) NOT NULL DEFAULT '0',
  `resist_elect` tinyint(4) NOT NULL DEFAULT '0',
  `resist_magic` tinyint(4) NOT NULL DEFAULT '0',
  `resist_wind` tinyint(4) NOT NULL DEFAULT '0',
  `resist_poison` tinyint(4) NOT NULL DEFAULT '0',
  `dam_multiply` float DEFAULT NULL,
  `summon` int(11) DEFAULT NULL,
  `drain_sp` int(11) DEFAULT NULL,
  `mob_color` int(10) unsigned DEFAULT NULL,
  `polymorph_item` int(10) unsigned NOT NULL DEFAULT '0',
  `skill_level0` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum0` int(10) unsigned DEFAULT NULL,
  `skill_level1` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum1` int(10) unsigned DEFAULT NULL,
  `skill_level2` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum2` int(10) unsigned DEFAULT NULL,
  `skill_level3` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum3` int(10) unsigned DEFAULT NULL,
  `skill_level4` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum4` int(10) unsigned DEFAULT NULL,
  `sp_berserk` tinyint(4) NOT NULL DEFAULT '0',
  `sp_stoneskin` tinyint(4) NOT NULL DEFAULT '0',
  `sp_godspeed` tinyint(4) NOT NULL DEFAULT '0',
  `sp_deathblow` tinyint(4) NOT NULL DEFAULT '0',
  `sp_revive` tinyint(4) NOT NULL DEFAULT '0',  `vnum` int(11) NOT NULL DEFAULT '0',
  `name` varchar(24) NOT NULL DEFAULT 'Noname',
  `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname',
  `rank` tinyint(2) NOT NULL DEFAULT '0',
  `type` tinyint(2) NOT NULL DEFAULT '0',
  `battle_type` tinyint(1) NOT NULL DEFAULT '0',
  `level` smallint(3) NOT NULL DEFAULT '1',
  `size` enum('SMALL','MEDIUM','BIG') DEFAULT NULL,
  `ai_flag` set('AGGR','NOMOVE','COWARD','NOATTSHINSU','NOATTCHUNJO','NOATTJINNO','ATTMOB','BERSERK','STONESKIN','GODSPEED','DEATHBLOW','REVIVE') DEFAULT '',
  `mount_capacity` tinyint(2) NOT NULL DEFAULT '0',
  `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN','ORC','MILGYO','INSECT','FIRE','ICE','DESERT') NOT NULL DEFAULT '',
  `setImmuneFlag` set('STUN','SLOW','FALL','CURSE','POISON','TERROR') NOT NULL DEFAULT '',
  `empire` tinyint(4) NOT NULL DEFAULT '0',
  `folder` varchar(100) NOT NULL DEFAULT '',
  `on_click` tinyint(4) NOT NULL DEFAULT '0',
  `st` smallint(5) unsigned NOT NULL DEFAULT '0',
  `dx` smallint(5) unsigned NOT NULL DEFAULT '0',
  `ht` smallint(5) unsigned NOT NULL DEFAULT '0',
  `iq` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_min` smallint(5) unsigned NOT NULL DEFAULT '0',
  `damage_max` smallint(5) unsigned NOT NULL DEFAULT '0',
  `max_hp` int(10) unsigned NOT NULL DEFAULT '0',
  `regen_cycle` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `regen_percent` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `gold_min` int(11) NOT NULL DEFAULT '0',
  `gold_max` int(11) NOT NULL DEFAULT '0',
  `exp` int(10) unsigned NOT NULL DEFAULT '0',
  `def` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attack_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `move_speed` smallint(6) unsigned NOT NULL DEFAULT '100',
  `aggressive_hp_pct` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `aggressive_sight` smallint(10) unsigned NOT NULL DEFAULT '0',
  `attack_range` smallint(5) unsigned NOT NULL DEFAULT '0',
  `drop_item` int(10) unsigned NOT NULL DEFAULT '0',
  `resurrection_vnum` int(10) unsigned NOT NULL DEFAULT '0',
  `enchant_curse` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_slow` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_poison` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `enchant_stun` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_critical` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `enchant_penetrate` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `resist_sword` tinyint(4) NOT NULL DEFAULT '0',
  `resist_twohand` tinyint(4) NOT NULL DEFAULT '0',
  `resist_dagger` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bell` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fan` tinyint(4) NOT NULL DEFAULT '0',
  `resist_bow` tinyint(4) NOT NULL DEFAULT '0',
  `resist_fire` tinyint(4) NOT NULL DEFAULT '0',
  `resist_elect` tinyint(4) NOT NULL DEFAULT '0',
  `resist_magic` tinyint(4) NOT NULL DEFAULT '0',
  `resist_wind` tinyint(4) NOT NULL DEFAULT '0',
  `resist_poison` tinyint(4) NOT NULL DEFAULT '0',
  `dam_multiply` float DEFAULT NULL,
  `summon` int(11) DEFAULT NULL,
  `drain_sp` int(11) DEFAULT NULL,
  `mob_color` int(10) unsigned DEFAULT NULL,
  `polymorph_item` int(10) unsigned NOT NULL DEFAULT '0',
  `skill_level0` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum0` int(10) unsigned DEFAULT NULL,
  `skill_level1` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum1` int(10) unsigned DEFAULT NULL,
  `skill_level2` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum2` int(10) unsigned DEFAULT NULL,
  `skill_level3` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum3` int(10) unsigned DEFAULT NULL,
  `skill_level4` tinyint(3) unsigned DEFAULT NULL,
  `skill_vnum4` int(10) unsigned DEFAULT NULL,
  `sp_berserk` tinyint(4) NOT NULL DEFAULT '0',
  `sp_stoneskin` tinyint(4) NOT NULL DEFAULT '0',
  `sp_godspeed` tinyint(4) NOT NULL DEFAULT '0',
  `sp_deathblow` tinyint(4) NOT NULL DEFAULT '0',
  `sp_revive` tinyint(4) NOT NULL DEFAULT '0',
guck mal ob es so klappt. Auch wenn es "eigentlich" kein großen Unterschied macht, das einzige was jetzt passiert ist, er trägt in der size Spalte keine "NULL" Werte mehr ein sondern "SMALL".

Falls es nicht klappt, pack den alten Code wieder rein und ich gucke mal was ich sonst noch tun kann.
Max_N is offline  
Reply


Similar Threads Similar Threads
WICHTig....query und einfügen
06/18/2015 - Metin2 Private Server - 7 Replies
hey, ich habe eben was cooles bekommen zum einfügen, ist wie ein Reititer... cliet habe ich alles hinzugefügt aber ic weiß nicht wie ich solche query erstellen kann... kann mir jemadn helfen?:confused:
Item_proto query einfügen ?
07/09/2012 - Metin2 Private Server - 3 Replies
Hey wollte eben in der Item_proto ne query einfügen aber es kommt immer dieser error <- http://i.epvpimg.com/vLhqf.png Weiß wer wie ich mysql upgrade ? Mfg Reall
Sachen in die Query einfügen
11/16/2010 - Metin2 Private Server - 2 Replies
Guten Tag, Wie fügt man sachen z.B. in die item_proto query oder so für neue waffen, items etc.? Weis nämlich nicht was einen Query ist und wo icvh die Codes einfügen muss Mit freundlichen Grüßen Tim29
navicat query einfügen
10/10/2010 - Metin2 Private Server - 3 Replies
wie kann ich bei navicat die querys einfügen
query einfügen
09/23/2010 - Metin2 Private Server - 6 Replies
hey com, ich wollte heute die neuen reittiere einfügen bloß ich weis nicht wie ich die 4 querys einfüge. INSERT INTO mob_proto VALUES ('39912', 'lion', 0x4E6F6E616D65202020202020202020202020202020202020 , '5', '1', '0', '1', '', '', '0', '', 'STUN,SLOW,CURSE,TERROR', '0', 'lion', '2', '0', '0', '0', '0', '0', '0', '120', '3', '1', '2', '2', '400', '4', '100', '100', '0', '2000', '150', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0',...



All times are GMT +2. The time now is 04:31.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.