FOOL3D Posted April 20, 2007 Posted April 20, 2007 I've got alot of little problems on my game and because im new to coding im a slow at fixing things so i thought i'd post a list of the problems here then anyone who as a spare 10 minutes to help can, im using mccodes v2. ------------------------------------------------------ Run from fights - NOT FIXED Losing all exp for accident double clicking in fights - NOT FIXED When attack loses they dont go to hospital - NOT FIXED Attacking ppl who have no weapon - NOT FIXED Deleting friends from contact list - NOT FIXED Deleting posts/topic from forums - NOT FIXED Cant accept surrenders - NOT FIXED ------------------------------------------------------ No run option while fighting, i know this is a mod not something broke but if someone could give me a run option that would be great. When someone accidently double clicks while fighting they lose all their exp. When someone attacks and the attacker loses they dont go to hospital. When someone attacks another person who as no weapon at all, the person with the fists somehow hits 1000s causing the person with fists to 1 hit the attacker. Contact list - When i try to remove people it says removed but doesnt acctually do anything, note thats the CONTACT list not the friends list. } function remove_friend() { global $db,$ir,$c,$userid; $q=$db->query("SELECT * FROM contactlist WHERE cl_ID={$_GET['f']} AND cl_ADDER=$userid"); if($db->num_rows($q) == 0) { die("Cannot remove a nonexistant entry."); } $r=$db->fetch_row($q); $db->query("DELETE FROM contactlist WHERE cl_ID={$_GET['f']} AND cl_ADDER =$userid"); print "Contact list entry removed! [url='contactlist.php']> Back[/url]"; } Cant delete posts in the forums - I use a in-game forum and everything seems ok apart from deleting posts doesnt work.. function delepost() { global $ir, $c, $userid, $h, $bbc, $db; if($ir['user_level'] < 2) { die(""); } $q3=$db->query("SELECT * FROM forum_posts WHERE fp_id={$_GET['post']}"); $post=$db->fetch_row($q3); $q=$db->query("SELECT * FROM forum_topics WHERE ft_id={$post['fp_topic_id']}"); $topic=$db->fetch_row($q); $u=mysql_escape($post['fp_poster_name']); $db->query("DELETE FROM forum_posts WHERE fp_id={$post['fp_id']}"); print "Post deleted... "; recache_topic($post['fp_topic_id']); recache_forum($post['fp_forum_id']); stafflog_add("Deleted post ({$post['fp_subject']}) in {$topic['ft_name']}"); } function deletopic() { $q=$db->query("SELECT * FROM forum_topics WHERE ft_id={$_GET['topic']}"); $topic=$db->fetch_row($q); $db->query("DELETE FROM forum_topics WHERE ft_id={$_GET['topic']}"); $db->query("DELETE FROM forum_posts WHERE fp_topic_id={$_GET['topic']}"); print "Deleting topic... Done "; recache_forum($topic['ft_forum_id']); stafflog_add("Deleted topic {$topic['ft_name']}"); } Accepting surrenders dont work - function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print " Choose who to surrender to. Gang: "; $wq=$db->query("SELECT * FROM gangwars where warDECLARER={$ir['gang']} or warDECLARED={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $d=date('F j, Y, g:i:s a',$r['warTIME']); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "{$them['gangNAME']}"; } print " Message: "; } else { $_POST['war'] = abs((int) $_POST['war']); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['war']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $db->query("INSERT INTO surrenders VALUES('',{$_POST['war']},{$ir['gang']},".$r[$f].",'{$_POST['msg']}')"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] have asked to surrender the war against [url='gangs.php?action=view&ID={$them[']{$them['gangNAME']}[/url]"); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')"); print "You have asked to surrender."; } } Quote
hamster01 Posted April 20, 2007 Posted April 20, 2007 Re: Alot of help needed This is exactly why people pay to get things fixed. ;) If i had 10mins free id do it for you but tooo busy :'( Quote
UCC Posted April 20, 2007 Posted April 20, 2007 Re: Alot of help needed I'm afraid to help anyone anymore with stuff like this since you dont know who's using illegal software and who's legit Quote
hamster01 Posted April 20, 2007 Posted April 20, 2007 Re: Alot of help needed Yes that to for me.. Forgot to mention it ;) Quote
FOOL3D Posted April 20, 2007 Author Posted April 20, 2007 Re: Alot of help needed I dont understand how they can be illegal, theyre scripts that come with the basics not add-ons. This forum is ment to be for helping people as far as i knew so i asked for help and i get acused of using illegal scripts :? Quote
UCC Posted April 20, 2007 Posted April 20, 2007 Re: Alot of help needed I dont understand how they can be illegal, theyre scripts that come with the basics not add-ons. This forum is ment to be for helping people as far as i knew so i asked for help and i get acused of using illegal scripts :? So you're using illegal versions of the code, thanks for clarifying. Quote
HITMAN 17 Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed i thought people are suppose to help come on help a little Quote
AlabamaHit Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed use the search everything you asked in is this forums you just have to find it. Quote
HITMAN 17 Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed i know there are some fixes but not all Quote
Hash-Op Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed Illegal?..it's damn open source man... Who cares?! And hey, I doubt you'll get this done without paying someone Quote
Tonka Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed Illegal?..it's damn open source man... Who cares?! And hey, I doubt you'll get this done without paying someone MC Codes v2 is not open source $Bull$$ EYE$ what was the point in posting in a topic that hadn't been posted in since April 20, 2007 Quote
HITMAN 17 Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed kust to try to get a few more bugs fixed :roll: Quote
AlabamaHit Posted October 31, 2008 Posted October 31, 2008 Re: Alot of help needed I bet that EVERY bug in MCcodes is on here. and is FIXED...if you just look... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.