
Media4um
Members-
Posts
14 -
Joined
-
Last visited
-
Days Won
1
Media4um last won the day on September 7 2022
Media4um had the most liked content!
Personal Information
-
Occupation
Student
-
Website
http://www.andermedia.xyz
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Media4um's Achievements
-
Yeah it frustrated me too because I had to downgrade the PHP version to 7.4 just for the installer to work. So I am working on replacing this and making sure that you don't have to downgrade. I am not sure what smarty or twing is, could you be more specific? Or give me a reference link as to what it is? Thanks!
-
So I have been messing around with a McCodes script a bit, and I saw the function get_magic_quotes_gpc placed all through out the installer. I know that this is no longer supported as of PHP 7.4 and was completely removed at PHP 8.0. So I looked around the PHP manual and saw an entry about how to replace that function so that you won't encounter a bunch of Database Error pages along the way. You will have to redo the installation, as far as I know. Edit the installation page by editing the get_magic_quotes_gpc function and replacing it with the new function described here at the PHP Manual. https://www.php.net/manual/en/function.get-magic-quotes-gpc.php I recommend reading through this page at #4 which states: Here's what I came up with to remove magic quotes from request data. Replaces two single-quotes with one if magic_quotes_sybase are on, otherwise it just strips slashes. Note that the `foreach` style makes this work only with PHP 5 and above. <?php // Strip magic quotes from request data. if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) { // Create lamba style unescaping function (for portability) $quotes_sybase = strtolower(ini_get('magic_quotes_sybase')); $unescape_function = (empty($quotes_sybase) || $quotes_sybase === 'off') ? 'stripslashes($value)' : 'str_replace("\'\'","\'",$value)'; $stripslashes_deep = create_function('&$value, $fn', ' if (is_string($value)) { $value = ' . $unescape_function . '; } else if (is_array($value)) { foreach ($value as &$v) $fn($v, $fn); } '); // Unescape data $stripslashes_deep($_POST, $stripslashes_deep); $stripslashes_deep($_GET, $stripslashes_deep); $stripslashes_deep($_COOKIE, $stripslashes_deep); $stripslashes_deep($_REQUEST, $stripslashes_deep); } ?> As well as #12 which is the most upvoted response in the manual for this deprecated function: @ dot dot dot dot dot alexander at gmail dot com I suggest replacing foreach by "stripslashes_deep": Example #2 Using stripslashes() on an array on <http://www.php.net/manual/en/function.stripslashes.php>: <?php function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } ?> This gives: <?php if((function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc()) || (ini_get('magic_quotes_sybase') && (strtolower(ini_get('magic_quotes_sybase'))!="off")) ){ stripslashes_deep($_GET); stripslashes_deep($_POST); stripslashes_deep($_COOKIE); } ?> This has helped me with working on my installer page, and I am currently running through the other files as well. Given that this script is dated and it was written at a time certain functions are now deprecated and completely removed, this script is somewhat redundant. But if you have a passion for the style of the game and a lack of skills to author an original code, you work with what you got. Any input about this would be appreciated. Any other techniques or references to other sources would be great! I hope this informed some of you McCodes users. Kind regards, Matt
-
I appreciate you advice, I do. I get it, about the licensing. But I guess I felt it was easier just to buy the script here than scour the internet for some link of some kind for a free copy from some site that has people squatting on it hoping to plant some malware or something. I will definitely be careful of choosing a partner, as I am going to throw plenty of resources at this project and I don't want to risk too much. I will definitely have a screening process for the people who wish to jump in. Thanks for the advice.
-
I am beginning a new game project using the basis of McCodes v2. I do have a receipt if anyone wants to challenge my license or anything like that. Bought it here on MWG. I plan on using this script as a skeleton only. Something to tear apart, put back together and create a whole new thing entirely. For $50, a simple basis script that has the potential to create something large and magnificent felt like a small investment to me. I am looking for a skilled team mate who knows his way around PHP, SQL. I have a few ideas that I want to implement into this game so that it isn't the standard game we see so often. I want to build something seamless and beautiful, and I know this will take time. I have rented out a server and put cPanel onto it, I have a decent domain name for the game name I'd like to call it. The overall theme is held in ancient Italy, where the Roman empire has just collapsed and the Dark Ages settle in. So you can see how that might play into the "doing crimes" part of the script, but I'd like to add other tasks as well to counter crimes. If you're interested in partnering, you do not have to pay anything out of your pocket. I need someone with skills. I have some skills, and they're getting better every day, but I need someone who knows how to structure a script into pieces that can execute the types of formulas that I have envisioned for this project. I will pay for the server, and any other expenses. I really just need a great coder. The partner will receive their 50% of the eventual income. But I don't anticipate any income for months as I plan to be working on this game for many months ahead. If you're interested, please DM me, or contact me on Discord at theSilentPathogen #8335. Thanks all.
-
Yeah 9 posts because this forum isn't active enough to actually contribute enough posts. Forum has 4 or 5 people on it every time I check in on it. Moral police? I didnt realize that your number of posts determines your ability to determine right and wrong. But you can have it your way, this here must be your world.
-
I have never worked with Laravel, honestly. I bought this PTC Lab 2.0 script off of CodeCanyon a while back to build a "Pay-to-Click"/affiliate marketing website that I never fully launched. Yet another project I aspire to once my education is more solidified and my skills more well-rounded and honed. And this script is completely written in Laravel and I really put it away because I had no knowledge of it. I appreciate your input, I really do. I sometimes have to make myself choose a language or a topic I want to study for a single day because my brain can be so scattered and wired so fast that it is hard for me to focus on one project at a time. I will be looking at this Laracasts and CodeCourse. I have always used W3schools of course, but I have been wanting to get into some websites that offer a more advanced and educational approach with their community base. Kind regards, Matt
-
Along my studies of late, I have been rigorously poring over Python tutorials and syntax instructions, and I came to wondering if anyone has developed a game with Python that is apart of this forum? Python is as effective as PHP. It's popularity has been booming, while PHP has been dropping in it's popularity and it's ranking for Google searches as "php tutorials" versus "Python tutorials" has dropped immensely. So has anyone created a game with Python? Has anyone been thinking about it? Possibly the interweaving of the two? If you respond would you mention: 1)what's your favorite website for learning code/languages, 2)have you used Python before and, if so, where is your work? Thanks for checking it out, I have just been so interested in Python lately as I have been reviewing all kinds of programming languages. Mainly learning Java and Kotlin, but I am also staying focused on my server side scripting languages! I do plan on releasing a game at the end of this year, or beginning of next year. Possibly with Python, lol. Kind regards, Matt
-
So, I have always mainly used PHP/SQL as a primary language when fixing or debugging scripts. If you have seen any of my other posts you will see how I wrote that I often have a hard time creating a script from scratch. It is like a form of writer's block or something and it drives me insane. But I can often take a script and totally re-write it to the point it is unrecognizable from it's original source. But that is not the point of this post. I wanted to dive into a new programming language. And what other language then Java? Java easily transitions into Kotlin, for app development and Android Studio which is just a beefed up IntelliJ IDE. So when I wanted to learn about Java, I went to this website called Coursera. Which they offered me a free certificate from Princeton University called "Programming With A Purpose", which it mainly focuses on Java, but it does teach the fundamentals out of their textbook of "Interdisciplinary Programming". Coursera - Your Gateway To Higher Education You can check out the website, and get yourself into the same program absolutely free! They have so many free programs it is amazing. And these certificates you can earn are all professionally recognized and accredited. I just thought I would inject this opportunity into the community here. Good luck and keep learning everyone!
-
Abandonware, that's funny. I guess I have always leaned more towards the side of paying for a script that someone spent a countless number of hours creating. And you can buy it here for $50 on MWG. That script probably took a while to write. But I understand that this is the way of the internet these days, nulled scripts. My advice remains, take a basic script like GRPG or McCodes v1 and revamp it to your own unique game.
-
If you would like my opinion, and this is solely because I have been thinking about doing the same thing.. Perhaps you could download the v1 freely, and then you could modify it to you own standards of security and modifications. It would be a great way for you to learn and develop you skills in PHP and SQL. v1 is great for a beginning script, it gives you the bare minimum and then you can look around this forum at the vast sea of resources and modifications you could implement into your game. It has, as a barebones script, a potential to be developed into anything you would like honestly. I would be interested in developing a game with v1, we could store it on my server and experiment and then when something comes that is unique and complete (well, is a game like that ever really complete?), we could publish it. My line is always open! Contact me if you need anything Kind regards, Matt
-
Legal: When you receive the MCCodes v2 engine, you are not allowed to resell it under any circumstances! The MCCodes engine has been registered for legal copyright protection. So we can take action if you resell OR give out to people. If you hire a non-trustworthy coder, or get hacked, and the source code is taken and resold or used on other sites, the responsibility falls on you. You may purchase modifications for your source codes from MCCodes or various other community members - these are not supported by MCCodes. Sorry guys, this is not legal to do.
-
Looks great! I'll see you there. Congrats!
-
Greetings! Apologies for the not-so-interesting Title..
Media4um replied to Media4um's topic in Introductions
Thanks Dayo for your plug in. I have seen this code. And I admire it for its "bright" look. It does stand out. I am hoping to start building my own engine at some point, I started one a long time ago. I have thought about picking it back up. I have always aspired to do so. Perhaps on this forum I will be able to assemble a team to create something truly unique and spectacular. Kind Regards, Matt -
Hello there! Thank you for clicking and viewing this topic. My username here is Media4um, but my name is Matt. You can address me by either, how ever you wish. I have been playing PHP based web games since 2008. I have played Torn on and off since 2007, played Omerta, MafiaCrime.org since it was created. I have loved the layout, the format, the complex (yet quite simple) style of gameplay. I do love a game or project where I can sit down and immerse myself. My overall objective of joining this website is to learn better how to program. I have dabbled in it for a long time, created a few web games here and there. But something always finds itself in the way of long term commitment. Which is why I now am attempting once again to really get into it. Partially because I just enrolled for classes in Full Sail University for IT, with a focus on Network Infrastructure and Server Administration. I always keep me a couple servers on the side for hosting for friends, web site design when I can catch a gig here and there. But now, considering that I have taken a step into seriously furthering my education, I find my self here looking to possibly make friends, learn a few things, and contribute to a community that hopefully supports its members in the creation of special and individualized online games and websites. So, thank you very much for having me. All are welcome to message me. I have hosting for those who need it, I will offer a bit of free hosting here and there to those who are wanting to experiment, or need a server for their game or website development and do not have the funds currently to purchase the space and server online. Please do not blow me up with requests for websites not related to the genre of this forum, as I am here to help and to learn as best as I can. I am currently working on a Blog that I will publish soon, and I am contemplating buying MCC v2, but I have downloaded the free version and have been tinkering with it extensively. I love how bare minimum the code is, and how easy it is to tear it down and build it into something unique. I am always looking for help or partners in the development of a game. As I said, I will provide all the hosting and domains needed. I want to get into something serious and learn as much as I can along the way. I have a curious idea, so if any are interested please do contact me. I look forward to seeing all of you around the forum. Thanks for taking the time in reading this introduction. Sincerely, Matt