-
Posts
2,701 -
Joined
-
Last visited
-
Days Won
88
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
A design layout out should always be the last thing thats done on a game. Concentrate on making your game as playable as possible Example making sure items and stats all add up and are fair. Ive seen so many decent styled MCC games fail beacse no thought has gone into how the game should run and the owner has concentrated more on how the game looks... Create a spreadsheet for all items added including Cost of the items and ability Always start off with low priced uselss items that dont give or gain much and work from that as a template. try not to add so many ways for users to get Cash in your game as this will Kill the whole concept of sitting down for ages working out your items prices. Crytsals should be rare so only give them out if people VOTE that way you wont have masses of crystal sales which inturn will create a Overflow of Cash. and a + would be to spend some time on how stats are given, how much are gained and how often the health/energy bar refills if its too fast then your users will gain stupid amount of stats and level upgrades per day.. Dont make all the best features DONATORS ONLY try to give some decent game plans for none donators aswell
-
try changing `statis` int(11) NOT NULL, to `statid` int(11) NOT NULL, Thats the only fault i can see. Too do this openup PHPMYADMIN select the table for implants click the pencil on statis and change to statid. Or you could always just change the statid on the Script to statis :)
-
Anywhere theres a global statement like this ====> global $ir,$c,$userid,$h; make it global $db, $ir,$c,$userid,$h;
-
You could always create an IP block table and add ip's to it from staff panel..
-
I did fix this for Chika but for the life of me i cant find the edits i made on this PC, Myself and chika tested this thoroughly on her site and had no errors what so ever. I would have to ask chika if she could kindly send me the edits i made from her site so i can repost...
-
silly question what if the month only has 28 days or 30 :) and dont shout at me for posting this its 4:30 in a morning lol
-
PM me your complete register.php script
-
Question - Is it possible to put an image as a username?
Uridium replied to Gucci Mane's topic in Game Support
Ive been working with GD LIB recently on another mod and found that for MCCODES it has a large potential for some great mods. -
Where have i heared that word K.I.S.S before.... Someone on here used to use it all the time.. Nyna springs to mind lol
-
Tell ya what would be cool illegal if the login section was on blank gravestone sort of like an epitaph login ;) but that one above is also superb excellent work..... + 1 billion
-
I did actually fix this problem for a user and added some extra info i'll dig it out and post when im next on.
-
This error usually 100% means your missing a { or a } somehwre in the script a good text editor like notepad++ will highlight all the { and } as red so you can identify open and closed just sift through your script and try to locate any that are missing.
-
If you want your mail and event count to be added to the menu add this to header.php near top global $db,$c,$ir, $set; $mc=$ir['new_mail']; $ec=$ir['new_events']; Now when altering your menu links create them like so menu[3]=['Mail Box {$ir['new_mail']}' , 'mailbox.php' , '_parent']; menu[4]=['Events {$ir['new_mail']}' , 'events.php' , '_parent']; Cntinue the same process for other Counts you want to add. You dont have to send a donation i just thought id put one here to test it ;) [paypal][email protected][/paypal]
-
This Plugin will allow your users to right click on a page and instantly get to where they want to be SCRIPT not written by me i just thought it would be useful open up header.php find [css]a:hover {color: blue;text-decoration: underline; }[/css] and underneath add [css].link{ cursor:default; text-decoration:none; color:black; font-size:8pt; font-family:verdana; padding:3px; } .normtext{ color:black; font-size:8pt; font-family:verdana; font-weight:bold; padding:3; } #conmenu { cursor:default; position:absolute; top:0px; left:0px; visibility:hidden; background-color:lightgrey; layer-background-color:lightgrey; border:outset 2px; font-size:8pt; font-family:verdana; font-weight:normal; color:#000000; width:200px; padding:1 2 0 2; z-index:2; } #conshadow{ position:absolute; top:0px; left:0px; visibility:hidden; background-color:black; layer-background-color:black; z-index:0; }[/css] In the same section just below the <body> tag add underneath.. [js]<script language="javascript"> /***************************************************** TITLE: CONTEXT MENU V1.2 AUTHOR: Brian Gosselin SITE: http://HTTP://SCRIPTASYLUM.COM EMAIL: [email protected] SUPPORT: WORKS IN NETSCAPE 4+ AND 6+. WORKS IN IE4+ KNOWN BUGS: BOX DOES NOT APPEAR CORRECTLY WHEN OVER FORM ELEMENTS IN NETSCAPE4.X. AS A RESULT, I HAVE CREATED PROVISIONS FOR THIS. SEE BELOW. ******************************************************/ var menuNormColor="black"; //NORMAL COLOR OF THE MENU ITEMS var menuHoverColor="#0084d8"; //COLOR OF THE MENU ITEMS ONMOUSEOVER var enableShadow=true; //SET TO "true" TO ENABLE SHADOW, "false" TO DISABLE IT. var enableShadowTransparency=true; //SET TO "true" TO ENABLE SHADOW SEMI-TRANSPARENCY (ie4+, ns6+ ONLY), "false" TO DISABLE IT. var disableNS4=true; // BECAUSE THE MENU DOESNT LOOK RIGHT WHEN THE PAGE CONTAINS FORMS IN NS4, SET THIS VALUE TO // "true" TO DISABLE THIS CONTEXT MENU AND USE THE DEFAULT ONE. THIS EFFECTS NS4.X ONLY. // THE ARRAY BELOW CONTAINS THE MENU ITEMS. FORMAT: // [ 'LINK TEXT TO APPEAR IN MENU' , 'LINK HREF' , 'TARGET WINDOW/FRAME' ]; // JUST ADD ARRAY ITEMS AS NEEDED KEEPING NUMBER SEQUENCE // TO ADD REGULAR (NON-LINK) HTML/TEXT, USE THE FOLLOWING FORMAT: // [ 'REGULAR TEXT/HTML HERE' ]; var menu=new Array(); menu[0]=['<center>- Quick Menu -</center>']; menu[1]=['Inventory' , 'inventory.php' , '_parent']; menu[2]=['Home' , 'index.php' , '_parent']; menu[3]=['Mail Box' , 'mailbox.php' , '_parent']; menu[4]=['Events' , 'events.php' , '_parent']; menu[5]=['Inventory' , 'inventory.php' , '_parent']; menu[6]=['Explore' , 'explore.php' , '_parent']; menu[7]=['Log Out' , 'logout.php' , '_parent']; menu[8]=['Your Settings' , 'preferences.php' , '_parent']; menu[9]=['Your Profile' , 'viewuser.php?u={$ir['userid']}' , '_parent']; menu[10]=['<center>- EXPLORE AREAS -</center>']; menu[11]=['Users Online' , 'usersonline.php' , '_parent']; menu[12]=['Shops' , 'shops.php' , '_parent']; menu[13]=['Item Market' , 'itemmarket.php' , '_parent']; menu[14]=['Your Bank' , 'bank.php' , '_parent']; menu[15]=['Deposit Cash $ {$ir['money']}' , 'bank.php?action=deposit' , '_parent']; menu[16]=['Withdraw Cash $ {$ir['bankmoney']}' , 'bank.php?action=withdraw' , '_parent']; menu[17]=['Gender = {$ir['gender']} [change]' , 'preferences.php?action=sexchange2' , '_parent']; menu[18]=['Right-click the mouse again to dismiss...']; //****************** NO NEED TO EDIT BEYOND HERE ******************** ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false; ie4 = (document.all && !document.getElementById)? true : false; ie5 = (document.all && document.getElementById)? true : false; ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false; w3c = (document.getElementById)? true : false; var mx=0; var my=0; var conmenu; var conshadow; var windowloaded=false; var opened=false; var ch=0; var cw=0; function setc(ref,c){ if(ns4)ref.bgColor=c; else ref.style.backgroundColor=c; } var txt='<div id="conshadow"> </div>'; txt+='<div id="conmenu">'; for(i=0;i<menu.length;i++){ if(menu.length<3){ txt+='<ilayer><div class="normtext">'+menu[0]+'</div></ilayer>'; }else{ txt+=(ns4)?'<ilayer width="100%" bgcolor="'+menuNormColor+'"><layer width="100%" onmouseover="setc(this,\''+menuHoverColor+'\')" onmouseout="setc(this,\''+menuNormColor+'\')">':'<div class="link" style="background-color:'+menuNormColor+'" onmouseover="setc(this,\''+menuHoverColor+'\')" onmouseout="setc(this,\''+menuNormColor+'\')">'; txt+='[1]+'"]'+menu[0]+''; txt+=(ns4)?'</layer></ilayer>':'</div>'; }} txt+='</div>'; document.write(txt); function ns4trap(evt){ if(evt.which==2||evt.which==3){ showmenu(); return false; }} function showmenu(){ if(windowloaded){ if(opened){ if(ns4){ conmenu.visibility="hide"; conshadow.visibility="hide"; conmenu.moveTo(0,0); conshadow.moveTo(0,0); }else{ conmenu.style.visibility="hidden"; conshadow.style.visibility="hidden"; conmenu.style.left='0px'; conmenu.style.top='0px'; conshadow.style.left='0px'; conshadow.style.top='0px'; } opened=false; }else{ opened=true; var wh=(ie4||ie5)?document.body.clientHeight:window.innerHeight; var ww=(ie4||ie5)?document.body.clientWidth:window.innerWidth; var sx=(ie4||ie5)?document.body.scrollLeft:pageXOffset; var sy=(ie4||ie5)?document.body.scrollTop:pageYOffset; if(ie4||ie5){ if(mx+cw+13>=ww)mx=mx-cw-13; if(my+ch+13>=wh)my=my-ch-13; }else{ if(mx+cw-sx+13>=ww)mx=mx-cw-13; if(my+ch-sy+13>=wh)my=my-ch-13; } if(ns4){ conmenu.moveTo(mx,my); conmenu.visibility="show"; conshadow.moveTo(mx+8,my+8); if(enableShadow)conshadow.visibility="show"; }else{ conmenu.style.left=mx+((ie4||ie5)?sx:0)+'px'; conmenu.style.top=my+((ie4||ie5)?sy:0)+'px'; conshadow.style.left=mx+10+((ie4||ie5)?sx:0)+'px'; conshadow.style.top=my+10+((ie4||ie5)?sy:0)+'px'; setTimeout('conmenu.style.visibility="visible"; if(enableShadow)conshadow.style.visibility="visible"; ',50); }}}} if(ns4&&!disableNS4){ document.captureEvents(Event.MOUSEDOWN|Event.MOUSEMOVE); document.onmousedown=ns4trap; }else{ document.oncontextmenu=function(){ showmenu(); return false; }} document.onmousemove=function(evt){ mx=(ie4||ie5)?event.clientX:evt.pageX; my=(ie4||ie5)?event.clientY:evt.pageY; } window.onload=function(){ windowloaded=true; conmenu=(ns4)?document.layers['conmenu']:(ie4)?document.all['conmenu']:document.getElementById('conmenu'); conshadow=(ns4)?document.layers['conshadow']:(ie4)?document.all['conshadow']:document.getElementById('conshadow'); ch=(ns4)?conmenu.document.height:(ie4||ie5)?conmenu.clientHeight:conmenu.offsetHeight; cw=(ns4)?conmenu.document.width:(ie4||ie5)?conmenu.clientWidth:conmenu.offsetWidth; if(ns4){ conshadow.clip.height=conmenu.document.height; conshadow.clip.width=conmenu.document.width; conmenu.clip.bottom=conmenu.document.height; }else{ if(enableShadowTransparency){ if(ie4||ie5)conshadow.style.filter="alpha(opacity=50)"; if(ns6||!ie4||!ie5)conshadow.style.MozOpacity=.5; } conshadow.style.height=ch+((ie4||ie5)?4:0); conshadow.style.width=cw+((ie4||ie5)?4:0); } //ADD OTHER WINDOW ONLOAD EVENT HANDLER SCRIPTS/COMMANDS HERE } window.onresize=function(){ if(ns4)setTimeout('history.go(0)',200); //ADD OTHER WINDOW RESIZE HANDLER COMMANDS/SCRIPTS HERE } </script>[/js] Reupload your header.php work on all browsers
-
Search the forums you will save yourself some cash
-
found this maybe useful for you http://www.jegsworks.com/Lessons/web/html/fp/align.htm
-
Godaddy isnt the best for setting up any game or website. I remember when i was with them it was a hassle just to set up a Dbase as they dont use localhost.. Your best bet is get anotehr HOSt and steer clear of godaddy their support is an automated bot you'll never talk to a human
-
Points taken i was lokoing for Swords but as there are so many images to apply chains seemed appropriate to continue the loop However I am working on reducing the amount of images taken to create the skin and make it so the images lenghens when the menu is lenghened. there are 39 images for that one page and most are really not needed..
-
Just because an Error is reported on a LINE doesnt always mean its that line thats at fault o try looking at lines before that statement.
-
Created a new skin for the miniNEAB just wanted some feedback on your view as its my first attempt at making a Skin. All comments are welcome if i get enough feedback i'll give this SKIN away for FREE
-
To help the Visually Impaired Players + Change font styles
Uridium replied to Uridium's topic in Free Modifications
I dont claim to be a geat Javascript coder i just added some extra parts and thought it would be useful.. However if this can be reduced in size and made smaller than the original Script thats good by me the font size on this doesnt have a limit and can be zoomed in and out at incredible sizes. -
This Plugin will allow your users to select from different font sizes they can reduce and Enlarge the font to suit their needs and the options are saved they can also change their Fontstyles and again this is saved... The Javascript wasnt written by me but ive added some functions so it works with MCC... Call this file easydynfont.js /* Easydynfont Version 1.0 written by Chris Heilmann please refer to the homepage at [url]http://www.onlinetools.org/tools/easydynfont.php[/url] */ // Standard setting, separate fonts with "," and make sure to set standardfont // and size to avoid errors var fonts="Arial,Times New Roman,Verdana,Courier".split(","); // you can addmore fonts here as and when you wish illusions var standardfont="Arial" var standardsize="90%" var nosave=false; /* function drawform() adds the standard form to the document. */ function drawform(){ if (!document.layers){ document.write("<form action=\"/\" name=\"dynform\" class=\"dynform\">"); document.write("<select class=\"dynselect\" name=\"typeface\" onchange=\"setFont(this.options[this.selectedIndex].value)\">"); for (i=0;i<fonts.length;i++){ document.write(" <option value=\""+fonts[i]+"\">"+fonts[i]+"</option>"); } // EDITS AND ADDITIONS BELOW CREATED BY ILLUSIONS TO FORM IMAGES AND REDUCE AND MAKE LARGER // document.write("[img=save.gif]"); document.write("</select>"); document.write("[img=up.gif]"); document.write("[img=down.gif]"); document.write("<input type=\"button\" name=\"nosave\" value=\"SAVE\" />"); document.write("</form>"); } } /* function init() loads the cookiedata and changes the document accordingly, if there is no cookie, sets the standard settings and stores it */ function init(){ if (!document.layers){ size=getCookie("dynfontsize"); if (size!=null){ c=size.split(":"); document.getElementsByTagName("body").item(0).style.fontSize=c[0]; document.getElementsByTagName("body").item(0).style.fontFamily=c[1]; } if (size==null || c[0]=="" || c[1]==""){ document.getElementsByTagName("body").item(0).style.fontSize=standardsize; document.getElementsByTagName("body").item(0).style.fontFamily=standardfont; storeSize() } } // Special setting, if you want to use the "don't save" chekbox nosave=document.dynform.nosave.checked } /* function addSize(add) increases the size of the document font by "add", negative values make the font smaller. */ function addSize(add){ if (!document.layers){ doc = document.getElementsByTagName("body").item(0) size=parseInt(doc.style.fontSize)+add; doc.style.fontSize=size+"%"; if (nosave==false) storeSize() } } /* function SetSize(add) sets the font size of the document. */ function setSize(add){ if (!document.layers){ document.getElementsByTagName("body").item(0).style.fontSize=add+"%"; if (nosave==false) storeSize() } } /* function SetFont(add) sets the font face of the document. */ function setFont(add){ if (!document.layers){ doc = document.getElementsByTagName("body").item(0) doc.style.fontFamily=add; if (nosave==false) storeSize() } } /* function storeSize() saves the current settings of the document in a cookie */ function storeSize(){ var exp = new Date(); exp.setTime(exp.getTime() + 24*60*60*90*1000); size=document.getElementsByTagName("body").item(0).style.fontSize; font=document.getElementsByTagName("body").item(0).style.fontFamily; setCookie("dynfontsize",size+":"+font,exp); } /* function setCookie() sets the cookie */ function setCookie(name, value, expires, path, domain, secure) { var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "") document.cookie = curCookie } /* function getCookie() reads the cookie */ function getCookie(name) { var prefix = name + "=" var cookieStartIndex = document.cookie.indexOf(prefix) if (cookieStartIndex == -1) return null var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length) if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)) } open up header.php where the HTML part is find <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> Underneath add <script language="JavaScript" src="easydynfont.js"></script> Now remove the function for fonts which is 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; } Now near the end of the HTML look for the body tag <body> and underneath add <body bgcolor="black"> <body onload="init()"> <script language="JavaScript">drawform();</script> And your done DEMO >>> http://www.mccode.doom-nights.com USERNAME= test AND PASSWORD= test Download the fontimages.rar fle and upload to the root of your game
-
Nicely done Ishmell very nice. would be nice to create some Mods/plugins for you when its available...
-
Tried several times to install this script and failed there is however an updated version which is called webdiplomacy which is exact same as above and by the same Author as above,, LINK http://webdiplomacy.net/webDiplomacy-latest.tgz Again tried to install this The registration page uses captch image but it doesnt work so you cant register. File size of this one however is 9mb Was easier to install but again even with the reg names on the MYSQL i got an error at login... Fatal error: Access to undeclared static property: Config::$salt in /xxxx/xxxx/xxxx/phpdiplomacy/webdiplomacy/lib/auth.php on line 168 Thier forums can be found at http://forum.webdiplomacy.net/index.php but doesnt offer much hope for a solution.....
-
Plus Points... Nicely animated 2D interface, charcter's are nicely drawn, plenty of maps can be added Once youve worked out how to do them as there isnt much of a help file. But overall the charcter based 2D environment was unwittingly addictive to walk round and exlpore.. and could be made even larger with new addon Maps, The editing system although basic did prove a purpose that it can be used to make a great game if the owner had the time and temprament to do so. Minus Points.. I found that even on the Beta version which can probably be improved the Javascript Crashed Quite a lot, The ability to click and manouver your charcter around the 2d frame seemed a task at some points and, also found that your character would just Freeze to the spot whenever you gave them a direction to walk to. The CPU usuage would be a concern when more people got involved in the game as i found that using 3 charcters caused a great deal of lagg. Overall As a game it has some unique spots that could entertain your members but i do feel on the whole because of lack of movement sometimes, This could be a headache.. My score for the Glorylands engine has to be 5/10...