Jump to content
MakeWebGames

Recommended Posts

Posted

Make items for All your dps name them what you want but you will have to add them names to the itmname part for each one in both of the parts of code.

First

Open Inventory.php Add at bottom with the rest

You're unable to view this code.

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

 

This provides the use button on that dp just copy this for all your dps and rename the item name part.

Then open itemuse.php

add this in there with the others edit it to suit your dps

You're unable to view this code.

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

 

Do as many of them as you need for your DPS then save and test also you will need to edit the numbers so that it provides what you need

 

Thanks InToXiDaTiOn

 

Updated:

Want a energy potion? follow this same as above just a different query

 

You're unable to view this code.

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

 

 

You're unable to view this code.

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

 

Then make a item called Energy Potion and test it and there you go you have a energy potion which you can make real cash off if you add to dps or even just have like will potions,

Thanks

InToXiCaTiOn

Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES]

ok i was just trying to help, doesn't just have to be used for dps it can be used for any type of item you want this will help people who get v1 and want to add a energy potion it has a little use there i think?

Added a Energy Potion,As many games want them and mccodes doesn't come with them.

Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

:-D its called wrong place, you can place stuff wrong which is why errors tell you that if it doesn't work then post the error you get here...

Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

have you thought about the item name you need to create it the same name as you enter !!! other wise iwont work if item is called energy potion and in the codes says Energy Potion it wont work they have to match :wink:

  • 1 month later...
Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

For V2:

Run SQL:

You're unable to view this code.

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

 

(I used 100 for item id, but you can change that to whatever you'd like.)

In Inventory.php, find

You're unable to view this code.

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

 

Add Below:

You're unable to view this code.

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

 

The above makes it so you don't need to edit the inventory.php each and every time you add a new donator pack.

In itemuse.php, find

You're unable to view this code.

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

 

and replace with:

You're unable to view this code.

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

 

For all other donator packs, just add (each time):

You're unable to view this code.

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

 

Finally, open ipn_donator.php, find

You're unable to view this code.

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

 

and change it to:

You're unable to view this code.

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

 

NOTE: To add new packs, under ipn_donator.php, you can use the same code as above, but change if to else if.

This is working without issue on my site, including crediting of the donator pack after being bought. You'll also need to change your donator.php if you add or change any of the values from the normal packs.[/code]

  • 7 months later...
Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

hi all i just wanted to know if anyone knew how to set it up so the person donating gets the DP when they finish the paypal transaction. i cant seem to get it to work

Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

This is the easiest code ever, my problem with dps is that when i add them all in ipn donator they don't seem to credit the item... weird... huh

  • 3 weeks later...
Posted

Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED]

What i don't understand is that: i did everything expept put it into the IPN donator File, but it doesn't work and an error on a particular line appears

  • 2 weeks 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...