
SouIAssassin
Members-
Posts
38 -
Joined
-
Last visited
Never
SouIAssassin's Achievements
Newbie (1/14)
0
Reputation
-
[REVIEW] Dark Streets Is Almost Complete Please Review
SouIAssassin replied to SouIAssassin's topic in Browsergames
Re: [REVIEW] Dark Streets Is Almost Complete Please Review register is now fixed thabnks -
Crystal market with limit and day function
SouIAssassin replied to SouIAssassin's topic in Free Modifications
Re: Crystal market with limit and day function well doing it on hours would keep them active really sorry i don't seem to know what i have done wrong sorry guys -
Crystal market with limit and day function
SouIAssassin replied to SouIAssassin's topic in Free Modifications
Re: Crystal market with limit and day function it shoudl be set in the cron hour sorry for the error -
Re: not sure about this iam not saying its going to be rubbish or anything but in that stament all your saying is that your doing name changes and stuff like that like brave into guts etc etc ...
-
Re: Visability if($ir['level'] > 4) { echo 'Bank'; } means lvls above 4 will see it
-
Re: Will,Brave and energy some cron have to be set up to wget and it might work
-
Re: Look at this please hey m8 you need to look at your gangs table in your database and you have o have the say number of feilds as like your insret into lnto I.E if you have 15 like mine then it has to be $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'',0)"); in order it is the gangid gang name gang desc gang perf gang suff gang money gang crystals gang president gang vice president gang capacity gang crime gang chours gang ament gang amoury if you don't have a gang amoury just take the ,0 from the end of the query so it would now be. $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'')"); the '' inside the vaules are ' ' not " hope that helps
-
Crystal market with limit and day function
SouIAssassin replied to SouIAssassin's topic in Free Modifications
Re: Crystal market with limit and day function yes thats what i ment thank you mrgi thank you for correcting that for me m8 ;) -
Crystal market with limit and day function
SouIAssassin replied to SouIAssassin's topic in Free Modifications
Re: Crystal market with limit and day function its not a 3 crystal limit its like a 3 post max if u know what i mean -
Re: [mccode v2] Site lockdown back on topic the mod worked first time nice 1 ;)
-
Re: Help on line 45 there might be a print missing a "; or just a ; at the end iam not too sure but past your line 44-47 code here and i can look at see
-
[mccode v2] Advanced(isher) Level Upgrade Mod.
SouIAssassin replied to Becon's topic in Free Modifications
Re: [mccode v2] Advanced(isher) Level Upgrade Mod. i like how someone always goes back to the point and all the coders and hackers i have spoke to i have never heard any of them say to me when coding don't use veribles becasue they can get hack this is the first i have heard of it can u give me another demo on how this can be done ;) -
What This Update Does It Lets Gang Owner Send A Mass Payment In Crystals As Well As Money. Open YourGang.php Find. [url='yourgang.php?action=staff&act2=masspayment']Mass Payment[/url] Replace With. [url='yourgang.php?action=staff&act2=masspayment']Mass Payment(Money)[/url] [url='yourgang.php?action=staff&act2=masspaymentcry']Mass Payment(Crystals)[/url] Nexted Find case "masspayment": gang_staff_masspayment(); break; Add Under case "masspaymentcry": gang_staff_masspaymentcry(); break; Then Find function gang_staff_masspayment() { global $db,$ir,$c,$userid,$gangdata; $_POST['amnt']=abs((int) $_POST['amnt']); if($_POST['amnt']) { $q=$db->query("SELECT * FROM users WHERE gang={$ir['gang']}"); while($r=$db->fetch_row($q)) { if($gangdata['gangMONEY'] >= $_POST['amnt']) { event_add($r['userid'],"You were given \${$_POST['amnt']} from your gang.",$c); $db->query("UPDATE users SET money=money+{$_POST['amnt']} WHERE userid={$r['userid']}", $c); $gangdata['gangMONEY']-=$_POST['amnt']; print "Money sent to {$r['username']}. "; } else { print "Not enough in the vault to pay {$r['username']}! "; } } $db->query("UPDATE gangs SET gangMONEY={$gangdata['gangMONEY']}, gang WHERE gangID={$ir['gang']}", $c); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(), 'A mass payment of \${$_POST['amnt']} was sent to the members of the Gang.')"); print "Mass payment sending complete! [url='yourgang.php?action=staff']> Back[/url]"; } else { print "[b]Mass Payment[/b] <form action='yourgang.php?action=staff&act2=masspayment' method='post'> Amount: <input type='text' name='amnt' /> <input type='submit' value='Send' /></form>"; } } And Under function gang_staff_masspaymentcry() { global $db,$ir,$c,$userid,$gangdata; $_POST['amnt']=abs((int) $_POST['amnt']); if($_POST['amnt']) { $q=$db->query("SELECT * FROM users WHERE gang={$ir['gang']}"); while($r=$db->fetch_row($q)) { if($gangdata['gangCRYSTALS'] >= $_POST['amnt']) { event_add($r['userid'],"You were given {$_POST['amnt']} crystals from your gang.",$c); $db->query("UPDATE users SET crystals=crystals+{$_POST['amnt']} WHERE userid={$r['userid']}", $c); $gangdata['gangCRYSTALS']-=$_POST['amnt']; print "Crystals sent to {$r['username']}. "; } else { print "Not enough in the vault to pay {$r['username']}! "; } } $db->query("UPDATE gangs SET gangCRYSTALS={$gangdata['gangCRYSTALS']} WHERE gangID={$ir['gang']}", $c); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(), 'A mass payment of {$_POST['amnt']} crystals was sent to the members of the Gang.')"); print "Mass payment sending complete! [url='yourgang.php?action=staff']> Back[/url]"; } else { print "[b]Mass Payment(Crystals)[/b] <form action='yourgang.php?action=staff&act2=masspaymentcry' method='post'> Amount: <input type='text' name='amnt' /> <input type='submit' value='Send' /></form>"; } } Find { print "[b]Mass Payment[/b] <form action='yourgang.php?action=staff&act2=masspayment' method='post'> Amount: <input type='text' name='amnt' /> <input type='submit' value='Send' /></form>"; } } Replace with { print "[b]Mass Payment (Money)[/b] <form action='yourgang.php?action=staff&act2=masspayment' method='post'> Amount: <input type='text' name='amnt' /> <input type='submit' value='Send' /></form>"; } } Thats It Can You Tell Me Any Problems You Have With It And If Its Not Secure Can Someone Please Do It As Am Not Goot With Secureity :s Hope You Like It.
-
Re: [McCodes v2] ($3) Database driven voting script with incentive and security guys what everyone else has said honeslty i have never seen a voating mod like this top notice secrity and support the guy is amzing ths mod should be more thats its worth come on bargin price is worth more than $3 and suggest you raise it becasue the other voting mods are no were near as good as this really guys get it you have to i jsut want to say that every game owner should get this most its f**king amzing and if you don't your a fool
-
Re: [mccodes] Battle Mechs [$15] hey breaking light i would like to get the mod plz add me to msn [email protected] or mail me [email protected]