Jump to content
MakeWebGames

peterisgb

Members
  • Posts

    785
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by peterisgb

  1. can anyone help, i dunno why its not working right, i've looked at it myself and seems to be right, but it cant be as its over100%
  2. yh its set to 1000 and thanks for that, i just made the home page n tottally forgot about the blue box lol, but yh its set to 1000 and the level up part is in globels.php but still dont work, just goes over 100%, its confusing lol
  3. dont want to be rude but this is for v1 not v2
  4. well i'm still very new to coding so i aint that good lol
  5. yh lol, oh well its kwl, i'm bit to lazy to work on my game all the time even tho i should be but meh lol
  6. lol na, i'm not orginally from lancashire, i was born and raised in sunny cornwall but moved to blackpool in december and preston since july, but na i dont think lancashire people are that lazy tbh lol
  7. nope and lucky that is a good itea but i aint good at pic making so making a pic for each item would be a pain in the ass for me and nope i havent used the attack system as i cba editing loads of stuff for it to work with it lol
  8. lol random
  9. this is a good mod, i've edited mine a little tho, i'll post what i have done, yh ino the codes looks messey but i'm a learner lol What this mod does is only little but it adds a image to the inventory and when someone equips there weapon/armour/ring or what have so the image of that item they added goes onto the pic, as from mine i have equiped the helmet and the weapon and as u can see those items show on the pic :) <style type='text/css'> dl.image_map {display:block; width:117px; height:301px; background:url(man.jpg); position:relative; margin:2px auto 2px auto;} a.LINK0 {left:34px; top:0px; background-image:url(img/helmet.jpg);} a.LINK0 {display:block; width:52px; height:0; padding-top:52px; overflow:hidden; position:absolute;} a.LINK1 {left:89px; top:155px; background-image:url(img/ring.jpg);} a.LINK1 {display:block; width:23px; height:0; padding-top:22px; overflow:hidden; position:absolute;} a.LINK2 {left:90px; top:136px; background-image:url(img/braclet.jpg);} a.LINK2 {display:block; width:23px; height:0; padding-top:22px; overflow:hidden; position:absolute;} a.LINK3 {left:35px; top:48px; background-image:url(img/special.jpg);} a.LINK3 {display:block; width:47px; height:0; padding-top:21px; overflow:hidden; position:absolute;} a.LINK4 {left:19px; top:267px; background-image:url(img/boots.jpg);} a.LINK4 {display:block; width:76px; height:0; padding-top:31px; overflow:hidden; position:absolute;} a.LINK5 {left:22px; top:65px; background-image:url(img/armour.jpg);} a.LINK5 {display:block; width:74px; height:0; padding-top:204px; overflow:hidden; position:absolute;} a.LINK6 {left:0px; top:150px; background-image:url(img/gun.jpg);} a.LINK6 {display:block; width:32px; height:0; padding-top:65px; overflow:hidden; position:absolute;} a.BLINK {left:115px; top:299px; background:transparent;} a.BLINK {display:block; width:202px; height:17px; overflow:hidden; position:absolute; font-size:0px;} a.BLINK:hover {background:black; border:1px dashed white; color:white; font-size:9px;} </style> <dl class='image_map'> "; if($equip[$ir['equip_helmet']]['itmid']) { print "<dd><a class='LINK0' title=''>[img=/img/helmet.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_primary']]['itmid']) { print "<dd><a class='LINK6' title=''>[img=/img/gun.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_armor']]['itmid']) { print "<dd><a class='LINK5' title=''>[img=/img/armour.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_ring']]['itmid']) { print "<dd><a class='LINK1' title=''>[img=/img/ring.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_braclet']]['itmid']) { print "<dd><a class='LINK2' title=''>[img=/img/braclet.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_special']]['itmid']) { print "<dd><a class='LINK3' title=''>[img=/img/special.jpg]</a></dd>"; } else { print ""; } print ""; if($equip[$ir['equip_boots']]['itmid']) { print "<dd><a class='LINK4' title=''>[img=/img/boots.jpg]</a></dd>"; } else { print ""; } print " </dl> which i added after if($equip[$ir['equip_special']]['itmid']) { print $equip[$ir['equip_special']]['itmname']."</td><td>[url='unequip.php?type=equip_special']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td> </td>"; } print "</tr> </table><hr /> ino its little but i did do it on my own with no help :) screenshot below
  10. kwls and yh i think card images should be added, but dont add the cards, make people that want it badly get the cards lol, but yh i think u should add it
  11. hmm good mod, but just a little query, i dont know much about coding but adding cards in would like be better. the code here else if ($_POST['choice'] && $_POST['oldnum'] && $_POST['bet']) // Player chose high/low { $newnum = number_format(rand(1,10)); $oldnum = $_POST['oldnum']; $guess = $_POST['choice']; $bet = $_POST['bet']; could like this be added to make the cards show, if ($guess == 1 { print ""; } else if ($guess == 2 { print ""; } else if ($guess == 3 { print ""; } etc, would that work or not??
  12. yh i have that to but still not working, i have both of them, i tried one of them and ther other one on its own but its not working afta level 8 on mining
  13. ok, well i; sure some1 might help, tbh i aint that good either but learning, but ya should have a go at learning it
  14. open inventory, find   print " [[url='itemuse.php?ID={$i[']Use[/url]]"; } if($i['weapon'])   after the </a>] add this [Merge] so it looks like this   print " [[url='itemuse.php?ID={$i[']Use[/url]][[url='merge.php']Merge[/url]]"; } if($i['weapon'])   this should be easy, even for a n00b, i'm a n00b and that was easy, tbh i think you should try to learn it if your going to have a game
  15. thanks, i'll get there, learn by trial and error
  16. ok, well i hope that this heps to peope that need it anyway
  17. wow looks nice aurora, look forward to seeing this
  18. i add this and yet mine still goes over 100% still with that extra bit   function get_mine() { global $ir,$c,$userid,$db; if($ir['mine_exp'] >= $ir['mine_needed']) { $db->query(sprintf("UPDATE users SET mine_level=mine_level+1, mine_exp=0, mine_needed=mine_needed+100, max_power=max_power+1 WHERE userid=%u", $userid)); } }   i tried this but yet not work, any ideas
  19. good mod, tho looking at it is there anyway to add a percentage, i think percentages would be good, its all good saying its gone up bleh amount but what about percentages e.g     iphone $1,000 +$1,500 +$500? %50? Buy Or View would some1 be abel to hep me add this one, i'm sure others woud probs like this to if they use this mod
  20. the ' has been removed, and yh ino its a basic mod but there some people that aint that good, and/or havent though of it but as i am learning i though i woud put some of the work i am doing as i go along
  21. this is only a little mod, but as i aint that good its ok i suppose, but some1 might like it and use it, this allows the gang owner to set level requirements for users wishing to join the gang see on the view gang page before they join to save them putting it in descriptions ? ok open creategang.php and find $name=htmlspecialchars($_POST['name']); $desc=htmlspecialchars($_POST['desc']); $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,1000,$userid,$userid,5,0,0,'')"); and replace with $name=htmlspecialchars($_POST['name']); $desc=htmlspecialchars($_POST['desc']); $req=htmlspecialchars($_POST['req']); $db->query("INSERT INTO gangs VALUES('','$name','$desc','$req','','',0,0,1000,$userid,$userid,5,0,0,'')"); the save and close, then open yourgang.php and find case "desc": gang_staff_desc(); break; and below add case "req": gang_staff_req(); break; and the link of course below "Change Gang Requirements. " then look for function gang_staff_desc() { global $db,$ir,$c,$userid,$gangdata; if($gangdata['gangPRESIDENT'] == $userid ) { if(isset($_POST['subm'])) { $_POST['vp']=str_replace(array("<", ">", "\n"), array("<", ">", " "), $_POST['vp']); $db->query("UPDATE gangs SET gangDESC='{$_POST['vp']}' WHERE gangID={$gangdata['gangID']}"); print "Gang description changed! <br /> <a href='yourgang.php?action=staff'> Back</a>"; } else { print "Current Description: <br /> {$gangdata['gangDESC']} <br /> <form action='yourgang.php?action=staff&act2=desc' method='post'> Enter the new description.<br /> <br /> <input type='hidden' name='subm' value='submit' /> Desc: <br /> <textarea name='vp' cols='40' rows='7'></textarea> <br /> <input type='submit' value='Change' /></form>"; } } } below that add function gang_staff_req() { global $db,$ir,$c,$userid,$gangdata; if($gangdata['gangPRESIDENT'] == $userid ) { if(isset($_POST['subm'])) { $_POST['vp']=str_replace(array("<", ">", "\n"), array("<", ">", " "), $_POST['vp']); $db->query("UPDATE gangs SET gangREQ='{$_POST['vp2']}' WHERE gangID={$gangdata['gangID']}"); print "Gang Requirements changed! <br /> <a href='yourgang.php?action=staff'>Back</a>"; } else { print "Current Requirements: <br /> {$gangdata['gangREQ']} <form action='yourgang.php?action=staff&act2=req' method='post'> Enter the new requirements.<br /> <input type='hidden' name='subm' value='submit' /> <br /> <textarea name='vp2' cols='40' rows='7'></textarea> <br /> <input type='submit' value='Change' /></form>"; } } } then save that file, then open gangs.php and look for <b>Description: </b> {$gangdata['gangDESC']} below that add <br /><b>Requirements: </b> {$gangdata['gangREQ']} then save that file then import this into your phpmyadmin ALTER TABLE gangs ADD gangREQ text NOT NULL;
  22. fb intergration yh i've google them but i dont see how its dont, like when you register you need toe hdata to go into the db such as like level, money etc, and i cant see how and that, if you could like help me or tell me how to do it, i like learn from being showed
  23. hi, well as i havent seen it on here but yet i think it would be a very good addon for all mccodes, http://developers.facebook.com/docs/guides/web heres the facebook details for the login, well if anyone can help please pm me, thanks
  24. wow, my old account and my old mod wow looking thro the forums is fun, especially when u find old accounts like this one, and this mod, well i remember making this mod, tho its alot more complexed now, i might upload the newer version of this if anyone wants it
×
×
  • Create New...