Jump to content
MakeWebGames

kenja

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by kenja

  1. kenja

    GRPG Forum

    Re: GRPG Forum thanks guys,i agree i would be good to have mods for other game engines on here
  2. kenja

    Voting Help

    I have GRPG and it is sent up for incentive voting and i want it setup were members can vote and get there rewards from the game..if anybody knows how to do this i will pay you for doing it
  3. kenja

    GRPG Forum

    does anyone know were i can get a forum for grpg..i will even buy it if the price is right
  4. Re: Attack lost Help thanks CrazyT and Cronus +1
  5. Re: Attack lost Help this is my attacklost.php <?php $atkpage=1; include "globals.php"; $_GET['ID']==abs((int) $_GET['ID']); $_SESSION['attacking']=0; $_SESSION['attacklost']=0; $od=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']}"); if($db->num_rows($od)) { $r=$db->fetch_row($od); print "You lost to {$r['username']}"; $expgain=abs(($ir['level']-$r['level'])^3); $expgainp=$expgain/$ir['exp_needed']*100; print " and lost $expgainp% EXP!"; $db->query("UPDATE users SET exp=exp-$expgain, attacking=0 WHERE userid=$userid"); $db->query("UPDATE users SET exp=0 WHERE exp<0"); event_add($r['userid'],"{$ir['username']} attacked you and lost.",$c); $atklog=mysql_escape_string($_SESSION['attacklog']); $db->query("INSERT INTO attacklogs VALUES('',$userid,{$_GET['ID']},'lost',unix_timestamp(),0,'$atklog');"); $warq=$db->query("SELECT * FROM gangwars WHERE (warDECLARER={$ir['gang']} AND warDECLARED={$r['gang']}) OR (warDECLARED={$ir['gang']} AND warDECLARER={$r['gang']})"); if ($db->num_rows($warq) > 0) { $war=$db->fetch_row($warq); $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+1 WHERE gangID={$r['gang']}"); $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-1 WHERE gangID={$ir['gang']}"); print " You lost 1 respect for your gang!"; } } else { print "You lost to Mr. Non-existant! =O"; } $h->endpage(); ?>
  6. How can i change it so when someone loses a fight they don't lose exp?
  7. kenja

    Register

    Re: Register $q=mysql_query("SELECT * FROM users WHERE laston<unix_timestamp()-86400*10 ORDER BY laston DESC",$c);
  8. kenja

    Register

    Re: Register ok..never mind i got it fixed just had to add @ $ar=mysql_fetch_array($q); - old $ar=@mysql_fetch_array($q); - new
  9. kenja

    Register

    Re: Register 25- { 26- $set[$r['conf_name']]=$r['conf_value']; 27- } 28- if($db->num_rows($q)) 29- { 30- $ar=mysql_fetch_array($q); 31- } 32- //thx to http://www.phpit.net/code/valid-email/ for valid_email 33- function valid_email($email) { 34- // First, we check that there's one @ symbol, and that the lengths are right 35- if (!ereg("^[
  10. kenja

    Register

    i am using v2..on my register page i get this error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/kenja/public_html/register.php on line 30 here is line 30- $ar=mysql_fetch_array($q);
  11. Re: [V2] Mug feature with Stats! and i would like to thank AlabamaHit and Zero-Affect... +1
  12. Re: [V2] Mug feature with Stats! thanks +1 to ya works great 2Pacalypse
  13. kenja

    jail bust&exp

    Re: jail bust&exp never mind i got it i just had to add $db->query("UPDATE users SET exp=exp+500 WHERE userid=$userid"); in jailbust.php
  14. i have v2.how can i add 500 exp for jail bust?
  15. kenja

    car mod help

    Re: car mod help ok i fixed it.thanks Lithium +1
  16. kenja

    car mod help

    Re: car mod help here what it says in my acceptchallenge.php if(!$id || !$car) { die("Invalid Usage"); }
  17. i have the car mod running but when i accept challenge i get Invalid Usage.can someone tell me why or how to fix it?
  18. kenja

    Luck Dip

    anybody have a good luck dip script from mccode v2?
  19. Re: phpjobscheduler thanks everybody +1 to all
  20. kenja

    host

    Re: host thanks
  21. kenja

    host

    what would be a good web host for mccode?.some site won't let you use game scripts i was thanking about hostgator
  22. Re: phpjobscheduler thanks +1
  23. Re: phpjobscheduler thanks Lithium..is there anyway i can make my crons work on a free host
  24. Re: phpjobscheduler crons are setup right when i click on test path they work great.they wont run automatically
  25. Re: phpjobscheduler i add my crons to it but it doesn't work.not sure what i,m doing wrong.i am using a free host so i need to use phpjobscheduler
×
×
  • Create New...