
bineye
Members-
Posts
310 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by bineye
-
What's 'Strength EXP'?
-
for a mod this old, you'd be safer making a new one...
-
<?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Nerf Warrriors</title> <style type="text/css"> body { background-image: url(Images/bg.jpg); } #wrap { background-color: #dfdac6; width:800px; margin-left:auto; margin-right:auto; border-style: solid; border-width: 1px; border-color:#eeeeee; } #top { background-image: url(Images_Ingame/headerbg.jpg); background-repeat:no-repeat; width: auto; height:100px; } #bar { background-image: url(Images_Ingame/menubg.jpg); font-family: arial; font-size: 11px; margin-top: auto; width:100%; height: 57px; } .menulinks { list-style-type:none; margin:auto; } .menulinks li { display:inline-block; margin-left:5px; margin-top:12px; } #nav { float:left; height:600px; width:250px; background-image: url('Images_Ingame/navbg.jpg'); background-repeat:-y; padding-right:40px; padding-top:15px; } #content { height:615px; text-align:center; width:auto; background-image: url('Images_Ingame/contentbg.jpg'); background-repeat:-x; margin-left:250px; } .nav2 { list-style-type:none; margin:0px; } .nav2 li { display:block; background-image:url('Images_Ingame/link.jpg'); width:210px; height:20px; padding:3px; text-align:center; } a:link { color:#000; text-decoration:none; } a:hover { text-decoration:underline; } a:visited { color:#000; text-decoration:none; } img { border:none; } .info { padding-left:5px; } #footer { clear:both; background-image: url('Images/footer.jpg'); height:40px; padding-top:5px; padding-right:15px; text-align:right; } </style> </head> <body> EOF; } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $db,$c,$userid, $set; $IP = $db->escape($_SERVER['REMOTE_ADDR']); $db->query("UPDATE `users` SET `laston` = ".$_SERVER['REQUEST_TIME'].",`lastip` = '$IP' WHERE `userid` = $userid"); if(!$ir['email']) { global $domain; die ("<body>Your account may be broken. Please mail help@{$domain} stating your username and player ID."); } if($dosessh && ($_SESSION['attacking'] || $ir['attacking'])) { echo "You lost all your EXP for running from the fight."; $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); $_SESSION['attacking']=0; } $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>{$ir['username']}</font>"; $d="<img src='donator.gif' alt='Donator: {$ir['donatordays']} Days Left' title='Donator: {$ir['donatordays']} Days Left' />"; } $gn=""; global $staffpage; print <<<OUT <div id="wrap"> <div id="top"></div> <div id="bar"> <ul class='menulinks'> <li><a href='#'><img src='Images_Ingame/homepage.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/messages.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/usersonline.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/vote.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/donate.jpg'></a></li> </ul> </div> <div id="nav"> <ul class="nav2"> <b>Name:</b> $gn{$u} [{$ir['userid']}] $d <b>Money:</b> {$fm} <b>Level:</b> {$ir['level']} <b>Points:</b> {$ir['points']} OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("<b><font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font></b></body></html>"); } if(file_exists('ipbans/'.$IP)) { die("<b><font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font></b></body></html>"); } } function menuarea() { define('jdsf45tji', true, true); include 'mainmenu.php'; global $ir,$c; } function smenuarea() { define('jdsf45tji', true, true); include 'smenu.php'; global $ir,$c; } function endpage() { global $db; print <<<OUT <div id="content">welcome</div> <div id="footer">Copyright stuff</div> </div> </div> </body> </html> OUT; } } ?> Checking each function as they come goes a long way
-
find the part where the bet is processed, then it should say something like if($bet > 1000000) { echo 'Your bet exceeds the maximum bet.'; endpage_function(); } I haven't seen the gangster legend's code but if you post it, I (or someone else probably will if I don't get online in time) can alter it. Simple 30 second job.
-
This is actually a fun idea. How many time have you been drunk and given your ATM card to a friend to get money out for you, or had to hand your card to a family member because they needed some cash quickly? Would be interesting to set this up on a game, where you could loan your bank card to a friend if you were going offline and they needed cash, and then if you suspect foul play and they won't send your card back, then you cancel it and get a new one :P Getting a bit like real life now...haha
-
You really can't do this part yourself??
-
Yes, the reason I asked those questions were not for me, but for you as you asked to be pointed in the right direction. When you make a list of the things you want your panel to have, it will be much easier to make. Make a list of everything you want in your panel, then just take it one item at a time. For example, make a base panel page, a homepage if you like, then list down the things you will be able to view/edit. Then make your list into links starting from the first item, working down one at a time.
-
could you be more specific? what exactly do you want your staff panel to do? what you can achieve by using it? why make it like mccodes? why not tailor it to your own requirements and needs?
-
you really should have got the free upgrade to v2.0.3 (assuming you hold a valid license) as many of the issues were fixed from 2.0.2. to get the update/patch, log into your mccodes.com account and download it from there
-
I'm guessing something like this: echo '<tr><td><a href="viewuser.php?u=\'.$log->userid.'">'.$log->username.'</a>['.$log->userid.']</td>
-
Also, remember to be clear about a few other details too. Like: - Whether images are required. - Whether the amount of land in the game is limited or unlimited. - Whether the materials has to be built into this, or if they come from elsewhere in the game. - If it is a product of war, whether or not the building itself can be attacked, and if so, if it needs a health meter. - For the profit or loss, this implies a starting cost at each day, so whether the fee or whatever is automatic or set by the user. Just a few things to consider.
-
went to the url's main site above, found a game, went to sign up and: how disappointing. they can sell the scripts easily enough, but updating their code? nah, too much effort there. :s
-
Have you tried setting up the table in phpmyadmin and inputting from the insert form for the table? Seem's like that would solve all problems...
-
Yes I agree with this. You need some degree of flexibility in anything you develop. If you don't have this freedom, you can never make your products the way you like them or make it unique from everyone else's.
-
So recently I found a gap in the market and the need for a piece of software for mobile phones. In my research I was pointed to Eclipse and the Andriod SDK and ADT plugin. However, I ran into some issues with the fact the emulator would not run and the ADT plugin, although installed, does not run as shown on the ASDK website. Now I have come here, not for help, but just to see if anyone has used this program to develop an Android app, and if they recommend this or have had similar issues?
-
EDIT: Sorry, only woke up and missread the last post by skipping over a line. :(
-
Yeah gotta agree with one of the previous posts, your user list does not show any more than 1,265 registered users, which is significantly lower than the original post. I am not interested as a buyer, but some things for you to clarify perhaps to help your sale. Pros: * Really great template and design for the website, seen templates of lower quality being valued at higher prices on here, higher than the $100 you said in the opening post of course. * Original enough concept. Some great ideas for naming of items, locations etc. * Compact layout, I don't like the long windy side menus. Cons: * First move I made to progress in the game, I was hospitalised for 85 minutes! That's gotta have hurt you with new sign ups so far! * Not really many features, if I'm honest. The explore page seems to be rather empty. I'm not for putting in needless mods to flood it, but there's gotta be 5 mins of play in between energy refills, and there just isn't here. New owner will have to address that. * Page loads for me are between 5-10 secs. Other sites running as normal for me so perhaps a problem on your end? Is that server related (as you specified the new owner to preferably have their own so wouldn't be an issue) or is it in the code? * No game stats page. Not important for players, but after claiming 8,500 registered users, how are we to know if the 100+ claim is correct? Hope the observations offer some insight.
-
I'm guessing something like: <td valign=top>Inventory:</td> <td> <?php $sql_query=("SELECT itmname FROM inventory WHERE userid=$userid"); echo "<select name='item'>"; if(mysql_num_rows($sql_query)) { while($row = mysql_fetch_assoc($sql_query)) { echo "<option>$row[itmname]</option>"; } } else { echo "<option>No Items In Inventory!</option>"; } ?> </td> </tr>
-
The bit I put in bold, will be the link to the image. If you store images in a folder, then the link would most likely need to be "IMAGE_FOLDER/{$i['itmpic']}"
-
tooltips[3]=["{$i['itmpic']}", "Bridge to somewhere.", {background:"white", font:"bold 12px Arial"}] And is the bit above, the direct link to the image, ie the image isn't in a seperate images folder?
-
Right, have you tried displaying {$i['itmpic']} just on your page, just outside your tooltip? If it displays correctly, then the problem is in the mouseover, if not, then the problem will be in your link/variable.
-
WOW. Nice work. Really awesome. This map reminds me a lot of Nintendo 64 maps and graphics. Just think, you achieved in 6 weeks what it took them 1-2 years to do (albeit technology now is more advanced and they did storylines and expanded maps...meh) but damn! This is great work. Well done.
-
This is funny because I had exactly the same problem just this week. My Vista became corrupted and unbootable a few weeks ago, and I went and got Windows 7 just this week. Burned the ISO to a USB because the CD-ROM drive wouldn't open. It was a nightmare to install too, because I tried a few times to install from USB until I discovered leaving the USB inserted while Windows was running it's mandatory restarts during installation messed up the whole process. Once I figured that out, it was plain sailing lol.
-
A solution is to bring up a captcha on the page when a rand() number is hit, say when 1 is chosen between 1 and 100, so no matter whether or not the player leaves the gym, the rand function is always the first thing done on the page and when 1 is hit, the captcha is loaded, or any other number, the gym is loaded.
-
I never understood captchas on gym and crime pages. I know they are put there to stop bots from being used, but in reality once you are on the gym/crime page you no longer have to enter it. I openly admit I once used a bot on the crime page of a game, and the bot could be used without ever leaving the page, rendering any captcha on entering useless.