From b1035a0d75b899ae5474b6a2b08318a26da1a7c1 Mon Sep 17 00:00:00 2001 From: Undercova Date: Fri, 4 Mar 2016 03:32:07 +0100 Subject: [PATCH 1/3] Fixed wrong column type in item database --- serverdata/items/armor.sdb | 2 +- serverdata/items/item.sdb | 4 ++-- serverdata/items/master_item.msdb | 2 +- serverdata/items/object.sdb | 2 +- serverdata/items/storyteller.sdb | 2 +- serverdata/items/weapon.sdb | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/serverdata/items/armor.sdb b/serverdata/items/armor.sdb index 4329d3ba6..2121486bc 100644 --- a/serverdata/items/armor.sdb +++ b/serverdata/items/armor.sdb @@ -1,5 +1,5 @@ item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT armor_assault_agi_lvl20_bicep_l_02_01 object/tangible/wearables/armor/composite/armor_composite_bicep_l.iff armor Nimble Composite Left Bicep Nimble Composite Left Bicep 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none basic assault 0.88 none 20 none FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE agility_modified=5 40 1575 FALSE 0 2 1 - - armor_assault_agi_lvl20_bicep_r_02_01 object/tangible/wearables/armor/composite/armor_composite_bicep_r.iff armor Nimble Composite Right Bicep Nimble Composite Right Bicep 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none basic assault 0.88 none 20 none FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE agility_modified=5 40 1575 FALSE 0 2 1 - - armor_assault_agi_lvl20_boots_02_01 object/tangible/wearables/armor/composite/armor_composite_boots.iff armor Nimble Composite Boots Nimble Composite Boots 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none basic assault 0.88 none 20 none FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE agility_modified=5 40 1575 FALSE 0 2 1 - - diff --git a/serverdata/items/item.sdb b/serverdata/items/item.sdb index f58f25afa..d6a6fbe0e 100644 --- a/serverdata/items/item.sdb +++ b/serverdata/items/item.sdb @@ -1,5 +1,5 @@ -item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT armor_deathtrooper_utility_belt_04_01 object/tangible/wearables/armor/deathtrooper/armor_deathtrooper_utility_belt.iff item Death Trooper Armor Utility Belt Armor that has been recovered off of an undead Imperial Stormtrooper, nicknamed "Death Trooper." This armor has a slight odor but will still protect the user. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none battle 0 none 22 none FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 4 1 - - armor_galactic_marine_backpack object/tangible/wearables/backpack/backpack_galactic_marine.iff item Galactic Marine Backpack Galactic Marines and the clone cold assault troopers, the predecessors of the Imperial snowtroopers, wore similar body armor; the differences being omitted/retooled details on the Galactic Marine armor (particularly the maroon coloration) and the addition of a backplate. The Marines were distinguished by their unique visor gear: synthmesh designed to keep out various hazards such as snow, sand, airborne fungus, and ash. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 imperial 22 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE strength_modified=35,constitution_modified=30,stamina_modified=30,agility_modified=25,luck_modified=25,precision_modified=35 0 0 FALSE 0 4 1 - - armor_galactic_marine_belt object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt.iff item Galactic Marine Belt Galactic Marines and the clone cold assault troopers, the predecessors of the Imperial snowtroopers, wore similar body armor; the differences being omitted/retooled details on the Galactic Marine armor (particularly the maroon coloration) and the addition of a backplate. The Marines were distinguished by their unique visor gear: synthmesh designed to keep out various hazards such as snow, sand, airborne fungus, and ash. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none battle 0 imperial 22 none FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE TRUE FALSE none 0 0 FALSE 0 4 1 - - diff --git a/serverdata/items/master_item.msdb b/serverdata/items/master_item.msdb index 1ef801d40..e891a992c 100644 --- a/serverdata/items/master_item.msdb +++ b/serverdata/items/master_item.msdb @@ -1,5 +1,5 @@ item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT armor.sdb TRUE item.sdb TRUE object.sdb TRUE diff --git a/serverdata/items/object.sdb b/serverdata/items/object.sdb index 50ee04de8..bcf68dbe5 100644 --- a/serverdata/items/object.sdb +++ b/serverdata/items/object.sdb @@ -1,5 +1,5 @@ item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT chapter_8_space_mobile_02_01 object/tangible/collection/reward/space_mobile_publish_gift.iff object A Space Mobile A space mobile depicting X-wings and TIE fighters battling for supremacy in the Naboo System. This item can be used as decoration for your home. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 1 1 - - col_aurebesh_tile_aurek_02_01 object/tangible/loot/creature_loot/collections/aurebesh_tile_aurek.iff object Aurek An Aurebesh Tile. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none col_aurebesh_tiles aurek none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 1000 FALSE 0 1 1 Aurebesh Alphabet - col_aurebesh_tile_besh_02_01 object/tangible/loot/creature_loot/collections/aurebesh_tile_besh.iff object Besh An Aurebesh Tile. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none col_aurebesh_tiles besh none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 1000 FALSE 0 1 1 Aurebesh Alphabet - diff --git a/serverdata/items/storyteller.sdb b/serverdata/items/storyteller.sdb index 4cd3d7def..cf7b09333 100644 --- a/serverdata/items/storyteller.sdb +++ b/serverdata/items/storyteller.sdb @@ -1,5 +1,5 @@ item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT relic_pvp_kill_captain object/tangible/saga_system/saga_relic_pvp.iff storyteller Chronicle Relic: PvP Kill - Rank: Captain This grants a task that requires one to defeat players of the rank Captain. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 1 1 - - relic_pvp_kill_colonel object/tangible/saga_system/saga_relic_pvp.iff storyteller Chronicle Relic: PvP Kill - Rank: Colonel This grants a task that requires one to defeat players of the rank Colonel. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 1 1 - - relic_pvp_kill_corporal object/tangible/saga_system/saga_relic_pvp.iff storyteller Chronicle Relic: PvP Kill - Rank: Corporal/High Trooper This grants a task that requires one to defeat players of the rank Corporal/High Trooper. 1 1000 0 0 none none none none 0 0 0 0 0 none 0 0 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 1 1 - - diff --git a/serverdata/items/weapon.sdb b/serverdata/items/weapon.sdb index 6cf21202d..c76898662 100644 --- a/serverdata/items/weapon.sdb +++ b/serverdata/items/weapon.sdb @@ -1,5 +1,5 @@ item_name iff_template type string_name string_detail volume hit_points min_damage max_damage weapon_category weapon_type damage_type elemental_type elemental_damage attack_speed special_attack_cost min_range_distance max_range_distance proc_effect target_dps actual_dps lifespan buff_name hide_buff_identity cool_down_group reuse_time healing_power client_effect client_animation grant_GCW_faction grant_GCW_value grant_vehicle grant_mount grant_greeter grant_holopet grant_familiar collection_name collection_slot_name schematic_id schematic_type schematic_use schematic_skill_needed armor_level armor_category protection required_faction required_level required_profession race_wookiee race_ithorian race_rodian race_trandoshan race_rest no_trade bio_link worn_item_buff deconstruct sockets skill_mods index_color value isUnique charges tier version comments objvars -TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT INTEGER TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT +TEXT PRIMARY KEY TEXT NOT NULL TEXT NOT NULL TEXT TEXT INTEGER INTEGER INTEGER INTEGER TEXT TEXT TEXT TEXT INTEGER INTEGER INTEGER INTEGER INTEGER TEXT INTEGER INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER INTEGER TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL INTEGER TEXT TEXT TEXT TEXT TEXT TEXT TEXT NOT NULL TEXT INTEGER INTEGER TEXT TEXT TEXT REAL TEXT NOT NULL INTEGER NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT NOT NULL TEXT INTEGER TEXT NOT NULL INTEGER INTEGER INTEGER TEXT TEXT item_event_loveday_crossbow object/weapon/ranged/rifle/rifle_love_day_crossbow.iff weapon Ewok Festival of Love Crossbow A crossbow traditionally used during the celebration of the Ewok Festival of Love. When used on an enemy, this crossbow can help you spread some love! 1 1000 20 40 ranged_weapon RIFLE kinetic none 0 80 100 0 64 none 38 38 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 5 none TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 0 FALSE 0 4 1 ewok festival of love 2009 - item_npe_officer_sidearm object/weapon/ranged/pistol/pistol_scout_blaster_npe.iff weapon Officer's Sidearm An officer's sidearm is often considered a symbol of leadership on the battlefield. 1 1000 15 25 ranged_weapon PISTOL kinetic none 0 40 100 0 35 none 50 50 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 officer TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 250 FALSE 0 2 1 level 1 npe NOTE these dps are higher than average - item_npe_smuggler_han_solo_gun object/weapon/ranged/pistol/pistol_dl44_metal_static.iff weapon Modified DL-44 Modified DL-44. Although not as powerful, this weapon is modeled after Han Solo's own DL-44. 1 1000 13 27 ranged_weapon PISTOL energy none 0 40 100 0 35 none 50 50 0 none FALSE none 0 0 none none none 0 none none none none none none none none 0 0 none none none 0 none 1 smuggler TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE none 0 250 FALSE 0 2 1 level 1 npe NOTE these dps are higher than average - From 1bf469a3a58a598b76d7423f6a4f8736355d8610 Mon Sep 17 00:00:00 2001 From: Undercova PSWG Date: Fri, 4 Mar 2016 03:19:04 +0000 Subject: [PATCH 2/3] Removed wrong entry in yavin4.sdb --- serverdata/spawn/yavin4.sdb | 1 - 1 file changed, 1 deletion(-) diff --git a/serverdata/spawn/yavin4.sdb b/serverdata/spawn/yavin4.sdb index 521ae5c3f..4160ce989 100644 --- a/serverdata/spawn/yavin4.sdb +++ b/serverdata/spawn/yavin4.sdb @@ -211,7 +211,6 @@ INTEGER PRIMARY KEY TEXT NOT NULL TEXT REFERENCES buildings TEXT NOT NULL INTEGE 2400306 YAVIN4 yav_world AREA 0 4820.97 100.00 5582.41 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 0 2400307 YAVIN4 yav_world AREA 0 4829.91 96.00 5572.64 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 0 2400308 YAVIN4 yav_world AREA 0 4832.85 103.73 5545.29 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 0 -2400309 YAVIN4 yav_world AREA 0 01.06.4834 96.00 01.11.5586 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 0 2400310 YAVIN4 yav_world AREA 0 4834.27 102.16 5514.60 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 2 2400311 YAVIN4 yav_world AREA 0 4837.80 102.92 5623.81 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 2 2400312 YAVIN4 yav_world AREA 0 4838.20 100.00 5558.79 0 1 an Exar Kun cultist 11885 dungeon Exar Kun site 1 none 0 300 120 0 From e45a7934891efedf4985dc7960cf7212f1508377 Mon Sep 17 00:00:00 2001 From: Obique PSWG Date: Thu, 3 Mar 2016 21:32:06 -0600 Subject: [PATCH 3/3] Created a DestroyObjectIntent --- src/intents/object/DestroyObjectIntent.java | 48 +++++++++++++++++++++ src/intents/object/ObjectCreatedIntent.java | 27 ++++++++++++ src/services/objects/ObjectManager.java | 29 ++++++++++--- 3 files changed, 98 insertions(+), 6 deletions(-) create mode 100644 src/intents/object/DestroyObjectIntent.java diff --git a/src/intents/object/DestroyObjectIntent.java b/src/intents/object/DestroyObjectIntent.java new file mode 100644 index 000000000..957f16209 --- /dev/null +++ b/src/intents/object/DestroyObjectIntent.java @@ -0,0 +1,48 @@ +/*********************************************************************************** +* Copyright (c) 2015 /// Project SWG /// www.projectswg.com * +* * +* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * +* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * +* Our goal is to create an emulator which will provide a server for players to * +* continue playing a game similar to the one they used to play. We are basing * +* it on the final publish of the game prior to end-game events. * +* * +* This file is part of Holocore. * +* * +* -------------------------------------------------------------------------------- * +* * +* Holocore is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero General Public License as * +* published by the Free Software Foundation, either version 3 of the * +* License, or (at your option) any later version. * +* * +* Holocore is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero General Public License for more details. * +* * +* You should have received a copy of the GNU Affero General Public License * +* along with Holocore. If not, see . * +* * +***********************************************************************************/ +package intents.object; + +import resources.control.Intent; +import resources.objects.SWGObject; + +public class DestroyObjectIntent extends Intent { + + public static final String TYPE = "DestroyObjectIntent"; + + private final SWGObject obj; + + public DestroyObjectIntent(SWGObject obj) { + super(TYPE); + this.obj = obj; + } + + public SWGObject getObject() { + return obj; + } + +} diff --git a/src/intents/object/ObjectCreatedIntent.java b/src/intents/object/ObjectCreatedIntent.java index 3357518cd..b1d017285 100644 --- a/src/intents/object/ObjectCreatedIntent.java +++ b/src/intents/object/ObjectCreatedIntent.java @@ -1,3 +1,30 @@ +/*********************************************************************************** +* Copyright (c) 2015 /// Project SWG /// www.projectswg.com * +* * +* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * +* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * +* Our goal is to create an emulator which will provide a server for players to * +* continue playing a game similar to the one they used to play. We are basing * +* it on the final publish of the game prior to end-game events. * +* * +* This file is part of Holocore. * +* * +* -------------------------------------------------------------------------------- * +* * +* Holocore is free software: you can redistribute it and/or modify * +* it under the terms of the GNU Affero General Public License as * +* published by the Free Software Foundation, either version 3 of the * +* License, or (at your option) any later version. * +* * +* Holocore is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU Affero General Public License for more details. * +* * +* You should have received a copy of the GNU Affero General Public License * +* along with Holocore. If not, see . * +* * +***********************************************************************************/ package intents.object; import resources.control.Intent; diff --git a/src/services/objects/ObjectManager.java b/src/services/objects/ObjectManager.java index 12e2a689f..0a00c39d5 100644 --- a/src/services/objects/ObjectManager.java +++ b/src/services/objects/ObjectManager.java @@ -35,6 +35,7 @@ import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; +import intents.object.DestroyObjectIntent; import intents.object.ObjectCreatedIntent; import intents.object.ObjectTeleportIntent; import intents.player.DeleteCharacterIntent; @@ -92,6 +93,7 @@ public class ObjectManager extends Manager { registerForIntent(GalacticPacketIntent.TYPE); registerForIntent(ObjectTeleportIntent.TYPE); registerForIntent(ObjectCreatedIntent.TYPE); + registerForIntent(DestroyObjectIntent.TYPE); registerForIntent(DeleteCharacterIntent.TYPE); } @@ -174,12 +176,23 @@ public class ObjectManager extends Manager { @Override public void onIntentReceived(Intent i) { - if (i instanceof GalacticPacketIntent) { - processGalacticPacketIntent((GalacticPacketIntent) i); - } else if (i instanceof ObjectCreatedIntent) { - processObjectCreatedIntent((ObjectCreatedIntent) i); - } else if (i instanceof DeleteCharacterIntent) { - deleteObject(((DeleteCharacterIntent) i).getCreature().getObjectId()); + switch (i.getType()) { + case GalacticPacketIntent.TYPE: + if (i instanceof GalacticPacketIntent) + processGalacticPacketIntent((GalacticPacketIntent) i); + break; + case ObjectCreatedIntent.TYPE: + if (i instanceof ObjectCreatedIntent) + processObjectCreatedIntent((ObjectCreatedIntent) i); + break; + case DestroyObjectIntent.TYPE: + if (i instanceof DestroyObjectIntent) + processDestroyObjectIntent((DestroyObjectIntent) i); + break; + case DeleteCharacterIntent.TYPE: + if (i instanceof DeleteCharacterIntent) + deleteObject(((DeleteCharacterIntent) i).getCreature().getObjectId()); + break; } } @@ -187,6 +200,10 @@ public class ObjectManager extends Manager { putObject(intent.getObject()); } + private void processDestroyObjectIntent(DestroyObjectIntent doi) { + destroyObject(doi.getObject()); + } + private void processGalacticPacketIntent(GalacticPacketIntent gpi) { Packet packet = gpi.getPacket(); if (packet instanceof SelectCharacter) {