
realmoflegends
Members-
Posts
240 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by realmoflegends
-
Geez, I probably tried everything but that. Thanks all.
-
Hey guys, Sorta stuck on this section of code here. I've ran through almost every iteration of this. Trying to set this up so only if a certain variable is more 0 does the row actually get printed on the screen, starting on line 12. Just get a white screen. Error message is not helpful at all: Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING on line <b>17 I've changed and added many single and double quotes, no dice. echo " <div style='text-align:center;color:limegreen;font-weight:bold;'><div id='clock'></div></div><br /> <tr style='background:#000000;'> <th>Objective</th> <th>Current Amount/Needed</th> </tr> <tr style='background:#C0C0C0;'> <td>{$mission['task_one']}</td> <td>".number_format($minfo['task_one_amount'])."</td> <td>".number_format($mission['task_one_amount'])."</td> </tr>"; if($minfo['task_two_amount'] > 0) { echo " <tr style='background:#ececec;'> <td>{$mission['task_two']}</td> <td>'.number_format($minfo["task_two_amount"]).'</td> <td>'.number_format($mission["task_two_amount"]).'</td> </tr>"; } if($minfo['task_three_amount'] > 0) { echo " <tr style='background:#C0C0C0;'> <td>{$mission['task_three']}</td> <td>'.number_format($minfo["task_three_amount"]).'</td> <td>'.number_format($mission["task_three_amount"]).'</td> </tr>";
-
That's how I learned my limited PHP knowledge was dissecting existing mods, seeing the methods they used. Having come from C+ and Fortran and the Visual Basic/RealBasic language gave me a decent grounding into function and variables and all of that, but PHP's syntax is so much more particular its taken me awhile to grab it. Practicing and reading will make it perfect, in this case.
-
That was one reason I drifted away from NWE...the system wasn't really set up to accommodate really nice looking designs easily. That template is fairly nice, but not really anything eye-popping. For me anyway, other scripts were easier to convert into something eye-catching.
-
I'd like to see a really good GL engine started again, one that could be flexible to use for different genres of projects as well, with tons of features out of the gate and easy to add modules. Welcome back Dayo...good to see you getting back into it again. I know i'm glad i'm getting back into it too!
-
Try: $db->query("UPDATE `users` SET `new_mail` = `new_mail` +1 WHERE `userid` = $i"); The above wasn't named correctly, as far as I know. It's new_mail, not mail_new.
-
Need help with a section of code
realmoflegends replied to realmoflegends's topic in General Discussion
Solved with a simple CSS fix, thanks to the great Sniko. :) -
Ditto to the above - Worked with Zettieee on a design for my upcoming game, exceptional work, friendly, honest and great price too! Another +1 for sure.
-
Wow, lousy business practices, not to mention (IMHO) an overly garish, ugly design. More than 8 primary colors on a screen makes it eye-bleeding to look at after awhile.
-
Hey all, Just having an issue about how to implement this code. I've googled, and read many articles about it, and can't put it together. I need a line of code to run, but ONLY if a user is using Internet Explorer or Chrome as their browser. What would be the best way to do this? Thanks!
-
[Code Name] Meh, [The Project] A new Text Game Engine
realmoflegends replied to Sim's topic in Game Projects
I wasn't sure if he had made progress in the past almost 5 months or so. :) I miss deadlines too on occasion, which is why I rarely create them. -
A shame, I recall you being an awesome dev/coder. Best wishes, anyhow. :)
-
[Code Name] Meh, [The Project] A new Text Game Engine
realmoflegends replied to Sim's topic in Game Projects
Sooo...what happened? Don't keep me in suspense! :) -
If someone has an inexpensive MCC v2 license for sale, i'm interested as well.
-
Hosting recommendation for MCCodes script?
realmoflegends replied to realmoflegends's topic in General Discussion
I only asked because of my experiences trying to get my recent game up and started. The first host, the crons absolutely would not run, no matter how I set them up. Then they told me 1 minute Crons were forbidden, even though their TOS didn't state such. Host #2 was ok, but then told me that "mafia scripts" were against their rules (couldn't find it on their site anywhere) and had to take it down. *sigh* I finally found iFastNet (recommended by someone named Haunted Dawg on here awhile back), which seems to be working great and supports the script flawlessly. Note: I've used FTP and SSH in the past, so i'm no "noob", thanks. :) I know that some hosts have issues with game scripts because of their intensive nature as they grow, and in particular the use of frequently run crons in MCC's case. -
Post up your new register.php and i'll adjust it as best as I know how.
-
As far as I know (not an expert), it should go right after these lines: $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)");
-
I believe the insert users thing is in the register.php, if I recall correctly (been awhile).
-
The explanation was very clear...nice, Sniko! I prefer the MySQL trigger method personally. If you're struggling to implement this after a clearly explained method like this, maybe time to grab some assistance from someone. :)
-
I was wondering if any of you could recommend good solid hosting that's friendly for a MCCodes script, or ones you use for your own games? It doesn't have to be free, of course, paid is ok. Thanks!
-
What someone paid for something and the going market price is usually 2 different things. This goes for many things, not just websites. :) The template is nice, but otherwise it's a fairly basic MCC setup with no distinguishing real game features and no user base. Can I ask if its been secured against the basic database hack attacks and the like?
-
$15?
-
Yes, I know you've read that title before. :) Allow me to be more specific. I'm looking for a browser-based game for sale, whether it be based on McCodes or something else. I have experience designing and running these types of scripts, so if its an existing game, it'll be in good hands. It can be one you've worked on for a bit that you don't have time for anymore, or it can be a more established game. Or it can be one you've started on and made some headway, but stopped for whatever reason. Please email me at: [email protected] with game URL, demo login and estimate on earnings (if any). Sale would include domain name and script itself. Thanks!
-
Did this game sell yet? Just curious.
-
sniko: - It depends on how much writing you need, the depth of the story you need, etc. Safe to say, i'll work with you on the price so you're happy. - Turnover is usually quick, again depends on what you need. - I can write in nearly any genre, not stuck in mafia by any means.