Jump to content
MakeWebGames

[Mccodes V2] Set Up V2 the way you want it without altering files....


Recommended Posts

Posted

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 :)

Posted

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.

Posted

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

Posted

Re: [Mccodes V2] Set Up V2 the way you want it without altering files....

few screen shots

From Install

image1.jpg

From Admin Panel

image2.jpg

From Users View

image3.jpg

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

Posted

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!!"

Posted

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 ???

Posted

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

Posted

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.

Posted

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

Posted

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..

Posted

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

Posted

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

Posted

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

Posted

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..

Posted

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

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...