Jump to content
MakeWebGames

Recommended Posts

Posted

what it dose it when you add crystals you choose 1 5 10 days after they days are up it returnes the crystals and deletes from market also i have added a way they can only add 3 crystal sales at a time

Replace cmarket.php

with this

You're unable to view this code.

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

 

add the to your

cron_hour.php

You're unable to view this code.

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

 

add this to your DB

SQL

You're unable to view this code.

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

 

Add Your Done.

any bugs message me but has been tested

adding the itemmarket 1 soon

  • 4 weeks later...
Posted

Re: Crystal market with limit and day function

What he is meaning, That per say I did This.

MrGi Added 100 Crystals To The Market.

MrGi added 1000 Crystals to the market.

MrGi added 10000 Crystals to the market.

I can only post 3 different amounts of crystals.

He is not saying that the crystal post limit is 3.

If im not mistaken, That is what he means.

Posted

Re: Crystal market with limit and day function

 

What he is meaning, That per say I did This.

MrGi Added 100 Crystals To The Market.

MrGi added 1000 Crystals to the market.

MrGi added 10000 Crystals to the market.

I can only post 3 different amounts of crystals.

He is not saying that the crystal post limit is 3.

If im not mistaken, That is what he means.

Yeah that's right. :D

Posted

Re: Crystal market with limit and day function

great mod +1

Had it running for a few days and tested the cron in cron hour like you say and even had a go at crond day but nothing happens? anyone else have that?

Posted

Re: Crystal market with limit and day function

it seems no matter where i put the cron it runs hourly instead of daily.

 

to explain a little more when you add to the market everything goes fine say 1,5, or 10 days but it never stays on the market for a day it only stays on for hours.

Posted

Re: Crystal market with limit and day function

the mod is great don't get me wrong in any way. I just can't work out the cron to work correctly so probably more me than your code. I am not sure as the numbers haven't changed in the days left of the crystal market thats all.

Posted

Re: Crystal market with limit and day function

if you want a certain time to run 1 time day.....Use your day_cron, unless you want certain time...Example. if you want it to run at 12 (Noon)

 

You're unable to view this code.

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

 

Time is done on 24 hour. So, if you want 3 pm as example would be 15. Hope that helps.

  • 1 month later...
Posted

Re: Crystal market with limit and day function

I want this to work on Donatorday market but i am having trouble getting it to reset.

I have done the following and was hoping someone can correct my mistake (lol)

sql file

You're unable to view this code.

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

 

crons hour file

You're unable to view this code.

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

 

added to dday.php

You're unable to view this code.

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

 

I have also added 30 days as a maximum limit allowed at any one time...

Any help will be appreciated...

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