-
Posts
3,713 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Zero-Affect
-
if ( $ir['hospital'] >= 10 ) { if ( $ir['crystals'] < 2 ) { die("You don't have enough credits!"); } else { mysql_query("UPDATE `users` SET `crystals`=`crystals`-2,`hospital`=`hospital`-10 WHERE userid=$userid",$c); } } Although i'd just do something like if ( $ir['hospital'] ) { $hosp_rem = ( $ir['hospital'] >= 10 ) ? 10 : $ir['hospital'] ; mysql_query("UPDATE `users` SET `crystals` = `crystals`-2, `hospital` = `hospital` - $hosp_rem WHERE `userid` = $userid", $c); } else { die('You\'re not in hospital.'.$h->endpage()); }
-
Why not do a Ebay kind of thing with ratings positive and negative and a total percentage and list them on the members list by percentage of rating.
-
Still CB/Dabs don't need a reason to check im sure you won't object.
-
Danny i registered to CE about 10 thousand ids before you i really don't see the point in saying CE was better (i agree but still no point). I do agree with Renkia though lately you have been a knob and i see no reason why. None of us are actually any good at PHP (not including Alain and the actual programmer), We do what we can do and try to make a little money from it. I wasn't called a noob which is why it took me so long to get a grasp of the basics i think a little pushing does help but too much is just spirit breaking, Your reference to shanking is for any reason? @Renkia Your can't say he knows PHP and/or Security because frankly he doesn't know much he is familiar yes but not knowing. If ( !in_array($ir['userid'], array(1,2)) ) { die('You\'re not allowed here'.$h->endpage()); } Is a brilliant example why bother continuing...
-
That's one aspect of MC i hated with preferences having the main function then the submit function, Horrific looking and tacky IMO.
-
You automatically have a right by creating the script so you can run from that to contact the hosts but yeah a global licence under the MC licence for it's mods made for free/sold would be a brilliant idea but still give soul ownership to the creator of course.
-
Looks good Ishmell but the logo/banner does look a little off.
-
Not a single modification i use isn't legal so yeah actually some people do have morals but let me just warn you that if your using any of my mods illegally i don't take very well to it as you would know if you asked around. So you do buy illegal stuff then since you said 'most' rather than 'all' that's quite interesting i hope you don't have any of my mods on your site without paying for them, also CB/Dabs how about checking if his licence is valid, then if not contact his host. URL: http://www.streetsyndicategame.com HOST: http://www.greengeeks.com Source of text: (GreenGeeks TOS)
-
Donator days editing through Staff panel.
Zero-Affect replied to Monkey644's topic in Free Modifications
Source: http://uk2.php.net/manual/en/function.echo.php Even though the link says function.echo and it's listed in functions lol it isn't actually a function. -
Yeah it was if your updating all members i was making a example of if you wanted to only update specific users which had nothing in the db in common. for example $num_what = 0; $array_peeps = array(1,3,54,68,99,192); foreach ($arr as $val) { mysql_query('UPDATE `users` SET `money` = `money` + 100 WHERE `userid` = '.$val); } # INSTEAD DO: mysql_query('UPDATE `users` SET `money` = `money` + 100 WHERE `userid` IN('.$array_peeps.')');
-
Different way of going about 'User Display Pictures'.
Zero-Affect replied to Djkanna's topic in Free Modifications
Wow in all my time i've never seen try catch before, lol research time:P -
Your welcome pal, sorry if my solution was confusing.
-
I was on BT for about 2 month it was horrid i switched back to NTL/ComCast/Virgin Media ASAP.
-
@Spudinski I am doing my own project you should recall that since you did that investigation about crimgame being on Killah City Server and me being zero affect... lol (notice on my profile where it says formally Zero-Affect). So really i can comment since i've worked with MC for a few years and i know the quality of the code, something i don't get is that you seem to be sucking up a lot to the new owners of MWG by not stating the obvious. I'm sure even CB/Dabs would admit the code was not upto scratch. @jordan Mug lol
-
Glad to see it back mate.
-
Where did you get yours from mines fine. (joke) @ spudinski Most of my income comes from MCC security/mods so i see your point of view but i must agree with Alain in some aspects i dislike my scripts to be sold on or given away and i punish the people who do so in any possible way so i would prefer to only sell to people i can trust not to just backup and sell a 150 bucks modification of their site for 25 bucks a piece. They make more money than any of us doing stuff like that and it's appalling.
-
It doesn't really matter if your not gaining i mean if i stole the recipe for coca cola (i have no idea if it's publicly available) then i said to coca cola "i have it but im not gaining from it im just looking at it and changing a few things which i may sell in the future and/or open my own faction" They would be a little bothered i guess? We all know MCC's code is pathetic and they at the time of v2 were rather rubbish, So why start something from their work which is obviously of crude design. Making your own base is rather simple and considering you say "recode" rather than code i am assuming your basically recoding all the addons also which is rather silly considering it will be the name just different code.
-
Agon didn't you used to call me a A**hole for them kind of comments lol If ( !in_array($ir['userid'], array(1,2)) ) { die('You\'re not allowed here'.$h->endpage()); }
-
Thank god it's been on tv for too long lol i used to watch E4 but the Friends on all the time was annoying.
-
[align=center][/align] Seven years before season 1, Sydney Bristow was an undergraduate student of English literature when she was approached with a job offer by someone claiming to work for SD-6, which was supposedly part of the Central Intelligence Agency. She accepted the offer, and quickly became a field agent. In the pilot, she tells her fiancé Danny that she is a spy. As a result of revealing SD-6's existence to an outsider, her fiancé is murdered by SD-6. It is then that Sydney is told by her father Jack Bristow (another SD-6 agent) that SD-6 is not part of the CIA; instead, it is part of the Alliance of Twelve, an organization that is an enemy to the United States. Sydney decides to offer her services to the real CIA as a double agent. She learns that her father is also a double agent for the CIA, when he notifies her that her offer is accepted. She begins the long and arduous task of destroying SD-6 from the inside. Major plotlines from season 1 include Sydney hiding her triple-identity from her friends, both in her personal life and in her SD-6 job, Will Tippin's investigation into Danny's death, and the past activities of Sydney's mother. Sub-plots included Sydney's friendship with Francie, Francie's romantic relationship with Charlie, and Sydney's developing relationship with her CIA handler Michael Vaughn, of whom she is skeptical at first but grows to trust as her life becomes increasingly stressful. Season One focuses on the development of Sydney's character, and allows the audience to become familiar with her. The other seasons share the feature of having a guest star who appears throughout the entire season. Source of text WIKI Official website Alias at the Internet Movie Database Alias at TV.com
-
Jordan maybe i could suggest doing what i did, since i worked with MC for so many years i adopted their ideologies and built up from 3 files i now have about 45 files coded (granted that isn't so good but i've been working for others over the 5ish months i've been working on CG). Considering i can call it my own i am now going over the concepts i adopted (This doesn't mean i copied their script) and recoding them (Alan, Alain & DJK will know since i share knowledge with them) . I hope you do not continue with the illegal activities because frankly there is no point ruining your image with it.
-
Could you not use a folder and suggest .tk/co.cc domains to mask it?
-
besides when you openly stated it...
-
Spudinski does have a point but considering all the bugs in MCC scripts you'd think they would have patched them with MD and MC.
-
Thanks for that DJK one question though with your code you put the checkbox before <form does that still work?