Jump to content
MakeWebGames

jcvenom

Members
  • Posts

    575
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by jcvenom

  1. Hey, like kyle said :) Posts are usually used in forms for example you know when you login in? it sends a post request which checks your credentials if there right or wrong. What your asking for or in this case needing is something called a GET request ( $_GET['action'] ) note*Where it says action is can be anything like $_GET['type']   What it basically does is GET your request and it shows it in a url form for example say i typed my username and password in a form and used a get request(Strongly not advised im just using this as an example) and the file name was authorise.php the output after i submit my detail would be authorise.php?action=login&username=jcvenom&password=123 As you can see the login details appear, right so what we need for your mod is switch(); function switch($_GET['action']){ case 'beer': beer(); break; case 'whiskey': whiskey(); break; case 'cider': cider(); break; case 'vodka': vodka(); break; default: exit("Requires and action"); break; function cider(){ //Code right here } } Its alot to take in but it takes time to learn, i suggest looking at http://www.codecademy.com/ to learn the basics of PHP which is the next step in completing this mod, codecademy teachs the basics of PHP and it also runs over the switch(); function and the GET & POST requests, i hope this helped in some way
  2. The only person starting an unnecessary public discussion is you, and i dont like what you sent to me so kindly remove that attitude of yours because it isnt good for your reputation, i dont need to learn when im not dumb, i clearly understood what you said, im just puzzled, why you would question something you already knew "PSD layout", that means your retarded in some way :)
  3. I know what im talking about mate!, if newbies have questions let them question i'd happily answer there question and as for the PSD layout is a photoshop layout, you do realise some people make full layouts in photoshop, cut them out and use them with ofc the use of html/css
  4. Looks good, well done
  5. Lol this was years ago when i was still learning coding, now im pro
  6. Ravan and mccodes are the same engine except ravan has a psd layout
  7. I agree html/css is really html/css so implementing a design should be relatively easy, although you may lose functionality of what was there before e.g the JS it isnt hard the render them back in place or even create new ones
  8. Sorry i wasn't aware of that as it wasn't stated (thumbs-up), thanks for that
  9. I noticed the domain was up so i decided to check this game put ive seen this typ of game before and as for your 2000 members there only seems to be 73 daily with a record of 145, so 73/2000 is kinda bad and risky for my liking, it seems like it will be dead soon with numbers decreasing and i dont believe it will make a profit like that again if its bought you never know someone could invest in it but i wish the best of luck mate
  10. Game Game looks nice :), but has there been a reset or something? because there's only 27 registered users? i suppose your asking price is reasonable if it hasnt had a reset but has it made any income and could your provide a overview about the game would be helpful :P
  11. Lets be honest the engine is dead, and you can just about download v2 anywhere just saying and even if you havent a licence mccodes wont do anything about it but if this was 8 years ago i wouldnt be saying this
  12. Then how would you successfully purchase a game?
  13. Paypal transactions should be the proof and other info tbh i would be scared to buy a game from an unknown person it seems very dodgy and like you said theres various remakes of the game and scripts soo
  14. Chrome is the **** sorry
  15. It really depends on you, lets bare in mind the question "How much would you charge for a custom engine", I would charge a client on the basis of how much time there request would take, the scale and mass of the there request in this case a game & programs that i would use e.g Photoshop. The buyer ofcourse would own full rights to the work, due to the fact there paying you for a service and when your done that service its bye bye to your code and hello for the buyer, and i have recently seen developers imply hidden fees such as rights to work the have previously sold which in my eyes is fraud. For and engine of this scale although you haven't specified the full details i'd charge between 2-3k based on what ive read so far. Ofcourse my view of the price would depending on your requests.
  16. Either your missing tables or functions, post your cron code here
  17. I was reading my way through the link anyways i wanted to learn OOP in my early stages a few years back but i never really bothered until now lol so i know php,css,html,jquery,ajax,mysql and javascript but not OOP lmaoo, anyways thanks for your tutorial i rather like it and very easy to pick up :)
  18. My bad its OOP php
  19. ------
  20. i haven't a clue what your saying, not that i'm trying to come off as rude but although you have indeed written in english, you've wrote in as such a dialog way, as if your talking to your self lol, what exactly are you trying to imply? like if you need any help of some sort w'ere here to help so could you be more clear please if you can :)
  21. Whats the point of this function __construct() or is it places in your header? which im kinda guessing and as for your example you change the controller name after extends which i dont get
  22. I actually understand this haha a controller fetechs the model and the model returns the logic stuff etc but does the controller or model have to be CI_Controller/CI_Model are can you change it to something Cws_Controller? once it has the Contoller at the end
  23. im starting to understand but when you say fetch you could use the php include function
  24. I get it hahahah, so i create functions with php functions inside and then call them noramally and use the like OOP? but then whats the difference with this and normal php function?   public static function validate($input, $type) { switch($type) { case "string": return is_string($input) ? $input : FALSE; break; case "int": return is_integer($input) ? $input : FALSE; break; case "float": return is_float($input) ? $input : FALSE; break; case "email": return filter_var($input, FILTER_VALIDATE_EMAIL) ? $input : FALSE; break; case "IP": return filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ? $input : filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? $input : FALSE; } } and   function validate($type,$input){ switch($type){ case 'string': ".$input."(); break; and so on }   }
×
×
  • Create New...