Jump to content
MakeWebGames

radio_active

Members
  • Posts

    693
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by radio_active

  1. Re: Attack problem Post your attack.php file.
  2. Re: The Standards of CE Mod! Well im glad to see there is some changes and im happy i made this Topic, many different point of views and actual CHANGE coming from the administration which is good to see. :-D
  3. Re: The Standards of CE Mod! No, Nurples posted one free modification, he was how i find out about CE, he showed me a script he wrote, i believe it was a Validation script but i cannot remember, either way he posted in the Free Mods!
  4. Re: The Standards of CE Mod! I dont think you have read any of the posts...Its not getting rid of the Free Game Mods, its cleaning up all the shit in side it, making new boards for new people to post there free mods on, and more advanced coders to post there free mods on... You say your such a good coder but i havnt i dont know anyone who has seen your work!
  5. Re: The Standards of CE Mod! It depends on what you state as "Quality" Whilst Nyna and Floydian do very secure and brilliant coding (I havnt seen lukes work), you are putting that on a level of "Highly Advanced" to "In-Human" The quality that im talking about is to do with people who make scripts for the community that are quite secure and take time to code. Whilst the three you stated are good coders, you would find the Free mods section empty as they're contribution isnt much (They dont spend there time making scripts for games to post for free) which is very understandable. The list i made had some extras who post fairly frequently and they're coding is not completly useless such as, well 20/27 of the pages in the Free Mod Section. Also that list as i said in my last post was just made off the top of my head, people can be added and minues from the list, that was just my opinion apon posting. So whilst your idea of Quailty is of those three coders, i am talking about getting it back to what it used to be 1+ years ago. Where people like Nurples, Oxi etc were posting, when the Free Mod Section was about 5 pages long (when i joined). Get it back to more quality and less quantity. that is all
  6. Re: The Standards of CE Mod! The easiest way to do this would be like this!   Game Modifications: ---------Paid Game Scripts ---------Script Requests   --------Advanced Mods ---------Free Modifications -------- Intermediate Mods --------- Begginer Mods     Each post has a rating system, below 5 goes into begginer - 5.1-8 is intermediate and 8.1-10 is advanced! However there could be some contraversy with people not like others so demeaning them and posting low scores on a good mod!     The list i made on my previous post is just an insight, i posted the few coders who i have seen there work and believe it to be good, it may be completly different however, i was just making a llist to begin with!   Edit: Made the Table slightly clearer!
  7. Re: The Standards of CE Mod! You would put people who are decent at coding and are helpful to the community! eg Richard Nyna War Hero (New but really excelling) Floydian Zero Affect Killah Halo I cannot think of many at the moment but that is a base...I would not count myself in as i dont really code much and have only added a few scripts to the community! However you may also have an "Apply For" section where people may apply showing there work, coding experience etc...
  8. Re: The Standards of CE Mod! Lets wait and see what mdshare thinks then!
  9. Re: The Standards of CE Mod! I agree with Killah, Mod Approvals would be a good idea, just look at this... So many of those scripts are just stolen, or reposted...Im sick of it, take Killahs brothel mod for example, that has been taken and changed a few words like 20 times then posted again, its really pissing me off, i mean christ!
  10. Hello, I remember back in the days when there was only say 6 pages for free mod selection. I remember when they used +1 and -1 instead of credits. I remember when the QUALITY of Criminal Existence Scripts were actually good..   People who could actually code were the only ones who posted and the posts were good quality scripts... Have you noticed that there are now 27 pages or so of free mod selections, about 1-2 pages are good quality scripts and the rest is just shit that people who cant code post because they want to get creedits and look cool...About 15+ of those pages are scripts that have had maybe a few words modified and then posted under someone elses name! Have you noticed whenever you click on free mod selection there is a new script which someone who doesnt know how to code decently has taken someone elses script from the free mods then posted it again with different words? I tell you.. What is the fucking point? CE has gone from Quality and less Quanity to Quantity with less quality, id suggest only if you are a older member to post on this thread if you do so! I do not know about you guys but im getting sick of all these mods coming out, 6/7 turn into arguments of stolen scripts and the last 1/7 get a little praise from someone who also cannot code! I will add to this thread again but thats all i am posting to begin with, i would love to fix CE up, have all the shit deleted and get it back to normal! Thankyou
  11. Re: Enhanced Hall of fame [v2] COMPLETED! i would have thought that you would have put filters for SAy ID1 and NPC's, thats just common sense! Whats soo different about it? i find it pretty much the same as my own!
  12. Re: [V2] PJIRC Chat Mod [V2] yeah i get the same problem, whats the idea there?
  13. Re: Game Aim Mod   Honestly? Thats good to hear!
  14. Re: [v1][FREE] DONATION PACKS TO ITEMS   Yeah, why dont you actually give something to the community for once?
  15. Re: Game Aim Mod   Yeah thats like you, you take what you can but you give shit all back to the community...
  16. Re: Modification Help Why would you use a cron to do this? Would be much better to use a unix*timestamp so when they start making it counts down and just a $db->query to remove the energy! If your wanting to do this yourself, you might want to start off with making those pathetic *Slap* or *Poke* mods and then slowly improve. The query needed to select an item from inventory is a horrible but of code! I suggest instead of using that query, adding the code to make the item taking the energy and time to make, then when its completed, just have a little event that will then allow attacking whilst they are in Jail and when they go out of jail, the item isnt their anymore, hard to explain!
  17. Re: help Yes i had this problem and by putting my CSS sheets on an external file, problem fixed!
  18. Re: Gang surrender accept, SQL error. Congradulations, you have told us that like 4 times now!
  19. Re: Gang surrender accept, SQL error. FInd in the accept surrender function   list($_POST['war']) = $db->fetch_row($q);   replace with:   $_POST['war'] = $db->fetch_single($q);   And walah, it works! Fixed it
  20. Re: Gang surrender accept, SQL error.   function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { echo '<form action="yourgang.php?action=staff&act2=surrender" method="post"> Choose who to surrender to.[b] <input type="hidden" name="subm" value="submit"> Gang: <select type="dropdown" name="war">'; $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_assoc($ggq); echo '<option value="'.$r['warID'].'" name="war">'.$them['gangNAME'].'</option>'; } echo '</select> Message: <input type="text" name="msg"> <input type="submit" value="Surrender"></form>'; } else { $_POST['war'] = abs(@intval($_POST['war'])); $wq = $db->query("SELECT * FROM gangwars where warID=".$_POST['war'].") or die(mysql_error()); $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(NULL,".$_POST['war'].",".$ir['gang'].",".$r[$f].",'".$_POST['msg']."')") or die(mysql_error()); $ggq = $db->query("SELECT * FROM gangs WHERE gangID=".$r['$f']) or die(mysql_error()); $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."')") or die(mysql_error()); echo 'You have asked to surrender'; } } function gang_staff_viewsurrenders() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { print "<form action='yourgang.php?action=staff&act2=viewsurrenders' method='post'> Choose who to accept the surrender from. <input type='hidden' name='subm' value='submit' /> Gang: <select name='sur' type='dropdown'>"; $wq=$db->query("SELECT s.*,w.* FROM surrenders s LEFT JOIN gangwars w ON s.surWAR=w.warID WHERE surTO={$ir['gang']}"); while($r=$db->fetch_row($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w="You";$f="warDECLARED"; } else { $w="Them";$f="warDECLARER"; } $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); print "<option value='{$r['surID']}'>War vs. {$them['gangNAME']} (Msg: {$r['surMSG']})</option>"; } print "</select> <input type='submit' value='Accept Surrender' /></form>"; } else { $_POST['sur'] = abs((int) $_POST['sur']); $q=$db->query("SELECT surWAR FROM surrenders WHERE surID={$_POST['sur']}"); list($_POST['war']) = $db->fetch_row($q); $wq=$db->query("SELECT * FROM gangwars where warID={$_POST['sur']}"); $r=$db->fetch_row($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w="You"; $f="warDECLARED"; } else { $w="Them"; $f="warDECLARER"; } $db->query("DELETE FROM gangwars WHERE warID={$_POST['sur']}"); $event=str_replace("'","''","[url='gangs.php?action=view&ID={$ir[']{$gangdata['gangNAME']}[/url] have accepted the surrender from [url='gangs.php?action=view&ID={$them[']{$them['gangNAME']}[/url], the war is over!"); $ggq=$db->query("SELECT * FROM gangs WHERE gangID=".$r[$f]); $them=$db->fetch_row($ggq); $db->query("INSERT INTO gangevents VALUES('',{$ir['gang']},unix_timestamp(),'$event') , ('',".$r[$f].",unix_timestamp(),'$event')");print "You have accepted surrender, the war is over."; $db->query("DELETE FROM surrenders WHERE surID={$_POST['sur']}"); } }   Actually tried both of your posts!
  21. Re: Gang surrender accept, SQL error.   First error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dtoorg/public_html/yourgang.php on line 842 which is if($gangdata['gangID'] == $r['warDECLARER'])   using this code   function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { echo '<form action="yourgang.php?action=staff&act2=surrender" method="post"> Choose who to surrender to.[b] <input type="hidden" name="subm" value="submit"> Gang: <select type="dropdown" name="war">'; $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_assoc($ggq); echo '<option value="'.$r['warID'].'" name="war">'.$them['gangNAME'].'</option>'; } echo '</select> Message: <input type="text" name="msg"> <input type="submit" value="Surrender"></form>'; } else { $_POST['war'] = abs(@intval($_POST['war'])); $wq = $db->query("SELECT * FROM gangwars where warID=".$_POST['war'].") or die(mysql_error()); $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(NULL,".$_POST['war'].",".$ir['gang'].",".$r[$f].",'".$_POST['msg']."')") or die(mysql_error()); $ggq = $db->query("SELECT * FROM gangs WHERE gangID=".$r['$f']) or die(mysql_error()); $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."')") or die(mysql_error()); echo 'You have asked to surrender'; } }   Which is just the mysql querys changed to $db->querys!
  22. Re: Enerygy Used V2   <td>[b]Energy:[/b] {$ir['energy']}/{$ir['maxenergy']} {$enperc}% </td> <td>[b]Will:[/b] {$ir['will']}/{$ir['maxwill']} {$wiperc}% </td> <td>[b]Brave:[/b] {$ir['brave']}/{$ir['maxbrave']} {$brperc}% </td> <td>[b]EXP:[/b] {$experc}% </td> <td>[b]Health:[/b] {$ir['health']}/{$ir['maxhealth']} {$hpperc}% </td></tr>   That shows all of it...10/10 and 100%!
  23. Re: Gang surrender accept, SQL error. I have your accept_surrender function in.... you surrender_function did not work, had errors in it!
  24. Re: Last thing before i host my game Yes, then go into the code and at the bottom of the page, put something like... print "Cron Success"; Or something like that at the bottom of the page, then run the http://www.gameurl.com/cron_minute.php?code=XXXXX XXXXXX being the code in config.php and if you see the "Cron Success, it means your file is working correctly, if it doesnt, it should tell you where the error is!
  25. Re: Gang surrender accept, SQL error. Interesting, i manually started a war in the DB then manually made a surrender in the DB and accepted it and it worked... then i got a gang to declare and surrender and suprisingly enough, it didnt work...Im moved the code around so the "Delete from gangwars was at the top and the delete for surrenders was at the bottom so i could keep on testing it without having to send a new Surrender every time.... I then got a gang to declare war then made a surrender and also an error... So this leads me to think that the error is in either declare war function or the surrender function...Any ideas?
×
×
  • Create New...