Commit graph

15 commits

Author SHA1 Message Date
ddfczm
a33ddcea25 InitialServletConnect 2017-01-07 12:51:38 +00:00
RHY3756547
1d9677cc80 [City] More work on crucial features 2017-01-05 16:36:53 +00:00
ddfczm
51804bc473 Property + visitor bonus backend implemented. If a bonus has already been paid for the period running the job again will not give the avatar more funds. 2016-12-29 16:36:54 +00:00
ddfczm
37ceca7458 Typo, off by 1 2016-12-29 14:45:19 +00:00
ddfczm
1db6fb5c7a Refactor of top 100 calculation to rely more on SQL. The top 100 task now processes one day at a time (reducing RAM burden) and writes total hours for the day into a totals table. A stored procedure is then called to calculate the top 100 tables based on this data.
This commit also has some WIP for bonus payments.
2016-12-29 14:38:12 +00:00
ddfczm
b2bbaa8288 Added db tables to store hosts and tasks.
* Hosts keep track of the servers in the pool. Each server and its role is recorded. This helps with service discovery.
* Tasks are async events that have run such as database pruning or top100 calculation. This helps admins know if a task completed or not.
2016-12-26 18:42:48 +00:00
ddfczm
a9c2be2322 Top 100 lot tables + calculations. Basic task schedule engine to automatically run the job every day.
TODO:
* Need to add some way to recover when the server is off when the task should run.
2016-12-24 18:50:11 +00:00
ddfczm
9bc2368be6 Record lot visits 2016-12-23 22:01:51 +00:00
ddfczm
15e909045e Removed the table name from the lotadmit change script as table name is not required to always be fso. 2016-11-29 14:49:39 +00:00
ddfczm
ca63c3d520 Merge remote-tracking branch 'upstream/feature/server-rebuild' into feature/display-racks
Conflicts:
	TSOClient/FSO.Server.Database/DA/SqlDA.cs
	TSOClient/FSO.Server.Database/FSO.Server.Database.csproj
	TSOClient/tso.client/UI/Panels/UILiveMode.cs
	TSOClient/tso.client/packages.config
	TSOClient/tso.simantics/FSO.SimAntics.csproj
	TSOClient/tso.simantics/Marshals/VMMarshal.cs
	TSOClient/tso.simantics/NetPlay/Model/VMNetCommand.cs
	TSOClient/tso.simantics/entities/VMAvatar.cs
2016-11-29 14:43:59 +00:00
ddfczm
f858e30fa0 Dressers now let you change into clothes you own. Have added a migration so everyones current clothes will be added to the database. 2016-11-27 16:12:47 +00:00
ddfczm
578a6bd6ed Manage interaction on store clothing racks fully working. 2016-11-20 13:30:31 +00:00
RHY3756547
a80ab60b93 [City, VM] Implement Lot admit/deny. Small changes. 2016-11-17 19:10:55 +00:00
ddfczm
ab09dafe0c Added backend for bookmarks. This is Maxis protocol compatible and the original game works with this bookmark implementation. However, the maxis protocol way of doing this is really messy. We may wish to change it to a FreeSO protocol specific way in the future if we experience any problems. 2016-11-11 20:28:01 +00:00
ddfczm
0679ef3873 Added migrations for triggers. Also added better error reporting in the migration tool and fixed a column mismatch in the user schema. 2016-11-11 17:03:21 +00:00