Jump to content
MakeWebGames

Lilith

Members
  • Posts

    295
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Lilith

  1. After having been there done that, The whole raven mess, spending the $$ on Mccodes, and being so frustrated I could not see past the end of my face. I want to let you in on a little secret. The game you have now is completely legal with the custom look, and the mccodes licence. However, there are hundreds of mccodes games out there. This means that lots of people know the ins and outs of mccodes, and well, lets face it, the script isn't all that secure. So, Please keep an open mind, and look at the other gaming engines available (some for free in this forum), and make the best choice for your game AFTER you have looked at your options.
  2. I ave tried to create a mining mod, but I get this error ... Funny thing is, the word inventory appears nowhere in my script. 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 inventory WHERE inv_userid=1 and inv_itemid= any hints?   <?php include('globals.php'); //common stuff //mine gold if($ir['energy'] <= 4) { echo "You do not have enough energy. Come back later."; $h->endpage(); exit; } if($ir['jail'] || $ir['hospital']) { echo "You can't access this page while in the hospital or jail."; $h->endpage(); exit; } $cityname = $db->fetch_single($db->query("SELECT cityname FROM cities WHERE cityid = {$ir['location']}")); if(isset($_GET['search'])) //search { $type = mt_rand(1,11); $hard = mt_rand(1,3); // 1:3 chance of hard outcome, change this for each differnt ore $ore = Gold; $oreid = 115; $crystal = 116; $aqua = 117; $peri = 118; $Zirc = 119; $garnet = 120; $Emerald = 121; $Saphire = 122; $Ruby = 123; $Diam = 124; $BDimon = 125; switch($type) { case 1: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; }else{ $out = "There is nothing here."; } break; case 2: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $crystal, $amt); $out = "You collected {$amt} Quartz Crystals."; } if($hard == 3){ $out = "There is nothing here."; } break; case 3: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $aqua, $amt); $out = "You collected {$amt} Aquamarine."; } if($hard == 3){ $out = "There is nothing here."; } break; case 4: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $peri, $amt); $out = "You collected {$amt} Peridot."; } if($hard == 3){ $out = "There is nothing here."; } break; case 5: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $Zirc, $amt); $out = "You collected {$amt} Cubic Zirconium."; } if($hard == 3){ $out = "There is nothing here."; } break; case 6: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $garnet, $amt); $out = "You collected {$amt} Garnet."; } if($hard == 3){ $out = "There is nothing here."; } break; case 7: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $Emerald, $amt); $out = "You collected {$amt} Emerald."; } if($hard == 3){ $out = "There is nothing here."; }break; case 8: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $Saphire, $amt); $out = "You collected {$amt} Saphire."; } if($hard == 3){ $out = "There is nothing here."; } break; case 9: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $Ruby, $amt); $out = "You collected {$amt} Ruby."; } if($hard == 3){ $out = "There is nothing here."; } case 10: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $Diam, $amt); $out = "You collected {$amt} Diamond."; } if($hard == 3){ $out = "There is nothing here."; } case 11: if($hard == 1){ $amt = mt_rand(1,3); item_add($userid, $oreid, $amt); $out = "You collected Some Gold Ore."; } if($hard == 2){ $amt = mt_rand(1,3); item_add($userid, $BDimon, $amt); $out = "You collected {$amt} Blue Diamond."; } if($hard == 3){ $out = "There is nothing here."; } } $db->query("UPDATE users SET energy = energy- 3 WHERE userid = {$userid}"); //decrement energy ?> <div style="text-align:center"> <?= $out ?> <?= ($ir['energy']-3> 0) ? "<a href=\"?\">Search again?</a>" : "" ?> </div> <?php } else //index { ?> <h2 style="text-align:center;"><?= $cityname ?> Pond</center></h2> <div style="text-align:center;"> Welcome to the Mines, <?= $ir['username'] ?>. Mining Gold in Purgatory takes energy. Every time you mine, you energy loose 3 energy. Click on the image to Choose your ore! [img=/Oridian/upload/images/pond.png]</center> <map name='Map'> <area shape='rect' coords='2,2,66,66' href="?search"> <area shape='rect' coords='69,2,134,66' href="?search"> <area shape='rect' coords='138,2,202,66' href="?search"> <area shape='rect' coords='205,2,270,66' href="?search"> <area shape='rect' coords='274,2,338,66' href="?search"> <area shape='rect' coords='340,2,407,66' href="?search"> <area shape='rect' coords='2,70,66,133' href="?search"> <area shape='rect' coords='69,70,136,133' href="?search"> <area shape='rect' coords='137,70,202,133' href="?search"> <area shape='rect' coords='205,70,270,133' href="?search"> <area shape='rect' coords='274,70,338,133' href="?search"> <area shape='rect' coords='340,70,407,133' href="?search"> <area shape='rect' coords='2,138,405,202' href="?search"> <area shape='rect' coords='69,138,406,202' href="?search"> <area shape='rect' coords='137,138,338,202' href="?search"> <area shape='rect' coords='205,138,271,202' href="?search"> <area shape='rect' coords='274,138,338,202'href="?search"> <area shape='rect' coords='340,138,407,202' href="?search"> <area shape='rect' coords='2,206,66,270' href="?search"> <area shape='rect' coords='69,206,136,270' href="?search"> <area shape='rect' coords='137,206,202,270' href="?search"> <area shape='rect' coords='205,206,270,270' href="?search"> <area shape='rect' coords='274,206,338,270' href="?search"> <area shape='rect' coords='340,206,407,270' href="?search"> <area shape='rect' coords='2,273,66,337' href="?search"> <area shape='rect' coords='69,273,136,337' href="?search"> <area shape='rect' coords='137,273,202,337' href="?search"> <area shape='rect' coords='205,273,270,337' href="?search"> <area shape='rect' coords='274,273,338,337' href="?search"> <area shape='rect' coords='340,273,407,337' href="?search"> <area shape='rect' coords='2,341,66,405' href="?search"> <area shape='rect' coords='69,341,136,405' href="?search"> <area shape='rect' coords='137,341,202,405' href="?search"> <area shape='rect' coords='205,341,270,405' href="?search"> <area shape='rect' coords='274,341,338,405' href="?search"> <area shape='rect' coords='340,341,407,405' href="?search"> <area shape='rect' coords='2,410,66,473' href="?search"> <area shape='rect' coords='69,410,136,473' href="?search"> <area shape='rect' coords='137,410,202,473' href="?search"> <area shape='rect' coords='205,410,270,473' href="?search"> <area shape='rect' coords='274,410,338,473' href="?search"> <area shape='rect' coords='340,410,407,473' href="?search"> </map> </div> <?php } $h->endpage(); ?>
  3. This is great stuff and easy to understand. Please post more like this!
  4. Good luck getting this or free. there are some free layouts in the layouts section of the forums. This topic belongs there, or in the art modeling or media creation topics. This topic is supposed to be for content writing .... like descriptions, game story, how to develop a cohesive theme ect.
  5. I want to add 1 leather, 1 thread, and 1 dragon hide and get 1 dragon pants (for example)
  6. I want to make a set of skilling mods for mccodes, and I have a good design that I have worked on for a week or 2. Now that I want to start programing, Im at a complete loss at how to approach the crafting part of the mod. My biggest hurdle is how can I take 2 -3 items and spit out 1 different item programing wise? Any ideas and suggestions?
  7. FML dude, its all one sceen with one set of lights, I just didnt get it right all all did I?
  8. damn it, BC I tried for the right effect, but aparently my lighting skills have something to be desired. I was focused on getting them lit up, without a shadow on the ground .....
  9. Thanks DJK for doing that, and thanks Zeggy for giving your permission.
  10. Snowball fight! - all month of December, players find snowballs throughout the game, on a set date(s) you have snowball fights, The guy who throws the most Wins.
  11. ok, thanks, normally I would agree with you 100% on the shadows thing, but That was on purpose.The is no Sun in Purgatory where this takes place, only ambient light, so there are no shadows. IF you have seen this game, yes the main BG is being changed to reflect this as well to create cohesiveness to the story.
  12. Game over! Your final score is 1300! ok, so Im totally in LOVE with this, can we make it a mod for mcc and other engines?
  13. There are only minor differences in the images below, One is 250px tall (top), one is 300px tall (bottom). Which do you like better?
  14. Would find it funny if the creators of Dungeons and Dragons shut down Immortal night for using "familiars" as magical companions. Makes about as much sense.
  15. Guess they think that gaming concepts are proprietary? can you copy write something like that for a game? EG: I want to get donations, so I copyright the idea of selling donator items used to train your character's stats. Can you do that? Edit, question 2: Whats the point of Mccodes allowing you to create custom items if the above were true.
  16. Lilith

    CSS Questions

    Puts on her Dunce cap and says many thank yous! Im not sure which method I wish to use at this time, but I appreciate your help!
  17. hehe, im not mid evil, im all eveil
  18. Lilith

    CSS Questions

    ok, what you arent getting is that that function isnt going to take up the whole page! its only going to be in a side column. Of course im VERY Noob still, despite my best efforts! so if I am missing where you can make those small and only a part of a page, please just hand me the dunce cap and point it out.
  19. I am with DJK on this, I'm in the middle of a noob moment (for like 6 hours now) I cant get my background images to show up in a layout. Yeah, still don't have the answer. Edit: FML! Id edit this code so the image shows up, but it just goes to show ....
  20. I am totally guilty of using shorter words .... and any of you have spoken with me in IRC chat know its BC I can't spell for crap! At least you get the message when I use shorthand. If I am writing up a letter for someone, or presenting something professionally, yeah Ill have it proof read. Ill even use spell check if it underlines the words for me and correct them. But sometimes I can t get close enough to the right word to get spell check to get it right either. I believe that the only one in this thread that has a valid point about why proper spelling and gamer should be used is Dave and the search engine argument. But seriously, get over your selves, I'm not here to impress any of you. Note: Spell check corrected 33 misspelled words in this post. Cuz huked on fonix wurked 4 me.
  21. Lilith

    CSS Questions

    no, Cool effect tho! More like this (dont mind the 5yr old looking pics, its late here.) or or or shows up and they can click the image representing the spell / item they want without reloading the page.
  22. Shouldn't this be in the auction section of MWG?
  23. Lilith

    CSS Questions

    I want to put a small box on say a mcc game in the side menu that serves as a "spell book" Ice spells on tab 1, Fire on2, yada yada. I want to choose spells on diferent tabs without refreshing the page.
  24. Lilith

    CSS Questions

    I haven't found a lot of info on this, but I looked at http://jquery.com/ and found squat. However, thanks to mdshare, I have found http://www.queness.com/post/106/jquery-tabbed-interfacetabbed-structure-menu-tutorial this, which is close to what I was looking for. Im still open to suggestions.
  25. Danny is Right, I had to go and check to make sure BC I knew that I was running 1 min crons, however a little investigation revealed how I did it. Just follow the instructions in thisthread to run 1 min crons without cron jobs.
×
×
  • Create New...