1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 07:07:45 +00:00
Commit graph

2175 commits

Author SHA1 Message Date
NotAdam
49c6049531 items can be removed from the estate and moved to storeroom/inventory 2018-12-28 11:49:36 +11:00
NotAdam
3d9a90cbb7 fix removed housing items being orphaned after relogging 2018-12-28 10:17:18 +11:00
NotAdam
298b31512c base implementation of moving housing items back to player inventory
only works for internal items atm
2018-12-28 02:17:29 +11:00
NotAdam
e4513a3243 fix issue where yard items couldn't be moved properly 2018-12-27 23:49:20 +11:00
NotAdam
851446f4d8 a bit of refactoring, partially working yard item movement 2018-12-27 22:28:31 +11:00
NotAdam
858b243e3b internal item rotation/movement done 2018-12-27 17:12:01 +11:00
NotAdam
8aed0e7979 fix container handling issue where they were created incorrectly 2018-12-27 15:52:48 +11:00
NotAdam
6fb1f90b46 cleanup container lists in housingmgr 2018-12-27 13:33:29 +11:00
NotAdam
a0616207a3 correctly send inventories when using internal furnishings menu 2018-12-27 01:09:33 +11:00
NotAdam
2dcc6e460c add internal housing item placement 2018-12-27 00:36:47 +11:00
NotAdam
d238696832 spawn internal house items from db 2018-12-26 22:39:00 +11:00
NotAdam
7da03ef6f0 handle item positions better & some minor cleanup/refactoring 2018-12-26 19:34:43 +11:00
NotAdam
b50c501946 add external housing object placing 2018-12-26 18:11:18 +11:00
NotAdam
0aba5c8d2d fix msvc builds and cleanup some warnings 2018-12-26 13:37:13 +11:00
NotAdam
da8b86b1a0 housing yard objects spawn from the db now 2018-12-26 01:08:54 +11:00
NotAdam
e00883286c not much point using a map 2018-12-26 01:05:28 +11:00
NotAdam
99d52f18f1 yard object spawning (mostly) working 2018-12-26 00:43:27 +11:00
NotAdam
fab6a27354 spawn housing objects on zone in 2018-12-25 23:43:46 +11:00
NotAdam
e0aa6550ae force stack to 1 for housing items 2018-12-25 22:59:18 +11:00
NotAdam
b624237731 remove model params from item constructor 2018-12-25 21:53:05 +11:00
NotAdam
0a4c8b37d7 Fix items being created incorrectly for small plots 2018-12-25 21:40:02 +11:00
NotAdam
a66b937200 create all estate inventories on launch 2018-12-25 21:05:13 +11:00
NotAdam
d9dd3a5114 minor refactoring, move some more stuff out of land and into housingmgr 2018-12-25 20:12:24 +11:00
NotAdam
56d78e8c3d fix prepared statement missing a param 2018-12-25 20:11:59 +11:00
NotAdam
068b840c0a 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
Mordred
4a33793270 More fw cleanup 2018-12-25 01:57:50 +01:00
NotAdam
5ed8281f96 update schema 2018-12-23 23:46:49 +11:00
Mordred
fdb4f011ac More fw related cleanup 2018-12-23 13:26:33 +01:00
NotAdam
b4e0c2a406 use HousingItem instead of Item for housing inventories 2018-12-23 22:43:35 +11:00
NotAdam
b77d4e6ff3 save a newly created house to the db correctly 2018-12-23 21:00:00 +11:00
NotAdam
24520a8491 more refactoring + sql 2018-12-23 20:54:21 +11:00
NotAdam
2c426b5059 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
50ddcbb180 cleanup and simplify model cache logic for houses 2018-12-23 15:23:22 +11:00
Mordred
f1c0512d28 Progress... 2018-12-23 03:53:08 +01:00
Mordred
28139b47b5 Added BaseManager and moved DebugCommandHandler to Manager 2018-12-22 22:25:03 +01:00
NotAdam
ce53890985 cleanup old house cols from db schema 2018-12-22 23:39:07 +11:00
NotAdam
b9fe2b33f9 refactor housepart to housemodel 2018-12-22 23:33:38 +11:00
NotAdam
d0d776161b show error messages in the event of an invalid house appearance inv 2018-12-22 21:20:24 +11:00
Mordred
18fd18ebe0
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
f774e754f2
fix autism 2018-12-22 17:54:56 +11:00
NotAdam
3d0780e9fe cleanup old house apperance crap 2018-12-22 17:29:40 +11:00
NotAdam
54f3a8e933 correctly load appearance from db 2018-12-22 17:25:30 +11:00
NotAdam
1b097e4181 partially fix inventory loading fuckery 2018-12-22 17:22:24 +11:00
NotAdam
66156a97ca remove old land init struct 2018-12-22 16:00:04 +11:00
NotAdam
3346ce6740 load housing invs correctly 2018-12-22 15:58:54 +11:00
NotAdam
05b4045165 fix house init, some refactoring and base inventory impl 2018-12-22 14:35:42 +11:00
NotAdam
74b41683ac init houses from land cache instead of territory based queries 2018-12-22 12:00:34 +11:00
NotAdam
09f0123809 cache all houses on startup 2018-12-22 11:33:21 +11:00
Mordred
c0f2f7880c Merge remote-tracking branch 'origin/housing' into develop 2018-12-21 16:35:24 +01:00
NotAdam
cb96c26c3e add batch land select to get all land + houses in 1 query 2018-12-22 02:08:57 +11:00