Jump to content
MakeWebGames

Matty

Members
  • Posts

    168
  • Joined

  • Last visited

    Never

Everything posted by Matty

  1. Matty

    PHP Configuration?

    Re: PHP Configuration? yeah its in there under error_reporting With the newest builds of php display errors if set to off by default i believe, so the fatal errors aren't displayed in the browser, but you can go directly to either the main error log or vhost error log.
  2. Matty

    PHP Configuration?

    Re: PHP Configuration? Arnt you creating a game engine? You should know how to configure PHP so that you know to what specifications to build it too! I believe the php.ini file has something to do with it... I will look in a minute. If that don't help use your friend! Google!
  3. Re: FOUND A ILLEGAL DISTRIBUTER Awesome, Glad you got it sorted, I didn't even realise you used it if you did lol
  4. Re: FOUND A ILLEGAL DISTRIBUTER I thought they stopped people from signing into them without updating since windows live came out?
  5. Re: Gold Fusion Wars for sale lol... you can have it :wink:
  6. Re: Gold Fusion Wars for sale Ah... Id give him $1
  7. Re: [Free] Advanced(ish) Level Upgrade Mod.   Are you retarded? What part of this didnt you get?   Meaning it works, I have tested it. What your trying to say is bull shit, take this for example. L1- 100 L2- 500 L3- 900 Ok so they need 500 exp to get to level 2 they get 500 exp they level up to level two now they need an EXTRA 400 exp before they level up to level 3... Hows that hard? Now... If you were to stop upgrading it works like this, your level 1 you have 900 so you can upgrade to level 2 and level 3 THE CODE, will work out what level you should be from your exp, say 901 you should be level 3, it will then work out the difference which is 2 so it will times everything by two because your going up two levels! Simple? If you actually read the code, you would find out i only use one exp variable, therefore you cannot have a percentage to next level based of your stats, you will have to work it out using the formula. Therefore what your saying is crap, because it doesn't do that. Dont cry because i posted a better version than the one you took down, i mean why did it even have that useless query in there? Back at ya. for the -1 (asuming its you)   EDIT- actually I think iI misread your post. I think your answer is to change the god damn formula to fit your game dumb ass,   $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*53.5); for example. Anyone who has that formula in there game with it multiplying by one is going to level up quicker no matter what upgrade thing they have, truth is its is actually nothing to do with my code, it just the fact you too incompetant to consider changing the formula that works out how much exp you need to level up, bigger number = more time it take to get = lower levels longer. Also that formula is mccodes formula so everyone is using it anyway, with lower numbers than i posted, so im guessing everyones game is buggy because of that.
  8. Re: Gold Fusion Wars for sale You may want to add some more details. No one is going to pay $1000 for something that comes with no details, such as proof of income? Unique page visits, per day & per month... etc...
  9. Re: How To Do V1 Crons ( Hope This Will Help ) Of course you can. The scripts are located on the same server, the cron service runs on the same server, well to an extent that you would know. So why not, I put my crons and my mysql details outside my public html folder so that noone can ever get to them unless they have my cpanel/ftp password. :) You can still do what you like with them BUT you cannot access them via a browser, you can however include them in a php file which you save in public html and then view it in a browser   include "/home/cpanel username or whattever/cronjobsfolder/cron.php"; like so :)
  10. Re: How To Do V1 Crons ( Hope This Will Help ) The hint is cannot be accessed through browsers. lol   /home/cpanel username or whattever/cronjobsfolder/cron.php
  11. Re: How To Do V1 Crons ( Hope This Will Help )   Another suggestion is moving the crons to a folder OUTSIDE of the public_html folder, this is so they cannot be accessed through a browser at all.
  12. Re: authenticate :( Not really, he may of not even changed it, or hes entered an incorrect password or username. Beside it is 99.9% of the time localhost because unless you have more than one server you will always have your mysql details on the server which is running the service.
  13. Matty

    WTF

    Re: WTF If its the whole game it could be something to do with a database field, instead of adding all the information to the database you have or the user has inputted it will just stop and insert the defualts, which is why you have users with the defualt money, level etc but no user ID, try giving money to any of them which has the error, if you can and it shows in the userview then its not the database and it something to do with the view user. If it like you just said okay in the userlist then I would suspect that your query to select the user information could be interupted/ messed up, that should be the first query you run. Thats just a guess, I cant remember how mccode works query wise, and im a tad busy right now to find out. I will later if you dont sort it by then ;)
  14. Matty

    WTF

    Re: WTF Check that all your fields correspond. Have you edited the register.php file recently? If you havnt then it would be that your fields in the database are messed, perhaps your missing one, deleted by accident. I suggest you check that there all there and are correct.
  15. Matty

    WTF

    Re: WTF Backup your database. Then take the site down sort out the register.php page (if thats causing the problem like deception said) Then test. If all is okay take out all the incomplete signups and then reopen. If you mess up you still have that backup ;)
  16. Re: SQL Injections Agreeing with death star. You can only get the HTML and pictures, and javascript/css. Web crawlers dont and cat get PHP scripts, if this was true, everything would be very unsecure...
  17. Re: How do I use a type function on a normal page? Sorry if this is a bit late but, Arson what are you on?   That was an obvious recommendation.   The question mark there is like saying perhaps, or maybe... " see how they do it perhaps " Re-read it. A smartass version of it on the other hand would be something like " Have you even tried to download SMF/phpBB/MybB/any other forum or CMS to see how its done. " Deception was offering help, its very bad that you judge people from there punctuation.
  18. Re: Authenticate confusion Sorted with an else it was...   if(($user['username']==$userid)&&($user['password']==$pass)){   That was causing a problem I added an else after that. I could remove it but I want to keep it secure, but making sure the user name is in the right case, therefore my fix keeps it case sensitive :)
  19. Re: [TGM] Custom Hospital Message [TGM] Never trust user input.. I can see this one not ending good. You will need to filter out all the bad words, and anything else players my think to put into it. Easy to code yes, to prevent stupid user input alot harder.
  20. Re: Authenticate confusion It does it the same as mccodes in the first set of code just mine is a tad bit more securer, I changed it to do the same as the MCcodes one but still no luck. Thanks for the suggestion though, I will look at it again.
  21. --Sorted--
  22. Re: [v1]Refill Users Haha, Its a good mod, but...   I can imagine someone manually running this on there players... I thought it was quite funny and I actually though you were joking till I read.   Lol, Anyhoo, handy little mod.
  23. Re: SQL Injections True. I wont argue with that, but technically it is still decrypting the hash as it is still giving you a readable word at the end of it. Although it is not truly decrypting it. But then that is what decrypting is all about, having a code and looking up what you know already about the encryption, aslongs as it going from being encrypted to normal text it is still being decrypted no matter how its done.
  24. Re: SQL Injections MD5 decrypters are all around the net, just by google-ing you can pick up a few. I mean even this one is pretty good. http://www.md5decrypter.com/ Its webbased too!
  25. Re: [Free] Advanced(ish) Level Upgrade Mod. Thats a pretty neat idea. Like I said I don't code for the MCcode engine it was just for the guys that were asking for one. I have to say though... why doesn't anyone use the database.class.php file? There are functions that are of use in there, I know I haven't seen any paid mods so I cant say anything about what I haven't seen but for what I have its not used =/
×
×
  • Create New...