-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
Sound pretty interesting brilliant idea Chicka :)
-
Theme Editor/Theme creator Download and screenshots
Uridium replied to Uridium's topic in New Worlds Engine
Just completed the Theme Template Creator here are a few snapshots Creator1 image showing name of new folder to be created... Creator2 image Showing successful creation of folder and contents Creator3 Showing newly added files into your Folder... you can download the NWP file on here for this mod... admin_template_uploader.nwp -
Just thought id share a screenshot of the theme editor ive created for NWE also currently working on ability to create folders within the theme folder which you name and the essential files are added to that folder for you to start editing that theme.. I have got it working but it needs some tinkering with... You can now download the NWP file for this mod... admin_template_editor.nwp
-
you gotta check this out guys, you know me im more of a hands on coding kinda person but tonight i decided to go scouting for hosting deals and came across this site,,, http://crossfire-hosting.com/cpanel.php
-
NWE Free and Dev 1.1.3 released! Use it as will now!
Uridium replied to a_bertrand's topic in New Worlds Engine
nice idea an engine within an engine :) -
for me the weapons never seemed lifelife what i mean is if i have a giant sword in one hand and an axe in the other the chances are that trying to weild them about would prove complicated especially with the weight of the items away around this would be to add a new part to items to gran the weight of each item. example a 10lb sledge hammer weighs = 11.56 lbs and a throwing hammer weighs = 16 pounds this would definatley make one arm become unbalanced :)
-
For the super lazy one - NWE Self extracted
Uridium replied to a_bertrand's topic in New Worlds Engine
excellent work Sir Bertrand ;) -
yep and its a damn pain..
-
sorry had to chuckle at that one ;)
-
This script has been rewritten you no longer need to add anything to the script as before you had to add the ID numbers of the newly created item to be given it will now also allow you to add how many of the same item is needed to create the new item Image1 shows items that can be created donthaveenough shows if you have enough of the items required success shows that all has gone well and to give you your new item
-
Could be a copy and paste issue from here usually i have to click on edit post when grabbing to copy and paste cos if i dont and try the normal approach i end up with everything on line 1
-
the coder i tested Snikos version and didnt get the error your getting ?
-
New plan layout for equipping armor and weapons and additional slots 1 needs a dropdown to select if item is primary or secondary or armour ore newly created additions. 2 needs a new table instead of using inventory for above mentioned 3 new table needs to be able to hold slots for more than 1 selection 4 choice selection menu for newly added items as above 5 amend option for added items as above 6 deletion of unused slots (return items back to users inventory) 7 item_add function needs to be rewritten to only allow for weapons armor and new additions 8 attack scripts needs to be rewritten to allow for new formula weapons armor or what ever can be used 9 equip_armor and equip_weapon scripts need to be rewritten as one file to allow for multiple uses 10 inventory needs to be rewritten to allow for multiple choices of added items the sole purpose of this mod is so users can create more than one equipped slots which contain weapons/armor or newly created additions user selects from a dropdown pre created slots that they have made so they dont have to continously have to unequip and re-equip new items the method will allow them to select from slots they have created with different weapon types and they will instantly be equipped ready for the attack... Items in slots can not be SOLD so they will need to be dormant from users view until that slot is deleted and items returned back to users normal inventory page.
-
Thats rather nice Hedge ive looked at it for a fwe mins now and im still not bored of looking at it usually you get a design that bores you to death after the first 30 seconds so its nice to see yours doesnt do that.. :)
-
spacialaudio.com do some decent offers
-
anytime code god ;)
-
Blade i asked Dabs this question as i also was a bit condused.. illusions - says Hiya dabs someone is asking a question regards a v2 licence which im also confused about can he use his licence to create sub domains on his main domain using 1 licence ? Dabomstew - says depends what the sub domains are for Dabomstew - says if they're like "server 1", "server 2" etc with completely seperate databases u have to ask us first ------------------------------------ I would consult Dabs further on this Blade send a support ticket with your query
-
If there are not enough hours in the day to run your game then maybe somewhere along the lines youve mis calculated what your needs are so go back and recount and see if all is correct..
-
[MCCODES V2] Fully Customise your game layout
Uridium replied to Uridium's topic in Free Modifications
layoutinstall.php which ive edited... <?php /* Settings Installer Re-modded from installer.php / Illusions 2009 */ session_start(); ob_start(); function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Game Layout Configuration</title> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.username; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('username') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('username', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('username'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } </script> <style type="text/css"> <!-- body { background-color: #DEDEDE; margin-top: 0px; margin-bottom: 0px; font-family:calibri, helvetica, arial, geneva, sans-serif;font-size:12px;color: black; scrollbar-base-color: #005B70; scrollbar-arrow-color: #F3960B; scrollbar-DarkShadow-Color: #000000; } a:visited,a:active,a:hover,a:link { color: black;text-decoration: none; } table,tr,td { font-family:helvetica, arial, geneva, sans-serif;font-size: 12px; } img { border:none; } textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12px;color: black; } .table2 { } .lgrad { background-image:url(lgrad.jpg); background-repeat:repeat-y; width:19px; } .linegrad { background-image:url(linegrad.PNG); background-repeat:repeat-y; background-align: center; width:2px; } .rgrad { background-image:url(rgrad.jpg); background-repeat:repeat-y; width:19px; } .dgrad { background-image:url(dgrad.jpg); background-repeat:repeat-x; height:38px; } .dgradl { background-image:url(dgradl.jpg); background-repeat:no-repeat; height:38px; width:38px; } .dgradr { background-image:url(dgradr.jpg); background-repeat:no-repeat; height:38px; width:38px; } .center { width:932px; background-color:#FFFFFF; vertical-align:top; text-align:center; } .table { background-color:#000000; } .table3 { background-color:#000000; } .table td { background-color:#DEDEDE; height:22px; } .table3 td { background-color:#CCCCCC; } td .alt { background-color:#EEEEEE; height:22px; } td .h { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; background-color: #D6D6D6; } .table th { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; background-color: #D6D6D6; } --> </style></head> <body onload="getme();"> <center> <table width="970" border="0" cellpadding="0" cellspacing="0" class="table2"> <tr> <td class="lgrad"></td> <td class="center">[img=title.jpg] <h2>Illusions Game Layout Installer</h2> <?php switch($_GET['code']) { case "install": install(); break; case "config": config(); break; default: diagnostics(); break; } function menuprint($highlight) { $items=array( 'diag' => '1. Diagnostics', 'input' => '2. Configuration', 'sql' => '3. Installation & Extras', ); $c=0; print "<hr />"; foreach($items as $k => $v) { $c++; if($c > 1) { print " >> "; } if($k==$highlight) { print "<font color='black'>{$v}</font>"; } else { print "<font color='gray'>{$v}</font>"; } } print "<hr />"; } function diagnostics() { menuprint("diag"); if (version_compare(phpversion(), '4.2.0') < 0) { $pv="<font color='red'>Failed</font>"; $pvf=0; } else { $pv="<font color='green'>PASSED</font>"; $pvf=1; } if(is_writable('./')) { $wv="<font color='green'>PASSED</font>"; $wvf=1; } else { $wv="<font color='red'>Failed</font>"; $wvf=0; } if(function_exists('mysql_connect') || function_exists('mysqli_connect')) { $dv="<font color='green'>PASSED</font>"; $dvf=1; } else { $dv="<font color='red'>Failed</font>"; $dvf=0; } if(str_replace('layoutinstall.php','',$_SERVER['SCRIPT_NAME']) == "/") { $av="<font color='green'>PASSED</font>"; $avf=1; } else { $av="<font color='red'>Failed</font>"; $avf=0; } print "<h3>Basic Diagnostic Results:</h3> <table width='80%' class='table' cellspacing='1'> <tr> <td>PHP version >= 4.2.0</td> <td>{$pv}</td> </tr> <tr> <td>Game folder writable</td> <td>{$wv}</td> </tr> <tr> <td>MySQL support in PHP present</td> <td>{$dv}</td> </tr> </table>"; if($pvf+$wvf+$dvf < 3) { print "<hr /><font color='red'>One of the basic diagnostics failed, so Setup cannot continue. Please fix the ones that failed and try again.</font><hr />"; } else { print "<hr />> <a href='layoutinstall.php?code=config']Next Step</a><hr />"; } } function config() { menuprint("input"); print "<h3>Configuration:</h3> <center> <form action='layoutinstall.php?code=install' method='post'> <table width='75%' class='table' cellspacing='1'> <tr> <th colspan='2'>DO NOT FORGET THIS STEP!</th> </tr> <tr> <td align='center'>MySQL Driver</td> <td><select name='driver' type='dropdown'>"; if(function_exists('mysql_connect')) { print "<option value='mysql'>MySQL Standard</option>"; } if(function_exists('mysqli_connect')) { print "<option value='mysql'>MySQLi Enhanced</option>"; } print "</select></td> </tr> <tr> <td align='center'>Hostname This is usually localhost</td> <td><input type='text' name='hostname' value='localhost' /></td> </tr> <tr> <td align='center'>Username The user must be able to use the database</td> <td><input type='text' name='username' value='root' /></td> </tr> <tr> <td align='center'>Password</td> <td><input type='text' name='password' value='' /></td> </tr> <tr> <td align='center'>Database Name The database should not have any other software using it.</td> <td><input type='text' name='database' value='mcc' /></td> </tr> <tr> <th colspan='2'><h2>Game Layout Configuration </h2></th> </tr> <tr> <td align='center'>Header Image Insert your own Header Image as jpg, gif, png</td> <td><input type='text' name='header_image' value='title.jpg' /></td> </tr> <tr> <td align='center'>Center Panel Width Alter center width default is 970</td> <td><input type='text' name='centerpane_width' value='970' /></td> </tr> <tr> <td align='center'>Center panel Colour Change Center Panel colour by HEX Codes dont add #</td> <td><input type='text' name='centerpane_colour' value='' /> <a href='colours.html']Colour Chart Viewer</a></td> </tr> <tr> <td align='center'>Center Panel Image If you dont want to use COLOUR you can use an image Make sure you leave the COLOUR HEX blank or Vice Versa</td> <td><input type='text' name='centerpane_image' value='' /></td> </tr> <tr> <td align='center'>Menu Colour Change Menu Colour HEX codes only</td> <td><input type='text' name='menu_colour' value='' /> <a href='colours.html']Colour Chart Viewer</a></td> </tr> <tr> <td align='center'>Menu Image Change if you have an image if not leave blank and use the above MENU COLOUR option</td> <td><input type='text' name='menu_colour' value='' /></td> </tr> <tr> <td align='center'>Menu Position Enter the text left or right to move menu</td> <td><input type='text' name='menu_position' value='left' /></td> </tr> <tr> <td align='center'>Menu Width Change Menu Width default is 20%</td> <td><input type='text' name='menu_width' value='20' /></td> </tr> <tr> <td align='center'>Text Font ( Static ) Change to verdana, arial, gothic or upload you own TFF and use that</td> <td><input type='text' name='text_font' value='arial' /></td> </tr> <tr> <td align='center'>Text Font ( Static ) Colour Change Text Colour by HEX</td> <td><input type='text' name='text_fontcolour' value='' /> <a href='colours.html']Colour Chart Viewer</a></td> </tr> <tr> <td align='center'>Text Font ( Hover ) Change to verdana, arial, gothic or upload you own TFF and use that</td> <td><input type='text' name='text_font1' value='arial' /></td> </tr> <tr> <td align='center'>Text Font ( HOVER ) Colour Change Text Colour by HEX</td> <td><input type='text' name='text_font1colour' value='' /> <a href='colours.html']Colour Chart Viewer</a></td> </tr> <tr> <td align='center'>Text Font ( Static ) Size Change Text size font</td> <td><input type='text' name='text_fontsize' value='12' /></td> </tr> <tr> <td align='center'>Text Font ( HOVER ) Size Change Text size font</td> <td><input type='text' name='text_fontsize1' value='14' /></td> </tr> <tr> <td align='center'>Drop Page height If the Header is too high you can Drop it Default is 0 and 10 drops by 10 pixels</td> <td><input type='text' name='droptop_position' value='0' /></td> </tr> <tr> <td align='center'>Welcome Game Message This will allow you to place a Scrolling message under the header banner</td> <td><input type='text' name='game_message' value='Welcome to our game' /></td> </tr> <tr> <td colspan='2' align='center'><input type='submit' value='Install' /></td> </tr> </table></form></center>"; } function install() { menuprint("sql"); { print "Config Bypass Started "; print "Config Bypass Successful Attempting DB connection "; define('MONO_ON', 1); require "class/class_db_{$_POST['driver']}.php"; $db=new database; $db->configure($_POST['hostname'], $_POST['username'], $_POST['password'], $_POST['database'], 0); $db->connect(); $c=$db->connection_id; print "Connection Successful. Writing Main MySQL data. "; { if(!(strpos($line,"--") === 0) && trim($line) != "") //check for commented lines or blankies { $query.=$line; if(!(strpos($line,";") === FALSE)) { $db->query($query); $query=""; } } } print "Settings data was written. Now write Extra MySQL data. "; $username=$_POST['a_username']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("INSERT INTO settings VALUES(NULL, 'header_image', '{$_POST['header_image']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'centerpane_width', '{$_POST['centerpane_width']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'centerpane_colour', '{$_POST['centerpane_colour']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'centerpane_image', '{$_POST['centerpane_image']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'menu_colour', '{$_POST['menu_colour']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'menu_image', '{$_POST['menu_image']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'menu_position', '{$_POST['menu_position']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'menu_width', '{$_POST['menu_width']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_font', '{$_POST['text_font']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_fontcolour', '{$_POST['text_fontcolour']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_font1', '{$_POST['text_font1']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_font1colour', '{$_POST['text_font1colour']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_fontsize', '{$_POST['text_fontsize']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'text_fontsize1', '{$_POST['text_fontsize1']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'droptop_position', '{$_POST['droptop_position']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_message', '{$_POST['game_message']}')"); $path=$_SERVER['HTTP_HOST']; print " <h2>[b]Settings Installation Successful![/b]</h2><hr /> >center><h1>!ATTENTION<h1></center> Once this Installer has been used you will be able to Edit Your Options via BASIC SETTINGS Panel in the Game"; } } ?> </td> <td class="rgrad"></td> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="dgradl"> </td> <td class="dgrad"> </td> <td class="dgradr"> </td> </tr> </table> </td> </tr> </table> </body> </html> -
[MCCODES V2] Fully Customise your game layout
Uridium replied to Uridium's topic in Free Modifications
just to note to everyone thsi script is CORRUPT which must have happened on the last forum changeover -
[MCCODES V2] Fully Customise your game layout
Uridium replied to Uridium's topic in Free Modifications
aha bare with me guys i'll try help you out this is an old mod so bare with me... -
few factors is this when a user first registers to your game is it happening whilst user has been on your game for a while or ??????
-
Im sure he told me once in a convo we had, that he was nearly 53 ;) but hey who am i to judge lol
-
include "sglobals.php"; if($ir['user_level'] > 2) { die("<center><h2>RESTRICTED ACCESS</h2><br /><br /><a href='index.php'>Return to Game</a>"); } Just makes it look neater than a nasty message saying 403
-
Nicely done Razor havent tested it but im sure it works fine :)