-
Posts
3,138 -
Joined
-
Last visited
-
Days Won
36
Content Type
Profiles
Forums
Events
Everything posted by Djkanna
-
That's a valid point, I guess it's a two way street, more often than not, yes. However I do believe there is cases where it is not. I guess an example(albeit probably not a good one) the majority can relate to here, is using some form of the MVC pattern, opposed to having your logic mixed in with your markup.
-
Richards Business Mod--Fixed With a few Things added.
Djkanna replied to Joshua's topic in Free Modifications
Why not post a mod then? Or even an idea for a mod? -
If I may ask, at what point in this thread did anyone question your skill level, or what you could and could not do. We are sharing our experiences, and both myself and Dave have come to the conclution that due to the possible specific nature of each tutorial step it would be much easier to maintain and customise, if the logic behind the system wasn't all located in a global file, but rather split between files that are needed. Now if you feel you can put it all in a global file and still retain the maintainability, customisablity and still support the specifics with each step, then more power to you. If not then fair enough, I couldn't think up of an effecient way to do it like that, so I didn't, doesn't me we don't understand that there's other ways to go about things, just means based upon our experiences our opinion is that we feel doing the mentioned way made more sense. No this opinion doesn't mean we were right, it means it was the better choice for us and what we had to work with at that time.
-
Thanks Rulerofzu. I'm quite looking forward to the change, rather than having people request mods they can request designs/templates. If all goes well who knows maybe we'll start providing that service, but I guess it would all depend on the demand for it, and our willingness to do so.
-
Myself and A_bertrand have partnered up to offer MakeWebGames our design and development services. This partnership comes out of knowing there's somewhat of a lack of trusted services to the members of MakeWebGames, we like to believe that we are trusted amongst this community and have the skills required to provide you these services. Website: http://www.fuelforhtml.com/ What we can provide: Quality designs for your website. PSD to HTML conversions. Custom 3D models within your design.* All our templates will be cross-browser compatible to a degree (see supported browsers). Supported Browsers: We make sure all our designs look their best throughout the major browsers. We however will not go out of our way to compensate for Internet Explorer 6, sorry but this browser is effectively dead. Portfolio: This is a newly formed partnership, we're working hard on gathering up some references for you to look at. Please bare with us. Prices: Prices start from as little as $100, to request a quote please PM either myself or A_bertrand. Availability: Please note we're not available here at all times. Generally speaking here's a guide. 8am - 3pm (GMT): A_bertrand is available on MakeWebGames and IRC. 7pm - 11pm (GMT): Dkanna is available on MakeWebGames and IRC. Weekends we're unavailable, so please make sure to contact us before Friday is over, otherwise we will not get your message until Monday morning. These times may change, please understand we may not be able to get back to you straight away, however give us at least 24 hours to reply. Support: Questions regarding our design and or 3D modelling services please contact A_bertrand. Questions regarding our html to psd conversion service please contact Djkanna. This thread will be monitored by myself and Alain, if you have a question that you feel will benefit others, then please ask it here and we will try out best to answer as quick as possible. Thanks for your time. -Djkanna & A_bertrand. *Subject to availability, references are needed, descriptive information is also required.
-
Yes that's certainly a way to do it, I chose not to do it this way and go for the editing certain files, to make the code a little easier, as we had to have certain goals for certain steps to move on to the next step, in which your idea (which is an idea I did think about) just really would be bloated and probably a little a tricky when adding new conditions. I suppose you could grab the query string, then see if they say for example do a certain crime (but checking if they successfully did this crime and not failed would be a little tricky). But then doing that for say 14+ steps, you can see it's really going to get quite big for such a simple thing, so I decided to go for the edit certain pages way. (to clarify he wants something like I did a while ago, that's the only reason why I said he would need to edit the majority of his files, or at least the ones he wants specific conditions for.) :)
-
Or she lives in the countryside. :| (yes this is a spam post, but considering where the topic is heading and the fact it's already been requested that it be closed, does it really matter?)
-
In all fairness, I did not try to attack Chicka. ;) Yes $10 is very low, and I did mention that to him, however for all we know he may have upped his budget, unfortunately people get to much trouble for posting budgets here, so he's done right to keep it private until he's got at least one legitimate enquiry about the work he wants doing.
-
Take your html/output out of the while loop it will not repeat the info then. <?php include "config.php"; global $db,$c,$ir,$set,$_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } print " <a id='button1a'><b>Player Info</b></a> <a id='button1a' href='usersonline.php'><b>Name:</b> $gn{$u} [{$ir['userid']}] $d $staff </a> <a id='button1a' href='gym.php'><b>Level:</b> {$ir['level']}</a> <a id='button1a' href='bank.php'><b>Money:</b> {$fm}</a> <a id='button1a' href='bank.php'><b>Bank Money:</b> {$ir['bankmoney']}</a> <a id='button1a' href='cyberbank.php'><b>Cyber Money:</b> {$ir['cybermoney']}</a> <a id='button1a' href='creditcard.php'><b>Credit Card:</b> {$ir['creditcard']}</a> <a id='button1a' href='crystaltemple.php'><b>Crystals:</b> {$ir['crystals']}</a> <a id='button1a' href='cigarettes.php'><b>Smoking Level:</b> {$ir['smoking']}</a> <a id='button1a' href='cigarettes.php'><b>Smoker:</b> $smoke</a> <a id='button1a' href='logout.php'><font color='white'>[</font><font color='red'>Emergency Logout</font><font color='white'>]</font></a> "; ?> E: Also try this; <?php session_start(); if (!isset ($_SESSION['userid']) ) { echo '<p>Not logged in.</p>'; exit; } include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $userInfo = $db->query('SELECT `userid`, `level`, `bank_money`, `money`, `cybermoney`, `creditcard`, `crystals`, `smoking` FROM `users` WHERE (`userid` = '.$_SESSION['userid'].')'); if ($db->num_rows($userInfo) > 0) { $ir = $db->fetch_row($userInfo); //Your html output, I've no idea what the var smoke is supposed to be so... $smoke = 'Fix this'; //^^ print " <a id='button1a'><b>Player Info</b></a> <a id='button1a' href='usersonline.php'><b>Name:</b> $gn{$u} [{$ir['userid']}] $d $staff </a> <a id='button1a' href='gym.php'><b>Level:</b> {$ir['level']}</a> <a id='button1a' href='bank.php'><b>Money:</b> ".number_format($ir['money'])."</a> <a id='button1a' href='bank.php'><b>Bank Money:</b> {$ir['bankmoney']}</a> <a id='button1a' href='cyberbank.php'><b>Cyber Money:</b> {$ir['cybermoney']}</a> <a id='button1a' href='creditcard.php'><b>Credit Card:</b> {$ir['creditcard']}</a> <a id='button1a' href='crystaltemple.php'><b>Crystals:</b> {$ir['crystals']}</a> <a id='button1a' href='cigarettes.php'><b>Smoking Level:</b> {$ir['smoking']}</a> <a id='button1a' href='cigarettes.php'><b>Smoker:</b> $smoke</a> <a id='button1a' href='logout.php'><font color='white'>[</font><font color='red'>Emergency Logout</font><font color='white'>]</font></a> "; ?>
-
Well they're much better than mine (I'm still trying to follow tutorials on how to create boxes (I know I know)). Good job pal.
-
Just because he's looking for a developer, does not mean he doesn't know how to code... E:I know that his request is genuine, I highly doubt he would scam anyone (experience (known him for somewhat 2 years, worked with him a couple of times) still counts for something here right?)
-
Suggestions: (well not exactly). Your police officer dude, is a little bit choppy where (I presume a background) has been cropped out (see top of his head). Logically the navigation should be above the fold. Overall I would say not bad for your first try, and also for the fact of not trying to sell your first try, like many others do. If you're seriously thinking about getting into design, I would try reading some articles on design, colour theory etc, also a few PS tutorials wouldn't hurt. -------------------------------- Couple of resources to get you started: Web Design (Tuts+) UX Design (Smash Mag) Design Informer (Smash Mag) Colour Theory (Infographic) --------Code-------- Cats Who Code Learn CSS (Tuts+) CSS Tricks (net.tuts+) ------Inspiration--- Dribbble Creattica Deviant Art ------Resources---- Premium Pixels Design Moo 365 PSD Design Kindle Lost and Taken Stock.Xchang Texture Lovers --------------Tools------- 0to255 (great for getting different shades of colours.) Axure Mockingbird Best of luck. -DJK. E:There's lots more resources out there, I just got bored adding them all in, Google can help here.
-
Quite a few resources here just make sure to read the license in which they're released.
-
Well it's certainly a different concept to what we usually see here, I wish you the best of luck with it.
-
Take the attack, and add in a couple of item_add(); for each of the losers equipped items, then set those equipped fields to 0, doesn't seem to be to difficult in my opinion. Have a go at it, if you get stuck then come back, and I'm sure we'll lend a hand.
-
Stop morphine use in a fight. Please hlep with my code
Djkanna replied to Hendrickson's topic in Requests & In Production
Somewhat believe this way would be simplier. <?php /* Check to see if there's a attacking session set: (I believe in one of the secondary attack files the session is then unset not sure though.) Check that the page they're accessing isn't one of the attack files. (again names not my strongest suit you may have to change them in the array.) If they're currently in an attack, and try to access a page that isn't within that array, give them the error message. */ if (isset ($_SESSION['attacking']) && !in_array ($_SERVER['PHP_SELF'], array ('/attack.php', '/attackwon.php', 'attacklost.php'))) { echo '<p>Sorry but this page cannot be accessed whilst in a battle.</p>'; $this->endpage(); exit; } The userdata function below fed jail checks in header, I believe would be an appropriate place to put it. *Read the comments within the file, as I really don't recall what MCCodes does in this situation. -
I think your kinda missing the point of a text based game, it pretty much focus' heavily on clicking, not really something suited for an app (an app to check stats/events or something similar maybe but really what's the point?).
-
Which All Games Do u Play Online??
Djkanna replied to Damagedcity.com's topic in Question of the day
Urm, Minecraft and Minecraft and a little more Minecraft. Also any of the games on Kongregate. -
Alright Travis, I'm dreading the software update considering it's been somewhat just after the update after the PSN outage that it's been hooked up to the net :O
-
Hmm, we should play sometime. ;) (although I've not played in a long time)
-
Original GTA IV or one of the expansion packs?
-
I don't understand why anyone would want a clone of Torn City (or Torn or whatever it may be called now)?
-
Suggestion, get a proper domain not a sub-domain. Also work on a story behind the game.
-
While it's true, Amazon do sell stuff themselves, generally 99% of the things you buy from Amazon come from a 3rd party, in which it's always possible to get imitations of items, rather than the original thing. The poster, mentioned he had only worn them for a week, hygiene hmm, for however much knocked off the price, I'm sure you could buy some baby wipes and cotton wool buds, and clean them if you're that concerned. To the poster, I have no idea what your selling, my lack of knowledge in headphones shows, good luck with the sale.