
bladewolf2010
Members-
Posts
369 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by bladewolf2010
-
theres plenty of links posts to read for conversion i'll even point ya to one http://makewebgames.io/board750/16666-tutorial-v1-v2-conversion/index3.html
-
eh i'm learning thanks :)
-
you forgot the sql for users daily i think it'd be [mysql]ALTER TABLE `users``daily` int(11) NOT NULL;[/mysql] note: may be wrong havn't learned how to do sql's really yet
-
Little add on ( I know this is old) But you could add a bank in there so it stores your money crystals etc and there no limit on it. Could have to pay 50billion or so if you can't pay at once you could make payments. players can still attack you but there be like a 50% chance they will unless you buy upgrades for it (walls, turrets, security system, and control panel) just some idea's
-
Being able to see how many times a gang won and lost in wars
-
I don't do that mainly because i don't understand the point when you can just do it in tags right?
-
At least i'm trying now :pinch:
-
Okay i'm prob adding it to the wrong place but It's adding it to every user NVM I got it :)
-
Just one thanks :) Using it for my team of people that find cheaters Well i guess it will be multiple?
-
How would I add an image above view user for a specific UID?
-
Okay thanks for the advise :)
-
I know this isn't really a mod but it's a little thing that helps players see what the staff do (like what there duties are) having that in the stafflist.php will save them the trouble from going to each staff member's profile just to see the duties <?php include "globals.php"; $staff=array(); $q=$db->query("SELECT * FROM users WHERE user_level IN(2,3,5) ORDER BY userid ASC"); while($r=$db->fetch_row($q)) { $staff[$r['userid']]=$r; } echo"<table width=100% border=1 style=text-align:center; class=table>"; print " <h2 style='padding-top:10px;'> Staff List</h2></div> [b]Admins[/b] <table width=80% border=1 style=text-align:center; class=table><tr style='background:gray'><th>User</th> <th>Duties</th> <th>Level</th> <th>Money</th> <th>Last Seen</th> <th>Status</th> </tr>"; foreach($staff as $r) { if($r['user_level']==2) { if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td> {$r['duties']}</td> <td>{$r['level']}</td> <td>\${$r['money']}</td> <td>".date('F j, Y, g:i:s a',$r['laston'])."</td> <td>$on</td> </tr>"; } } print "</table>"; print "[b]Secretaries[/b] <table width=80% border=1 style=text-align:center; class=table><tr style='background:gray'><th>User</th> <th>Duties</th> <th>Level</th> <th>Money</th> <th>Last Seen</th> <th>Status</th> </tr>"; foreach($staff as $r) { if($r['user_level']==3) { if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td> {$r['duties']}</td> <td>{$r['level']}</td> <td>\${$r['money']}</td> <td>".date('F j, Y, g:i:s a',$r['laston'])."</td> <td>$on</td> </tr>"; } } print "</table>"; print "[b]Assistants[/b] <table width=80% border=1 style=text-align:center; class=table><tr style='background:gray'><th>User</th> <th>Duties</th> <th>Level</th> <th>Money</th> <th>Last Seen</th> <th>Status</th> </tr>"; foreach($staff as $r) { if($r['user_level']==5) { if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td> {$r['duties']}</td> <td>{$r['level']}</td> <td>\${$r['money']}</td> <td>".date('F j, Y, g:i:s a',$r['laston'])."</td> <td>$on</td> </tr>"; } } print "</table></div><div></div> </div></div></div></div></div>"; $h->endpage(); ?>
-
[mysql] CREATE TABLE IF NOT EXISTS `chat` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `msg` text NOT NULL, `time` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;[/mysql] gives #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
-
Yeah -.-" guess i should of mentioned that :P
-
was directed to CJ as he wanted to just add another table to users -.- that just annoys me
-
Yes i noticed it? -.-
-
why does everyone want to put it in users when not needed to
-
Updated - Crime System - 0%
bladewolf2010 replied to NarutoPRG.com's topic in Requests & In Production
oh sorry didn't know about that -
Updated - Crime System - 0%
bladewolf2010 replied to NarutoPRG.com's topic in Requests & In Production
Do you know when you will be finished? -
@dominion I completely understand it should be changed up before going on a website. but most people want the next million dollar game like torn so they create same thing well attempt to :P
-
i keeps telling me "You have already received that award you can only receive each award one time!" the file is <?php include_once (DIRNAME(__FILE__) . '/globals.php'); if($ir['level'] < 100) { print"You must be atleast level 100 to access this area."; print " [url='honorawards.php']Go Back to Honor Awards[/url] "; $h->endpage(); exit; } $q=$db->query("SELECT * FROM honorawards WHERE userid=$userid AND list='level100'",$c); if($db->num_rows($q)) { print "You have already recieved that award you can only recieve each award one time! "; print "[url='honorawards.php']Back to Honor Awards[/url] "; $h->endpage(); } else { $db->query("INSERT INTO honorawards values ($userid,'level100')",$c); $db->query("UPDATE users SET honor=honor+1 WHERE userid=$userid",$c); print "Award Credited!"; print "[url='honorawards.php']Back to Honor Awards[/url] "; } ?> can anyone tell me whats wrong? or give me a hint on whats wrong with it.
-
whats it like on your site paul. everything is little more advanced on your site.
-
anyway to make it so that you can edit the items. like ID Name Desc Price Sell Price Edit item 1 test test 1 1 Edit Item
-
okay thank you