Changeset 500
- Timestamp:
- Mar 19, 2009, 10:46:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gh_system/export_system/index.php
r496 r500 127 127 if($typ=="gameobject"): 128 128 129 $prikaz = "INSERT INTO gameobject values('', '".$a['id']."', '".$a['map']."', '".$a['spawnMask']."', '".$a['p osition_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['orientation']."', '".$a['rotation0']."', '".$a['rotation1']."', '".$a['rotation2']."', '".$a['rotation3']."', '".$a['spawntimesecs']."', '".$a['animprogress']."', '".$a['state']."');";129 $prikaz = "INSERT INTO gameobject values('', '".$a['id']."', '".$a['map']."', '".$a['spawnMask']."', '".$a['phaseMask']."', '".$a['position_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['orientation']."', '".$a['rotation0']."', '".$a['rotation1']."', '".$a['rotation2']."', '".$a['rotation3']."', '".$a['spawntimesecs']."', '".$a['animprogress']."', '".$a['state']."');"; 130 130 $prikaz .= "\n"; 131 131 132 132 elseif($typ=="creature"): 133 $prikaz = "INSERT INTO creature values('', '".$a['id']."', '".$a['map']."', '".$a['spawnMask']."', '".$a[' modelid']."', , '".$a['equipment_id']."', '".$a['position_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['orientation']."', '".$a['spawntimesecs']."', '".$a['spawndist']."', '".$a['currentwaypoint']."', '".$a['curhealth']."', '".$a['curmana']."', '".$a['DeathState']."', '".$a['MovementType']."');";133 $prikaz = "INSERT INTO creature values('', '".$a['id']."', '".$a['map']."', '".$a['spawnMask']."', '".$a['phaseMask']."', '".$a['modelid']."', , '".$a['equipment_id']."', '".$a['position_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['orientation']."', '".$a['spawntimesecs']."', '".$a['spawndist']."', '".$a['currentwaypoint']."', '".$a['curhealth']."', '".$a['curmana']."', '".$a['DeathState']."', '".$a['MovementType']."');"; 134 134 $prikaz .= "\n"; 135 135 136 136 elseif($typ=="creature_movement"): 137 $prikaz = "INSERT INTO creature_movement values('".$a['id']."', '".$a['point']."', '".$a['position_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['waittime']."', '".$a['text 1']."', '".$a['text2']."', '".$a['text3']."', '".$a['text4']."', '".$a['text5']."', '".$a['emote']."', '".$a['spell']."', '".$a['wpguid']."', '".$a['orientation']."', '".$a['model1']."', '".$a['model2']."');";137 $prikaz = "INSERT INTO creature_movement values('".$a['id']."', '".$a['point']."', '".$a['position_x']."', '".$a['position_y']."', '".$a['position_z']."', '".$a['waittime']."', '".$a['textid1']."', '".$a['textid2']."', '".$a['textid3']."', '".$a['textid4']."', '".$a['textid5']."', '".$a['emote']."', '".$a['spell']."', '".$a['wpguid']."', '".$a['orientation']."', '".$a['model1']."', '".$a['model2']."');"; 138 138 $prikaz .= "\n"; 139 139 endif;
Note:
See TracChangeset
for help on using the changeset viewer.