1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00
Commit graph

2063 commits

Author SHA1 Message Date
NotAdam
c86371ac56 fix issue where yard items couldn't be moved properly 2018-12-27 23:49:20 +11:00
NotAdam
33bd3a7ad6 a bit of refactoring, partially working yard item movement 2018-12-27 22:28:31 +11:00
NotAdam
bda8acdf2c internal item rotation/movement done 2018-12-27 17:12:01 +11:00
NotAdam
46924ccdd5 fix container handling issue where they were created incorrectly 2018-12-27 15:52:48 +11:00
NotAdam
9ebc2b342d cleanup container lists in housingmgr 2018-12-27 13:33:29 +11:00
NotAdam
643e2c1259 correctly send inventories when using internal furnishings menu 2018-12-27 01:09:33 +11:00
NotAdam
9f4648efa8 add internal housing item placement 2018-12-27 00:36:47 +11:00
NotAdam
9c7d0262e0 spawn internal house items from db 2018-12-26 22:39:00 +11:00
NotAdam
1f26eb9627 handle item positions better & some minor cleanup/refactoring 2018-12-26 19:34:43 +11:00
NotAdam
d3301b0b9f add external housing object placing 2018-12-26 18:11:18 +11:00
NotAdam
e58014174c fix msvc builds and cleanup some warnings 2018-12-26 13:37:13 +11:00
NotAdam
68e3f5c3f8 housing yard objects spawn from the db now 2018-12-26 01:08:54 +11:00
NotAdam
e73d9dea0d not much point using a map 2018-12-26 01:05:28 +11:00
NotAdam
27e631d546 yard object spawning (mostly) working 2018-12-26 00:43:27 +11:00
NotAdam
7a15179f5a spawn housing objects on zone in 2018-12-25 23:43:46 +11:00
NotAdam
95862a4fac force stack to 1 for housing items 2018-12-25 22:59:18 +11:00
NotAdam
19017f6e12 remove model params from item constructor 2018-12-25 21:53:05 +11:00
NotAdam
c6232f2395 Fix items being created incorrectly for small plots 2018-12-25 21:40:02 +11:00
NotAdam
52c35e0ccb create all estate inventories on launch 2018-12-25 21:05:13 +11:00
NotAdam
3d469b3f1c minor refactoring, move some more stuff out of land and into housingmgr 2018-12-25 20:12:24 +11:00
NotAdam
ad2fbe44ec fix prepared statement missing a param 2018-12-25 20:11:59 +11:00
NotAdam
95be37add0 fix an issue where multiple items could get created at the same time
subsequently, they would get the same itemid and this would fail
2018-12-25 20:11:41 +11:00
NotAdam
e2fd36bbdb update schema 2018-12-23 23:46:49 +11:00
NotAdam
99c9d5edf8 use HousingItem instead of Item for housing inventories 2018-12-23 22:43:35 +11:00
NotAdam
abb3771b86 save a newly created house to the db correctly 2018-12-23 21:00:00 +11:00
NotAdam
b124ae06b1 more refactoring + sql 2018-12-23 20:54:21 +11:00
NotAdam
2dd08e1551 housing inventories work, parts are loaded from db now
plus a shitload of cleanup and refactoring
2018-12-23 19:13:30 +11:00
NotAdam
478d8fe238 cleanup and simplify model cache logic for houses 2018-12-23 15:23:22 +11:00
NotAdam
616c788e71 cleanup old house cols from db schema 2018-12-22 23:39:07 +11:00
NotAdam
32a8cccb12 refactor housepart to housemodel 2018-12-22 23:33:38 +11:00
NotAdam
f29e72942b show error messages in the event of an invalid house appearance inv 2018-12-22 21:20:24 +11:00
Mordred
d254839fa7 Merge pull request #458 from NotAdam/housing
housing appearance is now loaded from inventory, startup query optimisations again
2018-12-22 10:46:40 +01:00
Adam
517b0912f0 fix autism 2018-12-22 17:54:56 +11:00
NotAdam
40e3865782 cleanup old house apperance crap 2018-12-22 17:29:40 +11:00
NotAdam
c345ac2c4e correctly load appearance from db 2018-12-22 17:25:30 +11:00
NotAdam
ca62581dfb partially fix inventory loading fuckery 2018-12-22 17:22:24 +11:00
NotAdam
c75abab4e6 remove old land init struct 2018-12-22 16:00:04 +11:00
NotAdam
e52127fd91 load housing invs correctly 2018-12-22 15:58:54 +11:00
NotAdam
8b70f79108 fix house init, some refactoring and base inventory impl 2018-12-22 14:35:42 +11:00
NotAdam
8cd4b690a8 init houses from land cache instead of territory based queries 2018-12-22 12:00:34 +11:00
NotAdam
ab35d2075d cache all houses on startup 2018-12-22 11:33:21 +11:00
NotAdam
28211b2808 add batch land select to get all land + houses in 1 query 2018-12-22 02:08:57 +11:00
Mordred
5b38ddf0c5 Merge pull request #457 from NotAdam/housing
sapphire, now with 6000% less queries on startup
2018-12-21 15:18:48 +01:00
NotAdam
74f35ea2ea a little reminder 2018-12-22 01:02:42 +11:00
NotAdam
6da9ae57d2 fix shitty inventory impl so it works a bit more than before 2018-12-22 01:00:31 +11:00
NotAdam
0d66bdd270 batch land sql queries to 1 per ward instead of 60 2018-12-22 00:50:17 +11:00
NotAdam
14848ee955 partially working inventory loading 2018-12-21 23:49:46 +11:00
NotAdam
1c59eb8f98 more ident cleanup 2018-12-21 22:23:49 +11:00
NotAdam
419a61f8ff Move land/house to use LandIdent instead of storing terri/plot/ward 2018-12-21 22:08:05 +11:00
Mordred
d4fcac3708 Merge pull request #456 from NotAdam/housing
housing inventory storage, now with proper container IDs
2018-12-20 14:18:55 +01:00