
realmoflegends
Members-
Posts
240 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by realmoflegends
-
Very nice...keep it up!
-
Game for sale - taking offers
realmoflegends replied to realmoflegends's topic in General Discussion
Why is it crazy? I've seen games on here with less actual mods and gameplay and fewer players where I was told $150 was barely a decent bid. So why is $100 for a fully developed, bug-tested game with a nice looking template "crazy"? -
Game for sale - taking offers
realmoflegends replied to realmoflegends's topic in General Discussion
The system for the ID started later...it has 59 players, of which about 30 or so are active on and off. -
Hey all, Due to some recent life changes, i'm looking to sell my game - Corrupted Streets. It's a MCC v2 game with tons of mods, a custom layout and front page and many of the little bugs ironed out. It's at corrupted-streets.com. Offers being accepted until July 1st - best offer takes it. 30+ playerrs, no income yet, but could do decently in the right hands, I think. Please offer something reasonable. EMail is: [email protected] or you can offer here. Thanks!
-
I may be interested. I run a game currently, and have run 3 other games. How many words per post are you looking for? Is this for browser games in general?
-
Let's see your itemuse code, perhaps.
-
Have the section of code? That may help.
-
Help with signup.php issue - reward offered
realmoflegends replied to realmoflegends's topic in General Discussion
Help received, thanks! Turns out a lot of stuff was wrong, but it got squared away. :) -
Good idea, depending on how its implemented. Lots of content writing involved, it sounds like.
-
Hey all, I'm putting the mcc signup form into an existing HTML template, and i'm down to 1 error now that I can't seem to solve: 'unexpected end of file' in the last line of the code. I know i'm missing a delimiter or something somewhere, but I can't find it. I need to get this fixed, so...$10 PayPal to the first person that solves it. You should obviously know about how to integrate PHP with HTML. Skype me if you want to see the code and we'll talk. My Skype is in my profile here.
-
Good suggestions...this is what I meant, folks. Let's assume I have a beautiful, fast front page (which I will have soon). My in-game has been considered good by players so far, based on player comments, and 8 of the 12 people who first signed up are playing regularly for 1-2 hours per day, so I don't think retention will be an issue, at least so far. Word of mouth is good too, but not if 12 people in the world know about the site. My issue is that getting people onto and signing up for the site is harder without paying anything. Game Site Ads and Ad4Game are two i'll be trying, and contacting other site owners perhaps for paid ads or banners, game mentions in chat, etc is a good idea. Someone here said they got 800 people to sign up in 2 months, that's pretty good, and if I recall, that front page didn't blow my socks off really. Quality of the site AND quantity are both important, I think, when building a site's player base.
-
I'm working on making it fairly lightweight, so it can be zippier than the old front page/login, without any 'tricks'. From my early testing, its about 30% faster than the old page. Then again, the old page was from 2010, an old Clantemplates layout with lots of extra CSS that I wasn't using.
-
I got Adam's wheel of fortune mod, and it works well. He was super helpful as well.
-
I've stopped considering any ads while I refurbish the site's front page a bit for increased speed, better layout and cleaner internals (small pics, less Javascript, etc).
-
Signup form is fixed, site is mobile friendly in terms of it running on mobile devices (ipad, phone, etc) and front page will be getting a little more attention soon. My question was directed at: how do I actually get more eyes onto the site? As in advertising, etc? You can have the coolest site on planet earth, if no one knows about it, it doesn't matter. :)
-
Now my game is actually open - at corrupted-streets.com by the way. :) What do you guys do these days to get new members and advertise? I have the game submitted and listed at about 9 different browser game toplist things. What else works these days? It seems the older posts about how to get new members may be outdated. If YOU were starting a game nowadays, how would you advertise? Thanks!
-
I read somewhere there was a 'wheel of fortune' MCC mod on here at some point, but couldn't find it. Is it still available or does anyone know how to get it, if there was one?
-
Adapt Viewuser for marriage mod?
realmoflegends replied to realmoflegends's topic in Requests & In Production
Yes, 'married' is set to the ID of who you marry (used an existing Marriage mod with 'shared housing'), in this case I double checked and it is set to ID's 221 and 222 respectively. -
Adapt Viewuser for marriage mod?
realmoflegends replied to realmoflegends's topic in Requests & In Production
Weird. Here's the code section where I added the new code you gave me (new code is at the bottom): <tr> <td width='18%'><h4>Name:</h4></td> <td width='32'><a href='viewuser.php?u=".number_format($r['userid'])."'>".stripslashes($r['username'])."</a></td> <td width='18%'><h4>Type:</h4></td> <td width='32%'> ".stripslashes(htmlentities($userl))."</td> </tr> <tr> <td><h4>Level:</h4></td> <td> ".number_format($r['level'])."</td> <td><h4>Cash:</h4></td> <td> \$".number_format($r['money'])."</td> </tr> <tr> <td><h4>Age:</h4></td> <td> ".number_format($r['daysold'])." Days</td> <td><h4>Last Active:</h4></td> <td> $str</td> </tr> <tr> <td><h4>Life:</h4></td> <td> ".number_format($r['hp'])."/".number_format($r['maxhp'])."</td> <td><h4>Posse:</h4></td> <td> "; if($r['gang']) { print "<a href='gangs.php?action=view&ID=".number_format($r['gang'])."'>".stripslashes(htmlentities($r['gangNAME']))."</a>"; } else { print "None</td>"; } print " </tr> <tr> <td><h4>Location:</h4></td> <td> ".stripslashes(htmlentities($r['cityname']))."</td> <td><h4>House:</h4></td> <td> <a href='estate.php'>".stripslashes(htmlentities($r['hNAME']))."</a></td> </tr> <tr> <td><h4>Gender:</h4></td> <td> {$r['gender']}</td> <td><h4>Running Mate: </h4></td> <td>".getUserSpouse($_GET['u'])."</td> </tr> </table> Whole file is in the initial post. If the user is not married, it works fine. Otherwise it seems to cut off at "Posse:" and stops printing any more on the viewuser screen. What could be wrong? -
Adapt Viewuser for marriage mod?
realmoflegends replied to realmoflegends's topic in Requests & In Production
Perfect! Great work, sniko, works flawlessly in my game (after a bit of tinkering because my code is so cluttered at this point). I think you're the coding Jedi of this board now. :) -
Hey all, I have a Viewuser.php with the following code loading the variables: $q = $db->query( "SELECT `userid`, `user_level`, `laston`, `last_login`, `signedup`, `duties`, `donatordays`, `username`, `gender`, `daysold`, `money`, `crystals`, `level`, `friend_count`, `enemy_count`, `display_pic`, `hp`, `maxhp`, `gang`, `fedjail`, `hospital`, `hospreason`, `jail`, `jail_reason`, `bankmoney`, `cybermoney`, `lastip`, `lastip`, `lastip_login`, `lastip_signup`, `staffnotes`, `cityname`, `hNAME`, `gangNAME`, `fed_days`, `fed_reason` FROM `users` `u` INNER JOIN `cities` AS `c` ON `u`.`location` = `c`.`cityid` INNER JOIN `houses` AS `h` ON `u`.`maxwill` = h.`hWILL` LEFT JOIN `gangs` AS `g` ON `g`.`gangID` = `u`.`gang` LEFT JOIN `fedjail` AS `f` ON `f`.`fed_userid` = `u`.`userid` WHERE `u`.`userid` = {$_GET['u']}"); I want to be able to show who the person is married to (if any) in their viewuser profile. How would I change the mysql code above to load up who they're married to (the ID of who they're married to is in the users table under 'married') and display the username of that person further down in the code? Or if there's another way to show who a user is married to in their viewuser profile, that would be fine too. My viewuser.php (a free one I found on here): <?php $globals = DIRNAME(__FILE__) . '/globals.php'; if(file_exists($globals)) { include_once($globals); } else { echo "globals file is missing"; exit; } $_GET['u'] = isset($_GET['u']) ? abs(@intval(trim($_GET['u']))) : '0'; if(!$_GET['u']) { print "Invalid use of file"; $h->endpage(); exit; } else { $q=$db->query("SELECT `u`.`userid`,`u`.`sig`,`u`.`username`,`u`.`money`,`u`.`laston`,`u`.`signedup`, " . "`u`.`daysold`,`u`.`fedjail`,`u`.`maxhp`,`u`.`cred`,`u`.`friend_count`, " . "`u`.`hospital`,`u`.`hospreason`,`u`.`jail`,`u`.`jail_reason`,`u`.`enemy_count`, " . "`u`.`hp`,`u`.`level`,`u`.`gender`,`u`.`duties`,`u`.`bankmoney`,`u`.`mailban`, " . "`u`.`user_level`,`u`.`donatordays`,`u`.`lastip`,`u`.`last_login`,`u`.`lastip_login`,`u`.`lastip_signup`, " . "`u`.`gang`,`u`.`display_pic`,`u`.`staffnotes`,`us`.`strength`,`us`.`agility`, " . "`us`.`guard`,`us`.`labour`,`us`.`IQ`,`c`.`cityname`,`h`.`hNAME`,`g`.`gangNAME`, " . "`f`.* FROM `users` `u` LEFT JOIN `userstats` `us` ON `u`.`userid`=`us`.`userid` " . "LEFT JOIN `cities` `c` ON `u`.`location`=`c`.`cityid` LEFT JOIN `houses` `h` " . "ON `u`.`maxwill`=`h`.`hWILL` LEFT JOIN `gangs` `g` ON `g`.`gangID`=`u`.`gang` " . "LEFT JOIN `fedjail` `f` ON `f`.`fed_userid`=`u`.`userid` WHERE (`u`.`userid`=".$_GET['u'].")"); if($db->num_rows($q) == 0) { echo "Sorry, we could not find a user with that ID, check your source."; $h->endpage(); exit; } else { $r = $db->fetch_row($q); if($r['user_level'] == 1) { $userl="Player"; } else if($r['userid'] == 206) { $userl="Owner"; } else if($r['userid'] == 3) { $userl="Owner"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if($r['user_level'] == 0) { $userl="NPC"; } else {$userl="Moderator"; } if($r['fedjail']) { $ustat="<a href='fedjail'>Federal Jail</a>"; } else if($r['hospital']) { $ustat="<a href='hospital.php'>Hospital</a>"; } else if($r['jail']) { $ustat="<a href='jail.php'>Jail</a>"; } else { $ustat="-"; } $lon = ($r['laston'] > 0) ?date('F j',$r['laston']) : "Never"; $sup = date('j F',$r['signedup']); $ts = $r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d = ""; if($r['laston'] > 0) { $la = time()-$r['laston']; $unit = "seconds"; if($la >= 60) { $la = (int) ($la/60); $unit = "minutes"; } if($la >= 60) { $la = (int) ($la/60); $unit = "hours"; if($la >= 24) { $la = (int) ($la/24); $unit= "days"; } } $str = "$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } if($r['user_level'] >1){ $r['username'] = "<font color=red>".stripslashes($r['username'])."</font>";} elseif($r['donatordays']) { $r['username'] = "<font color=blue>".stripslashes($r['username'])."</font>";$d="<img src='donator.gif'/>"; } if($r['laston'] >= time()-15*60) { $on="<font color=green><b>Online</b></font>"; } else { $on="<font color=red><b>Offline</b></font>"; } print " <div class='content'> <table width='60%'> <tr> <td colspan='4'> <table width='100%'> <tr> <td width='100' align='center'>"; if($r['display_pic']) { print "<center><img src='".stripslashes(htmlentities($r['display_pic']))."' width='100' height='100' alt='User Display Pic' title='User Display Pic' /><br><br></center>"; } else { print "<center><img src='http://i38.tinypic.com/29bh8d5.jpg' width='100' height='100' alt='No Display Pic' title='No Display Pic' /></center><br><br>"; } print " </td> <td style='font-size:25px;' align='center'> <span style='font-weight:bold;'>".stripslashes($r['username'])." [".number_format($r['userid'])."] $d</span><hr> </td> </tr> </table> </td> </tr> <tr> <td width='18%'><h4>Name:</h4></td> <td width='32'><a href='viewuser.php?u=".number_format($r['userid'])."'>".stripslashes($r['username'])."</a></td> <td width='18%'><h4>Type:</h4></td> <td width='32%'> ".stripslashes(htmlentities($userl))."</td> </tr> <tr> <td><h4>Level:</h4></td> <td> ".number_format($r['level'])."</td> <td><h4>Cash:</h4></td> <td> \$".number_format($r['money'])."</td> </tr> <tr> <td><h4>Age:</h4></td> <td> ".number_format($r['daysold'])." Days</td> <td><h4>Last Active:</h4></td> <td> $str</td> </tr> <tr> <td><h4>Life:</h4></td> <td> ".number_format($r['hp'])."/".number_format($r['maxhp'])."</td> <td><h4>Posse:</h4></td> <td> "; if($r['gang']) { print "<a href='gangs.php?action=view&ID=".number_format($r['gang'])."'>".stripslashes(htmlentities($r['gangNAME']))."</a>"; } else { print "None</td>"; } print " </tr> <tr> <td><h4>Location:</h4></td> <td> ".stripslashes(htmlentities($r['cityname']))."</td> <td><h4>House:</h4></td> <td> <a href='estate.php'>".stripslashes(htmlentities($r['hNAME']))."</a></td> </tr> <tr> <td><h4>Gender:</h4></td> <td> {$r['gender']}</td> </tr> </table> <h3>Actions</h3> <hr> <table width='90%'> <tr> <td width='30%' align='center'><a href='mailbox.php?action=compose&ID=".number_format($r['userid'])."'><img src='sendmail.jpg'></a></td> <td width='30%' align='center'><a href='attack.php?ID=".number_format($r['userid'])."'><img src='profileattack.jpg'></a></td> <td width='30%' align='center'><a href='mugging.php?ID=".number_format($r['userid'])."'><img src='mugbutton.jpg'></a></td> <td width='30%' align='center'><a href='assassin.php?ID=".number_format($r['userid'])."'><img src='assbutton.jpg'></a></td> <td width='30%' align='center'><a href='sendbomb.php?action=bomb&ID=".number_format($r['userid'])."'><img src='sendbombbutton.jpg'></a></td> </tr> <tr> <td width='30%' align='center'><a href='sendcash.php?ID=".number_format($r['userid'])."'><img src='sendcash.jpg'></a></td> <td width='30%' align='center'><a href='sendcrys.php?ID=".number_format($r['userid'])."'><img src='sendcred.jpg'></a></td> <td width='30%' align='center'><a href='contactlist.php?action=add&ID=".number_format($r['userid'])."'><img src='sendcontact.jpg'></a></td> <td width='30%' align='center'><a href='friendslist.php?action=add&ID=".number_format($r['userid'])."'><img src='addfriend.jpg'></a></td> <td width='30%' align='center'><a href='blacklist.php?action=add&ID=".number_format($r['userid'])."'><img src='addenemy.jpg'></a></td> </tr> </table><hr>"; if($r['sig']) { $sig = "{$r['sig']}"; } else { $sig = 'This user has No Signature.'; } $sig = $bbc->Parse($sig); print " <table width=600px cellspacing=0> <tr class='table'> <th>Profile Signature</th> </tr> <tr bgcolor='#dfdfdf'> <td> <center><br />$sig<br /><br /></center> </td> </tr> </table><br /><br ><br /><br >"; if($ir['user_level'] > 1) { if($r['trials'] > 0) { print "</br><b><font color=red>Has been put on trial {$r['trials']} time(s).</font></b>"; } print " <br /><br ></div>"; } } } $h->endpage(); ?>
-
I have a new browser game i'm opening up for a handful of testers, just so I can make sure the bugs are stomped out and the game is actually decently fun. Been working about a month or so on the game and I think it's looking decent now. Want to keep it under wraps due to the fact it may change a lot during testing, or may not come out at all if it stinks. :) Feel free to email me if you want to sign up for and test the new game before I release it to the public: [email protected] and i'll give the URL to them. Thanks!
-
That's a great idea! Tad bit expensive in my eyes, but nice.
-
mccode-v2 Simple game tutorial for new players
realmoflegends replied to dnenb's topic in Free Modifications
Just a bit confused...how would I add this one into my header.php? Thanks! -
:) Your Skype shows Away status, but then that might not always mean anything.