Opywang

Member
Hey there we're having trouble figuring out how to make player collect bod every 10 second.

Bulkordersystem

public static readonly int MaxCachedDeeds = 3;
public static readonly int Delay = 1;

I change the 6 into 1 it made it collect bod every 60 minute I think, but not sure.

I can't seem to go lower than that if anybody can help me figure out how to fix it to make players collect bods every 10 second I will appreciated it so much thank you!
 
Search where "Delay" is used.
I'm pretty sure it's something like "TimeSpan.FromHours(Delay)" or something, just change the hour bit for "Seconds".
 
It work thank you!
[doublepost=1509676444][/doublepost]O.K. it work, but we ran into a problem for some reason it became universal for all skilled level, and it doesn't work for certian skills it is for all skills.

I wanted the low level to get bod every 10 second while the higher level smith has to wait 6 hours, but for some odd reason it's overriding the black smith timer.

Here is Black Smith bod timer for skilled level, but it override these skilled level, and ignoring it for some reason.

if (theirSkill >= 70.1)
pm.NextSmithBulkOrder = TimeSpan.FromHours(6.0);
else if (theirSkill >= 50.1)
pm.NextSmithBulkOrder = TimeSpan.FromHours(2.0);
else
pm.NextSmithBulkOrder = TimeSpan.FromHours(0.02);
 
Last edited:
I am still having trouble what did you mean by you have to put it in the CanGetBulkOrder method?
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back