Jump to content
MakeWebGames

Canjucks

Members
  • Posts

    419
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Canjucks

  1. I tried == but nit the result I was after. Not sure how to write the energy +50. It is a decent idea. I fear that my code is wrong in that its not doing the right thing in that its not checking the item for the effect used to be sure to go through any if statements of seeing if it is maxed out. so something like if item[effect] == energy and energy >= maxenergy then error else continue. Is it possible to give an error in the effects? like if ($new > $max) { $new = $max; return error "display stop"}
  2. I found this issue while back but now up to trying to plug this whole. I thought I had found a solution but really it wasn't. Looked good an all lol. Anyway so when you use an item if you have say maximum health or energy and the item effect is to increase the amount, what I'd like is a message that says don't do that, you're on the maximum and not allow the item to be used at all (not removed from inventory). this is what I have where I shove it in the item use function on inventory.inc file: if ($this->user->info->US_energy >= $this->user->info->US_maxEnergy) { return $this->error('You have enough energy go use some before loading up again'); } if ($this->user->info->US_brave >= $this->user->info->US_maxbrave) { return $this->error('You have enough brave go use some before loading up again'); } I think it will be a good one to fix up now as anyone who runs a game on GL currently they'll find this to be an issue.
  3. yeah that's the trouble of using MC2 with it being so old now and not many original authors of these around anymore...I'm sure they would if they knew money were involved πŸ€£πŸ˜†πŸ˜‚
  4. A lot of this has been written and made available before. If you did around enough I'm sure you can save some $$ from putting a few of the pieces together yourself.
  5. There was a system like this available a long time ago you may want to search the archives a bit harder... def had something like that in my mc2 game.
  6. Look at the code specifically where you use echo. Some of it uses " and other parts ' you need to pick one.
  7. there was a listing (post) for this type of thing within the forum posts I'm sure I saw awhile back.
  8. Yes, so create a support ticket.
  9. Better to merge both your threads being the same thing. It appears you're trying to do something dangerous with your game setups. Do you have SSL's installed? Google Safe Browsing recently detected phishing on deadly-elite.makeweb.games. Phishing sites pretend to be other websites to trick you. You can report a detection problem or, if you understand the risks to your security, visit this unsafe site. May not be the code but how the (host) account is setup. I honestly haven't encountered this before so contact your host for support
  10. Might have helped if I looked πŸ˜†Some law of average said to me it could be style but clearly not 🀣
  11. Haven't played with mc1. I think on mc2 you can do it in staff panel soooo my guess is a manual change in the style.css file.
  12. Do keep in mind 5.6 is very old , meaning out of date and with that vulnerabilities - security risk.
  13. Save yourself some money. Google cpanel and select php version for a step by step easy to follow instruction
  14. Dam, didn't see this one in my travels before...what other hidden gems are around me wonders!
  15. Looked at the codes briefly and the announcement of v2 does sound cool.
  16. Canjucks

    Hi

    I'm sure they do work. The URL is clearly working though so the liar remarks should be corrected to be fair.
  17. that sounds like far too much work lol even for nostalgia of looking at my old shitty mc2 games ...
  18. Canjucks

    Hi

    What URL are you going to?
  19. Canjucks

    Hi

    Exactly its open source and he made 2 new updated versions. then a bunch of mods to suit. What's the big deal about that?
  20. Canjucks

    Hi

    Only 403 Access denied πŸ€£πŸ˜…πŸ€£
  21. re-set them up in your cron jobs
  22. This looks really good. Well done! I use GL though is it okay I convert to that? Is a great addition. yes, rename your orginal (gym-1 for example) or download it, just in case!
  23. can you narrow it down? Did you do the edit locally or online?
  24. https is to do with your SSL certificate not your domain registration
  25. I don't even remember seeing this post but I like what you've done here.
×
×
  • Create New...