
mixmaster
Members-
Posts
194 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by mixmaster
-
mccodes lite ?
-
Well , the way around it is he could buy an mccodes licence and then he would be fine to use the code , but he would either have to change the design or contact the owners of the design and ask their permission to use it
-
Yes , the code and the design are both illegal (code is mccodes and if im correct the design belongs to wizard productions)
-
what do you mean ?
-
He runs ravans script
-
wow raven just wow
-
Lol its easy to forget :p
-
Also needs to take it out of the query
-
in global_funcs.php find function check_level() { global $db; global $ir,$c,$userid; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); if($ir['exp'] >= $ir['exp_needed']) { $expu=$ir['exp']-$ir['exp_needed']; $ir['level']+=1; $ir['exp']=$expu; $ir['energy']+=2; $ir['brave']+=2; $ir['maxenergy']+=2; $ir['maxbrave']+=2; $ir['hp']+=50; $ir['maxhp']+=50; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); $db->query("UPDATE users SET level=level+1,exp=$expu,energy=energy+2,brave=brave+2,maxenergy=maxenergy+2,maxbrave=maxbrave+2, hp=hp+50,maxhp=maxhp+50 where userid=$userid"); } } Replace with function check_level() { global $db; global $ir,$c,$userid; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); if($ir['exp'] >= $ir['exp_needed']) { $expu=$ir['exp']-$ir['exp_needed']; $ir['level']+=1; $ir['exp']=$expu; $ir['energy']+=2; $ir['brave']+=2; $ir['maxbrave']+=2; $ir['hp']+=50; $ir['maxhp']+=50; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); $db->query("UPDATE users SET level=level+1,exp=$expu,energy=energy+2,brave=brave+2,maxbrave=maxbrave+2, hp=hp+50,maxhp=maxhp+50 where userid=$userid"); } }
-
http://www.w3schools.com/
-
urm not really , it only takes 1 person to do it then release it all over the net for free
-
Yes im also with his hosting , i think this is the third time its been down in 2 weeks
-
Rarely been on php.net (only to look at functions) but thanks for letting me know :)
-
hmmm i always just asumed you started php with <?php and ended the script with ?> other wise it wouldn't work
-
Why wont you be buying from peter again ?
-
Yea i agree with danny , just take your time planning it , working how it will work etc , make it unique and make it different and you shouls be fine
-
1: I didn't put them in. 2: Ofcourse there is a need for the ?>:p
-
No problem
-
Get it planned on paper , then start on it , you wouldn't want to forget what you was going to do :p
-
<?php include "globals.php"; $sql = 'SELECT COUNT(refID) FROM referals WHERE refREFER = ' . $userid; $rs = mysql_query($sql); $referals = array_shift(mysql_fetch_row($rs)); mysql_free_result($rs); $sql = " SELECT userid, username FROM users LEFT JOIN referals ON refREFED = userid WHERE refREFER = $userid ORDER BY level DESC, username "; echo ' <table border="1"> <tr> <th>ID</th> <th>Name</th> <th>Level</th> </tr> '; $rs = mysql_query($sql); WHILE ($row = mysql_fetch_row($rs)) { list($id, $name, $level) = $row; $name = htmlentities($name, ENT_QUOTES, 'utf-8'); $level = number_format($level); echo " <tr> <td>".$id."</td> <td>".$name."</td> <td>".$level."</td> </tr> "; } mysql_free_result($rs); echo '<br style="clear:both;" /></table>'; $h->endpage(); exit; ?> Try that
-
Neither, Make it so the owner can make the game as they want as easy as possible ie : let them make the stats (will etc) and all of them kind of things
-
change to $db->query("UPDATE users SET bguard=bguard-1 WHERE bguard > 0"); and you can get rid of your secong bguard query
-
An engine is the opposite of mccodes :p ;)
-
I dont think he is :p
-
Cars Mod || Coming Soon || Mccodes V2
mixmaster replied to Damagedcity.com's topic in Requests & In Production
What staff functions will there be ?