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

2042 commits

Author SHA1 Message Date
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
NotAdam
2b89c1a3cb how about this 2018-12-21 00:10:13 +11:00
NotAdam
604ba6d106 don't attempt to install clang 2018-12-21 00:06:36 +11:00
NotAdam
0655b99fdb fucking ruby devs 2018-12-21 00:04:11 +11:00
NotAdam
763faa3465 maybe this works 2018-12-21 00:00:05 +11:00
NotAdam
381339fe13 remove old boost shit from travis 2018-12-20 23:59:13 +11:00
NotAdam
c979bc46b0 maybe fix travis, fix ci link in readme 2018-12-20 23:57:01 +11:00
NotAdam
c0e093267d container count notes 2018-12-20 23:38:39 +11:00
NotAdam
68db0d0e0c fix lambda type and remove testing code 2018-12-20 22:31:57 +11:00
NotAdam
a5ad3fb883 correctly send exterior placed items/storeroom inventories 2018-12-20 21:52:18 +11:00
NotAdam
332456ffd0 handle inventory packet sequencing properly for items & containers 2018-12-20 20:41:16 +11:00
Mordred
dbd6804d7d Merge pull request #455 from NotAdam/housing
Minor refactoring and bugfix
2018-12-19 11:06:43 +01:00
Mordred
6e4c190fda Merge pull request #454 from perize/housing
Add missing --pass param in dbm
2018-12-19 10:29:00 +01:00
Perize
73bce03040 Add missing --pass param 2018-12-19 18:12:29 +09:00
NotAdam
d465875318 change getPlayerOwner to getOwnerId 2018-12-19 16:03:35 +11:00
NotAdam
321e42dbcc fix ps4transitionally.html sending accountid as string, not int 2018-12-19 14:43:37 +11:00
Mordred
63ecd9a3c9 Merge pull request #453 from NotAdam/housing
Better errors, fix client trigger params being read incorrectly for housing estates
2018-12-18 21:03:25 +01:00
NotAdam
ab3c3a91cd fix this stupid inconsistency where its sometimes 2 u8s, sometimes u16s 2018-12-19 01:03:41 +11:00
NotAdam
ebda186553 minor cleanup and fix ward/landid being read incorrectly 2018-12-19 00:54:25 +11:00
NotAdam
3848fc60a6 Move inventory container sending to its own function 2018-12-18 22:59:01 +11:00
NotAdam
cb117cd591 Ignore built tools 2018-12-18 22:06:34 +11:00
NotAdam
f71a09fb39 Ignore config folder contents except the default file 2018-12-18 21:49:42 +11:00