mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix 45Rnd_545x39_RPK error with A2OA CorePatch update
This magazine was removed in this commit: https://github.com/Goliath86/CorePatch/commit/fef9bcc The CorePatch data update was pushed to A2OA stable branch on March 27th, 2018. To avoid errors for this before Epoch 1.0.6.3 patch is released remove all instances of it from custom scripts, loot tables and trader files. Run the query below to remove all instances from the database. Fixes #2011
This commit is contained in:
13
Server Files/SQL/1.0.6.3_Updates.sql
Normal file
13
Server Files/SQL/1.0.6.3_Updates.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
DayZ Epoch 1.0.6.3 Updates
|
||||
|
||||
RUN THIS FILE IF UPDATING AN EXISTING 1062 DATABASE TO 1063.
|
||||
NEW DATABASES SHOULD USE EPOCH.SQL INSTEAD.
|
||||
*/
|
||||
|
||||
|
||||
/* 45Rnd_545x39_RPK was removed in the latest A2OA CorePatch */
|
||||
UPDATE `Traders_DATA` SET `item` = '["75Rnd_545x39_RPK",1]' WHERE `item` = '["45Rnd_545x39_RPK",1]';
|
||||
UPDATE character_data SET Backpack = REPLACE(Backpack, '"45Rnd_545x39_RPK"', '"75Rnd_545x39_RPK"') WHERE INSTR(Backpack, '"45Rnd_545x39_RPK"') > 0;
|
||||
UPDATE character_data SET Inventory = REPLACE(Inventory, '"45Rnd_545x39_RPK"', '"75Rnd_545x39_RPK"') WHERE INSTR(Inventory, '"45Rnd_545x39_RPK"') > 0;
|
||||
UPDATE object_data SET Inventory = REPLACE(Inventory, '"45Rnd_545x39_RPK"', '"75Rnd_545x39_RPK"') WHERE INSTR(Inventory, '"45Rnd_545x39_RPK"') > 0;
|
||||
Reference in New Issue
Block a user