|
Post by ViciousLothario on Jun 24, 2023 11:38:48 GMT -5
Entry #41: Title Functions created!
We can now create, delete and update titles, but the delete function doesn't really delete... It just sets the id to -1. So we don't lose title history and later on can introduce some features like buying defunct titles or re-activating titles for a sum, will check on that at a later stage, now it's creating views and making sure everything in the menu works and shows information and let's player communicate with the data.
|
|
|
Post by ViciousLothario on Jun 24, 2023 14:48:40 GMT -5
Entry #42: FEUDS?!?!
Yes SIR!
And they are easy to create too
You see those dropdowns? You can select multiple workers, even all...
And they are easy to remove too..
And what about deleting a storyline? You don't delete it, you end it, so you always have a log of what you've done. I need to work on storyline details but since I don't have the engine up and running there's no point to do it right now. Let's move on to one of my biggest headaches... Schedules...
|
|
|
Post by Mongo the Destroyer on Jun 24, 2023 17:48:31 GMT -5
What if you lose the people in the storyline but can't delete it?
|
|
|
Post by ViciousLothario on Jun 25, 2023 0:33:40 GMT -5
What if you lose the people in the storyline but can't delete it? People just get removed from the storyline, they will still appear in the history though. If there aren't enough workers, the storyline ends. Like you, I don't like stuff getting deleted from the data. PLus you can run a storyline just with one worker. Like worker is on a losing streak... that's individual. When you book you can choose to develop the storyline as long 1 worker from the storyline is involved.
|
|
|
Post by ViciousLothario on Jun 26, 2023 3:24:38 GMT -5
Entry #43: Calendar
After many composer re-install I found a way to have a calendar working with the company schedule, right now is only set for Annual and Special Events and it was a big headache, let's see if I can make the same for weekly events, or monthly events.
Weekly should be easy, like get how many weeks a year has, and which day of the week the event is held, and loop through. Monthly should be roughly the same. It might give a different day every month but hey, it's better than nothing.
Now the part is to edit and manipulate this events, a lot of Jquery/Javascript and Ajax is going to be used, or create one from scratch but hey, here's a preview.
Also on a side note, schedule is created per year, so for now it only shows all the events booked for 1992. When you get to 1993 the data will change and those events will be there, in case you remove the event or move it to a different date but say it's annual. I do this because of perfomance.
|
|
|
Post by ViciousLothario on Jun 26, 2023 23:44:21 GMT -5
Entry #44: Going through a bit of a stall
I've been working on the manage your company screens. I've noticed I might have too many menu items, or too many actions. I created all the view files, but they are empty right now. And most of them will show only information and editable information.
For example company info is a replica of what other users can see about your company and you can edit it, for an example, logo, style, biography. Here you get a general overview. But also added show history and other user hidden info like financial reports and your coverage/broadcast deals.
Negotiations will show all the ongoing negotiations with wrestlers/broadcasters/other companies.
Pop Size could be condensed into company info.
Departments are shown on info, but I plan to add actions with departments. Like medical department will influence injuries and can recover certain wrestlers and wrestler condition. Marketing can have some sort of campaigns and creative input, so on and so forth.
Creative is where you see your top wrestlers, ideas, gimmicks that are stale, etc. Sophie...
Business Relations could be condensed into company info view.
Training is where you manage your dojo. I plan to add some features here, like see current trainees, send them away, bring them up, etc.
Developmental is where you see your developmental company if you have one and can manage it and do certain actions as parent company.
|
|
|
Post by ViciousLothario on Jun 27, 2023 10:45:33 GMT -5
Entry #45: After a small drought
Already set up the weekly events in the schedule, I don't know about monthly though but will give it a try tomorrow, also worked on company info, financial reports and show history, once I've data to populate those fields I will start working on the logic of it.
I will store all the financial records for each company for the past year so every end of the month there should be a more processing done than per usual. Also need to check if there is a event on a specific date, so I guess that my best bet is to set a date on conversion because of TEW 4 Weeks format not respecting the actual months. So I need to create the dates for the events and store them somewhere so I can ask the database if a event is bound to happen and if the company belongs to a user or AI. Or when I create an event on the schedule also save it to the database.
AI won't have any booking to start with, I will just simulate and process workers contracted to that company, pretty much like EWR did and overtime will work on that feature.
Most of the work I've done so far is all about data, showing data and not much on the actual aspect and core of the game that is booking. But it's a work that needs to be done to provide enough depth to the game itself. If I look back, it took me one month to get to this state. I have to keep in mind that this can be to great of a project for a one-man army, but i'm doing it, no matter how long it takes, it will take years to perfect and from nothing to the point where I'm at now in one month is quite a milestone. Already have some news when a user picks a company, have rosters, storylines, titles, show history, etc, etc.
Sometimes I feel the rush to start working on the advance day processing but that wouldn't make any sense without the foundations being all set.
|
|
|
Post by ViciousLothario on Jun 28, 2023 8:21:02 GMT -5
Entry #46: Sometimes a step back equals to a step forward
Had to redo the database to add Financial Records and probably in the future will have to do the same. This means more stuff is getting added and I need the database to store it, Pretty soon should be working on the advance day button. As for the events will have to perfom a daily operation to check if an event is bound to happen.
|
|
|
Post by ViciousLothario on Jun 28, 2023 11:15:35 GMT -5
Entry #47: Almost finished with the company information view...
Yes I decided to condense this view with broadcasters and re-negotiations with them, financia report, popularity/size all in the same view which means less items in the menu, at the moment just need to populate some records and to present how size is achieved for any particular zone, can do that at a later date rather then now, and simply move on with development.
But god is so hot here in Portugal than developing is 3 times harder than usual. Will need to take it easy from now on. Cause I have my daily work too and I'm feeling a bit tired.
|
|
|
Post by ViciousLothario on Jun 28, 2023 11:54:51 GMT -5
|
|
|
Post by ViciousLothario on Jun 29, 2023 1:41:29 GMT -5
|
|
|
Post by ViciousLothario on Jun 29, 2023 3:15:22 GMT -5
Entry #48: Working on the sweet schedule and event booking
We can now add events. I will make a small pause as I am about to go to work, but you just need to click on a date you want, set the name, choose the event type and it will work like magic. I advise against using dates after 28 for monthly events as that might mess up things, for example February it will run an algorithm to set a few days back. But yey!! We have full calendar to work with and not 4 weeks.
To create a new TV-Show I will add a button at the top, so you are redirected to broadcasters and there you can create a new TV-Show if you get a deal signed of course. Also if you delete a tv-show, which has a confirmation box literally saying "ARE YOU SURE?!?!!?!?" it deletes all the broadcast deals for that tv-show and the tv show itself.
|
|
|
Post by ViciousLothario on Jun 29, 2023 8:31:33 GMT -5
Entry #48: Working on the sweet schedule and event booking
We can now add events. I will make a small pause as I am about to go to work, but you just need to click on a date you want, set the name, choose the event type and it will work like magic. I advise against using dates after 28 for monthly events as that might mess up things, for example February it will run an algorithm to set a few days back. But yey!! We have full calendar to work with and not 4 weeks.
To create a new TV-Show I will add a button at the top, so you are redirected to broadcasters and there you can create a new TV-Show if you get a deal signed of course. Also if you delete a tv-show, which has a confirmation box literally saying "ARE YOU SURE?!?!!?!?" it deletes all the broadcast deals for that tv-show and the tv show itself. Schedules are now complete. It was actually easier than what I thought it would be but has some limitations for the moment. Once created you can't change the event type. I do this so it doesn't messes up my brain when developing for the moment, will add that possibility in the future. Right now I don't want my brain to melt with dates and going back and forth against AJAX requests and algorithms. Only for the booker controller which is the one that controls the booking sidebar menu we have more than 1000 lines of worthy code. It's a lot. And if I take into consideration all the abstraction we have like 6000 lines or so. But I re-use plenty of code. Ajax has some vulnerabilities too as users can manipulate some requests. That's why i think password lobbies are very important. Don't want people to take advantage of certain browser game vulnerabilities. And of course the checkAccess... which always confirms in the database if you have access to something.
|
|
|
Post by ViciousLothario on Jun 29, 2023 9:58:31 GMT -5
Company size based on USA, it's different for every game area so it makes a very interesting one. Because over a certain level of pop you need to battle with the local promotions of that area and produce better shows than them.
|
|
|
Post by ViciousLothario on Jun 29, 2023 10:19:52 GMT -5
Broadcasters who doesn't like them? It's here where you can set up tv-shows or get a deal for events. It still needs a bit of work of course, but this was done in 20 minutes or so.
|
|