
Nate
Members-
Posts
23 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Nate
-
Re: ELO Rating is thier a link to this?
-
ok well ive had a layout made for my game. but its basic and i dont think it will attract players. i need a GOOD layout. the Racing script i will need is not for mc codes. so you will have to get in contact with me: msn: [email protected] Aim:NateSpicklerTM :-D please help, thanks, nate ScreenShot:
-
Re: [Review] Rebel-Rpg Updated a lil bit. (looks wise) banner top section of the menus ect.. Car Racing is going to be added within the week. :D
-
Re: [Review] Rebel-Rpg thanks. yea i deleted the staff list last night cuz it has ips on it so i gotta make a new one. i wanna change txt of the banner. but thanks ill be having some adverts made.
-
hi this is rebel-rpg ive been workin on it for a lil while now. still alot of editing and stuff. so dont jump my case about stuff. this game is not being released at the moment till i feel im finished with the game.This is not mc codes btw. if any of you were thinking that. User: demo Pass: demo Tell me what you think: www.rebel-rpg.com
-
lookin for a bad azz layout. will pay. pm me or get at me on msn: [email protected]
-
so i have this problem for my game. when you make a set(clan). and you dont have the money or the levels and you put in the link to make one. you can not only make the set, but you get $18,446,744,073,709,527,000. full bank. here is the code: if (!$userstats3[tribe] && $userstats3[gold] = 25000 and $userstats3[level] = 50) { print "[*]<a href=?x=sets&view=make>Make a New Set</a> ($25,000 Cash & Level 50)"; } else { print "[*]Make a New Set ($25,000 Cash & Level 50)"; } print "[*]<a href=?x=sets&view=all>View Set List</a>"; print "[/list]"; then farther down the script were it makes it: if ($_GET[view] == make) { if ($userstats3[gold] > 25000 and $userstats3[level]>=50) { print "You don't have enough cash or your not a high enough level."; exit; } if ($userstats3[tribe]) { print "You are already in a set."; exit; } print "<table><form method=post action=?x=sets&view=make&step=make>"; print "<tr><td>Set Name:</td><td><input type=text name=name></td></tr>"; print "<tr><td>Set Pass:</td><td><input type=text name=tpass></td></tr>"; print "<tr><td colspan=2 align=center><input type=submit value=Make></td></tr>"; print "</form>"; if ($_GET[step] == make) { $name=$_POST[name]; $tpass=$_POST[tpass]; if (!$name || !$tpass) { print "Please fill out both fields."; } else { print "You just created a new set, [i]$name[/i]. "; print "For people to join the set, the password [i]$pass[/i] must be specified in order to join the set."; mysql_query("insert into tribes (name,owner,pass) values('$name',$userstats3[iD],'$tpass')"); mysql_query("update km_users set gold=gold-25000 where id=$userstats3[iD]"); $newt = mysql_fetch_array(mysql_query("select * from tribes where owner=$userstats3[iD]")); mysql_query("update km_users set tribe=$newt[id] where id=$userstats3[iD]"); } EDIT: Fix thanks anyways!
-
Re: Race. Help! mhmmm it connects thru the Connect.php so i dont have to have it in the scripts.... Update: So ive added some msql lines and i got the pic of YOUR car to sho up. the opponents car wont sho up. and also it prints a diff name instead of ur opponents name. <?php $time=date('U'); $offtime=$time-180; $online="update km_users set online='$time', lastseen='Racing(Testing Trial)' where playername='$userstats3[playername]'"; ?> <?php $profilestats="SELECT * FROM km_users WHERE ID='$_GET[battle]'"; $profilestats2=mysql_query($profilestats) or die(mysql_error()); $enemyy=mysql_fetch_array($profilestats2); ?> <?php $profilestats3 = mysql_fetch_array(mysql_query("SELECT * from km_users")); $myweapon = mysql_fetch_array(mysql_query("SELECT * FROM equipment WHERE owner='$userstats3[iD]' and type='W' and status='E'")); $mycar = mysql_fetch_array(mysql_query("SELECT * FROM cars WHERE status='E' and owner=$userstats3[iD]")); $equip2 = mysql_fetch_array(mysql_query("select * from cars where status='E' and owner=$profilestats3[iD]")); $mycar2 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='P' and owner=$userstats3[iD]")); $mycar3 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='B' and owner=$userstats3[iD]")); $mycar4 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='D' and owner=$userstats3[iD]")); $mycar5 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='N' and owner=$userstats3[iD]")); $mycar6 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='T' and owner=$userstats3[iD]")); $expneeded = ($userstats3[level] * 150); $exppercentage = ($userstats3[exp] / $expneeded); $pj = number_format($userstats3[pj],1); $maxpj = number_format($userstats3[maxpj],1); $half2=$userstats3[def]+$myarm[power]; $half=$userstats3[strength]+$myweapon[power]; $maxhorse=$mycar[horsepower]+$mycar2[power]+$mycar3[power]+$mycar4[power]+$mycar5[power]+$mycar6[power]; $maxbrake=$mycar3[power]; $maxdownforce=$mycar4[power]; $maxnitrous=$mycar5[power]; $maxturbo=$mycar6[power]; ?> <? include "connect.php"; if ($userstats3[gold] <= 5000) { print "You don't have enough gold to battle."; exit; } if ($userstats3[pj] < 1) { print "You don't have enough pj to Race."; exit; } $profilestats3 = mysql_fetch_array(mysql_query("SELECT * from km_users where ID='$view' LIMIT 1")); $userstats3 = mysql_query("select * from cars where owner=$userstats3[iD] and status='E' and type='D' and type='C'"); $profilestats3 = mysql_query("select * from cars where owner=$profilestats3[iD] and status='E' and type='D' and type='C'"); if ($mycar[horsepower] < 1) { $encar[horsepower] = 1; } { if ($enemy[horsepower] < 1) { $enemy[horsepower] = 1; } { print "<ul>"; print "[b]<img src=$mycar[image]></a> Vs. [img=$equip2[image]]</a> $userstats3[name][/b] vs. [b]$profilestats3[playername][/b] "; print " [*][b]The Race:[/b] "; while ($userstats3[gold] > 0 && $enemy[gold] > 0) { for ($maxhorse = 1;$i <= $userstats3[horsepower]; ++$maxhorse) { if ($enemy[gold] > 0 && $userstats3[gold] > 0) { $enemy[gold] = ($enemy[gold] - $userstats3[horsepower]); print "You raced [b]$enemy[image][/b] with [b]$userstats3[horsepower][/b] Horse Power!</font> "; } } for ($maxhorse = 1;$maxhorse <= $enemy[horsepower]; ++$maxhorse) { if ($userstats3[gold] > 0 && $enemy[gold] > 0) { $userstats3[gold] = ($userstats3[gold] - $enemy[damage]); print "[b]$enemy[image][/b] raced you with [b]$enemy[horsepower][/b] Horse Power! ($userstats3[hp] left) "; } } } if ($userstats3[hp] <= 0) { print " [*][b]Outcome:[/b] You were defeated by [b]'$enemy[name]'</a>[/b]."; mysql_query("update cars set loses=loses+'1', pj=pj-'.5' where ID=$userstats3[id]"); mysql_query("update cars set lastracedby=$enemy[name], where ID=$userstats3[id]"); } else { print " [*][b]Outcome:[/b] You defeated '[b]$enemy[name]'[/b]</a>[/b]."; $expgain = rand($enemy[exp1],$enemy[exp2]); $goldgain = rand($enemy[credits1],$enemy[credits2]); mysql_query("update cars set wins=wins+1 where ID=$userstats3[iD]"); mysql_query("update cars set loses=loses+'1', where ID=$enemy[iD]"); print " [*][b]Gains[/b] You Defeated [img=$enemy[image]]</a>, $enemy[name]."; mysql_query("update cars set horsepower=horsepower+'10', where ID=$userstats3[id]"); } } print "[*][b]Options[/b] "; print "<a href=?x=carracing&battle=$enemy[id]>Race Again</a> "; print "<a href=?x=Racers>Leave</a> "; } ?>
-
Re: Race. Help! This is what it looks like. i dont really know whats wrong wit it. it was made from scratch. really its just not pulling the names, avvys, cars, ect. from the database. if anyone can help i can send over msn and talk about it. Also, i have made a test account for you all to log into and check it out. Username: Test22 Password: 12345678
-
Re: Race. Help! ok thnx. :-D
-
Re: Race. Help! yea i tryed adding em thier php in brackets right? but yea thanks for the help. will give anyone that can help credits and account credits in the game.
-
Could use all the help i can. laitly ive added a upgrading car parts system. and now im trying to finish this. but its errors after errors. :? http://www.the-streets.site50.net/game.php?x=carracing <?php $time=date('U'); $offtime=$time-180; $online="update km_users set online='$time', lastseen='Racing(Testing Trial)' where playername='$userstats3[playername]'"; ?> <?php $myweapon = mysql_fetch_array(mysql_query("SELECT * FROM equipment WHERE owner='$userstats3[iD]' and type='W' and status='E'")); $mycar = mysql_fetch_array(mysql_query("SELECT * FROM cars WHERE status='E' and owner=$userstats3[iD]")); $mycar2 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='P' and owner=$userstats3[iD]")); $mycar3 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='B' and owner=$userstats3[iD]")); $mycar4 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='D' and owner=$userstats3[iD]")); $mycar5 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='N' and owner=$userstats3[iD]")); $mycar6 = mysql_fetch_array(mysql_query("SELECT * FROM carparts WHERE status='E' and type='T' and owner=$userstats3[iD]")); $expneeded = ($userstats3[level] * 150); $exppercentage = ($userstats3[exp] / $expneeded); $pj = number_format($userstats3[pj],1); $maxpj = number_format($userstats3[maxpj],1); $half2=$userstats3[def]+$myarm[power]; $half=$userstats3[strength]+$myweapon[power]; $maxhorse=$mycar[horsepower]+$mycar2[power]+$mycar3[power]+$mycar4[power]+$mycar5[power]+$mycar6[power]; $maxbrake=$mycar3[power]; $maxdownforce=$mycar4[power]; $maxnitrous=$mycar5[power]; $maxturbo=$mycar6[power]; ?> <? include "header.php"; if ($userstats3[gold] <= 5000) { print "You don't have enough gold to battle."; exit; } if ($userstats3[pj] < 25) { print "You don't have enough pj to Race."; exit; } $userstats3 = mysql_query("select * from cars where owner=$userstats3[iD] and status='E' and type='D' and type='C'"); if ($mycar[horsepower] < 1) { $encar[horsepower] = 1; } { if ($enemy[horsepower] < 1) { $enemy[horsepower] = 1; } { print "<ul>"; print "[b][img=$car[image]]</a> Vs. [img=$enemy[image]]</a> $userstats3[name][/b] vs. [b]$enemy[name][/b] "; print " [*][b]The Race:[/b] "; while ($userstats3[gold] > 0 && $enemy[gold] > 0) { for ($i = 1;$i <= $userstats3[attackstr]; ++$i) { if ($enemy[gold] > 0 && $userstats3[gold] > 0) { $enemy[gold] = ($enemy[gold] - $userstats3[power]); print "You raced [b]$enemy[image][/b] with [b]$userstats3[horsepower][/b] Horse Power!</font> "; } } for ($i = 1;$i <= $enemy[attackstr]; ++$i) { if ($userstats3[gold] > 0 && $enemy[gold] > 0) { $userstats3[gold] = ($userstats3[gold] - $enemy[damage]); print "[b]$enemy[image][/b] raced you with [b]$enemy[horsepower][/b] Horse Power! ($userstats3[hp] left) "; } } } if ($userstats3[hp] <= 0) { print " [*][b]Outcome:[/b] You were defeated by [b]'$enemy[name]'</a>[/b]."; mysql_query("update cars set loses=loses+'1', pj=pj-'.5' where ID=$userstats3[id]"); mysql_query("update cars set lastracedby=$enemy[name], where ID=$userstats3[id]"); } else { print " [*][b]Outcome:[/b] You defeated '[b]$enemy[name]'[/b]</a>[/b]."; $expgain = rand($enemy[exp1],$enemy[exp2]); $goldgain = rand($enemy[credits1],$enemy[credits2]); mysql_query("update cars set wins=wins+1 where ID=$userstats3[iD]"); mysql_query("update cars set loses=loses+'1', where ID=$enemy[iD]"); print " [*][b]Gains[/b] You Defeated [img=$enemy[image]]</a>, $enemy[name]."; mysql_query("update cars set horsepower=horsepower+'10', where ID=$userstats3[id]"); } } print "[*][b]Options[/b] "; print "<a href=?x=carracing&battle=$enemy[id]>Race Again</a> "; print "<a href=?x=Racers>Leave</a> "; } ?> edit (Templar): I have added the "Code tags" to this post