Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. Good Luck to everyone I've worked with this engine for quite a while now and the possabilities are endless. It will be very interesting to see how people approach their concepts for new mods and the ideas behind them.
  2. cheeers all lol had a good laugh at snikos post though lol
  3. I dont feel old but damn im getting forgetful these days maybe thats just a side effect lol
  4. well today im 42 damn that sounds old lol so ive been on the beer and it was goooood lol
  5. In all fairness no-matter were wela ll move to you will always find yourself back to where you was. When youve lived in a country for so long its not the country youd miss but friends and family and thats always the rason people return to their native grounds...
  6. it could well be CSS clashing then
  7. are you sure your using $h->endpage(); cos ive seen this a few times that was caused by not having the statment added...
  8. Just curious on what people think about owning a game and what they feel is needed in order for them to think its going to achieve something.. 1 = Lots of links in explore 2 = Keep links in explore to a minimum 3 = Lots of menu listings 4 = Only list on menu whats needed 5 = Homepage add everything a user needs to know (even if its useless info) 6 = Homepage only add what needed and keep page scroll to a minimum 7 = Show users have lots of cash 8 = Dont show users cash (let users find out for themselves when in an attack) 9 = Hospital (Show Id, name, Reason, Hosptime) ive actually hit a blank from here on in cos the rest IE forums and gangs only need to show whats needed...
  9. TOTALLY disagree I only have BF3 on PC and i have to say i hated it hence the expresiion (hated) ive been a big fan of the bf series for a long time. and wasnt amused when the server crashed continously or you were booted out of game for no apparent reason which lost any points gained in that round. Graphically its amazing i cant deny that the feel of the game is excellent. I just felt so much grief when being kicked or booted from severs due to technicalaties...
  10. im not too familiar with lite or v1 so dont really know their functions..
  11. the problem is you have <span class="highlight">index</span> inside your forms example There is no fee on withdrawals.<form action='<span class="highlight">index</span>.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['bankmoney']}' /> This may be due to a copy and paste from an exsisting code MWG
  12. try this one   <?php $housequery=1; session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm = money_formatter($ir['crystals'], ''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $exp=(int)($ir['exp']/$ir['exp_needed']*100); $exp_n=(int)($ir['exp_needed']); print <<<OUT <table cellspacing="1" border="1" cellpadding="3" class="table" width="70%"> <tr><td colspan="2"><b>General Information</b></td></tr> {$geninf} <tr> <td><b>Name:</b> {$ir['username']}</td> <td><b>Crystals:</b> {$cm}</td> </tr> <tr> <td><b>Level:</b> {$ir['level']}</td> <td><b>Exp:</b> {$exp}% ({$exp}/{$exp_n})</td> </tr> <tr> <td><b>Money:</b> $fm</td> <td><b>HP:</b> {$ir['hp']}/{$ir['maxhp']}</td> </tr></br> OUT; $ts=$ir['strength']+$ir['agility']+$ir['guard']+$ir['labour']+$ir['IQ']; $ir['strank']=get_rank($ir['strength'],'strength'); $ir['agirank']=get_rank($ir['agility'],'agility'); $ir['guarank']=get_rank($ir['guard'],'guard'); $ir['labrank']=get_rank($ir['labour'],'labour'); $ir['IQrank']=get_rank($ir['IQ'],'IQ'); $tsrank=get_rank($ts,'strength+agility+guard+labou r+IQ'); $ir['strength']=number_format($ir['strength']); $ir['agility']=number_format($ir['agility']); $ir['guard']=number_format($ir['guard']); $ir['labour']=number_format($ir['labour']); $ir['IQ']=number_format($ir['IQ']); $ts=number_format($ts); print <<<OUT <tr> <td colspan="2"><b>Stats Info</b></td></tr> <tr> <td><b>Strength:</b> {$ir['strength']} [Ranked: {$ir['strank']}]</td> <td><b>Agility:</b> {$ir['agility']} [Ranked: {$ir['agirank']}]</td> </tr> <tr> <td><b>Guard:</b> {$ir['guard']} [Ranked: {$ir['guarank']}]</td> <td><b>Labour:</b> {$ir['labour']} [Ranked: {$ir['labrank']}]</td> </tr> <tr> <td><b>IQ: </b> {$ir['IQ']} [Ranked: {$ir['IQrank']}]</td> <td><b>Total stats:</b> {$ts} [Ranked: $tsrank]</td> </tr> </table> OUT; print <<<OUT <table cellspacing="1" border="1" cellpadding="3" class="table" width="70%"> <tr><td colspan="2"><b>Attack Statistics</b></td></tr> <tr> <td><b>Total Attacks:</b> {$r['atotal']}</td> <td><b>Attacks Won:</b> {$r['awon']}</td> </tr> <tr> <td><b>Attacks Lost: {$r['alost']}</td> <td><b>Times Attacked: {$r['tattacked']}</td> </tr> <tr> <td><b>People Left: {$r['pleft']}</td> <td><b>People Hospilatized: {$r['phosp']}</td> </tr> <tr> <td><b>People Mugged: {$r['pmugged']}</td> <td><b>Money Mugged: \${$r['mmugged']}</td> </tr> </table> OUT; print "<h3>Bank</h3>"; if($ir['bankmoney']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>19999) { print "Congratulations, you bought a bank account for \$20,000! <a href='index.php'>Start using my account</a>"; mysql_query("UPDATE users SET money=money-20000,bankmoney=0 WHERE userid=$userid",$c); } else { print "You do not have enough money to open an account. <a href='index.php'>Back</a>"; } } else { print "Open a bank account today, just \$20,000! <a href='index.php?buy'> Yes, sign me up!</a>"; } } function index() { global $ir,$c,$userid,$h; print "\n<b>You currently have \${$ir['bankmoney']} in the bank.</b> At the end of each day, your bank balance will go up by 0.3%. <table width='75%' border='2' bordercolor='#lime'> <tr> <td width='50%'><b>Deposit Money</b> It will cost you 0% of the money you deposit, rounded up. The maximum fee is \$0.<form action='?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['money']}' /> <input type='submit' value='Deposit' /></form></td> <td> <b>Withdraw Money</b> There is no fee on withdrawals.<form action='?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['bankmoney']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $ir,$c,$userid,$h; $_POST['deposit']=abs((int) $_POST['deposit']); if($_POST['deposit'] > $ir['money']) { print "You do not have enough money to deposit this amount."; } else { $fee=ceil($_POST['deposit']*0/100); if($fee > 0) { $fee=0; } $gain=$_POST['deposit']-$fee; $ir['bankmoney']+=$gain; mysql_query("UPDATE users SET bankmoney=bankmoney+$gain, money=money-{$_POST['deposit']} where userid=$userid",$c); print "You hand over \${$_POST['deposit']} to be deposited, after the fee is taken (\$$fee), \$$gain is added to your account. <b>You now have \${$ir['bankmoney']} in the bank.</b> <a href='index.php'> Back</a>"; } } function withdraw() { global $ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['bankmoney']) { print "You do not have enough banked money to withdraw this amount."; } else { $gain=$_POST['withdraw']; $ir['bankmoney']-=$gain; mysql_query("UPDATE users SET bankmoney=bankmoney-$gain, money=money+$gain where userid=$userid",$c); print "You ask to withdraw $gain, the banking lady grudgingly hands it over. <b>You now have \${$ir['bankmoney']} in the bank.</b> <a href='index.php'> Back</a>"; } } $h->endpage(); ?>   see if that works
  13. no it just means on the file thats running it cannot understand where the function has come from so it always blame a file that asked for it.. This doesnt mean the resulting named file is the problem   loooking at your code it seems to be asking for index.php all the time whats the actual name of the file the script above belongs too ?
  14. what about wizwarz or wizwars
  15. seker line 141 needs to be function index() and 112 needs to be index();
  16. Id personally like to see health potions that just reduce hospital stay time rather than taking one and being released from hospital instantly small potion = reduces hosp stay by 5 mins medium =reduces hosp stays by 30 mins and so on....
  17. refreshes when page refreshes...
  18. Nicely done matey :) + 100
  19. Ive been tinkering with the NWE hospital and jail pages. the 2 images below show the old and updated versions as always feedback is always welcome :) Newer version shows a new time stamp and also lists everyone who is also in hospital when your in yourself or just visiting
  20. Happy Birthday DJ ya old sod have a great day matey and plenty more to come :)
  21. With V2 you had something to build upon but with V3 you cant locate one file to basically help you build on another thats my rant over :)
  22. Youd be silly at this stage to do away with V2 its been your main income and you would be wise to build on it,,
  23. you can replicate all IE versions to IE7 which was probably a more stable version look into google for emulate IE7
×
×
  • Create New...