[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Fdatabase-and-updates":3,"shop-sale-banner":227,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Fdatabase-and-updates-surround":233,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Fdatabase-and-updates-implemented-suggestions":244},{"id":4,"title":5,"body":6,"description":223,"extension":224,"head":225,"implementedSuggestions":225,"meta":226,"navigation":227,"path":228,"schemaOrg":225,"seo":229,"sitemap":230,"stem":231,"__hash__":232},"docs\u002F1.docs\u002Fscripts\u002F9.hunting\u002F4.reference\u002F3.database-and-updates.md","Database and updates",{"type":7,"value":8,"toc":215},"minimark",[9,28,33,113,120,124,188,194,198],[10,11,12,13,17,18,21,22,27],"p",{},"Hunting uses ",[14,15,16],"code",{},"oxmysql"," through Sky Base and reads the table definitions in its shipped ",[14,19,20],{},"import.sql"," at startup. The inventory catalogue is prepared separately using ",[23,24,26],"a",{"href":25},".\u002Finventory-items","Inventory items",".",[29,30,32],"h2",{"id":31},"saved-data","Saved data",[34,35,36,49],"table",{},[37,38,39],"thead",{},[40,41,42,46],"tr",{},[43,44,45],"th",{},"Table",[43,47,48],{},"Contents",[50,51,52,63,73,83,93,103],"tbody",{},[40,53,54,60],{},[55,56,57],"td",{},[14,58,59],{},"sky_hunting_collection",[55,61,62],{},"Journal discoveries, counts and best ratings",[40,64,65,70],{},[55,66,67],{},[14,68,69],{},"sky_hunting_progress",[55,71,72],{},"Character XP and purchased skills",[40,74,75,80],{},[55,76,77],{},[14,78,79],{},"sky_hunting_daily",[55,81,82],{},"Daily orders, progress and reward state",[40,84,85,90],{},[55,86,87],{},[14,88,89],{},"sky_hunting_configurator_settings",[55,91,92],{},"Saved panel overrides and their revision",[40,94,95,100],{},[55,96,97],{},[14,98,99],{},"sky_hunting_butcher_receipts",[55,101,102],{},"Outstanding butcher payouts",[40,104,105,110],{},[55,106,107],{},[14,108,109],{},"sky_hunting_money",[55,111,112],{},"Open shop and rental payment receipts",[10,114,115,116,119],{},"Back up all ",[14,117,118],{},"sky_hunting_*"," tables present in your installation, including payment receipts. Keep character identifiers consistent when moving to a new framework or character system.",[29,121,123],{"id":122},"update-an-existing-installation","Update an existing installation",[125,126,127,131,138,145,161,176],"ol",{},[128,129,130],"li",{},"Have players recover their cages and bait, finish deliveries and return rentals. Stop the server for the package update.",[128,132,133,134,137],{},"Back up the old ",[14,135,136],{},"sky_hunting"," folder and its database tables. Keep a coordinated backup of the inventory and account data as well.",[128,139,140,141,144],{},"Replace the installed resource with the new download. Merge custom defaults into the new ",[14,142,143],{},"config\u002Fconfig.lua",". If you are migrating legacy saved configuration, retain the files described below for the first start.",[128,146,147,148,152,153,157,158,27],{},"Update ",[23,149,151],{"href":150},"\u002Fdocs\u002Fbase\u002Fintroduction","Sky Base"," and ",[23,154,156],{"href":155},"\u002Fdocs\u002Fscripts\u002Fprimitive-weapons\u002Foverview","Sky Primitive Weapons"," as needed and merge any new ",[23,159,160],{"href":25},"inventory items and images",[128,162,163,164,167,168,171,172,175],{},"If you previously installed ",[14,165,166],{},"sky_hunting_lodge",", ",[14,169,170],{},"sky_hunting_rifle"," or ",[14,173,174],{},"sky_hunting_shotgun"," separately, disable their start entries. Their map and weapon assets are included in the Hunting resource.",[128,177,178,179,183,184,187],{},"Start the server using the ",[23,180,182],{"href":181},"..\u002Fsetup\u002Finstallation#start-the-resources","installation order"," and reconnect with a fresh client session. Reopen ",[14,185,186],{},"\u002Fhuntingconfig"," to check your applied settings. On an existing character, check the journal, skills, daily missions, inventory and any outstanding butcher payout.",[10,189,190,191,193],{},"Check the server console for SQL or item errors during startup. Compare a failing table or statement with ",[14,192,20],{}," and preserve the affected data for review.",[29,195,197],{"id":196},"migrate-older-saved-settings","Migrate older saved settings",[10,199,200,201,204,205,207,208,171,211,214],{},"On the first start with database-backed settings, Hunting can import the old ",[14,202,203],{},"HuntingSettings.saved"," block from ",[14,206,143],{}," or an existing ",[14,209,210],{},"config\u002Fpanel-overrides.lua",[14,212,213],{},"config\u002Fpanel-overrides.json",". Keep the format your previous installation uses until the first successful start. Check the panel and the in-game result before archiving your old copy. After the import, the database supplies the saved overrides.",{"title":216,"searchDepth":217,"depth":218,"links":219},"",1,2,[220,221,222],{"id":31,"depth":218,"text":32},{"id":122,"depth":218,"text":123},{"id":196,"depth":218,"text":197},"Back up Hunting data, migrate older settings and replace the former standalone lodge and weapon add-ons.","md",null,{},true,"\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Fdatabase-and-updates",{"title":5,"description":223},{"loc":228},"1.docs\u002Fscripts\u002F9.hunting\u002F4.reference\u002F3.database-and-updates","FUy5o8HCi-gvocewWgAzod4q-CkF3Za2gzyDCSnny7U",[234,239],{"title":235,"path":236,"stem":237,"description":238,"children":-1},"Commands and controls","\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Fcommands","1.docs\u002Fscripts\u002F9.hunting\u002F4.reference\u002F2.commands","Open Hunting configuration, use gameplay interactions and reconcile uncertain payments.",{"title":240,"path":241,"stem":242,"description":243,"children":-1},"Troubleshooting","\u002Fdocs\u002Fscripts\u002Fhunting\u002Freference\u002Ftroubleshooting","1.docs\u002Fscripts\u002F9.hunting\u002F4.reference\u002F4.troubleshooting","Resolve Hunting startup, configuration, inventory, wildlife, transport and sale problems.",[]]