Matty
Members-
Posts
168 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Matty
-
Re: [mccode] View Donators Gah are you the V2 version of iseeyoublahblahblah?
-
Proposed Features for DBS/MCcodes Next Ver.
Matty replied to Dabomstew's topic in General Discussion
Re: Proposed Features for DBS/MCcodes Next Ver. You can use the zend products, Encrypt one file that is important, for example the globals.php file (make sure its different than the previous obviously) Whilst encrypting this you add a license key check in there. He could also encrypt random other files which arnt needed to be edited. You may say 'But how do we edit the script it will be the same now!' Simple you don't NEED to edit the globals.php files, you can create a new one with your own functions in and include that in the relevant pages. To sum up, he can just give license keys to those that brought it, no license key or an invalid on then it wouldn't work, he could also restrict that key to be used on one host, he would also know who was trying to use a key that wasn't theirs, for example trying to share keys. He could suspend licenses as well. You can get local keys to use I'm not sure how they work exactly but you can run it locally on a testing server. You also don't have to have an uplink top his server, you can have a license key file that has your key in it. Dabs... check it out... http://www.zend.com/products/zend_guard -
Re: [MC codes V1 & V2] Page Loading Time script above can be found here... http://www.totallyphp.co.uk/code/page_load_time.htm I think this is a better version though... http://www.developertutorials.com/tutorials/php/displaying-load-time-php-050620/page1.html
-
Proposed Features for DBS/MCcodes Next Ver.
Matty replied to Dabomstew's topic in General Discussion
Re: Proposed Features for DBS/MCcodes Next Ver. Does this mean you may actually add some kind of license protection so that all these whinners about illegal version quit whinning or at least give them some anwsers? -
Re: [FREE]Music system Thats a 100000000000000% improvement =)
-
Re: [FREE]Music system Actually Deception is correct. I would not of used the database for this mod, there is no need and eventually it will slow down your site. Your mod is a series of cases and a link to a free radio music player, perhaps if you exapand it a bit, for example: It doesnt autoplay on start, so people that want to listen to it can! Dont annoy your users first of. Doing this will also make it stop starting on every new page load, which if someone doesnt want to listen to it will be VERY annoying. Think of the effects before adding something like this to your game. Its a nice idea but it could be expanded ALOT and coded better. Still + 1 for ther originality.
-
Re: Mysql Injections Thats sounds like a scam TBH... You cant crack MD5 you can get a big ass chart and compare but im not sure that 100% totally works for md5 anyways... All these deycrtpter sites are just huge databased of md5 hashes, hence if you put something really complex in it wont find it. Very bad... A good strong password consists of Not a dictionary word, perhaps not even a word... A good length MUST CONTAIN - Upper and lower case letter mixed, numbers and a few symbols. It could be anything, there is no fix... He may be using javascript to gain access to session varibles. He may of found an exploit to upload his own files? who knows, but saying its deffintely SQL injection isnt good. My advice to you is make sure your using mysql_real_escape_string on anything user inputted this will escape all the data , thus making it safe. If you have the magic quotes thing on then you would need to use add slashes first so you dont escape it twice... Do that on ANYTHING user inputted and you should be okay from SQL injections... Take a look at this post, its a really good explaination and a good starting point... Sorry for my bad spelling and puncuation, its past my bed time =)
-
Re: End page error Go learn some more little boy if you have { } { { } Then there is a missing } of course the code is going to think that if you add if to the end that error will go becuase YOUR NOW CLOSING IT, BUT what your missing is that fact that its in the wrong PLACE! Likewise in this situation where depeception has proved that it wasnt at the end. LOL! Im not shutting up to some kid that thinks he knows how to code when he clearly cant. I wouldnt mind if you accepted the fact that doing what you said works but is very bad coding... Still, I thought we sorted out that little problem about errr a few months back, growup.
-
Re: Making A template Yeah... but you missed the point... he said someone will find away to get around it and find it or somat... I told him that if you move it outside there is noway for them to do anything unless they got access to FTP/Cpanel, or the actuall server. Its was more a security issue I think...
-
Re: Making A template Wrong! You just need to know how to make it so they cant read that file, if you keep the config.php file in you public_html directory then of course it can be gotten into easily, but if you put it outside the public_html directory the web browser cannot pick up that file and thus can only be read by ftp or cpanel access =)
-
Re: Quick Help Please Ive had enough with people who cant read or type... I answered that in my first post idiot, i told you what it was, I just couldn't be bothered to post the fix, and your reply proves why.
-
Re: Quick Help Please Looks like you don't have the field married in your user database.
-
Re: Qucik question Thats the funniest thing I've read this week! I will highlight in bold what is wrong with your code... okay? V2: if($r[user_level]==2 && $r[user_level]==3 $r[user_level]==5) { $db->query("update users set hospital=10, hospreason=Tried to attack a Staff player where userid=$userid",$c) or die(mysql_error()); echo "STAFF cannot be attacked"; } V1: if($r[user_level]==6 && $r[user_level]==3 $r[user_level]==5) { mysql_query("update users set hospital=10, hospreason=Tried to attack a Staff player where userid=$userid",$c) or die(mysql_error()); echo "STAFF cannot be attacked"; } Well actually the echo are about the only thing there that will work...
-
Re: Gangs and Gang Wars Its part of the game, there will always be something bigger, much like real life. But you could do as UCC suggested.
-
Re: [site tools] Useful little function: Get_url Do you have an index file in the root of that folder?
-
Re: [TGM] User Rating System [TGM] Wow... You may actually want to change you Paypal email address... You don't actually care though do you, using a free hosts email for your on line banking, bleh some people.
-
Re: End page error Lol Kyle, do you know how to code... YOU DON'T JUST ADD { to the end of the code, if its saying that error then obviously something hasn't been closed. What I would do is make sure each open bracket has a closing bracket. In the long run what your saying kyle is VERY bad coding and will fuck up your code and will be a nightmare if you add something something else in there. Still you carry on... Sure why don't you just close all your IFs and Functions at the end of the page...
-
Re: Discovery live messenger LOL, What he said, and the fact that in time it will fuck up your computer.
-
Re: Discovery live messenger There is so much adware bundled with that crap.
-
Re: Just An idea For V2 Codes I don't think you understand what copyright is. Copyright is the right to hold a copy of the code, if you don't have the right to hold the copy of the code then its plagiarism. The code being copyrighted or not doesn't effect who you use it and who uses it. If however you register your material and you gain the copyright over your material (the right to have it) then it secures the fact that you can prove its yours, and it will make the whole issue easier. If it isn't copyrighted, action can still be taken but its harder to prove its yours. Just because it isn't copyrighted doesn't mean your allowed to use it unpaid, thats to do with licensing and morals. Also before you post about anybody sue-ing anyone, learn the court system. ;)
-
Re: Just An idea For V2 Codes Personally I think it should go up, then maybe some people will actually appreciate the engine, it will also stop most people from distributing so much as many people will want to keep it to themselves if they paid a lot for it. Lowering the price will only encourage more noobs to get hold of it and attempt to host a game, bringing the community a worse name. Many games running this engine will also see bad effects. Copyright has nothing to do with this, If something isn't copyrighted, then you should still respect the maker of the material and pay for it. After all, it doesn't have to be copyrighted for anything to happen, he just has to provide enough evidence to prove its his. I would think he has enough to close down an illegal site if they started getting big, if the community helped.
-
Current V2 Problems (Minor Bugs) Help Required?
Matty replied to chaoswar4u's topic in General Discussion
Re: Current V2 Problems (Minor Bugs) Help Required? Yes It does matter, I was telling him alternatives and what to use when, so when he does know how to code better and wants to make his own mod which actually has a loop then he will know what to use and what will give him the best performance, so that his code will be efficient and properly coded. Shame this couldn't be said for somethings though... -
Re: [TGM] Gang War Demands [TGM] Nice mod, I like the TC approach... also... If you have coders, and you asking questions like... How are both your games coded by you? lol
-
Current V2 Problems (Minor Bugs) Help Required?
Matty replied to chaoswar4u's topic in General Discussion
Re: Current V2 Problems (Minor Bugs) Help Required? You could however do it many ways for example... IF(!$gangname){ Echo "I am empty!"; } Orrrr IF(empty($gangname)){ Echo "I am empty!"; } There are a lot of issues with which is faster, some say that !$gangname would be faster that empty(), but in these instances it would be quicker to use empty() 1. It is needed for arrays and (I think) objects 2. empty() is actually FASTER than using just the variable. You might think that it would be slower because it looks like a function, but it is actually a language construct. Apparently it is optimized. It is at least 10% faster, sometimes nearly 20% faster. -
Re: [FREE] Bodyguard V2.0 Right, It wouldn't annoy me so much if you asked for help on how to convert it. Its annoying when you post on every post and ask for it in V1... The coder took the time to code it and was nice enough to give it for free, now why don't you go and learn so you can give something back?