Difference between revisions of "Database"

From DSP Wiki
Jump to: navigation, search
m
(Modifying droplists)
Line 38: Line 38:
  
 
Dumping this here for now.  Setting npc_list.status to 2 will make the NPC untargetable.
 
Dumping this here for now.  Setting npc_list.status to 2 will make the NPC untargetable.
 +
 +
=== Modifying Drop Lists ===
 +
 +
Find the mob you want to modify from the sql/mob_pools.sql table.
 +
With the poolid find the mob in sql/mob_groups.sql.
 +
Get the dropid then find the table in sql/mob_droplist.sql.
 +
 +
You can also search for the itemid directly in droplist if its unique enough.
 +
 +
If there is no droplist you can easily create a new one but make sure the dropid is unique.

Revision as of 15:22, 31 July 2013

A break down of the database tables and what the fields mean.

Basic database primer

A simple explanation of how a database works, some hurdles and "gotchas" that might crop up, and why things are done the way they are.

Accounts

Includes "accounts," "accounts_banned," and "accounts_sessions."

Characters

Includes "chars," "char_effects," "char_equip," "char_exp," "char_look," "char_points," "char_profile," "char_skills," "char_stats," "char_storage," "char_titles," "char_vars," and "char_weapon_skill_points."

Items

Includes "item_armor," "item_basic," "item_furnishing," "item_latents," "item_mods," "item_puppet," "item_usable," "item_weapon," and "item_weapon_unlocked."

Actions

Includes "abilities," "blue_spell_list," "blue_spell_mods," "merits," "skill_caps," "skill_ranks," "spell_list," "traits," and "weapon_skills."

Mobs

Includes "mob_spawn_points," "mob_groups," "mob_pools," "mob_droplist," "mob_family_system," "mob_skill," and "nm_spawn_points."

Economy

Includes "auction_house," "delivery_box," "guild_shops," and "synth_recipes."

Fishing

Includes "fishing_fish," "fishing_lure," "fishing_rod,' "fishing_zone."

bcnm_info, bcnm_instance, bcnm_loot, bcnm_treasure_chests, conquest_system, elevators, exp_base, exp_table, linkshells, mob_change_skin, npc_list, pet_list, server_variables, skill_caps, skillchain_damage_modifiers, status_effects, transport, zone_settings, zone_weather, zonelines

Temporary:

Dumping this here for now. Setting npc_list.status to 2 will make the NPC untargetable.

Modifying Drop Lists

Find the mob you want to modify from the sql/mob_pools.sql table. With the poolid find the mob in sql/mob_groups.sql. Get the dropid then find the table in sql/mob_droplist.sql.

You can also search for the itemid directly in droplist if its unique enough.

If there is no droplist you can easily create a new one but make sure the dropid is unique.