Jump to content
MakeWebGames

Recommended Posts

Posted

An add-on for that mining mod I put together. They both can be used together, and I would highly recommend that they are.

CREATE A FILE CALLED refine.php:

You're unable to view this code.

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

 

 

Save, upload.

CREATE ANOTHER FILE CALLED refine_globals.php: [There's an underscore (_) between refine and globals]

You're unable to view this code.

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

 

 

Replace the information I have set to yours. You may have to consult your mine_globals.php file for your items (if you are currently using the mining mod I made)

Save, upload.

ADD TO explore.php (or anywhere):

You're unable to view this code.

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

 

 

Screenies:

Home

Refine?

Refined!

Current Version: 1.0

 

Changelog

You're unable to view this code.

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

 

 

"Friendly to lazies" download link coming in a few!!

Comments, questions or concerns. please let me know by replying here or by PM.

Posted

Here it is updated. I really dont like it when you require/include files all over the place especially when its the same one over and over again:

refine.php

You're unable to view this code.

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

refine_globals.php

You're unable to view this code.

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

Posted

Samurai, that I do. Is that you who popped up my Skype? :P You should really let me know who you are in that contact request box. ;P

I'm looking at the globals file, Kyle, and my mouth has dropped. Mainly because I'm thinking "Why didn't I think of that...?"

Thank you Kyle. :) Is it alright if I put your tweaks into the OP?

Posted
Samurai, that I do. Is that you who popped up my Skype? :P You should really let me know who you are in that contact request box. ;P

I'm looking at the globals file, Kyle, and my mouth has dropped. Mainly because I'm thinking "Why didn't I think of that...?"

Thank you Kyle. :) Is it alright if I put your tweaks into the OP?

Yeah that's fine. Your mod, your headers, and your code

  • 1 year later...
Posted (edited)

25 Silver Flakes = 1 Crystal

50 Gold Flakes = 1 Gold Coin

Anything over 25 or 50 gives me a decimal number i.e. 1.12, and you end up losing any extra flakes you inputed that went over the 25 and 50 benchmark

Is there any way you can only trade 25 silver flakes and 50 gold flakes for 1 coin/crystal at a time?

So if I were to try to trade 28 or 55, I'd get an error instead "You can't trade more 25 at a time blah blah"

EDIT: Fixed (kinda):

You're unable to view this code.

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

 

Edited by PHPStudent

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