|
Post by ViciousLothario on Jul 14, 2023 9:11:20 GMT -5
Back to some basics.
Needed to add a couple more tables to the database to calculate some stuff like skill gain for workers. To add proper match history for events especially the tv shows which all have the same id, but need to be passed a different order.
We can also now pick in which region the show is being held, still need to calculate the broadcaster coverage and work ratings on those areas as well, there's a lot going on in the booking screen, although I've not been programming much I've been planning a lot, I want things to be simple but at the same time some are really complex. When we say add region... It's cool, but that involves a lot of coding to be done at this point, but once the basis is set up everything else is a plus. But hey, we already have ratings like CR, MQ, OR and they are being calculated based on the show region, just need to pass the region into the function and I can re-use the code to get a virtual rating for that specific show on another region depending on broadcaster coverage. Also need to calculate worker pop gains, company pop gains, etc, etc, etc. A lot goes through this part of the process.
|
|
|
Post by ViciousLothario on Jul 14, 2023 23:52:49 GMT -5
Attendance levels calculated
Attendance levels calculated. They depend on economy and industry state, now the work is worker injuries.
|
|
|
Post by ViciousLothario on Jul 15, 2023 0:25:20 GMT -5
Injuries calculations added into the mix albeit they aren't fully functional at the moment. They are there but I haven't prepared the booking screen to take that into account. So you can book guys who are injured and the information about injury isn't being displayed at all. So probably will maintain it that way. I want this to be fantasy and fun, not to give headaches with injuries. In another version will properly add them, for those who seek 'realism' and some RNG.
|
|
|
Post by ViciousLothario on Jul 17, 2023 3:06:32 GMT -5
Skill gains are implemented and now I'm calculating worker costs, next up is popularity gains.
|
|
|
Post by ViciousLothario on Jul 17, 2023 3:40:26 GMT -5
Popularity gains are a bit simplified but working, now I just need to improve worker costs calculation, because as of right now we are paying on ppa deals every segment where the worker appears, instead of paying per show.
|
|
|
Post by ViciousLothario on Jul 20, 2023 1:50:40 GMT -5
Angles ratings are being calculated and show final rating is already calculated as well, now onto the part of the show costs as I already sorted the ppa to count only a wrestler once.
|
|
|
Post by ViciousLothario on Jul 27, 2023 6:09:07 GMT -5
The past week I've been more quiet as I am with a lot of workload currently and been working on the fed event history and match history and displaying the ratings to the user when he books the show and clicks run show. All the calculations are being done, now it's a matter of saving it into to the database, which is easy but requires a lot of queries as it affects everything. Worker potential gains, popularity, money, etc... So it is a lot of hard work being done quietly but steadily.
At this stage everything is straight forward, but going forward I will continue to work on this as it is the base of the game. But to start with simplicity is a major step and takes a lot to build the engine from scratch then tweaking should be easier for newer versions.
|
|
|
Post by ViciousLothario on Aug 1, 2023 4:54:32 GMT -5
Angles are being saved and some extra work on small details was made, now it's time to advance to the show overall results presentation. This part needs to be neat and tidy with special focus on ratings, once again I will state, everything is very alpha at this point, but it's working to a degree where one can fantasy book his show and have workers develop. Next is the advance day processing which scares me a bit but we will see.
|
|
|
Post by ViciousLothario on Aug 4, 2023 2:20:41 GMT -5
|
|
|
Post by Mongo the Destroyer on Aug 4, 2023 2:40:29 GMT -5
Oh ho, that's progress I see!
|
|
|
Post by ViciousLothario on Aug 4, 2023 2:59:39 GMT -5
|
|
|
Post by ViciousLothario on Aug 7, 2023 6:15:54 GMT -5
Advance day is working, not as intended but it's working, the idea behind it is to be a multiplayer game, so CPU processing at this point is just pure RNG.
|
|
|
Post by ViciousLothario on Aug 18, 2023 7:56:07 GMT -5
Day advancing is working, but now it's time to present user based results from the last night. INstead of doing all the logic all over again, had to go back to the basics and create a new table only to store the data I used before to present the show history. After 5 hours struggling against it, decided to call it a day, but tomorrow should have the history results working, since now I only have to ask a single table for the information.
|
|
|
Post by ViciousLothario on Aug 18, 2023 11:10:16 GMT -5
Wanted to call it a day but went to it and applied the changes. The looking is not great at the moment but is working. I think I'm almost ready for alpha, just need to add the ai hirings/firings and monthly calculations for sponsors etc. It's still very basic but is everything working as expected I think, there might be some errors on lobby creation because of id's at first for the sidebar and that's something I have to take a look at. Because the sidebar is expecting some variables that not every user has so I need to create those variables where they are non-existent and populate the sidebar with something. Also as a reminder note to myself, add the date conversion to the converter because sometimes it breaks when starting a new game. Can also do it manually, but is better not to, otherwise I keep forgetting to do it.
|
|
|
Post by ViciousLothario on Aug 23, 2023 7:06:31 GMT -5
Sponsors are now calculated on a daily basis as well as production\marketing\etc costs for each company. Need to fix the popularity gains of companies based on their broadcaster coverage and show ratings for user based companies, need also to implement the negotiations feature and the AI-wrestler check if interested, generate a news story for each proposal so the world feels a little bit more alive. I know that single player was going to be a thing but it's going to be very difficult to pull that off at this stage so I'm focusing more on the multiplayer aspect of it. Also for skill gains of wrestlers there is a hard cap of how much a worker can develop per year and the development is only working for user based events as those happen on the ratings calculation and on the fly.
Also need to go back to the database and add the virtual rating of the show for every region. I want regional battles and national battles to occur based on rating and the best stars combined, in EWR is based mostly on top 5 stars. Which might seem silly but is efficient. With the changes I implemented for daily costs and revenue the daily processing is taking a bit longer, i would say 10 seconds or so, with a database with several companies to process, the game index and the advance day is also taking a bit to load I need to refactor the functions that get daily events.
I'm in a bit of a slump in development but I hope I can get on track soon enough.
|
|