Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,657
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Uridium

  1. Re: Gang Market Question You could Use   if{$ldr['userid'] != {$gangdata['gangPRESIDENT']}) { echo("You need to be President to be able to add your Gang to the Market"); }   Not sure if its laid our correctly but the basis would be the same
  2. Re: owner panel pass and securin.(i need help) .
  3. Re: [mccode v2] Fishing Mod     what you could do is use the itemuse.php for each of the items you want to add and maybe add an SQL called collection so that each item you buy would be saved for when you buy the final part. on the fishing.php just add an IF statement for the amount of items needed to start your fishing if its less than that of your collection SQL then you cant fish
  4. Re: [mccode v1]Free Users Personal Page For some reason this on mine stoped working and users were unable to edit their profile page so i re-modded it a bit from the preferences.php so users could create/edit their profiles + view a demo before launching it.. Follow the SQL as from page 1 of this TOPIC then just use these edits for preferences.php.... Add the following Cases...   case 'personal': profile_start(); break; case 'editprofileform': edit_profile_form(); break; case 'editprofilesub': edit_profile_sub(); break;   FIND   function do_forum_change() { global $db,$ir,$c,$userid,$h; $_POST['forums_avatar']=str_replace(array("<", ">"), array("<", ">"), $_POST['forums_avatar']); $db->query("UPDATE users SET forums_avatar='{$_POST['forums_avatar']}', forums_signature='{$_POST['forums_signature']}' WHERE userid=$userid"); print "Forum Info changed!"; }   and underneath add   function profile_start() { global $db,$ir,$c,$h,$userid; print "<h3>Edit / Create your Profile Page</h3> <form action='preferences.php?action=editprofileform' method='post'> <h3>User ID Accepted</h3> <font color=yellow><h2><border=5>Hello {$ir['username']}</h2></font> <input type='hidden' name='user' value='$userid' /> <input type='submit' value='Edit Your Profile {$ir['username']}' /></form>"; } function edit_profile_form() { global $db,$ir,$c,$h,$userid,$username; $d=$db->query("SELECT ppage FROM users WHERE userid=$userid"); $prof=$db->fetch_row($d); print " <form action='preferences.php?action=editprofilesub' method='post'> <input type='hidden' name='userid' value='{$_POST['user']}' /> <h3>Welcome <font color=yellow> {$ir['username']} </font>To Your Profile</h3> <textarea class=textbox rows=20 cols=100 name='ppage'>{$prof['ppage']}</textarea> <input type='submit' value='[save your Profile {$ir['username']}]' /></form>"; } function edit_profile_sub() { global $db,$ir,$c,$h,$userid; $go=0; if(!isset($_POST['level'])) { $go=1; } $db->query("UPDATE users SET ppage='{$_POST['ppage']}' WHERE userid={$_POST['userid']}",$c); print" {$ir['username']} You have edited your Page Successfully <h1>DEMO</h1> {$r['ppage']}"; print" {$ir['ppage']}"; print" [url='preferences.php']Accept Changes[/url]"; }   now open up viewuser.php and at the bottom before the $h Add   print " <table style='margin: 0 auto 0 auto; border: solid #929292 0px; width: 550px;'><tr style='background-color: #500001;'><td><p style='margin: 0 0 0 0; padding: 2px; text-align: center; font-weight: bold; color: #ffffff;'>You are viewing {$r['username']}s Profile Signature</p></td></tr> <tr style='background-color: #ececec;'><td><p style='text-align: center; margin: 0 0 0 0;'>{$r['ppage']} </tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $r=mysql_fetch_array($q); if(!$r['ppage'])   There is no need to add the script for the personal.page.php as users will see their finished product view their own profiles page
  5. Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel   Ive re-scripted the one from this Post http://criminalexistence.com/ceforums/i ... ic=21838.0 add that to your game first and you will be able to use the script above without any problems....
  6. [uPDATED] UPDATED script big thanks to TONKA for fixing the SQL errors :) Overwrite your original staff_editprofile.php with the one below..   <?php include "sglobals.php"; // Edit Profile for MCcodes V2 // Created 26th November 2008 // Illusions for CriminalExistance Forums switch($_GET['action']) { case 'editprofile' : edit_profile_begin(); break; case 'editprofileform': edit_profile_form(); break; case 'editprofilesub': edit_profile_sub(); break; default: print "Error: This script requires an action."; break; } function htmlspcl($in) { return str_replace("'", "'", htmlspecialchars($in)); } function edit_profile_begin() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } print "<h3>Choose User Profile to Edit</h3> You can edit any aspect of this user. <form action='staff_editprofile.php?action=editprofileform' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='Edit User' /></form> OR enter a user ID to edit: <form action='staff_editprofile.php?action=editprofileform' method='post'> User: <input type='text' name='user' value='0' /> <input type='submit' value='Edit User Profile' /></form>"; } function edit_profile_form() { global $db,$ir,$c,$h,$userid,$username; if($ir['user_level'] != 2) { die("403"); } $d=$db->query("SELECT ppage FROM users WHERE userid={$_POST['user']}"); $prof=$db->fetch_row($d); print "<h3>Editing User Profile</h3> <form action='staff_editprofile.php?action=editprofilesub' method='post'> <input type='hidden' name='userid' value='{$_POST['user']}' /> You are editing <font color=yellow> $username </font> Profile <textarea class=textbox rows=20 cols=100 name='ppage'>{$prof['ppage']}</textarea> <input type='submit' value='Edit User Profile' /></form>"; } function edit_profile_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $db->query("UPDATE users SET ppage='{$_POST['ppage']}' WHERE userid={$_POST['userid']}"); print "Profile edited..."; } $h->endpage(); ?>
  7. Re: [ADDON] V2 Refill A Specific User Aswell as Refill All Users   In order for this to work. Please keep up the good work JD your Edit is exactly the same as the one i posted ? your script may have been missing a ) but if you look at the edit on the NOW FIND you'll see it was already closed with out a )
  8. Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was UPDATE users SET signature='' WHERE userid= Yep im aware of this error but it does work just cant seem to find out why its posting the error message so if anyonen can fix this i would be greatful :)
  9. Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel This doesnt work for the Signature but will work for this topic http://criminalexistence.com/ceforums/i ... ic=21838.0
  10. This is for the HTML version of the Edit user profiles that can be found on here... This will enable staff to EDIT any User profile they may find offence without having to do it via phpmyadmin.. Call this file staff_editprofile.php   <?php include "sglobals.php"; // Edit Profile for MCcodes V2 // Created 26th November 2008 // Illusions for CriminalExistance Forums switch($_GET['action']) { case 'editprofile' : edit_profile_begin(); break; case 'editprofileform': edit_profile_form(); break; case 'editprofilesub': edit_profile_sub(); break; default: print "Error: This script requires an action."; break; } function htmlspcl($in) { return str_replace("'", "'", htmlspecialchars($in)); } function edit_profile_begin() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } print "<h3>Choose User Profile to Edit</h3> You can edit any aspect of this user. <form action='staff_editprofile.php?action=editprofileform' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='Edit User' /></form> OR enter a user ID to edit: <form action='staff_editprofile.php?action=editprofileform' method='post'> User: <input type='text' name='user' value='0' /> <input type='submit' value='Edit User Profile' /></form>"; } function edit_profile_form() { global $db,$ir,$c,$h,$userid,$username; if($ir['user_level'] != 2) { die("403"); } $d=$db->query("SELECT ppage FROM users WHERE userid={$_POST['user']}"); $prof=$db->fetch_row($d); print "<h3>Editing User Profile</h3> <form action='staff_editprofile.php?action=editprofilesub' method='post'> <input type='hidden' name='userid' value='{$_POST['user']}' /> You are editing <font color=yellow> $username </font> Profile <textarea class=textbox rows=20 cols=100 name='ppage'>{$prof['ppage']}</textarea> <input type='submit' value='Edit User Profile' /></form>"; } function edit_profile_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $go=0; if(!isset($_POST['level'])) { $go=1; } } $db->query("UPDATE users SET ppage='{$_POST['ppage']}' WHERE userid={$_POST['userid']}"); print "Profile edited...."; $h->endpage(); ?>   Now open up smenu.php and add this line under the users section...   > [url='staff_editprofile.php?action=editprofile']Edit Profile[/url]   and your done
  11. May find this useful it extracts users from the BOT list when adding New Bots to a Challenge makes finding your bots easier... open up global_func.php and add   function userbot_dropdown($connection,$ddname="userbot",$selected=-1) { global $db; $ret="<select name='$ddname' type='dropdown'>"; $q=$db->query("SELECT * FROM users WHERE user_level=0 ORDER BY username ASC"); if($selected == -1) { $first=0; } else { $first=1; } while($r=$db->fetch_row($q)) { $ret.="\n<option value='{$r['userid']}'"; if ($selected == $r['userid'] || $first == 0) { $ret.=" selected='selected'";$first=1; } $ret.= ">{$r['username']}</option>"; } $ret.="\n</select>"; return $ret; }   now open up staff_battletent.php and just change   Bot: ".user_dropdown($c, 'userid')."   To   Bot: ".userbot_dropdown($c, 'userid')."   and your done...
  12. Small Addon for the staff_special.php This will enable you to refill ONE users energy, health, will, Brave open up staff_special.php Add these two cases to where you want them,   case 'refillone': fill_one(); break; case 'refillonesub': fill_one_send(); break;   now find..   print "<h3>User Level Adjust</h3> <form action='staff_special.php' method='get'> <input type='hidden' name='action' value='userlevel'> User: ".user_dropdown($c,'ID')." User Level: <input type='radio' name='level' value='1' /> Member <input type='radio' name='level' value='2' /> Admin <input type='radio' name='level' value='3' /> Secretary <input type='radio' name='level' value='4' /> IRC Op <input type='radio' name='level' value='5' /> Assistant <input type='submit' value='Adjust' /></form>"; }   and underneath add   function fill_one() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } print "<h3>Refill A Specific user</h3> You can edit any aspect of this user. <form action='staff_special.php?action=refillonesub' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='Refill User' /></form> OR enter a user ID to edit: <form action='staff_special.php?action=refillonesub' method='post'> User: <input type='text' name='user' value='0' /> <input type='submit' value='Refill User' /></form>"; } function fill_one_send() { global $ir,$c,$h,$userid; mysql_query("UPDATE users SET will=maxwill WHERE userid=($ir[userid])",$c); mysql_query("UPDATE users SET energy=maxenergy WHERE userid=($ir[userid])",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE userid=($ir[userid])",$c); mysql_query("UPDATE users SET health=maxhealth WHERE userid=($ir[userid])",$c); print "Your user have been refilled! [url='staff.php']> Back[/url]"; }   Now open up smenu.php or admin.php and add this just under the refill all users link   > [url='staff_special.php?action=refillone']Refill A User[/url]   And your done
  13. Re: [mccode v2] streets.php includes image + ability to fight NPCS   Sometimes the CSS on the header.php can cause images not to show up if your not seeing a RED X then its 100% an issue with your CSS try changing some colour backgrounds to a lighter colour.
  14. Re: [mccode v2] Point & Click a script that everyone here adds too..   Nah matey not Critersizing just thought people would want to share their coding abilities. The idea was that there would be an image for each page kind of like a Visual adventure..... where Items found in the normal part of the game could be used in parts of the new game..
  15. Re: [mccode v2] Items Pic mod   I tried something like that for equipped weapons but was unsucessful just kept showing blank images..
  16. Re: [MOD] Point & Click a script that everyone here adds too..   maybe this was a bit too tough for everyone ;)
  17. Re: [MOD] Point & Click a script that everyone here adds too.. Few helpful parts you may want to know your TEXT SECTION.....   messages[0] = new Array('Stay Off the Grass','Examining Message',"#000000"); messages[1] = new Array('This gate needs a key','Unlock Gate',"#000000"); messages[2] = new Array('Quite stupid when theres a gate nearby','Climb Over Wall',"#000000");   when you add a new link the message should point to that link example WALK ON GRASS then you would add   messages[3] = new Array('You were told not to walk on the Grass','Walking on Grass',"#000000");   and you link would be as follows   <area shape="rect" alt="" coords="x,xxx,xxx,xxx" href="http://www.yourdomain.com/dungeonmission.php" onmouseover="doTooltip(event,3)" onmouseout="hideTip()" />   All we change is the EVENT tot event,3
  18. Getting back to the imagemap idea i came up with this addition for your members.. The idea is i'll start you off with the script your job is to add to it and Post on here for everyone else to use,,, ok so here goes... call this file dungeonmission.php <?php include "globals.php"; $tresder=(int) rand(100,999); if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } ?> <html> <head> <title>Dungeon Mission </title> </head> <body> <script type="text/javascript"> /*********************************************** * Image w/ description tooltip- By Dynamic Web Coding ([url]www.dyn-web.com[/url]) * Copyright 2002-2007 by Sharon Paine * Visit Dynamic Drive at [url]http://www.dynamicdrive.com/[/url] for full source code ***********************************************/ /* IMPORTANT: Put script after tooltip div or put tooltip div just before </BODY>. */ var dom = (document.getElementById) ? true : false; var ns5 = (!document.all && dom || window.opera) ? true: false; var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false; var ie4 = (document.all && !dom) ? true : false; var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false; var origWidth, origHeight; // avoid error of passing event object in older browsers if (nodyn) { event = "nope" } /////////////////////// CUSTOMIZE HERE //////////////////// // settings for tooltip // Do you want tip to move when mouse moves over link? var tipFollowMouse= true; // Be sure to set tipWidth wide enough for widest image var tipWidth= 160; var offX= 20; // how far from mouse to show tip var offY= 12; var tipFontFamily= "Verdana, arial, helvetica, sans-serif"; var tipFontSize= "8pt"; // set default text color and background color for tooltip here // individual tooltips can have their own (set in messages arrays) // but don't have to var tipFontColor= "#ffffff"; var tipBgColor= "#000000"; var tipBorderColor= "#000080"; var tipBorderWidth= 3; var tipBorderStyle= "ridge"; var tipPadding= 4; // tooltip content goes here (image, description, optional bgColor, optional textcolor) var messages = new Array(); // multi-dimensional arrays containing: // image and text for tooltip // optional: bgColor and color to be sent to tooltip messages[0] = new Array('Stay Off the Grass','Examining Message',"#000000"); messages[1] = new Array('This gate needs a key','Unlock Gate',"#000000"); messages[2] = new Array('Quite stupid when theres a gate nearby','Climb Over Wall',"#000000"); //////////////////// END OF CUSTOMIZATION AREA /////////////////// // preload images that are to appear in tooltip // from arrays above if (document.images) { var theImgs = new Array(); for (var i=0; i<messages.length; i++) { theImgs[i] = new Image(); theImgs[i].src = messages[i][0]; } } // to layout image and text, 2-row table, image centered in top cell // these go in var tip in doTooltip function // startStr goes before image, midStr goes between image and text var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%">'; var midStr = '</td></tr><tr><td valign="top">'; var endStr = '</td></tr></table>'; //////////////////////////////////////////////////////////// // initTip - initialization for tooltip. // Global variables for tooltip. // Set styles // Set up mousemove capture if tipFollowMouse set true. //////////////////////////////////////////////////////////// var tooltip, tipcss; function initTip() { if (nodyn) return; tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null; tipcss = tooltip.style; if (ie4||ie5||ns5) { // ns4 would lose all this on rewrites tipcss.width = tipWidth+"px"; tipcss.fontFamily = tipFontFamily; tipcss.fontSize = tipFontSize; tipcss.color = tipFontColor; tipcss.backgroundColor = tipBgColor; tipcss.borderColor = tipBorderColor; tipcss.borderWidth = tipBorderWidth+"px"; tipcss.padding = tipPadding+"px"; tipcss.borderStyle = tipBorderStyle; } if (tooltip&&tipFollowMouse) { document.onmousemove = trackMouse; } } window.onload = initTip; ///////////////////////////////////////////////// // doTooltip function // Assembles content for tooltip and writes // it to tipDiv ///////////////////////////////////////////////// var t1,t2; // for setTimeouts var tipOn = false; // check if over tooltip link function doTooltip(evt,num) { if (!tooltip) return; if (t1) clearTimeout(t1); if (t2) clearTimeout(t2); tipOn = true; // set colors if included in messages array if (messages[num][2]) var curBgColor = messages[num][2]; else curBgColor = tipBgColor; if (messages[num][3]) var curFontColor = messages[num][3]; else curFontColor = tipFontColor; if (ie4||ie5||ns5) { var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr; tipcss.backgroundColor = curBgColor; tooltip.innerHTML = tip; } if (!tipFollowMouse) positionTip(evt); else t1=setTimeout("tipcss.visibility='visible'",100); } var mouseX, mouseY; function trackMouse(evt) { standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft; mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop; if (tipOn) positionTip(evt); } ///////////////////////////////////////////////////////////// // positionTip function // If tipFollowMouse set false, so trackMouse function // not being used, get position of mouseover event. // Calculations use mouseover event position, // offset amounts and tooltip width to position // tooltip within window. ///////////////////////////////////////////////////////////// function positionTip(evt) { if (!tipFollowMouse) { standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft; mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop; } // tooltip width and height var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth; var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight; // document area in view (subtract scrollbar width for ns) var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft; var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop; // check mouse position against tip and window dimensions // and position the tooltip if ((mouseX+offX+tpWd)>winWd) tipcss.left = mouseX-(tpWd+offX)+"px"; else tipcss.left = mouseX+offX+"px"; if ((mouseY+offY+tpHt)>winHt) tipcss.top = winHt-(tpHt+offY)+"px"; else tipcss.top = mouseY+offY+"px"; if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100); } function hideTip() { if (!tooltip) return; t2=setTimeout("tipcss.visibility='hidden'",100); tipOn = false; } document.write('<div id="tipDiv" style="position:absolute; visibility:hidden; z-index:100"></div>') </script> <TD VALIGN=ABSTOP>[img=front_gates.jpg] <map id="front_gates" name="front_gates"> <area shape="rect" alt="" coords="207,397,245,417" href="http://www.yourdomain.com/dungeonmission.php" onmouseover="doTooltip(event,0)" onmouseout="hideTip()" /> <area shape="rect" alt="" coords="423,400,467,420" href="http://www.yourdomain.com/dungeonmission.php" onmouseover="doTooltip(event,0)" onmouseout="hideTip()" /> <area shape="rect" alt="" coords="314,320,345,375" href="http://www.yourdomain.com/dungeonmission.php" onmouseover="doTooltip(event,1)" onmouseout="hideTip()" /> <area shape="rect" alt="" coords="5,333,104,377" href="http://www.yourdomain.com/dungeonmission.php" onmouseover="doTooltip(event,2)" onmouseout="hideTip()" /> <area shape="default" nohref="nohref" alt="" /> </map> First Image The first state is that the gates need to be unlocked before anyone can start the game the key could be found in the streets.php and will open the gate for this section...
  19. Re: [mccode v2] Farming you will find 159 { and 128 } That should give you somthing to start on
  20. Re: [mccode v2] Farming error would be Parse error: syntax error, unexpected $end in /home/slave/public_html/farm.php on line 457
  21. Re: [mccode v2] Fishing Mod have you guys heared of team speak ;)
  22. Re: [MOD] Audio Tracks lets users select from pre defined.... forgot to mention upload your tracks to the music folder its instantly dislpayed as soon as its been uploaded So theres no need to edit the tracks.php file when uploading new tracks and no SQLS needed
  23. Downloaded this about an hour ago pretty nice engine :) So heres me first mod for it and probably plenty more... This will let you upload more audio tracks to a folder so your user can select a better atmospheric track... i did quite a bit of editing for this to work as i wasnt happy with the STOP/ START and not knowing whats playing next... create a new file call it tracks.php   <?php include "config.php"; include_once 'include_lang.php'; ?> <object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab" width="240" height="43"> <param name="FileName" value="music/<?=$song;?>"> <param name="AutoStart" value="false"> <param name="ShowTracker" value="true"> <param name="ShowControls" value="true"> <param name="ShowGotoBar" value="false"> <param name="ShowDisplay" value="false"> <param name="ShowStatusBar" value="false"> <param name="AutoSize" value="false"> <param name="PlayCount" value="0"> <embed src="songs/<?=$song;?>" AutoStart="false" ShowTracker="true" ShowControls="true" PlayCount="0" ShowGotoBar="false" ShowDisplay="false" ShowStatusBar="false" AutoSize="false" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" width="200" height="43"></embed> </object> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <select name="song"> <option value="#">Choose Atmosphere Track</option> <? $files = Array(); $path = "music"; $dh = opendir($path); while ($file = readdir($dh)) { if (!is_dir($path."/".$file)) { if (is_file($path."/".$file)) { if (($file!=".") && ($file!="..")) { $files[] = $file; } } } } closedir($dh); asort($files); foreach($files as $index=>$file) { echo "<option value=\"".$file."\">".$file."</option>\n"; } ?> </select> <input name="go" type="submit" value="PLAY!"> </form> <html> <head> <link href="styles/phaos.css" rel="stylesheet" type="text/css"> <iframe src="right_side.php" name="iframe985426" width="250px" height="800px" scrolling="auto" frameborder="0" align="right"></iframe> </head>   Now open up menu.php and remove this section near bottom   <? if(!@$play_music) {$play_music = 'NO';} if($play_music == "YES"){ if($song_select == "") {$song_select = rand(1,4);} if($song_select == 1) { ?> <embed SRC="music/homeland_farmland.mid" hidden="true" LOOP="true"> <? } elseif($song_select == 2) { ?> <embed SRC="music/under_the_bards_tree.mid" hidden="true" LOOP="true"> <? } elseif($song_select == 3) { ?> <embed SRC="music/stranger_on_a_hill.mid" hidden="true" LOOP="true"> <? } elseif($song_select == 4) { ?> <embed SRC="music/the_town_of_witchwoode.mid" hidden="true" LOOP="true"> <? } } ?>   Now open up side_bar.php   and remove this section   [b]<? echo $lang_mus; ?>:[/b] [url="menu.php?play_music=YES"]<? echo $lang_plays; ?>[/url] &nbsp [url="menu.php?play_music=NO"]<? echo $lang_stop; ?>[/url] [url="clear_side_post.php"]<? echo $lang_ref; ?>[/url] </body> </html>   Now open up index.php and change   <frame name="right_side" src="right_side.php" scrolling=no>   To   <frame name="tracks" src="tracks.php" scrolling=no>   Dont worry your right_side.php will still be called as its now in the tracks.php file as an iframe.. Thats it.
  24. Re: [mccode v2] Fishing Mod     Now why would you want to make Cash from it. None of the Freebie script on here are good enough to be made money from even the ones i do thats why ive always put mine up for Free.. Now if your going to make somthing like A whole new system where by YOU can name the Currency of the game and alter the name crystals to become wat ever you want. add more type of Characters otehr than member v NPCS then yeah that would be worth dipping into my pocket for.. But an easy way to make money gain exp or crystals from a {Paid mod is a pure waste of time.. Just my thoughts :)
  25. Re: [MOD] V2 Freeze & Reactivate a Users Bank Account From the first post i missed a $frozen so heres the corrected piece Thanks to SAINT for pointing this out :) $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, frozen, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney) VALUES( '{$_POST['username']}', '{$_POST['login_name']}', md5('{$_POST['userpass']}'), $level, $money, $crystals, $frozen, $donator, $ulevel, $energy, $energy, 100, 100, $brave, $brave, $hp, $hp, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1)");
×
×
  • Create New...