Jump to content
MakeWebGames

KyleMassacre

Members
  • Posts

    2,921
  • Joined

  • Last visited

  • Days Won

    48

KyleMassacre last won the day on September 6 2021

KyleMassacre had the most liked content!

About KyleMassacre

  • Birthday 09/15/1983

Personal Information

  • Location
    Southern Cali

Recent Profile Visitors

28,446 profile views

KyleMassacre's Achievements

Collaborator

Collaborator (7/14)

  • Reacting Well Rare
  • Conversation Starter Rare
  • Very Popular Rare
  • Dedicated Rare
  • First Post Rare

Recent Badges

196

Reputation

  1. Not to hijack the thread but I am working on a Satis/Packagist clone that allows you to host your own repos that are private that you can upload and provide licenses to who you wish. This will still keep your private repos private to the world except for who you want to be able to download your packages via Composer. Basically a Satis with authentication or a Private Packagist without the monthly commitment other than your current hosting.
  2. This is something I have been wanting to do and integrate it with node/sockets. I may look into this when I’m done with my current project I am working on. Don’t hold your breath as I still have a ways to go before releasing and making it public
  3. Since PHP 8.2, the MySQLi class has adopted a new method called mysql_execute_query which does all of the preparing and binding under the one call. in the class/class_db_mysqli.php file just look for the query method (line 113 unmodified file) and change from: public function query($query): mysqli_result|bool { $this->last_query = $query; $this->queries[] = $query; $this->num_queries++; $this->result = mysqli_query($this->connection_id, $this->last_query); if ($this->result === false) { error_critical(mysqli_errno($this->connection_id) . ': ' . mysqli_error($this->connection_id), 'Attempted to execute query: ' . nl2br($this->last_query), debug_backtrace()); } return $this->result; } To public function query($query, …$args): mysqli_result|bool { $this->last_query = $query; $this->queries[] = $query; $this->num_queries++; $this->result = mysqli_execute_query($this->connection_id, $this->last_query, $args); if ($this->result === false) { error_critical(mysqli_errno($this->connection_id) . ': ' . mysqli_error($this->connection_id), 'Attempted to execute query: ' . nl2br($this->last_query), debug_backtrace()); } return $this->result; } Then you can update your existing queries from something like: "select * from users where userid = 1" to "select * from users where userid = ?, 1" It’s a super quick update and won’t break your existing code at all and will provide a bit more security against injections.
  4. Sorry for the bump by why not look into laravel sail if using laravel
  5. Looks good Dayo. The Actions module looks like a good fit for my user actions module 😉😉
  6. Old topic but I use an old iMac loaded up with Proxmox for my virtualization. It just has an i5 quad core processor and 8 gigs of ram
  7. I think that’s a start but you may not want to make it a property unless you wanted to get cute and add it as a __set magic method because you may want a fallback text
  8. I think what anybody reading this now or in the future needs to understand is that this is a forum written in text. Things can be taken out of context because it’s difficult to parse what people are really trying to convey since there is not a lot of tone in text. Everyone here is trying to help but we want you to learn but it’s difficult to teach when your homework is done for you. The answers to your initial problem have been solved and we can work on the next problem if one does arise but we won’t know until you fix what was suggested. Servers only throw one error at a time if the error stops code execution since it can’t move past that and generally syntax errors stop code execution. Also, laying into people that are here trying to help will not get you the help you need or want and may steer people away from a post when they see your name as the OP because we may just think that you’re not going to take the help we offer unless we write the script for you especially if it’s one of the easiest things to fix such as a syntax error because you are missing a punctuation mark somewhere in your code or you used the incorrect punctuation mark.
  9. Honestly I think you should save as much money as you can since you are learning. Once you have something you like, then go live and maybe you can offset some costs with player purchases.
  10. If you were going to make it a live site, you would have to get hosting which costs money but like I said, if this is just a hobby I would start with developing locally since that is free Have a look at This. It comes with everything you need in order to view your site on your local machine
  11. 1. VS Code is a very decent free IDE. It has tons of features that will get you going. 2. Hosting is a tricky question. There are tons of shared hosting services to get you on the right path and then if you get a game with tons of players you can scale up as needed with a VPS from digital ocean for cheap and you can always scale up from there if needed. All other things sort of depend on you TBH. If you are going for PHP then you need to use PHP files, C# you would need to use CS files. So if you decide to use an engine, you would have to use that engine’s language files. Like stated above, for level progress, cars, etc, it all depends on your engine. If you were to write your own (would not recommend at this time for a newb), you would have to figure that out based on your preference(s) I also wanted to point out, you don’t need hosting if you are just learning. You can develop locally using stuff like xampp or other alternatives but that is probably the easiest as a rookie to use
  12. Keep the rights to it, maybe “partner” up with someone who you can trust to take it over for you for a while and put it in a private repo
  13. I don’t think it’s that high honestly from what I see. It’s your right to list it at what you feel it’s worth just as other may not feel it’s worth that. I just don’t have the disposable income for it at this time. I poked around a bit and liked what I seen
  14. You still have some of the same error in there. In your very last echo you have same quote type.
  15. What MTG was trying to say about your parse error is that you are using a double quote to start a string and using another double quote in that same string. You need to mix and match your quotes. Whatever quote type you use to start a string, that same quote type will end the string. I am on my phone so I can’t do code tags (or I don’t know how), but take a look at the following: echo “<td class=“contentHead”>Something</td>”; That will throw an error. Your “contentHead” should be wrapped in a single quote instead of a double quote.
×
×
  • Create New...