Mmomakers Posted July 17, 2024 Posted July 17, 2024 So it looks like mccodesv2 has gone open source. Since at working Im not doing much and have a lot of free time. Planning to start up a new project, the core wil be based on MERN stack MongoDB, Express, React, Node Using the power of AI to assist me with this adventure, going to see if I can build a mobile app. So far working on react and the visual first. Couple hours Converted all of mccodes db to mongodb Made some changes to naming convension since it ill be a fantasy game. Fetching data already so its displaying from db If anyone got any tips or advise let me know. 1 Quote
Uridium Posted July 17, 2024 Posted July 17, 2024 (edited) 🙂 Edited August 24, 2024 by Uridium 1 Quote
Magictallguy Posted July 18, 2024 Posted July 18, 2024 16 hours ago, Uridium said: 2 posts and someone says its pretty cool ALARM BELLS Joined Monday ffs wake up its SCAM BAIT You'd be surprised what motivation does for one's desire to code. In one day, I refactored MCCv2 in its entirety to use ParagonIE's EasyDB - last night. Here's the branch 😉 Edit: And here's a Dockerized version 3 Quote
Mmomakers Posted July 18, 2024 Author Posted July 18, 2024 19 hours ago, Uridium said: 2 posts and someone says its pretty cool ALARM BELLS Joined Monday ffs wake up its SCAM BAIT My old account was Codphoenix Im super oldschool MTG the OG in the game, not sure he will remember me but I was 15 at the time. Making the game back in Highschool hahaha. But right now I still suck at code. Super struggling with the UI since never really worked on the UI part of things Proof: heres some super old stuff I was working back in the days 1 Quote
Mmomakers Posted July 28, 2024 Author Posted July 28, 2024 Decided to go a different direction and start from scratch as mccodes wouldn't fit my theme in what I want to do. It's very slow progress still learning nodeJS and react, so bare with me. Still figuring out what to do. But the basics is Race PvP and PvE Quest Guild Dungeon Market / Trading Equipment Not sure how the logic will go yet, still trying to clean up code to make adding features or rework easier. So far what's done: Login Register Home Race Selection (Data fetching) All API calls and state management. But need to look into what I can do if this is the best method as data isn't refreshed unless API is called. Here's some screenshots added. Feel free to provide me with some advise, I'm basically working on 1 thing a day, either that be top navigation, 1 feature, etc. 2 Quote
gamble Posted July 28, 2024 Posted July 28, 2024 4 hours ago, Mmomakers said: Decided to go a different direction and start from scratch as mccodes wouldn't fit my theme in what I want to do. It's very slow progress still learning nodeJS and react, so bare with me. Still figuring out what to do. But the basics is Race PvP and PvE Quest Guild Dungeon Market / Trading Equipment Not sure how the logic will go yet, still trying to clean up code to make adding features or rework easier. So far what's done: Login Register Home Race Selection (Data fetching) All API calls and state management. But need to look into what I can do if this is the best method as data isn't refreshed unless API is called. Here's some screenshots added. Feel free to provide me with some advise, I'm basically working on 1 thing a day, either that be top navigation, 1 feature, etc. First just because it's driving me crazy: please please please check or clear those discord notifications ROFLMAO Second: if you're doing a SPA and worried about data refreshing (which is what I'm interpreting you are struggling with) I would suggest a websocket. This will make it stupid easy to keep data live in 2 ways: 1. You can either use a ping pong system and use that to get live data every second or whatever 2. You can use a message on the websocket to update data anytime anything changes. So for example. I have a user class that has all the getters and setters then whenever a setter is called it send a message to websocket to update. This works for both user driven actions and other player driven actions. 3. (This is what I actually use and recommend) A mixture of 1 and 2. The message that sends data on change (#2) will reset the periodic check (#1). So specifically I have a periodic check every 10 seconds but any live data message resets that timer Hopefully this makes sense. If you need any help let me know Quote
Mmomakers Posted August 18, 2024 Author Posted August 18, 2024 Anyone have any idea how I can improve the style for skills page D; My mind isnt working on design not artistic enough Example above or , will be the skills page for now 1 Quote
newttster Posted August 18, 2024 Posted August 18, 2024 Given the style of your above pages, I think it fits the aesthetic. Maybe change the colour of the icons so each is different. Otherwise, it looks fine to me. Quote
rockwood Posted August 19, 2024 Posted August 19, 2024 use appropriate background with suitable animation for make it better in my opinion On 7/19/2024 at 12:17 AM, Mmomakers said: My old account was Codphoenix Im super oldschool MTG the OG in the game, not sure he will remember me but I was 15 at the time. Making the game back in Highschool hahaha. But right now I still suck at code. Super struggling with the UI since never really worked on the UI part of things Proof: heres some super old stuff I was working back in the days do you remember criminalimpulse game? On 7/18/2024 at 8:39 PM, Magictallguy said: You'd be surprised what motivation does for one's desire to code. In one day, I refactored MCCv2 in its entirety to use ParagonIE's EasyDB - last night. Here's the branch 😉 Edit: And here's a Dockerized version Significant improvement is needed here. Using $global is not a good idea; it's better to use Dependency Injection (DI). Quote
Mmomakers Posted August 20, 2024 Author Posted August 20, 2024 On 8/18/2024 at 9:22 PM, newttster said: Given the style of your above pages, I think it fits the aesthetic. Maybe change the colour of the icons so each is different. Otherwise, it looks fine to me. Yeah the icon are just place holders for now. Thanks for the input Quote
Magictallguy Posted August 24, 2024 Posted August 24, 2024 On 8/19/2024 at 5:23 AM, rockwood said: Significant improvement is needed here. Using $global is not a good idea; it's better to use Dependency Injection (DI). Agreed! However, the question of "how far away from original MCC do we want to take this?" was raised. I otherwise swear by dependency injection Quote
rockwood Posted August 24, 2024 Posted August 24, 2024 6 hours ago, Magictallguy said: Agreed! However, the question of "how far away from original MCC do we want to take this?" was raised. I otherwise swear by dependency injection Ah okay. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.