
jon182
Members-
Posts
233 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by jon182
-
Re: sql problem :oops: nevermind disregard this
-
Ok. in sql i want to add a column thats in one table to another. (gangRESPECT) to the user table. also what sql would i need to make it so taht when the gangRESPECT in one table is updated the otherone follows?
-
Re: Energy what do your crons look like?
-
Re: battle bots problem solved it
-
Re: battle bots problem then find me the forum posts because i've searched battle tent about 5 times and only found one post about it and it doesn't help me
-
Re: battle bots problem i did search. and nothing i found helped me. i even changed battletent.php with this script <?php include("globals.php"); echo ' <h2>Battle Tent</h2> [b]Welcome to the battle tent! Here you can challenge NPC\'s for money.[/b] <table border="0" width="100%" cellspacing="0" cellpadding="0" class="table"> <tr> <th>Bot Name</th> <th>Level</th> <th>Times Owned</th> <th>Challengable</th> <th>Location</th> <th>Money Won</th> <th>Challenge</th> </tr> <tr>'; $fetch = mysql_query("SELECT * FROM users WHERE user_level=0") or die(mysql_error()); while($user = mysql_fetch_assoc($fetch)) { $sele = mysql_fetch_assoc(mysql_query("SELECT * FROM challengebots WHERE cb_npcid=".$user['userid'])) or die(mysql_error()); $city = mysql_fetch_assoc(mysql_query("SELECT * FROM cities WHERE cityid=".$user['location'])) or die(mysql_error()); $count = mysql_num_rows(mysql_query("SELECT * FROM challengesbeaten WHERE npcid=".$user['userid'])) or die(mysql_error()); echo ' <td>[url="viewuser.php?u='.$user['userid'].'"]'.$user['username'].'[/url] ['.$user['userid'].']</td> <td>'.$user['level'].'</td> <td>'.$count.'</td> <td>'; if($ir['hp'] >= $ir['maxhp']/2 && $ir['hospital'] == 0 && $ir['jail'] == 0 && $ir['location'] == $user['location'] && $user['hospital'] == 0 && $user['jail'] == 0 && $user['hp'] >= $user['maxhp']/2) { echo ' <font color="green">Yes</font>'; } else { echo ' <font color="red">No</font>'; }echo ' </td> <td>'.$city['cityname'].'</td> <td>'.money_formatter($sele['cb_money']).'</td> <td>'; if($ir['hp'] >= $ir['maxhp']/2 && $ir['hospital'] == 0 && $ir['jail'] == 0 && $ir['location'] == $user['location'] && $user['hospital'] == 0 && $user['jail'] == 0 && $user['hp'] >= $user['maxhp']/2) { echo ' [url="attack.php?ID='.$user['userid'].'"]<font color="green">Attack</font>[/url]'; } else { echo ' <font color="red">You can\'t at this moment.</font>'; }echo ' </td> <tr>'; } echo ' </tr> </table>'; $h->endpage(); ?> [code] and it didn't help. so if a helpful person could give me a hhand that would be great.
-
ok. i have V2 of mccodes. Now with my battletent when i add bots only the first one added shows up even when beaten. why is this?
-
Re: Businesses Mod [Mccode V2] i'm not complaining at all. im very happy that this mod was released and its a great mod. i'm merely pointing out that the director cant make money. i would fix it myself but i don't know how
-
Re: small job problem im a noob :( i added the cash jobquery =1 and it works great thank u so much!!!!!!!
-
could someone please come and review it. it's a work in progress but i believe that it's not too bad. :mrgreen:
-
Re: Businesses Mod [Mccode V2] well how can the director take the money out of the vualt and put it intohis pocket? also it doesn't show any error it just redirects me to the page taht shows my business. ALSO i'm testing it. i have a car dealership and i'm the only member. i put 900,000,000 into the vualt as test money. after rollover theirs 29k left. whats up with this? i slightly edited the business_cron thing. heres what it is now. $new_profit = (($new_customers + rand(-4, 8)) * ((($bs['classCost'] / 10000) * rand(2, 4)) / 50) * ($amount + 1));
-
ok. You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} each day at 5pm! You also receive {$ir['jrIQG']} IQ, {$ir['jrSTRG']} strength, and {$ir['jrLABOURG']} labour! You currently work in the ! You receive $ each day at 5pm! You also receive IQ, strength, and labour! That is what is seen on my job page. the above is my script. who knows whats wrong.
-
Ok. i've got a website up and running. respectedmafia.com quite a few mods not too bad looking (register page still needs some work) should be secure. but i only have 50 users. whats a good way to get traffic? (my budget as of now is $0.)
-
Re: Businesses Mod [Mccode V2] ok you can't choose the director as a member so i don't know how thier supposed to get money. also when i click bankrupt business it just returns to the business section and deosn't delete the business
-
Re: respectedmafia.com massively updated
-
Re: [mccodes V2] Delete item from shop mod $10 ok let me say this I MADE THIS FROM SCRATCH I DIDN'T MODIFY THE TOPIC CRAZY IS TALKING ABOUT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! anywhooooooo can an admin close this thread? i'm just sorry i even posted this.
-
Re: [mccodes V2] Delete item from shop mod $10 yes i'm new to PHP, however the code isn't bad. it took me a while but i got it in the end. I just did a search and found what crazy-t was talking about. i guess the mod does do a similar thing however it's not his mod i made it myself. Also i would like to ask that you guys don't start ragging on me and crap just because i'm a new coder, i do the best i can and don't appreciate your crap.
-
Re: [mccodes V2] Delete item from shop mod $10 by own i ment you actually created it. not just bought it to use once on your site.
-
Re: [mccodes V2] Delete item from shop mod $10 how so??? you may buy it for ten, but if you own like a $30 blackjack mod i'll trade you. NOTE* THIS DOESN"T ACTUALLY HAVE A NEW DOC. IT INCLUDES EDITS OF 2 files.
-
Re: [mccodes V2] Delete item from shop mod $10 i checked and don't see anything like this. or even similar.
-
ok have you ever added an item to the wrong shop?? i have several times. so i decided to create a mod that would allow you to delete a chosen item from the chosen shop. This mod will delete only the selected item from the selected shop. It has been tested and works great. i will be selling you only the permission to use this mod 1 time. you may not resell the mod. it's only $10 via paypal, or i may trade the 1 time use for 1 time use of another mod made by you. Message me on here to buy.
-
Re: THIS IS URGENT!!! fixed it myself
-
Re: THIS IS URGENT!!! i'm not stupid. it will just delete users
-
Re: THIS IS URGENT!!! how does this help??? by the way i figured it out on my own now i'm just down to an sql syntax error.
-
Re: THIS IS URGENT!!! sooo could i get a real response?? An answer would be nice instead of "why's it important" or "lol"