Jump to content
MakeWebGames

[mccode v2] Merge Item's


Jameoo

Recommended Posts

Guest Anonymous

Re: Merge Item's [V2]

Slightly OT, but why on earth do you need to merge items? A swift read of the MySQL manual under INSERT syntax is all you need.

Link to comment
Share on other sites

  • 1 month later...

Re: Merge Item's [V2]

 

but why on earth do you need to merge items?

You should really think about buying the script some time. By default, when a player gets an item you already have, the dumb script doesn't merge them, but shows them twice on the item page, the new items and the ones you already had.

Link to comment
Share on other sites

  • 2 years later...
  • 2 weeks later...

open inventory, find

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

after the </a>] add this [Merge]

so it looks like this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

this should be easy, even for a n00b, i'm a n00b and that was easy, tbh i think you should try to learn it if your going to have a game

Link to comment
Share on other sites

this should be easy, even for a n00b, i'm a n00b and that was easy, tbh i think you should try to learn it if your going to have a game

Awwwh, It's not really working. And the merge option is only on food. I'm not the coder thats my partner but he is not well today so he asked me to have a crack at it... Not much luck though... Thanks anyway.

Link to comment
Share on other sites

this should be easy, even for a n00b, i'm a n00b and that was easy, tbh i think you should try to learn it if your going to have a game

Awwwh, It's not really working. And the merge option is only on food. I'm not the coder thats my partner but he is not well today so he asked me to have a crack at it... Not much luck though... Thanks anyway.

after creating file "Merge.php" and uploaded it, open up "Inventory.php" and find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace it with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

hopefully you get it idea where im coming at lol.

OR

open up "inventory.php" and find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and under it add this lol.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

NOTE: this way might slow game down lol.

Link to comment
Share on other sites

  • 3 months later...

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