Jump to content
MakeWebGames

gamble

Members
  • Posts

    348
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by gamble

  1. Isn't this way over thought? Couldn't you just have a basic users table with just username, email, password, whatever other basic stuff. Then it's done since both would have completely different data outside that? So essentially it's just one master login shared by both sites but they use whatever tables the engine did originally. Hell you could even prefix tables with gl_ or mc_ to guarantee uniqueness
  2. Stripe is by far in my opinion the best. Supports so many languages and it's easy to work with. Webhooks are easy to set up. The testing stuff is a lot simpler, no dev account needed.
  3. So I actually use docker too and on almalinux. You can install with through dnf the same as apt. The two package managers are basically a 1 to 1 conversion
  4. For those of you have released a game, what did you find helped most to reach new players? So far my thoughts would be: Voting Websites On this topic too, is there a list anyone has of voting sites? Advertising Meta Ads, Google Ads, etc What other options have you explored to help your game grow?
  5. Active players? Engine? Price? Literally any info?
  6. Personally I still work on my projects and have a blast. Still love developing text based games BUT. If we are being honest I think losing marketplace here completely defeated the purpose of this forum. There's no updates to GL, MC, Spade, or anything because there's nowhere to publish them or even download them here so I think a lot of people gave up. I know there's the second site that's just a marketplace but that doesn't feel the same. I miss the one stop for everything that MWG once was
  7. 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
  8. Did you create a database and user for the database then update the config?
  9. Oh of course! I didn't see he already fixed his issue. I was just trying to help him get through the check. I should've read his post a bit closer!
  10. So I don't know anything of this engine, but usually if you right click the image then click inspect element there's a title or alt attribute in the element with the code
  11. Good morning/afternoon! I am looking to have 3 images made: - Icon (1200x1200) - Landscape banner (1200x628) - Square banner (1200x1200) I'm very open to the style and contents of these, and do not really have anything in mind. If you do graphic design and you're interested let me know and we can discuss pricing/content of the images. These will need to look somewhat professional as they'll be used in advertising.
  12. There's a lot to it but I'll give you the general outline to help you. 1. You'll need to create or append a settings table with the value you want for interest for donators and non-donators 2. You need a place to store the "last run" timestamp...id highly recommend a new field in the users table and handle all users individually, but you could also have one global timestamp (I'll be explaining as if you're doing the user table route from now on for ease of explanation) 3. Whenever you fetch the user run checks against the last run timestamp. For the timestamp if you have a 0 set the original to floor(time()/86400)*86400 to make it happen right at midnight server time. Want it every 24 hours? Do the following check for example if(timeNow-timestamp > 86400{ //Run it but store the above different so you know how many times to run it. //Increase the saved last run by 86400*timeToRun } 3a. If you have a users class it's best to put it there. If not put it in the main file (not sure what it's called) where you fetch the user id cookie or whatever or wherever you fetch the user information. You can fetch just the timestamp with a query and run the checks mentioned above Hopefully that makes sense and helps (Sorry on mobile don't know how to delete quote k meant to edit) Edit: I meant to mention I recommend you store and handle each user separately for the sake of speed. Easier to update one at a time as needed vs 300000 at once when there's only one user online if that makes sense? Only do what's needed rather than have one handle everyone
  13. Genuinely, I think your best bet is to keep the domain and just remove the mccodes and replace it with GL tostart learning like you want to. It'll be easier than trying to sell. If you're worried about players being mad you removed the mccodes version, I am sure you could create some translation functions to move users over to gl. Mccodes is a pretty dead engine, which is why not many people here use it. It'll be a tough sell for even the initial $50 engine investment. I guess to put it simple buying mccodes in 2024 is like buying a rusted out 1980s mini truck. Not much value to most, but there's a very small market of enthusiasts
  14. So just to be clear this is a game made to test the engine and show it's capabilities. This is NOT the engine. If that makes sense. I'm not sure why that error is coming up, but when I get home tonight from work I'll get this fixed! Must just be some older code I forgot to remove EDIT: Update, the error should now be fixed!
  15. You should just be able to go to the site and sign up 🙂
  16. Hello everyone! Just as a little fun and data gathering (in terms of progression speeds and economics in game) for myself i decided to release a little project into open alpha testing for anyone who sees this. The game is very simple, not all too exciting at the moment BUT its a work in progress. The intent of this game was to further develop SPADE engine and test its capabilities. Just a quick note: You can use a fake email. The verification system is disabled for now so people can enjoy it as they please - the game will be reset anyway upon release URL: criminds.com Come check it out and leave any feedback of things that may be broken. I know its very similar to another game thats out there, but again this was developed strictly for testing, and ill take it in a unique direction as it further develops. Thanks! (i will update with screenshots soon hopefully)
  17. Apps are very very very expensive. Youre easily looking at $2,500+. EASILY. You have to realize that they would literally have to recreate the game essentially. This also causes an update nightmare due to now having to maintain 2-3 code bases. You could always say "oh just create an iframe in an app" but that will not pass App Store review. They view those style apps as non-unique and too "browser-like". A good example of this is Torn. They do not have an Apple app for this exact reason. Android seems to be more lenient, but the user experience will always suffer with this style app
  18. Hey Dustin, So since you have logs on ( in case you want to check it's error_reporting(-1) at the top of your main PHP file, whether it's header.php, config .PHP whatever) From there assuming you're using cpanel, if you go one directory above public_html there will be a logs folder. In there will be a error_log text file or something along those lines. Open that up and it will give you the error. Hopefully that helps a little, I'm just trying to help you so you don't have to pay someone for help. This forum is all about learning! Edit: I attached a screenshot (sorry it's ugly, I'm on my phone obviously) showing the logs folder location to hopefully help a bit more
  19. gamble

    Helloooooo

    What game did you own? Just curious! Nice to have someone new here! Welcome!
  20. From an admin perspective you should never ever ever ever ever delete anything. Ever. Always have a "deleted" field or something and change that value and change your player facing queries to only pull the rows not flagged as deleted
  21. From what I'm seeing you're never setting the session "switch_to" but your if statement is checking it. You should have a check for the form that sets the switch_to session
  22. Check your php error_log file. The error will be there and if you can figure it out from there post it here and we can help a bit better With little to no information to go off it'll be pretty hard to know exactly what went wrong without combing through it character my character to see
  23. Seems weird the way you're doing it, I'll suggest a different way then answer your question. Why not add a new table called shopITEMS or whatever and then have the columns: id, itemID, shopID, price Then add from there and modify as needed. Then you can use a join statement or do a multi query solution to link the shops table and shop items table. For making your way work: You could use json_encode and json_decode to stringify an object of itemID=>price. Then when you need to append to it or remove from it just pull the field, json_decode it and append to it or remove as needed
  24. So will our hosts basically be active until our renew date then we will have to find new hosting? Just checking
  25. Version 2 could be a while out. I'm working on it but it's quite the task. There is a free version you can mess around with though! It's a bit off a different way of thinking. This engine is JavaScript heavy, and the PHP is very minimal I never seen this post until just now! I'm sorry! I'm glad you got it to work! I've been meaning to get a php8 version made but have been super busy lately. I tried with using multi-php or whatever it's called here on MWG hosting, but I basically took the .in from 7.3 and copied it to 8.2 or whatever. So it still worked. I'll have to make a fresh account or something to start on the raw php8. I'm so a bit shocked you liked the cron system. I spent forever developing it and making sure it worked properly but I found the cron table to be too restrictive. I am proud however of the complete "only run when needed" architecture it has. Where it only runs crons on data being pulled/needed.
×
×
  • Create New...