-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
I made a crime Group on Redux and found it rather stupid that it kept asking for an ID and didnt even tell anyone which crime Groups had been created in the first place.. so this mod will list Your already Created Grime Groups so you can easily now create a new one... overwrite your function new_crimegroup_form with this one on the staff/crimes.php function new_crimegroup_form() { echo " Adding a new crime group. <br /> <form action='".gen_url('crimes',true,true)."&action=newcrimegroupsub' method='post'> Name: <input type='text' name='cgNAME' /> <br /> Order Number: <input type='text' name='cgORDER' /> <br /> <input type='submit' value='Create Crime Group' /> </form> "; $query = "SELECT cgNAME,cgORDER FROM crimegroups ORDER BY cgORDER ASC"; $res = mysql_query($query) or die(mysql_error()); echo "<p style=\"text-align: center;\">Crime Groups Already Created.</p>"; echo "<table style=\"margin: 0 auto 0 auto; border: solid #292929 0px; width: 30%;\"> <tr class=tablecellheader><td><p style=\"margin: 0 0 0 0; font-weight: bold; color: #000000;\">Group ID</p></td> <td><p style=\"margin: 0 0 0 0; font-weight: bold; color: #000000;\">Crime Group Name</p></td></td></tr>"; while ($row = mysql_fetch_array($res)) { if (!$i) { $bg = "#dedede"; $i = 1; } elseif ($i) { $bg = "#ececec"; $i = 0; } echo "<tr style=\"background-color: $bg;\"><td><p style=\"margin: 0 0 0 0;\">$row[cgORDER]</p></td> <td><p style=\"margin: 0 0 0 0;\">$row[cgNAME]</p></td></tr>"; } echo "</table>"; } and add this bit of css to your template.css files .tablecellheader{ background-color:#9de9de; } You can now see which crime Groups youve Created so you dont have trouble creating new ones...
-
On line 94 remove the word gekostet On line 184 remove the extra "; on Line 111 join it to line 110 ( Not Sure if your use of a Carriage Return would cause an error but better to alter it for now ) And apart from them theres nothing else i can see wrong with it.
-
Ive compared yours to the original of the v2 and those lines from 90-101 seem to be ok so you error must be either above line 90 or below line 101
-
Change Line 94 from print "Du hast {$r['itmname']} vom Markt gekauft. Es hat dich \$".number_format($r['imPRICE']) gekostet."."; to print "Du hast {$r['itmname']} vom Markt gekauft. Es hat dich \$".number_format($r['imPRICE']).".";
-
Gotta say they are pretty much damn exact i can see the 3 lines just poking out of his header thats the ending letter of E on yours....
-
Really Really Simple Donators Interest Mod
Uridium replied to tom527103's topic in Free Modifications
Youve all made your point so closing this thread -
wake me up when FF 95 comes out ;)
-
I'll offer 2 chairs my mother-in-law and her 2 crazed dogs to we have a deal :)
-
is it creating the txt file ? also make sure that the txt file it creates is set to 777 but id recommend 775 also seen you have mention of eregi try changing to preg_match
-
Ive looked at it and all i could do was change 100% to 118% for both sides that seemed to work fine
-
The pit that everyone falls into when starting up a game is not enough background create spreadsheets for items to show "cost,attributes,sellprice" and easy reference system is always the best result so you can concur results before adding new items. Before opening your game have enough Backup Mods ready and tested to keep your players happy. you have to think 6 - 12 months infront all the time dont just think that adding a new mod will be an instant success Create a test site for newly created mods they need to be 100% correct before adding to your game worst thing that could happen if you dont you can create a chain reaction with other scripts if the one youve created fails to work. Try to Steer clear of massive edits to large amount of files the more edits you make to files the more chance your Running game will soon become unstable. Remember its not your game even though your the one whos built it so try not too add things youd like to see as this may not be the same response from your players.
-
The game name will come when youve coded it and worked out what it does :)
-
Id like to see them hack my ZX SPECTRUM go for it dudes lol
-
my site has 2 users on line id gladly take your cash its a successful test site but you never mentioned it didnt have to be :)
-
More of a mod maker than a hacker cant say iv'e ever wanted to hack to be honest i just think for them it was mistaken identity
-
I see many posts on here asking for help about certain things and most of the time the things people are asking have already been done for them not on MWG but in their files of MCC. so For example you want to create a link for the username on the mainmenu most people just come straight here and shout HELP but there is an easier way if you look at your usersonline.php or userlist.php the answer is there for you and how to make it happen on the mainmenu.php.. Every thing ive made as Mods for MCC have been Extracts of code that has already been done in the MCC script and just added them together to create a new script...
-
Imagine how people would feel if i got annoyed with every post people place on here id never even get the mods i produce to be looked at....
-
change lines 45-46 from echo " ><a href='/5050.php' target='_blank'>Try Again</a>'; to echo " ><a href='/5050.php' target='_blank'>Try Again</a>"; rememeber if an echo or a print statement opens with either " or ' they need to be closed with the same protocol...
-
Damn whats happening have people moved onto better things or are they bored of mcc half me mates arnt here anymore someone send out a search party and bring them back.
-
I signed up and got deleted signed up again and got deleted when i asked in their chatroom as too why they clearly said i was a known hacker cheeky sods lol
-
Sounds to me like something is using Port 80 so even if you add wamp youd still have same issue Find out whats using port 80: You can usually remedy this on xampp with the following file >> C:\xampp\apache\conf\httpd.conf BACKUP THIS FILE BEFORE EDITING in the file look for use of port 80 usually looks like #Listen 12.34.56.78:80 Listen 80 and change 80 to a port you know thats free scroll down page and find ServerName localhost:80 change that to match your Listening Port
-
Read here >> http://stackoverflow.com/questions/5128474/php-serverserver-name-correct-use
-
Just thought id post a demo of the dragndrop friend/blacklist re-arranger for ya all to test . You will have to reg im afraid due to another mod not allowing a test account.. http://www.wizwych.com/mcnewversion/ Donator for this has been disabled for publlic use... All feed back is good and a Massive thanks to Lucky for fixing a problem i had with it :)