ddgamedesign
Members-
Posts
110 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by ddgamedesign
-
You have a decent base here, but a few changes, bug fixes, etc need to be done, and maybe some more graphics on various screens to make it a bit more distinctive and less 'mccodes' looking. The screenshots on the home page aren't lined up right underneath where it says Screenshots; they are off pretty bad on the template. Firefox, latest version. Your tiling background on the main menu once you log in, for example, is another change that would help it, I think. It doesn't look that great on the one side, you can see the line where it tiles, and it doesn't 'fit' together well. Feel free to use this extra tiling background for your game if you like; I think it would look pretty good on your main menu game screen. It tiles nicely, and has a little "electric' animation to it. I had it made for me (modified it from an existing idea I saw once), and never used it. If you don't like it, that's fine. :) If you need more help, let me know. I always like to help out 'newbie' games to get started.
-
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
All of that stuff plastered on it made it look unprofessional. However, I agree that to give credit somewhere is very fair: I added all of the full, original credits back to the source code on top of the main page. -
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
Yeah it isn't great...I replaced the in-game one with a capatcha I bought on here, and it works well. Wonder if I could use it for here too..hmm. Note: I tried registering a few times, and it seemed to work fine when I typed in the right thing. -
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
You need to make sure and type the capatcha thing underneath the display itself...it confused me a few times too. I'll need to alter it a bit. -
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
Thanks Jordan! I know you don't just hand out compliments, so it means something. :) I honestly think the old template didn't look THAT bad, it just needed cleaning up, organization and 'CSS' ing, so to speak. -
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
Game is now officially open, and home page has been redesigned quite a bit - (hopefully) better on the eyes. Feedback on the game itself has been good: balanced, solid and a little tough to get going, but fair. Feel free to give it a shot. :) -
Same thing I was thinking...huh? what the heck?
-
I assume it woudn't be too hard to modify any gym you're using to do this. Let me know if you need any help with this.
-
Very nice work...written from scratch you say? Amazing. Some good ideas, and a decent variety in enemies and items too. Graphics are maybe a bit plain, but the gameplay has real potential.
-
Limited Beta Starting - Street Syndicate
ddgamedesign replied to ddgamedesign's topic in Game Projects
I do plan on adding another panel for signup (once it opens) and moving things around and spicing things up a bit on the front page. -
Yep agreed with the color...bright yellow and light grey just don't go together at all, and it looks difficult to read. As far as crimes/jobs, etc. it's easy to just "do them", but its harder to do them with any literacy or interest.
-
Yes finally. :D I'm opening the game for a very limited beta test for a week or so, to have a few people kick the tires and let me know what they think. The game itself took around 2 1/2 months, 9 dedicated artists doing stuff in their spare time, $800 budget (not much for a game like this actually) and more hours debugging endless little PHP errors than I can count (does the } symbol go here or there?). Without the amazing help of several people here, it wouldn't have happened (they know who they are). But I think the end result is pretty decent, I think. The game pits you as a small-time street punk, with $1,000 and a dream of taking over the streets. There are over 240 items, dozens of features (and more to be added) and what I think is a solid, well-balanced game with lots of little surprises. Beta is by invitation only, and i'll select people from the pool that email me at: [email protected] I welcome all; experienced MCC game players/coders, newbies, and everyone in between. Around 10-20 players will take part in the beta, and will be expected to let me know what they think, and play the game actively for a few days or so at least. Bugs, balance issues, security issues, feature suggestions, etc can all be freely reported, and odds are characters will cleared at the end of the beta. Features/costs, etc will change during the beta, so be aware of that. Thanks!
-
Job not giving stats or crediting users
ddgamedesign replied to Shakeynath's topic in Modification Support
Actually, look in your cron_hour.php for lines like this (my game has this anyway): if(date('G')==17) { $db->query("UPDATE users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET u.money=u.money+jr.jrPAY, u.exp=u.exp+(jr.jrPAY/20) WHERE u.job > 0 AND u.jobrank > 0"); $db->query("UPDATE userstats us LEFT JOIN users u ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON u.jobrank=jr.jrID SET us.strength=(us.strength+1)+jr.jrSTRG-1,us.labour=(us.labour+1)+jr.jrLABOURG-1,us.IQ=(us.IQ+1)+jr.jrIQG-1 WHERE u.job > 0 AND u.jobrank > 0"); } -
Job not giving stats or crediting users
ddgamedesign replied to Shakeynath's topic in Modification Support
Yep, issues like this are (almost) always related to the Crons, IME. -
I actually sort of like this, with some work it could be something I would use, for sure.
-
Weird, that fixed it! Thanks, Alabama. Sent you a little cash for the help. :)
-
Bump.
-
So should the line be: $q=$db->query("SELECT warID FROM gangwars WHERE warID={$_POST['war']}"); Is that correct?
-
Thank you! 8o I was going to do this, except I didn't want to be considered picky.
-
gangwars database entry looks fine: 1 is the warID (never declared a war before), 5 is the ID of the declaring gang, and 4 is the gang declared war against.
-
Here's the War Declare function: function gang_staff_wardeclare() { global $db,$ir,$c,$userid,$gangdata; if(isset($_POST['subm'])) { $_POST['gang'] = abs((int) $_POST['gang']); $db->query("INSERT INTO gangwars VALUES('',{$ir['gang']},{$_POST['gang']},unix_timestamp())"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID={$_POST['gang']}"); $them=$db->fetch_row($ggq); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] declared war on [url='gangs.php?action=view&ID={$_POST[']{$them['gangNAME']}[/url]"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',{$_POST['gang']},unix_timestamp(),'$event')"); print "You have declared war!"; } else { print "<form action='yourgang.php?action=staff&act2=declare' method='post'> Choose who to declare war on. <input type='hidden' name='subm' value='submit' /> Gang: <select name='gang' type='dropdown'>"; $q=$db->query("SELECT * FROM gangs WHERE gangID != {$ir['gang']}"); while($r=$db->fetch_row($q)) { print "<option value='{$r['gangID']}'>{$r['gangNAME']}</option>\n"; } print "</select> <input type='submit' value='Declare' /></form>"; } }
-
I have a curious error in code I didn't touch so far: function gang_staff_viewsurrenders() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print "<form action='yourgang.php?action=staff&act2=viewsurrenders' method='post'> Choose who to accept the surrender from. <input type='hidden' name='subm' value='submit' /> Gang: <select name='sur' type='dropdown'>"; $wq=$db->query("SELECT s.*,w.* FROM surrenders s LEFT JOIN gangwars w ON s.surWAR=w.warID WHERE surTO={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "<option value='{$r['surID']}'>War vs. {$them['gangNAME']} (Msg: {$r['surMSG']})</option>"; } print "</select> <input type='submit' value='Accept Surrender' /></form>"; } else { $_POST['sur'] = abs((int) $_POST['sur']); $q=$db->query("SELECT surWAR FROM surrenders WHERE surID={$_POST['sur']}"); list($_POST['war']) = $db->fetch_row($q); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['war']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $db->query("DELETE FROM surrenders WHERE surID={$_POST['sur']}"); [color=#ff0000]$db->query("DELETE FROM gangwars WHERE warID={$_POST['war']}");[/color] $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] have accepted the surrender from [url='gangs.php?action=view&ID={$them[']{$them['gangNAME']}[/url], the war is over!"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')"); print "You have accepted surrender, the war is over."; When I try to accept the surrender, I get: QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was SELECT * FROM gangwars where warID= Assistance would be appreciated. :D
-
Does it not work? What does it do now?
-
Anyone have info on any obvious known bugs with this?