Experimental DB pool + fixed stat overflow on equips

Implemented EXPERIMENTAL DBCP (connection pool), trying to improve
concorrent access to DB. Added door portals on Kerning Square. Fixed
equipments getting stat overflow when upgrading stats. Fixed expiring
pets crashing the client in some cases.
This commit is contained in:
ronancpl
2017-08-23 18:01:17 -03:00
parent 36db21bf80
commit 6628e3db54
190 changed files with 18265 additions and 2183 deletions

View File

@@ -1566,7 +1566,7 @@ USE `maplesolaxia`;
(2230103, 4000097, 1, 1, 0, 200000),
(2230103, 4030016, 1, 1, 0, 10000),
(2230103, 4030012, 1, 1, 0, 10000),
(2230103, 4031072, 1, 1, 0, 7000),
(2230103, 4031072, 1, 1, 9004, 7000),
(2230103, 4131000, 1, 1, 0, 3000),
(2230103, 2000000, 1, 1, 0, 40000),
(2230103, 2000001, 1, 1, 0, 40000),
@@ -19705,7 +19705,48 @@ USE `maplesolaxia`;
(6090003, 0, 600, 800, 0, 400000),
(6090004, 0, 1000, 1100, 0, 400000),
(5090000, 0, 800, 920, 0, 400000),
(5090001, 0, 1700, 1750, 0, 400000);
(5090001, 0, 1700, 1750, 0, 400000),
(7090000, 1402015, 1, 1, 0, 8500),
(7090000, 1092016, 1, 1, 0, 8500),
(7090000, 1382039, 1, 1, 0, 8500),
(7090000, 1051054, 1, 1, 0, 8500),
(7090000, 1452014, 1, 1, 0, 8500),
(7090000, 1082107, 1, 1, 0, 8500),
(7090000, 1472027, 1, 1, 0, 8500),
(7090000, 1041102, 1, 1, 0, 8500),
(7090000, 1492022, 1, 1, 0, 8500),
(7090000, 1072309, 1, 1, 0, 8500),
(7090000, 1032020, 1, 1, 0, 8500),
(7090000, 1102023, 1, 1, 0, 8500),
(7090000, 2041014, 1, 1, 0, 4500),
(7090000, 2040519, 1, 1, 0, 4500),
(7090000, 2044601, 1, 1, 0, 4500),
(7090000, 2044705, 1, 1, 0, 4500),
(7090000, 2044809, 1, 1, 0, 4500),
(7090000, 2022130, 1, 1, 0, 200000),
(7090000, 2022191, 1, 1, 0, 200000),
(7090000, 0, 800, 920, 0, 400000),
(8090000, 1040104, 1, 1, 0, 8500),
(8090000, 1412009, 1, 1, 0, 8500),
(8090000, 1072207, 1, 1, 0, 8500),
(8090000, 1382008, 1, 1, 0, 8500),
(8090000, 1050077, 1, 1, 0, 8500),
(8090000, 1462012, 1, 1, 0, 8500),
(8090000, 1002327, 1, 1, 0, 8500),
(8090000, 1332023, 1, 1, 0, 8500),
(8090000, 1082210, 1, 1, 0, 8500),
(8090000, 1482011, 1, 1, 0, 8500),
(8090000, 1032020, 1, 1, 0, 8500),
(8090000, 1102023, 1, 1, 0, 8500),
(8090000, 2041014, 1, 1, 0, 4500),
(8090000, 2040519, 1, 1, 0, 4500),
(8090000, 2044601, 1, 1, 0, 4500),
(8090000, 2044705, 1, 1, 0, 4500),
(8090000, 2044809, 1, 1, 0, 4500),
(8090000, 2022130, 1, 1, 0, 200000),
(8090000, 2022191, 1, 1, 0, 200000),
(8090000, 0, 1000, 1100, 0, 400000);
# (dropperid, itemid, minqty, maxqty, questid, chance)
@@ -19722,11 +19763,6 @@ USE `maplesolaxia`;
FROM temp_data
WHERE temp_data.dropperid = 8820001;
INSERT INTO temp_data (dropperid, itemid, minqty, maxqty, questid, chance)
SELECT dropperid, itemid, minqty, maxqty, questid, chance
FROM table1
WHERE condition;
# reinsert other Freezer's data
INSERT IGNORE INTO temp_data (`dropperid`, `itemid`, `minimum_quantity`, `maximum_quantity`, `questid`, `chance`) VALUES
(9420501, 0, 92, 138, 0, 400000),
@@ -20667,7 +20703,8 @@ USE `maplesolaxia`;
(9102001, 2010004, 2, -1),
(9102001, 2020000, 2, -1),
(9102001, 2020001, 2, -1),
(9102001, 2020002, 2, -1);
(9102001, 2020002, 2, -1),
(2002018, 4161014, 1, 3099);
# updates info for all cards on monster book
DROP TABLE `monstercarddata`;