Jump to content
MakeWebGames

Dominion

Members
  • Posts

    2,447
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Dominion

  1. it is in one zip file   nice mod even made me think about buying some of your paid game very nice work +1 (you know if that was still on here)
  2. there is an update of this mod posted here -[mccode v2.x] Mines--Fixed cron is in the 1st post
  3. using the same name after working on mccodes sites so much is not such a bad thing i was just talking about you with 2 people (no i am not saying who) one thing i said was you could have remade mccodes with the same table names etc just out of pure habbit the site i am working on right now is mccodes lite yet my "gangs" table is "gangs" out of the fact i was working on v2 for so long learning all of its weak spots. one last thing posting a part of a site you have spent so long on your much better then i am i would not post whole files...
  4. most sites look like mccodes menu on the right bars up at the top banner with it. its just the basic look for rpg's and torn looks like mccodes due to the fact they did try and copy torn's look... anyways mccodes or not does it really matter that much if its a good site its going to get members mcc or not
  5. untested   <?php $jobquery=1; include "globals.php"; $_GET['interview'] = abs((int) $_GET['interview']); if(!$ir['job']) { if(!$_GET['interview']) { print "You do not yet have a job. A list of jobs is available below. "; $q=$db->query("SELECT * FROM jobs"); while($r=$db->fetch_row($q)) { print "> {$r['jNAME']} - {$r['jDESC']} - [url='job.php?interview={$r[']Go to interview[/url] "; } } else { $q=$db->query("SELECT j.*,jr.* FROM jobs j LEFT JOIN jobranks jr ON j.jFIRST = jr.jrID WHERE j.jID={$_GET['interview']}"); $r=$db->fetch_row($q); print "{$r['jOWNER']}: So {$ir['username']}, you were looking for a job with us? {$ir['username']}: Yes please! "; if($ir['strength'] >= $r['jrSTRN'] && $ir['labour'] >= $r['jrLABOURN'] && $ir['IQ'] >= $r['jrIQN']) { $db->query("UPDATE users SET job={$_GET['interview']},jobrank={$r['jrID']} WHERE userid=$userid;"); print "{$r['jOWNER']}: Okay {$ir['username']}, we're good to go, see you tomorrow. {$ir['username']}: Thanks! [url='job.php']:)[/url]"; } else { print "{$r['jOWNER']}: Sorry {$ir['username']}, you're not far enough in the game to work in this job. You'll need:"; if($ir['strength'] < $r['jrSTRN']) { $s=$r['jrSTRN']-$ir['strength']; print " $s more strength, "; } if($ir['labour'] < $r['jrLABOURN']) { $s=$r['jrLABOURN']-$ir['labour']; print " $s more labour, "; } if($ir['IQ'] < $r['jrIQN']) { $s=$r['jrIQN']-$ir['IQ']; print " $s more IQ, "; } print "before you'll be able to work here! [url='index.php']:'([/url]"; } } } else { switch($_GET['action']) { case 'quit': quit_job(); break; case 'promote': job_promote(); break; default: job_index(); break; } } function job_index() { global $db, $ir,$c,$userid,$h; print "<h3>Your Job</h3> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} and {$ir['jrPOINTS']} Job Points each day at 5pm! You also receive {$ir['jrIQG']} IQ, {$ir['jrSTRG']} strength, and {$ir['jrLABOURG']} labour! <table width=50% cellspacing=1 class='table'><tr><td>Strength: {$ir['strength']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Rank: {$ir['jrNAME']}</td></tr></table> [b]Job Ranks[/b] <table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>Title</th><th>Pay</th><th>Strength Reqd</th><th>IQ Reqd</th><th>Labour Reqd</th></tr>"; $q=$db->query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;"); while($r=$db->fetch_row($q)) { print "<tr><td>{$r['jrNAME']}</td><td>\${$r['jrPAY']}</td><td>{$r['jrSTRN']}</td><td>{$r['jrIQN']}</td><td>{$r['jrLABOURN']}</td></tr>"; } $js=$db->query("SELECT * FROM jobspecials WHERE jsJOB={$ir['job']} ORDER BY jsID ASC;",$c); print "[b]Specials unlocked:[/b] <form action='specials.php' method='post'> <table width=80% cellspacing=1 class='table'> <tr> <th><font color=white>Reward</font></th> <th><font color=white>Cost</font></th> <th><font color=white>Take</font></th></tr>"; if($db->num_rows($js) == 0) { print "<tr class='row$current_row'><td colspan=3>This Job has no Speacials</td></tr>"; $current_row = 1 - $current_row; } while($sp=$db->fetch_row($js)) { print "<tr class='row$current_row'><td><font color=black>{$sp['jsNAME']}</td><td><font color=#FF0000>-{$sp['jsCOST']} Job Points</font></td><td><center><input type='radio' name='ID' value='{$sp['jsID']}' /></td></tr>"; $current_row = 1 - $current_row; } print "<tr> <td colspan=3><div align=center><input type='submit' value='Purchase'></div></td> </tr></table></form>"; print "</table> [url='job.php?action=promote']> Try To Get Promoted[/url] [url='job.php?action=quit']> Quit[/url]"; } function job_promote() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM jobranks WHERE jrPAY > {$ir['jrPAY']} AND jrSTRN <= {$ir['strength']} AND jrLABOURN <= {$ir['labour']} AND jrIQN <= {$ir['IQ']} AND jrJOB = {$ir['job']} ORDER BY jrPAY DESC LIMIT 1"); if($db->num_rows($q) == 0) { print "Sorry, you cannot be promoted at this time. [url='job.php']> Back[/url]"; } else { $r=$db->fetch_row($q); $db->query("UPDATE users SET jobrank={$r['jrID']} WHERE userid=$userid"); print "Congrats, you have been promoted to {$r['jrNAME']} [url='job.php']> Back[/url]"; } } function quit_job() { global $db,$ir,$c,$userid,$h; $db->query("UPDATE users SET job=0,jobrank=0 WHERE userid=$userid"); print "You have quit your job! [url='job.php']> Back[/url]"; } $h->endpage(); ?>
  6. are you using the one posted by jordan (on page 2 3rd post down) or the one in the 1st post by cronus?
  7. post yours and someone will fix it...
  8. never said anyone had just said it was good he was not nothing wrong with pointing it out to new members. have dabs and cold gone away not seen them around?
  9. mccodes has so many mods and recodes now i think 1/2 the files are on here already secure as free mods thing is mccodes should be putting time into v2/v1 (not lite since its free) before v3 if they don't everything will be on v3 bad engine = end of mccodes that are them going into an old outdated noob like engine they need to act well people that are still as good as people like crim/jordan and everyone else that spent there time on the engine are still willing to be on mwg and help   btw yes its not as good as the claim   spud unless hes being paid by mccodes why would he suck up to them at least hes not saying yes waste $100 then find out i and everyone else lied to you about "how secure it is"
  10. i said on cronwerks mail crimgame , magictallguy (not seen him around much as of late) zed offers work now i think silver there are more but make sure you go with someone known
  11. Dominion

    Need info

    talk to spydre452 cheap (around what your asking) and well made can't go wrong   example- My War Template   also does banners etc
  12. post your inventory and both equip files
  13. i am sure if it was posted free and copyright + a link back (thing thats in the mwg tos) you can do what you want with free mods no need or there permission its just right to ask
  14. hey dayo i have a few folders full of free mods from dev-forums (1st and 2nd time it was up) , cronwerks and makewebgames all with copyrights on the page i have them as i feel there the best of the mods posted and if the sites went down i could still use them i will have to ask around (since i always do) about who feels ok with me sending you there mods but i don't see any reason why free mods can not be sent to you :)
  15. most of the illegal ones have bad trys to make it secure 8 lines fix and the ip hack "fixed" is the most there edited you must of got very lucky to find one that has such a good edit O-o
  16. well it does not say such and such of mwg but feel free to whois it...
  17. domain whois works so the "creater" is not all that smart :|
  18. did you say you installed v2 now? anyways     jump 3 mins in should help you install the crons
  19.   some do i admit but there are people who want to learn having so many people unwilling to help does not make it easy (ok its still easy) would be nice if people stopped saying omg go learn php and did at least show off a basics like on most sites this community seems a lot more hostile then when i join
  20. the mccode/mccodes engine like anything has limits but that limit can change in new hands if someone has the skill and is willing to take it away from mafia games thats what will happen learning from mccodes and recoding every file is a nice way to learn if thats what you enjoy but i would learn from books php.net etc then move on to recoding recodes off this site   magictallguy is a good programmer and i think he learned off v1 (may be wrong) as one of the best when it comes it being willing to help people a lot of skilled programmers just think they learned so should everyone else that or pay   this bugs me is security not just something that any well made page has by default if so whyis there this idea that php and php security are two things to learn? a secure file checks all input and output like it should a working php page that is not secure is not well made hence not ready/complete   anyways mccodes is a nice engine its limits (like every engine) are your limits work hard at it and it will work well i don't think mccodes is an "engine" as it should be but hey its a very nice ready to go (be edited ;) ) game
  21. @badwolf2010 - not always i have mods that i just sent the money and got an email never even talked to the guy i got them off paypal note for email to send it to thats it @monkey644 - what can we say you said you have taken legal advice anything we say would just be wrong or going over that...
  22. if you feel that way why post after all this is you getting involved i am sorry but posts like this help everyone see who is and is not worth buying off yes they should be looked up to make sure its not bull and random from some noob however this is not the 1st post about him telling people about scams helps everyone.   does not always work there is a time limit and he could have changed bank account (rare) or anything so this is once again you assiming you know whats happend   i am sorry but not everyone can stay in a good mood when out of pocket i thing since he did do it behind close doors (so to speak) 1st he has every right to be mad   who are you to say he can not act he said hes taken legal advice i don't see anything about paid legal advice could have missed it but you can get free legal advice from many places and court you can do it yourself sorry but not everything has to be done by a lawyer   i did not have one for around a year (few years ago) still paid for my house etc so no credit cards are not always a sign of being a kid or not having any money example i have more coming in then going out and live next to a bank hence not i don't "need" a card. if i was a victum of a scam even if it was $5 i would act on here i would post his/her name paypal ok only good advice you have given well done but does not always work and saying if he does not have a credit card he does not have a lawyer my lawyer ummm pay cash? no win no free? all money taken from losing side? anyways end of my rant
  23. not really true since you get the mail via the forum if you go for a stand alone market (or mccodes does) you really need some kind of forum on it anyway for support or questions i think cronwerks is set up well in terms of there system anyway. thing is if you set up a market (one thing i think is wrong with cronwerks) do not stay so close to this "just mccodes" idea everything has a life span do not limit your site to theres just have an mccodes part for the site
  24.   that is wrong when buying something in a shop lets say a ps3 if you pay cash what do you sign ? yet you have rights same with online jobs legally you are able to act if what you paid for does not show up or is the wrong thing etc   not having HIS signature does not mean legal action can not be taken as far as i know anyway after all take mccodes taking down ravan there taking them down for selling on there engine i don't know about them but when i paid for my copy of mccodes i did not sign anything
  25. hey was taking a quick look you may want to take a look at this as $_SERVER['PHP_SELF'] is used in your engine $_SERVER['PHP_SELF'] alternative/vulnerability
×
×
  • Create New...