Jump to content
MakeWebGames

sniko

Members
  • Posts

    2,210
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by sniko

  1. Shameful advertisement is shameful. Wouldn't be as shameful if you supplied what you advertised - the staff panel, but hey...
  2. gethostbyaddr doesn't support IPv6 (and anything that isn't IPv4 format). You don't really need to know the host, really. Either remove this lookup, or use a service like https://fraudguard.io/ Example response from FraudGuard - https://api.fraudguard.io/;   [color=#505050]{ [/color] [color=#000000] "isocode":"US", "country":"United States", "state":"CO", "city":"Loveland", "discover_date":"2016-03-18 02:57:40", "threat":"open public proxy", "risk_level":"3" [/color] [color=#505050]}[/color]
  3. 1. Learn to comment your code logic, if needed to explain why something is done, not how. 2. Learn code indentation (http://www.php-fig.org/psr/psr-2/) 3. No need to global things you're not using 4. Nice job
  4. Depending on the license, you can't do that...   Wanna bet?
  5. Contact me on Skype: Harry.sniko
  6. Yes, a speed thing. Usually you want to take into consideration the parse engine when outputting. It also depends on your design pattern. Using heredoc/nowdoc has its upsides and downsides, as well as echo/print.
  7. Hi silver, welcome back
  8. IIRC, they're not compatible in the sense of interlinking, though they can be run on the same application together, with no issues I wrote them years ago, I can't really remember if anything needs doing I no longer support them (for free) gl;hf
  9. [uSER=72582]boionfire81[/uSER] - What is the full query error?
  10. You gotta give back what you take. It is a community after all. cc: [uSER=72582]boionfire81[/uSER]
  11.   I've scrubbed the server, but have backups. If interested, talk on Skype: harry.sniko
  12. Interested, depending on your budget. [uSER=72582]boionfire81[/uSER] - change hosts. The sales/technical rep doesn't seem like he's capable of his/her job. Find someone else ??
  13. No. What behaviour are you experiencing?
  14. Stop flexing, "bro". I understand the concern to distant your game from "McCode" keywords and target lists, that's fine. I understand search engine blacklists. But what you're trying to convey is that hackers/malicious users will only come to your site if they find it under a "mccodes" keyword.
  15. Sure you can search specific terms to bring up likely McCodes games, but that only delays a potential malicious user for x amount of time. When your user base grows, word of mouth will reach some malicious users and they'll try something. By not growing your search engine ranking, you're doing more harm than good - you're delaying growth. For the single "downside" (which you don't even have to worry about if you've secured your application at code and server level), you're being way too paranoid. haha, oh. :$
  16.   For $250USD, I can recreate them for you if you can't get them.
  17. Unsure if it's still popular since the owner had to go into surgery a while ago and some new owners took it over: http://unholyrpg.com/
  18. Since this is sent by the client - thus editable by the client - it's not reliable. (Unless, of course, you want to block "spammy" looking referrers which may cause a negative impact on your site).
  19. It's not established, but ready: http://makewebgames.io/forum/general-development-central/game-projects/27163-viking-era#post27163 I just don't have time for this scene any more really, so, sadly, I couldn't fully commit to the release.
  20. I've released all my sh​it that wasn't commissioned for exclusive use; you can find those on the forums and on http://mccodes.com [uSER=69875]Jigsaw[/uSER]
  21.   Ugh. Since you have the $ir variable probably in the local scope.   if( $ir['location'] == 1 ) { echo "<a href='#'>A link for location ID 1</a> <br />"; //Add more...? } if( $ir['location'] == 2 ) { echo "<a href='#'>A link for location ID 3</a> <br />"; //Add more...? } //Etc...
  22. Interested in this.
  23. You don't need to global $db - the scope hasn't changed from when it was instantiated. Hardcoded item id's are grim. define() these, or put them into variables. Your queries to check inventory are overwriting each other. Assign them to different variables, or Create 1 call to the database with 3 subqueries. [*]With your mt_rand() logic, you'll get cases with a blank outcome. [*]You don't need exit; at the end of the script - it may cause some weird errors with the header class (or a modified version of mccodes) [*]Your indentation is a mess. Set your IDE up to conform to PSR-2 standards.
  24. Set the timeout on the session cookie - http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime   ini_set("session.cookie_lifetime","86400");  
  25. Cash prize but on free hosting and a free sub-domain? ...okay then.
×
×
  • Create New...