Uridium Posted February 17, 2009 Posted February 17, 2009 I was bored stupid so set about the installer.php on mcc v2 i was fed up of seeing crystals energy, brave, willl, $ signs and wanted to make a version where Admins can alter any of the things they like And ive cracked it Admin can alter anything they want via the admin panel change the name of the bars to suit them, the currency even renaming links all without altering any files ( FRESH INSTALL ONLY ) I'll put up a working demo site for you to view and use. And thanks to Crazy-T for the hosting :) Quote
Miniman Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... So, What if you wanted to change 'Crystals' to 'Diamonds'? You need to edit files because it's all written in. Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Thats correct but once youve done my inserts to the scripts for that you will never need to alter the files again Quote
Miniman Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Ah, Ok Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... few screen shots From Install From Admin Panel From Users View test site link Reg and i will give you staff staus to test out the features... http://www.testsite.murder-city.com Can I just mention a big thanks to POG1 for his help with the removal of $ to let users choose their own currency symbol Quote
Eternal Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... So in basic context you have gone through every file and set the $ sign to be eg.. fetch from settings and a set of conf values to define this. like brave = $set['brave'] don't get me wrong but couldn't anyone do this if you provided the sql and variables on a standard base. You don't have to do a fresh install either, Just means taking a day to edit every file... Nice though "Different!!" Quote
(((TOLK))) Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... I think its a great idea especially for ppl who cant edit codes very well Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... I will post the working script once ive got the SQLS sorted... Quote
SpEcKs Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... so will this change the title of the links then e.g. on explore there is a crystal market if you change the crystals to lets say diamonds it will automaittlcally change the link and all of the contents in the link to diamond market is that what your saying ??? Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Yes once youve made the ammendments to each script then what ever item you put example BLOOD POINTS instead of WILL that will become BLOOD POINTS on all scripts that used to read as WILL Quote
SpEcKs Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... oh ok thats cool when do you think it will be done ??? Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... in about 5 - 10 mins Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open up staff.php find Paypal Address: <input type='text' name='paypal' value='{$set['paypal']}' /> and underneath add these You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. on the ssame file on line 131-136 overwrite with this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. now open up global_func.php this edit kindly done by POG1 Over write You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. all you need to do now is change all text mentions of crystals to {$set['game_currency']} DONT alter the ones from any SQLS just the ones after PRINT or ECHO and for the Bars just change as you did with the Crystals ammending the $set name for each. Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... The same principal applies for any other parts you want to change just create a new TABLE NAME and follow the above steps Quote
webster2001 Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Good one, I was gunna do this but now i dont have to, Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Is anyone using this mod as i was planning on expanding it but if its not of a great purpose too anyone i can concentrate on something else.. Quote
Paddy Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... im actually waiting for an adon :-D i know you always come up with something new as usuall Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Me personally id do it so there would never be any text events in a script and it was all editable from the admin panel lol thats me thinking outside the box yet again lol Quote
Paddy Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... MySQL said: Documentation #1064 - 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 'TABLE `settings` ADD `game_value` VARCHAR ( 255 ) not null default '$', ALTER T' at line 2 Quote
Uridium Posted February 17, 2009 Author Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Hmm strange it worked fine for me try adding them manually one by one see if that cures it.. Quote
Paddy Posted February 17, 2009 Posted February 17, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... sorry my bad, had some wrong settings, works fine Quote
Uridium Posted February 18, 2009 Author Posted February 18, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... This is a Self Installer and will allow you to add your items text if you already have a SQL in operation it will ONLY add to the SQL what you need and wont interfere with any other part of your game...... call this file installer2000.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. RENAME THIS FILE ONCE YOU HAVE RUN IT AND SEE THE SUCCESSFUL MESSAGE Quote
Haunted Dawg Posted February 18, 2009 Posted February 18, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Why don't people ever use the UNLINK(); command in installer's? Quote
MyGunWars Posted February 18, 2009 Posted February 18, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... To Work On My Site I Need To Add These SQLS One At A Time. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And For Put These In Your Site: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MyGunWars Posted February 18, 2009 Posted February 18, 2009 Re: [Mccodes V2] Set Up V2 the way you want it without altering files.... Also Thought Of This Game Banner: SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add Under: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add This: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add In header.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.