Jump to content
MakeWebGames

Dominion

Members
  • Posts

    2,447
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Dominion

  1. the following will not work for this mod just so people know its not worth trying   if ($ir['user_level'] == 2 && !in_array($_GET['action'], array('add', 'remove', 'buy', 'staffthing1', 'staffthing2'))) { error(); ///assumes you have an error function mine kills the page also } else { if (!in_array($_GET['action'], array('add', 'remove', 'buy'))) { error(); ///assumes again... } }   i use arrays to stop members using the staff functions on pages such as monorail (i have "addcity" function on that page now) this helps with security i also check the id's in an array of people i allow to add citys so well you could go with   $id = ( !is_numeric($_GET['id']) OR $_GET['id'] < 1 OR is_null($_GET['id']) ) ? 1 : abs($_GET['id']);   that would not help with locking people out of set functions i always find arrays better in any case but that may just be me :)
  2. reminds me of a villain off an early scooby doo episode so nice work there keep working theres alot of money in this kind of thing and if thats your first try you could get really good at it
  3. well the abs(intval thing is true theres the filters and even   $id = $_GET['ID']+0 ///won't secure everything in this case   would see if its a number so yea i know but you still don't need the @ and the array better to be safe then sorry after messing with mccodes i tend not to leave anything open no matter what things seem to slip past when they would not with anything else
  4. just a few small things 1st off you could secure the switch in an array   if(!in_array($_GET['action'], array('add','remove','buy'))) { error(); ///assumes you have an error function mine kills the page also }   something i picked up off zero's old posts if its not in the array its not vaild kill the page no risk   2nd when doing   $_GET['ID']=abs(@intval($_GET['ID']));   you may want to change it to something such as   $id =abs(@intval($_GET['ID']));   this will make sure when being used the $id is always abs(intval ($id)) this is since the cmarket is not always "user friendly" and tends not to change every $_GET (not sure why when it should but thats mccodes) i assume this market would follow the same rule you also would not need the "@" there since intval does not error would give 0 if nothings in it etc just a few small things more down to personal style then anything else but good work on the mod looks good :) the editer side of things look at Text Editors
  5. is it me or is it missing the include 'globals.php' and a php open tag (was it cut out when you posted ?) i have not looked over it but the include i assume it needs as its a v2 mod
  6. Illusions for sure at least for ideas there must be well over 30 mods of his on this site all new ideas at the time if your talking best developed i think there are a lot of mods that are well made the gang mod stands out due to its size but since then there has been one even bigger (sniko's gang mod?) i feel a lot of good mods have been posted and a lot are well developed (and yes a lot are not)
  7. $ir holds all user data the query is in globals.php for v2 and v1/lite has it at the top of most pages download lite if you wish to learn the engine (since its easy for them to just call $ir) as for taking everything out of the tables yes they are over used however they are also the reasion that so many mods pop up it would take a recode of the engine to make it fully "optimized" and thats not worth it for some people who are only going to put 10% into keeping there game running   @topic there are free mods that allow this and the poster above is right its very easy feel free to look around i am sure you will find something
  8. you forgot to ask your question or this is a mod request ?
  9. if you using it to flag up users an array on who can view it and an if() to see if they have been flagged up (you can add something to the users table to do this set to 1 or 0 not that its already full)
  10. well having a hall of fame topic next to the hall of shame is a good idea as it stands you can already post anything good about people i am sure if you post the staff members will end up making a topic listing all of them :)
  11. [NEW] City Warz [my own created codes] your own engine like that ?
  12. add an announcement saying - new contest started check out the forums topic for more info >.< (then the topic has rules etc) helps get everyone in the game aware of it
  13. i have not looked at the v2 database in some time however is the number of refs not already counted in the user table ? if so its matter of adding that to the halloffame linking the top into it and handing out a prize to however has the most after a set time then reset if you wish to run a new contest could all be done via announcements or forums ?
  14. see now that seems like a good answer and not one that can be attacked however i do wish to ask is the guy you give the job to on mwg ? if so may we have his username (just in case :) ) @ Swift-Fusion || Fusion his msn is the same his project is the same and his intros the same so... how long did it take you...
  15. and not posted so thats my case anyone else ? :)
  16. i would love to hear his side <sarcasm> i assume since he has not yet posted he is banned from posting in this topic ??? </sarcasm> Swift-Fusion || Fusion what story ? everything that has been said is based upon mwg's posts or msn logs that have been shown...
  17. read the post its not pauls story ??? (unless spydre452 is really called paul and i missed that) so look at the posts again people
  18. why are you all so shocked its cablebox its the same account all you need to do is look at his posts and more then that in his intro he says about freedomrpg and that was known to be his now its good that your all showing what he has done and not just posting crap however anyone you hand money over to you should look into even if its just his posts and its not hard to see he owed people money. as for dayo and lilith its clear you had nothing to do with it so do what you must but no need to keep having a go at someone who clearly thinks theres no point giving answers (and that says one thing)
  19. karma was abused like hell when it was still ce anything like this would be but i think its better to have it there as a safeguard
  20. i think its a good idea if everyone acts right else 1/2 the posts would be spam
  21. @ the msn screen shot (well lilith) - did he just compare members of mwg to hitler or am i reading that wrong ?
  22. well the site looks very nice and i did just pre-register so keep us upto date :)
  23. true but he wants examples that are going to be used anyways not lets spam his topic one or 2 starting examples would work also :|
  24. did you miss that ? i think its a good idea as it also shows he can work with people
  25. you should look into this yourself via google since us telling you will not fully allow you to understand what's being posted
×
×
  • Create New...