Jump to content
MakeWebGames

classified

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by classified

  1. thanks ~Robot I think I'm gonna give blueimp a try
  2. if anyone has a GOOD working ajax/ jquery chat for mccodes redux please msg me this one is no good at all period cause's major server problems
  3. yes I am I sent you a pm
  4. when you try to post in the gang channel it trys to load a page in the browser bar
  5. hey I bought the ajax chat mod from mccodes market place awhile ago and have had it up on my game after editing the files to work with redux, the global chat works well but the gang chat doesn't. if anyone could help me that would be really awesome and I can also pay 10$ for the help. if your up for helping me out just msg me thanks MWG
  6. If anyone is still using this I re did the stock portfolio here's the code   <?php /** * MCCodes Version 2.5.6 * Copyright (C) 2011-2012 MCCodes * All rights reserved. * * Redistribution of this code in any form is prohibited, except in * the specific cases set out in the MCCodes Customer License. * * This code license may be used to run one (1) game. * A game is defined as the set of users and other game database data, * so you are permitted to create alternative clients for your game. * * If you did not obtain this code from MCCodes.com, you are in all likelihood * using it illegally. Please contact MCCodes to discuss licensing options * in this case. * * File:Mods/mystocks.php * Signature: f33030f9e2af9f8a5c2d9f1c6cc46c5b * Date: Tue, 13 Mar 12 10:41:51 +0000 */ if (!defined($_CONFIG['define_code'])) { echo 'This file cannot be accessed directly.'; exit; } if($ir['location'] > 8) { die( "<font color=black>you can't do this while out of classified</font>"); } $a=$db->query("SELECT u.*, st.*,s.* FROM users u LEFT JOIN shares s ON u.userid=s.usUSER LEFT JOIN stock st ON st.stID=s.usSTOCK WHERE u.userid=$userid"); echo "<center><div id=second>Your Stock Portfolio</div> <table width=75% border='1' cellpadding='3'> <tr bgcolor=gray> <th>Stock Name</th> <th>Price per Share (avg)</th> <th>Total Sell Price</th> <th>Your Shares</th> <th>Last Change</th> </tr>"; while($b=$db->fetch_assoc($a)) { $total=$b['stCOST']*$b['usSHARES']; echo "<tr align=center> <td>{$b['stNAME']}</td> <td>".money_formatter($b['stCOST'])."</td> <td>".money_formatter($total)."</td> <td>{$b['usSHARES']}</td> <td>"; if ($b['stPERC']>0) { echo "<font color=blue>+{$b['stPERC']}%</font>"; } else { echo "<font color=red>{$b['stPERC']}%</font>"; } echo"</td> </tr>"; } echo "</table>"; echo " <h5>What would you like to do?</h5> <a href='".gen_url('stockmarket',true)."'>View Stockmarket</a> <a href='".gen_url('stockmarket',true)."&action=sell_stock'>Sell Stock</a> "; $h->endpage(); ?>
  7. awesome thanks so much man I'm gonna give that a try and see what happens Just tried out your code Coly010 and I made that work, Thank you again I would have never thought of that on my own lol   $_GET['wepid'] = (isset($_GET['wepid']) && is_numeric($_GET['wepid'])) ? abs(intval($_GET['wepid'])) : ''; if($_GET['wepid']) { if ($_GET['wepid'] == $ir['equip_melee']) { // ignore ammo code } else { $x=$db->query("SELECT * FROM ammunition WHERE amUSER=$userid AND amWEAPON={$_GET['wepid']} AND amAMMO>0"); $y=$db->num_rows($x); if (!$y) { print "You have no ammunition in this gun!"; $h->endpage(); exit; } }
  8. no what id like to do with it is to have it so that primary & secondary use ammo and then the melee weapons don't use anything I have 4 different types of guns on my game currently but when I try and make an attack using a melee weapon it says I have no ammo for this weapon
  9. if anyone could help me set this up to use melee weapons with this please msg me I have it working for guns but cant figure it out for melee weapons thanks clay420
  10. turns out really really simple for redux just upload the files to the public html folder and add the script tags to the template and its golden <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> <script src="ajaxer.js"></script> all I did and its running good on my game other than messing up the ajax chat and it does not work with Richards crime mod either
  11. has anyone got this working with redux? or could some give me a hand getting it to work? I'm gonna keep working at it and if I can get it going ill post here for others looks bad ass though and I really want it on my game lol
  12. ive fixed this problem if anyone needs it let me know
  13. just wanting to see if anyone would be interested in make me a template for classified city pm me your price and all that kinda stuff thanks clay420
  14. thanks everyone for the advice. ill just keep on trucking :) and working things
  15. good to know thanks for your input coly010 :)
  16. ok sorry didn't know about that     Classified City.net Game abstract: Classified city is based on conspiracy's, drug's, aliens and anything paranormal mixed with reality. Set in classified city a city that all drug users world wide have been sent to in mandate of the 420 protocol. tech used built all around the mccodes redux engine, php, html and css (nothing fancy as ive just started learning php html and css) Current development status: everyday im working on classified city, but it is slow going as it is only me working on it. there are staff spots open for anyone with ideas or who just wants to help make a fun game. My own skills and tasks in the game: so far ive done everything I can convert from other mccodes to the redux engine(haven't tried to convert grpg to mccodes yet) also can write simple codes What Im looking for: is someone who can help me get classified city to the next level and wants to have fun doing it Expenses will be covered by: myself. I have a server running with php MySQL phpmyadmin and all that other great stuff. I have the hosting paid for till feb of next year and will be renewing it again no matter what Current team: is only myself atm Share / gain of the partners: any gains made by classified city will be split: if 3 people each party will get a 25% share the balance will be put back into classified city for more development and mods closing notes classified city is not about what it can make monetarily it is about making a community for others to have fun in thanks again makewebgames for all your help cheers clay420   feel free to check out classified-city.net and tell me what you think
  17. looking for anyone who would wanna help out on my game just send me msg for more info
  18. ok I got I figured out now global functions had the answers I was looking for, thanks very much for all the help guys :) coly010 you are right with the item_add
  19. ok so today my problem is that I cant figure out how to add a item to a users inventory from a db query. I know some people might be like *** is this guy doing lol but anyway I want to have items that are buyable but not from the shops page. ive tried so many different db query's now I don't even know what to post to show ive tried stuff lol, im not asking for someone to write a code or anything just maybe point me in the right direction or to a resource that could help me figure this out. thanks in advance for the info
  20. cool thanks again Kyle
  21. i just found out today that my exchange does not work other than the energy refill. i have not touched the code for the exchange.php file at all other then looking it over, has anyone else had this issues?
  22. I got it to work finally. what kyle said to do worked. the problem turned out to be in my db I need to add treasure steps lol
  23. so using '&' helped and I changed false to true and am getting somewhere now
  24. ok I will give that a shot and thanks for your advice kyle. to answers your question the mod works other than that one line of code lol   [ATTACH=CONFIG]1784[/ATTACH] - - - Updated - - - here is a pic of the mod doing nothing :)
  25. ok I just tested that out and it returned a 404 error
×
×
  • Create New...