-
Posts
2,686 -
Joined
-
Last visited
-
Days Won
81
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
remove any HTACCES files from your root and see if that cures the problem
-
You have to remember when a SQL inserts from a file example INSERT INTO it continues from its last ID so even if you had ID1 then decided to INSERT ID 1000 it will continue from ID 10000. if you dont have many users in the game you could extract the tables users, userstats, inventory and manually fix the numbers dont forget though you will need to make the final id of the table 1 higher when inserting example on your extracted SQLS you will see ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1000 <<< using 1000 as a guidline so if your real value is 23 then the 1000 needs to be 24
-
Getting An Not A Vaid MYSQL Error, Please Help
Uridium replied to VegasKiller's topic in Modification Support
try using $db->query instead of mysql_query see if that helps ive seen this before on a test site i had and when i moved to a new host i had to change most things to $db->query -
only thing i can see thats out of place is the mainmenu on IE its too far left on FF its fine... IE never did like css its always been a pain
-
How are they hitting that amount so quickly ? Created:2009-10-26 Expires:2011-10-26 Updated:2010-03-22 Its less than a year old
-
The mod that will blow your mind as promised [23% complete]
Uridium replied to Uridium's topic in Requests & In Production
None at moment im afraid been quite busy with other projects but i do still intend to finish this.. -
I dont think this mod Ever saw the light of day of working.
-
Nice work seany :)
-
It looks to me like your creategang.php is at fault your either missing some perameters for the iNSERT INTO or your missing some INPUT statements You'll need to copy and paste yout creategang.php for us to look at..
-
Your all missing the point of this mod it can do what ever you want it to do you just have to add o it.. The starting blocks have already been built its up to you from now on how far you want to keep building it..
-
I have no problems with you acrchiving any of my mods
-
Love you too my sugar plum fairy are we still on for that gangbang, ive found some whinos who are willing to join in but they need feeding first can you supply the food Sexy ;)
-
when you use a FTP program from your pc and login to your server usually on the LEFT side is folders from your PC and RIGHT are folders from your FTP. public_html is always classed as the root folder so this is where your game scripts go....
-
equip_armor.php <?php include "globals.php"; $_GET['ID'] = abs((int) $_GET['ID']); $id=$db->query("SELECT iv.*,it.* FROM inventory iv LEFT JOIN items it ON iv.inv_itemid=it.itmid WHERE iv.inv_id={$_GET['ID']} AND iv.inv_userid=$userid LIMIT 1"); if($db->num_rows($id)==0) { print "Invalid item ID"; $h->endpage(); exit; } else { $r=$db->fetch_row($id); } if(!$r['armor']) { print "This item cannot be equipped to this slot."; $h->endpage(); exit; } if($_GET['type']) { if(!in_array($_GET['type'], array("equip_armor"))) { print "This slot ID is not valid."; $h->endpage(); exit; } if($ir[$_GET['type']]) { item_add($userid, $ir[$_GET['type']], 1); } item_remove($userid, $r['itmid'], 1); $db->query("UPDATE users SET {$_GET['type']} = {$r['itmid']} WHERE userid={$userid}"); print "Item {$r['itmname']} equipped successfully.<META HTTP-EQUIV=Refresh CONTENT='1;url=inventory.php'>"; } else { print "<h3>Equip Armor</h3><hr /> <form action='equip_armor.php' method='get'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> Click Equip Armor to equip {$r['itmname']} as your armor, if you currently have any armor equipped it will be removed back to your inventory. <input type='hidden' name='type' value='equip_armor' /> <input type='submit' value='Equip Armor' /></form>"; } $h->endpage(); ?> And incase your having problems with weapons its exactly the same code as above just change the word armor to weapon and save as equip_weapon.php
-
this should help you [any version] Removal of 1 minute crons
-
For those who have this if your searches exceed 100 then for some reason JDS reported error will occur
-
filezila is a free upoading client and should help with what you need http://filezilla-project.org/ or there is a 30 day trial of WSFTP
-
Replace your $db->query with this one $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'')"); or just copy and paste this <?php include "globals.php"; if($ir['money'] < 500000){die("You don't have enough money. You need \$500,000."); } if($ir['gang']){die ("You're already in a gang!"); } if($_POST['submit']){$name=htmlspecialchars($_POST['name']); $desc=htmlspecialchars($_POST['desc']); $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'')"); $i=$db->insert_id(); $db->query("UPDATE users SET gang=$i,money=money-500000 where userid=$userid"); print "Gang created!"; }else { print "<h3> Create A Gang </h3><form action='creategang.php' method='post'><input type='hidden' name='submit' value='1' />Name:<input type='text' name='name' /> Description: <textarea name='desc' cols='40' rows='7'></textarea> <input type='submit' value='Create Gang for \$500,000' /></form>"; } $h->endpage(); ?>
-
Well stated ;)
-
i get quite a lot of Inbox messages asking where is a mod ive made so heres a list + links to mods ive created for CE/MWG. SORRY GUYS AND GALS THESE LINKS DONT WORK YET WILL UPDATE AND CHANGE THIS MESSAGE WHEN COMPLETED 1 = Maintenance Mode Mod (upgraded with more options) 2 = Education Mod with Clicks + Extras 3 = Move Images from one folder to another 4 = Game Owner Replenish Options 5 = Meta Tag Generator 6 = Christmas Advent Calendar 7 = Google Image Finder Ingame 8 = User Planner 9 = NPC Ingame Editor 10 = Hacking Attempts Logged 11 = Track Users IP 12 = Mobile Text Messaging [same as Mailbox] But Using Mobile Numbers 13 = Set Sell Price to House After its been Purchased 14 = File Creator + Ingame File Editor 15 = Abduct someone from Hospital 16 = Compare Items and Houses 17 = Send users Secret Messages 18 = Advanced Theme Creator 19 = Customise How Your Game Operates 20 = Updated Media Script add any Media to your site. 21 = Freeze + Reactivate a Users Bank Account 22 = Mailbox Quota = Set amount of emails sent per day 23 = Userlist and other Lists decend NEW 24 = Accept or Freeze Multi User Accounts 25 = Add Attack Timer to Attacks Im still Sifting through search pages so there will probably be more than there is here NOTE: These ADDITIONS are Free to use and Upgrade for your own use and MUST NOT be sold in any way either single or packaged. You have the right to Modify any of these ADDITIONS for your MCCODES game without prior notice to myself as long as any Copyright heading that ive placed on a ADDITION stays intact. JOINT WORK FOOTNOTE: Any ADDITIONS that have been deemed as a Joint effort between myself and other Writers. The right to Modify maybe flawed Until you have Consent from all joint parties that you intend to Alter/Add/Amend and source therein..
-
The idea of the login page being as it is, is everytime someone views it something changes, as you see at the moment the Images change from cats, broomsticks, wands, witch and wizard hats so i really want to keep that concept. The music wont be staying on the site its just purely to keep me sane whilst looking at the damn page for so many hours aday...
-
The mod that will blow your mind as promised [23% complete]
Uridium replied to Uridium's topic in Requests & In Production
too be honest i havent got any further on this mod than what i first posted so expect a long wait im afraid. -
Not sure if known but this site is selling mccodes.
Uridium replied to furn355's topic in General Discussion
Registrant also owns crimevalley.com so i guess hes not really that clever just do a lookup for his email address [email protected] -
Redone entire layout so heopfully it should be ok now.
-
Dmn thats a lot of errors ?