-
Posts
228 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Everything posted by G7470
-
Well, what does your current index.php look like when attempting to use these queries? That will at least help show what you've tried so far. ~G7470
-
As others have mentioned here, Ravan has some mods that MCCodes alone does not have (which includes businesses). That is why it is labeled as such so that a user doesn't think that they could just copy/paste this code and it will work on a vanilla copy of MCCodes. ~G7470
-
Ahh, wasn't sure. Thanks for clarifying. :) ~G7470
-
I would personally prefer using the preg_match solution that sniko has linked to in the second solution. No extra configuration required and uses the defined server variables. ~G7470
-
Yeah, I noticed the 2moons game "feel". What kind of modifications have you made to this code? I've heard that there have been some instances of database table instability, so can who buys this be ensured that this kind of instability will not occur as-is? ~G7470
-
It all comes down to trust, ROI, and revenue projections/estimates. Usually, as [MENTION=65100]W3Theory || Peter[/MENTION] has said, there is a large initial profit, but the only way to truly test out a game's true worth are the donations made after the first few months. As others have said, those numbers can easily be butchered, which is where trust comes into play. Knowing the owner rather well BEFORE purchasing a game is one of the best ways to ensure that you're not getting junk. I purchased my first game back in 2011, and I played that game for years including many talks with the owner before making such an investment. ~G7470
-
I use Notepad++ myself, but that's because I've written PHP so much for so long. Also, PHPStorm has extra features that Notepad++ doesn't have, which for some may be very useful. ~G7470
-
I've tried PHPStorm. If you want to do some serious PHP development, that is a very useful product. ~G7470
-
I like the use of triggers on this... :) ~G7470
-
Very useful information to have for sure if you're working with Bootstrap or any adaptive design. Thanks! :) ~G7470
-
EDIT: Now realized that there is a thread already out there for this with much more replies (that you posted), so this is now a useless post. :) ~G7470
-
The code inside of the class_db_mysql.php file is fine (as I know that's where this came from). The problem is how you're calling the fetch_single() function. You have to check to see whether a row exists in the query result BEFORE attempting to fetch anything; otherwise, you're going to continue running into this problem. ~G7470
-
You have to check whether there are any results before attempting to fetch a result (which is what mysql_result() does). To do this in MCCodes v2: if(!$result || $db->num_rows($result) == 0) { //Means $result is empty } After something like this, you can then fetch the result appropriately. ~G7470 PS: FYI, the mysql_ extension has been deprecated. You should covert to mysqli_ sometime soon.
-
I've used LastPass in the past for password services with no problems whatsoever. There's nothing wrong with using these kind of services so long as you know and understand how it works. Back to OP, I personally don't like the "auto login" or "auto password change" features, so for now I'll stick with what I have, but I might decide to give this a try if I would want to start paying for the additional services (as right now I get the core services for free). ~G7470
-
I'm not sure whether it is a rip off version of MCCodes or not (as how do you define what a rip off version of something is), but even if it truly was, why would they stop trying to sell it? If they're making some $$ off of it, then there's their motivation for continuing to sell it. At any rate, Ravan's Mafia Script certainly has its pitfalls (including using a deprecated version of the mysql extension), which is why many of us here advise against using Ravan's Mafia Script (including myself). I've worked with Ravan's script, and it is OK, but it certainly takes a lot of work to get it to the security standards of MCCodes, which in and of itself isn't that fantastic either. ~G7470
-
Very interesting...I'm glad that you are seeing this as a more business venture because other game owners who I have worked with in the past do not really have their head looking into the bigger picture. They're much more concerned about immediate ROI instead of an income that some of which will be reinvested into the game appropriately. That may not give that immediate ROI, but it will allow for a much better game down the road. I see that you have a good head on your shoulders when it comes to the business-side of things. If down the line you are willing to take the time and money to make the appropriate investments, I may be available to provide some assistance into this custom engine. Maybe it can be something that could be expanded further and hit upon multiple gaming markets instead of something more specific to provide a much larger user base. ~G7470
-
To answer what these are: Cost of knowledge transfer time - if the rights of the code are going to be yours, then you will have to understand how it all works. Otherwise, you'll just be going back to the original developer to make any changes and/or additions. That is an added cost that most people do not take into account when creating a system of this size. Degree of adaptability - basically, this is based on the concept of adaptive web design, or AWD. AWD is creating various different views of a website based upon common screen sizes (more of a "fixed width" approach). AWD is usually pretty time-consuming, but not as extensive as responsive web design, or RWD, which strictly changes the website based upon the user's screen size and not as fixed. This is much more in-depth as this will require much more testing in order to perfect for a website, as this is a more "fluid" approach. The more "fluid" you go, the more expensive it gets. On top of that, if you would want this to be compatible/runnable on Android/iOS, would this be something that you would want to turn into a native application for each OS, a web application, or a hybrid of both? ~G7470
-
Depends on many factors, which some include: Programming language Degree of modularity Getting paid for the code or time Cost of knowledge transfer time Definition of "basic features" Degree of adaptability Of course there are many more, but it's extremely difficult to make any sort of estimate with that little of information. ~G7470
-
Very mature. Last edit date/timestamps on your post compared to my original reply says otherwise. "Loads of new things"? I was just on your site. Define "Loads of new things". I'm interested to hear all of them. EDIT: Quick google search on your game description led me to http://www.world-mafia.com/ and http://anysite.freehostia.net/. Doesn't look like that changed at all... ~G7470
-
[ATTACH=CONFIG]1893[/ATTACH] I'll just leave this here...same exact URL, nothing "new". EDIT: I like how you masked the URL after I pointed the URL out. ;) Still doesn't change ANYTHING about what I said. ~G7470
-
I know, completely off topic here, but I think this point has to be made... - "Wannabes"? I personally develop at an institution that is not a freelancing gig. Some of us actually have jobs in the field of software development with college degrees to back up that knowledge. I just do this as a hobby - I hardly ever make any money whatsoever for what I do here. I do this because I enjoy it as well as helping others. In most cases, I help people out here with code fixes for no charge. Also, if English is your primary language, you may want to work on spelling and grammar. That can help you out professionally when corresponding with clients. When you conduct yourself professionally in all aspects, the much larger clients tend to take you more seriously. ~G7470
-
The sun did not appear to be shining for game owners when, amid the chaos, Sniko appeared with a frozen sword, slashing away at all of the demons tormenting them into the game graveyard. Sniko gave these owners a sense of hope, wonder, and happiness. All he has to do now is build a fantastic chat module. So, Sniko, will you take upon this challenge? ~G7470
-
User, Roles and Permissions
G7470 replied to krballard94's topic in MySQL, Oracle, Postgress or other DB
As seeing something similar to this kind of setup in a more corporate setting, a couple of things to consider (besides having two pivot tables with the same titles (permission_role)): Overriding roles - That is really what you're essentially doing when granting a user a particular permission in order to "override" their current role set. My advice: if you're going to setup a permission-role-user system, then stick to that. Allowing to assign permissions to a user as well as assigning roles to a user will get confusing very quickly on a larger scale. You will have a hard time keeping track of who can do what (believe me, I know). Pivot Tables - Oh, the joys of pivot tables. My questions to you on that affect are these: why pivot tables? What purpose is that serving you? If you have a DB that is handling user data, why not just create a few normal tables that assign these roles to the user appropriately? As someone who has had to handle system security on a much larger scale than a game, those are merely my thoughts. ~G7470 -
Agreed with [MENTION=69032]microsocket[/MENTION] to a degree. The concept of "Fish where fish swim" is true; however, lowering your moral standards to do so is NOT the way to do it regardless of the scenario. I have seen people do this and have it backfire SO many times, from DDoS attacks and XSS vulnerability attacks to even legal action. If you want to gather more users, always take the conversation out of a game before this form of advertising, whether that is through email or another method of contact. If you would want to promote your game through another game, always ensure that what you are doing is legal on that particular site and not violating a TOS agreement. Remember, if you go and spam your link on another game, violating their TOS doing so (which you agreed to before registering), why should they follow yours? It's the "do onto others as you would want done onto you" philosophy in play here. You would be quite surprised to note that a community like this is a great place to talk with other game owners, boost your reputation as an owner, and they might even recommend their own users to try your game. If you do not believe this, well believe it because I have personally seen this happen before. This is a rather strong community whether you believe it or not, so make yourself known and help others out! Not only could that potentially benefit your own game, but it will also create friendships that could last a lifetime. :) ~G7470
-
You weren't the only one who repaired all of those errors...took such a long time. Lol. ~G7470