Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,686
  • Joined

  • Last visited

  • Days Won

    81

Everything posted by Uridium

  1. this damn layout is peeing me off ive never known anything like it. Earlier i sent back to ftp a brand new CSS version totally rewriting the old one and every damn page i went to it showed the older version even though it wasnt there. I had to CTRL + F5 the damn screen each time to reload the new css...
  2. Good point i try to help and explain as much about my mods as possible to help the end user get the most from how it works and how to add to it.. in some cases if the script ive done is complex its better to just give the basics..
  3. Had the same problem as JDS on my testsite so made a few alterations.. Pointe = crystals fixed deadlink. changed last inventory chance to rip and ripa instead of ri and ria.. Works fine.. named file = searchdowntown.php   <?php include "globals.php"; ?> <style type="text/css"> p.together { line-height: .5em; text-align: left; } </style> <?php $crystalsf=0; $moneyf=0; $itemsf=0; $ritemf=0; $sritemf=0; print "<h3>Search Downtown</h3> <hr> "; $_GET['action'] = mysql_real_escape_string($_GET['action']); $search=$ir['searches']; if($_POST['search']>$search) { print("You do not have that many searches left. [url='searchdowntown.php'][i]Continue ...[/i][/url] "); return; } if ($_GET['action'] != 'search') { $search=$ir['searches']; print "You can search downtown 100 times a day. You have {$search} Searches left for today. You can find crystals, Money, Items or even Gain EXP. "; print " <form method=post action=searchdowntown.php?action=search><input type=hidden name=action value=search><input type='text' name='search' value='{$ir['searches']}'> <input type=submit value='Search'></form> "; } else { $search=abs((int) $_POST['search']); for($i=0;$i<$search;$i++) if ($ir['searches'] < 1) { print("You have searched all you can for today. Come back at newday. [url='explore.php'][i]back to city[/i][/url] "); return; } else { $g=$i+1; $chance = rand(1,10); ## $chance = random numbr between 1 and 15 -- diferrent posiblities for search $chancecrystals= rand (1,25); ## Chance to find crystals : tweak this to change the rate that you find crystals $chancemoney = rand (1,10); $chanceitem = rand (1,25); $chanceritem = rand (1,50); $chancesritem = rand (1,75); $query1=sprintf("UPDATE users SET searches=searches-1 where userid=$userid"); $db->query($query1); print"<p class='together'>[b] $g : [/b]"; if ($chance == 1) { print "Nothing here."; } ## CHANCE FOR crystals if ($chance == 2) { if ($chancecrystals < 23) { print "Nothing here."; } if ($chancecrystals == 23) { $gain = rand(1,15); print "You found [b]$gain[/b] crystals."; $query2=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query2); $crystalsf=$crystalsf+$gain; } if ($chancecrystals == 24) { $gain = rand(1,10); print "You found [b]$gain[/b] crystals."; $query3=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query3); $crystalsf=$crystalsf+$gain; } if ($chancecrystals == 25) { $gain = rand(1,5); print "You found [b]$gain[/b] crystals."; $query4=sprintf("UPDATE users SET crystals=crystals+$gain where userid=$userid"); $db->query($query4); $crystalsf=$crystalsf+$gain; } } ## CHANCE FOR MONEY if ($chance == 3) { if ($chancemoney < 7) { print "Nothing here."; } if ($chancemoney == 7) { $gain = rand(50,100)*(floor($ir['level']/2)+1); print "You found [b] \$$gain[/b]."; $query5=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query5); $moneyf=$moneyf+$gain; } if ($chancemoney == 8) { $gain = rand(75,150)*(floor($ir['level']/2)+1); print "You found [b] \$$gain[/b]."; $query6=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query6); $moneyf=$moneyf+$gain; } if ($chancemoney == 9) { $gain = rand(50,100)*(floor($ir['level']*2)); print "You found [b] \$$gain[/b]."; $query7=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query7); $moneyf=$moneyf+$gain; } if ($chancemoney == 10) { $gain = rand(150,300)*(floor($ir['level']/2)+1); print "You found [b] \$$gain[/b]."; $query8=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query8); $moneyf=$moneyf+$gain; } } if ($chance == 4) { print "Nothing here. "; } ########################### ## CHANCE FOR COMMON ITEM # ########################### if ($chance == 5) { if ($chanceitem == 22) { ## RANDOM NUMBER FOR COMMON ITEM srand ((double) microtime() * 10000000); // $ri = array("50","52","53","54","8","30");**EXAMPLE** $ci = array("1","2","3"); ## Add You common Items ID to this array $cia = array_rand($ci,1); $common = mysql_query("SELECT * FROM `items` WHERE `itmid`='".$ci[$cia]."' LIMIT 1"); $comi = mysql_fetch_array($common); $query9=sprintf("INSERT INTO inventory VALUES('',$ci[$cia],$userid,1)",$c); $db->query($query9); $itemsf = $itemsf +1; print " You found a/an {$comi['itmname']} !"; } else { echo "Nothing here."; } } if ($chance == 6) { print "Nothing here. "; } if ($chance == 7) { $gain = rand(50,100)*(floor($ir['level']*2)); print "You found [b] \$$gain[/b]."; $query10=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query10); $moneyf=$moneyf+$gain; } if ($chance == 8) { $gain = rand(50,100)*(floor($ir['level']/2)+1); print "You found [b] \$$gain[/b]."; $query11=sprintf("update users set money=money+$gain where userid=$userid"); $db->query($query11); $moneyf=$moneyf+$gain; } ########################## ## CHANCE FOR RARE ITEM ## ########################## if ($chance == 9) { if ($chanceritem == 25) { ## RANDOM NUMBER FOR RARE ITEM srand ((double) microtime() * 10000000); $ri = array("1","2","3"); ## Add Your Rare Items ID to this array $ria = array_rand($ri,1); $common = mysql_query("SELECT * FROM `items` WHERE `itmid`='".$ri[$ria]."' LIMIT 1"); $ri = mysql_fetch_array($common); $query12=sprintf("INSERT INTO inventory VALUES('',$ri[$ria],$userid,1)",$c); $db->query($query12); $ritemf = $ritemf + 1; print " You found a/an {$ri['itmname']} !"; } else { echo "Nothing here."; } } ################################ ## CHANCE FOR SUPER RARE ITEM ## ################################ if ($chance == 10) { if ($chancesritem == 25) { ## RANDOM NUMBER FOR SUPER RARE ITEM srand ((double) microtime() * 10000000); $rip = array("1","2","3"); ## Replace numbers with your Super Rare Items ID to this array $ripa = array_rand($ri,1); $common = mysql_query("SELECT * FROM `items` WHERE `itmid`='".$rip[$ripa]."' LIMIT 1"); $rip = mysql_fetch_array($common); $query13=sprintf("INSERT INTO inventory VALUES('',$rip[$ripa],$userid,1)",$c); $db->query($query13); $sritemf = $sritemf + 1; print " You found a/an {$rip['itmname']} !"; } else { echo "Nothing here."; } } } $moneyf=number_format($moneyf); print " <hr></p> You found a total of [b] $crystalsf [/b]crystals. You found a total of [b] \$$moneyf. [/b] You found a total of [b] $itemsf [/b] Items. "; if ($ritemf > 0){ print "[b] You found a total of[i] $ritemf [/i]Rare Items.[/b] "; } if ($sritemf > 0){ print "[b] You found a total of[i] $sritemf [/i] Super Rare Items.[/b] "; } print "<hr>"; if($ir['searches']==0) { print("You have searched all you can for today. Come back at newday. [url='explore.php'][i]back to city[/i][/url] "); return; } else { print " <form method=post action=searchdowntown.php?action=search><input type=hidden name=action value=search><input type='text' name='search' value=' {$ir['searches'] }'> <input type=submit value='Search'></form>"; } } $h->endpage(); ?>
  4. So it seems the WELCOME TO WIZWYCH block is the problem as ive noted the THANKS GOTO is always the correct size.... Should now hopefully be fixed...
  5. Id have to say MCCODES is like Lego you can keep building on it and improving it. I havent found a limit yet to which i can safely say "Ah well i can do no more" and i dont mean to make MCCODES sound big headed, But as an engine its very easy to use and Addons mods are very easy to implement. The lack of security will always be an issue but as people have proven this can be cured. Time patience and effort will see an owner have an exceptional game on their hands, Those that are just hoping to install setup and make public however wont get as many rewards.
  6. Just so the person who takes on this realises the scale there are 35 search areas each needing a 100 x100 Thumbnail image and a Different Image for the inside area at 600 x 600, There are 534 items in total each need an image or some can be replicated
  7. I have that problem as well sometimes when i hover mouse over sreen must be the image logo size or the css causing it
  8. I did want the background to have an image of a witch and a wziard face to face on each side of the screen with a lighting bolt between them
  9. I can't understand it i think its due to peoples Different Monitor size not just the resolution as for me it looks fine. If anyone sees it differently can you show me a pic please.. stating your Monitor size and res your using on it.
  10.   Sorry your not the type of person im looking for if your prepaired to make me wait at this stage. Id dread to think how long id be waiting once your employed... So i'll make your mind up for you :)
  11. http://www.wizwych.com
  12. As some people here know ive been busy building a game site... Based on Witches and Wizards its been a long toll but pleased to say the site will be ready for applications in about 1 - 2 weeks... I'll try answer some usual asked Questions.. Q = What makes your game stand out from the rest A = It doesnt as everyones game is Unique to them, However i hope this game is unique to players. Q = What makes it Unique then ? A = The game is based on 2 Characters and works well so characters can only interact on certain parts of the game, A prime example is that a Wizard cant have Items that a Witch may have. The witches Currency is different from that of the Wizard. Q = Does it have Searching Areas ? A = Yes the Areas follow a story so level 1 is the beginning and progresses as the user unlocks upper levels. The levels can be overtaken by other AI characters in the game and just to spice things up they can steal your levels or even make levels harder to search by removing Items you were used to finding and repllacing those items or outcomes with random outcomes.... Q = What are the weapons like ? A = There are no weapons at all in the game as its based on spells and conjuring potions for both characters. WizWych Anymore questions gizza shout...
  13. I didnt ask for a wizard just the cloak if your going to add more work for yourself your not going to get work done to deadlines.
  14. George send me a 200 x 200 any format sample image for the sake of this sample the theme for you to create would be a wizards cloak...
  15. Due to the near completion of my current project. I am seeking 1 or 2 Graphic artists for original concepts, artwork, Ideas if your a google images stealer then dont bother wasting my time. Your work should meet requirements of the projects art and MUST be original. Must Adhere to strict deadlines where possible... Payments for artwork depends on size and complexity. If your Interested in this opportunity send me 1 sample of your work no greater than 200 x 200. Not bothered if its water market but keep watermark transparency to a minimum... Send to my inbox on here with details of what made you create the image and what the image stands for to you,,,
  16. try changing <center>Property:</center> {$p['hNAME']} <center></center>"; to <center>Property:</center> {$ir['hNAME']} <center></center>";
  17. Have you setup your IPN redirect from Paypal as well. You will need to login to your paypal account HOW TO SET UP IPN FROM PAYPAL. 1 = From your account click on PROFILE 2 = On the next screen choose Instant Payment Notification Preferences 3 = On the next screen click CHOOSE IPN SETTINGS 4 =On next screen enter http://www.YOURWEBSITE.com/ipn_donator.php where it says Notification URL and click the button that says Receive IPN messages (Enabled) Then click SAVE. And your done.
  18. I use Notepad++ has some nice addons that can be downloaded.. However the updating of Notepad++ Isnt always an easy task
  19. Yep finally decided to create my own game and with the ideas and imagination for mods ive created on MWG and with feedback from other players even though they were not sure why i was asking questions its taken 2 years to decide what i want to put into it. Research.. A lot of time has been focused on reading books and using google for Research into the type of game i want to create so i dont mess up on details and end up looking silly with items or backdrops that were not present for the era of the game... Reasearch in to game life span has been taken into consideration and was focused on user games for MCC. I wanted to work out where Players spent most of their time on which pages not just being idle on the page but how many times that particular page was visited. I estimated that if a user stayed on a page for less than 1 minute then that page would surpass pages being placed on for over 1 minute. So the idea is to make each page have give information so the user isnt drawn away from other pages.. Will continue this in a sec daughter needs me.
  20. Ive been working on my own game and recently came across a Bug that for some reason was being a Pain to Cure.. So this message is a great big thankyou to DJKANNA who spotted the error and fixed it for me.. Cheeers pal your a star.
  21. Uridium

    2010 Fwc

    Its not about the sport LordDan even i detest football but when my country plays im proud to watch and support them ;)
  22. Uridium

    2010 Fwc

    I dotn think England look as strong as they used to do in previous world cups and as long as rooney stays out of trouble.
  23. Then what you need is fatigue v max_fatigue so when max_fatigue is reached you cant attack
  24. Probably because there hasnt been any decent Additions :)
  25. me personally i would have used Rand for the Fatigue from say 5-25 thats way users cant always be Guaranteed the same rise.
×
×
  • Create New...