Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. best response ive seen on here for a long time :)
  2. As Ecko mentioned you have to start somewhere we wasnt all good at what we do but as time went by we progressed so for me Keep up the good work Ecko
  3. Another easy way is to look at how the itemmarket uses the functiion it will point you on the right lines.
  4. you can use item_add($userid, $r['imITEM'], 1); change the $r['imITEM'] to match your Query the 1 denotes the Quantity given
  5. do you have SKYPE running at all ? I had sasme problem but with the Apache on Xampp shutting down Skype cured this
  6. didnt find much in the way of help but this may help you http://www.sevenforums.com/crashes-debugging/86568-mysql-server-wont-start.html
  7. half the games people produce using MCC as an engine for a mafia based game have no real insight into the mafia world...
  8. Ive seen a few lottery mods here and wasnt happy with how they worked... The system ive built can be run when ever the admin wants example 30 mins, hourly, 24 hours or weekly also comes with player history. Easy to use sytem gives out 5 Prizes which can be defined by the person setting it up cost per ticket and tickets can be regulated.. heres a demo http://www.wizwych.com/mcnewversion/ goto town and click on Lotto Cost per ticket is set at $1 and 100 tickets per user can be baught for now.. Feed back is always good... Nearly forgot this is for V2.0 only versions of redux i havent done yet...
  9. seems he's asking nearly every game development website for help and they all mention issues within EA. I for one would love your project to take off would be nice to play TSO but until you can sort out the Legalities within your project I cant really see how you can call it TSO i know for a fact that EA arnt a force to be reckond with and when they bite they dont let go, a friend of mine Tim Wright (CoLDSToRAGE) nearly had a legal wrangling with them and even he was glad it was all over. I will wish you all the luck though and hope you pull this off. However my knowledge of what your looking for is way out of my league im still getting to grips with PHP...
  10. Which version of mcc are you using ? to me this looks like V1 or Lite ?
  11. attackimageuploader.php wow that brings back some memories :)
  12. John when posting an error try and copy 4 linesd above and 4 lines below the error line so we have a better picture
  13. Dont worry Guys and Gals SUPERMAN is on the case (Tries to do theme tune bu fails miserably) Iv'e finally got a copy of Redux and am working my way through each problem i find. At an early glance though i find REDUX quite complicated to work with from other versions of MCC when i made the Theme changer for REDUX It wasnt as straight forward as id hoped which usually is how i work. But apart from that overall its decent and im not saying this cos im friends with paul i can see a lot of work has goine into it. More to the Point though we cant blame Paul and Alain here they have done an excellent job with what they have had to work with so hats off too ya guys..
  14. I think we are Jumping OFF TOPIC here lets get back on track cos it saves me Locking this thread cos its nice and i like nice things :) the Topic was about Errors being reported not your feelings towards it...
  15. This mod never actually Dragged and Dropped it was purely for menus to be expanded re-tracted that users didnt use that often.
  16. Your welcome :)
  17. change $cnt_h = $db->query('SELECT `hID` FROM `houses` WHERE `hID` = '.$_POST['ID']); to on line 54 $cnt_h = $db->query('SELECT `hID` FROM `houses` WHERE `hID` = '.$_POST['id']);
  18. if your like me and hate Underlined links the open up the css from your template and change a:visited,a:active,a:hover,a:link { color: #000000; text-decoration: underline; } to a:visited,a:active,a:hover,a:link { color: #000000; text-decoration: none; }
  19. On the REDUX its possible for admins to change game theme However users cant so this Mod will let you do that.. Open up Global/header.php right at bottom find   $htmlcontent['game']=ob_get_clean(); include "template/{$set['game_template']}/template.php";   Overwrite with this one   $htmlcontent['game']=ob_get_clean(); $q=$db->query("SELECT game_template FROM users WHERE userid=$userid"); $r=$db->fetch_row($q); include "template/{$r['game_template']}/template.php";   Now open up Mods/preferences.php add this is to the cases case 'template': template(); break; Same file add this Link to the rest of the links <a href='".gen_url('preferences',true)."&action=template'>Change Theme template</a><br /> scroll down page to the last >> $h->endpage(); and just below it add   function template() { global $db,$ir,$c,$h,$userid,$set; $templates = glob('template/*' , GLOB_ONLYDIR); $_POST['game_template'] = ( isset($_POST['game_template'])&&in_array('template/'.$_POST['game_template'],$templates) )?$_POST['game_template']:''; if ( $_POST['game_template'] ) { if ( $_POST['game_template'] === $r['game_template'] ) { echo 'You cannot change the template to the existing template.<br />> <a href="'.gen_url('preferences',true).'">Goto Main</a>'; die($h->endpage()); } $db->query("UPDATE `users` SET `game_template` = '".$_POST['game_template']."' WHERE `userid` = $userid"); echo 'Template successfully update.<br />> <a href="'.gen_url('preferences',true).'">Goto Main</a>'; } else { echo ' <form action="'.gen_url('preferences',true).'&action=template" method="post"> <table class="table" cellpadding="1" cellspacing="1" width="55%"> <tr> <th colspan="2">Change Template</th> </tr> <tr> <th>Template</th> <td><select name="game_template">'; foreach ( $templates as $key => $value ) { $the_value = substr($value, 9); $selected = ($ir['game_template']==$the_value)?'SELECTED':''; echo '<option value="'.$the_value.'" '.$selected.'>'.ucwords($the_value).'</option>'; } echo '</select></td> </tr> <tr> <th colspan="2"><input type="submit" value="Change Template" /></th> </tr> </table> </form> '; } }   now goto your templates folder with the named folders inside and edit each template.php overwriting   <link href="template/<?php echo $set['game_template']; ?>/template.css" type="text/css" rel="stylesheet" /> </head>   Updating with this one   <?PHP $q=$db->query("SELECT game_template FROM users WHERE userid=$userid"); $r=$db->fetch_row($q);?> <link href="template/<?php echo $r['game_template']; ?>/template.css" type="text/css" rel="stylesheet" /> </head>   add a new field to the users table called game_template VARCHAR(255) NOT NULL default = "Default"; Now your users can enjoy all your themes.....
  20. On my version if made it possible for users to select the Theme they want rather than the admin doing it will Post in new thread when fully tested
  21. Overall nice layout nice usage of the admin panel found a few Bugs though with the help of Rulerofzu 1 = Admin panel View user inventory should have a text based search aswell as a dropdown 2 = Anywhere on the staff panels with a dropdown should also have a text based search 3 = Admin can change the game theme I noticed in Prefs that users cant 4 = Created a Test Poll Cant find a link for users to actually see the poll ? 5 = stafflist says im offline when im online 6 = Underlined links from themes id change to none looks better 7 = Attack when no weapons equipped cant attack yet theres mention of hands ? 8 = Users evading attacks by URL or back button should be placed back in attack rather than losing EXP 9 = Sort out the Spelling Errors IE on newspaper prehaps should be perhaps changing of staff passwords says "NOT" instead of "NOTE" 10 = Get rid of mentions of Users profit and gains from userlist and staff, Users who know what users have will continously attack that users rendering the game unfair. 11 = Missing forum images from images folder pin/lock/delete images and a default avatar 12 = Cannot Create a/an new Item with zero sell price 13 = When sending an Email if incorrect then page graphics arnt displayed only on a white screen.... 14 = No delete function for sent Mail. 15 = Hospital count doesnt work in the main menu. 16 = Reporting a player....a player can be reported but the admin gets no notification and there is no link anywhere to see reports 17 = Create a gang from Explore page if insufficient funds to create gang white page is shown no graphics... 18 = staff credit user you cannot credit money and points at the same time I just tried and it says $0 and 1000 points 19 = friendslist says MOST HATED instead of MOST LIKED... 20 = When withdrawing 0 from bank >> You ask to withdraw 0, the banking lady grudgingly hands it over. You now have $0 in the bank. 21= jobs create a job and a promotion and then try and get promoted query error 22 = if i try and donate to my gang works with crystals but not with cash says invalid amount and then when i try and give myself back 10 points it says invalid amount
  22. Ive just got a copy of Redux I noticed when changing any passwords for admin/sec/ass if i just wanted to change Admin pass i cant i have to change the whole lot which to me is quite silly especially when it dont even tell you the Orig pass to begin with. Why not make a dropdown and lwet the admin decide which pass they want to change instead of changing the whole 3 Infact ignore this just realised it writes to create a file for the passwords
  23. I cant even load the pages Teath listed my malware progam seems to think its malicious It probably isnt but it blocked it anyway 16:19:21 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:27 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:33 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:36 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:19:42 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:30 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:33 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:39 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:51 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:20:54 Dad IP-BLOCK 46.243.8.39 (Type: outgoing) 16:21:00 Dad IP-BLOCK 46.243.8.39 (Type: outgoing)
  24. RulerofZu has a valid point there are WAYYYYYYYYYYYYY too many Mafia styled games and im afraid too say that a lot are of a very high standard even games with people coming out of jail and making something of themselves. Best idea i can give is dont look at a person in the game at face value look beyong them example if i asked everyone to write a story about horse racing i can guarantee that everyone would take the place of the jockey. me on the other hand would try to write it through the eyes of the horse instead :)
  25. Kr3W care to share how you finally got it working incase this happens to others :)
×
×
  • Create New...