SphereCommunity
Mining weird behaviour - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Mining weird behaviour (/Thread-Mining-weird-behaviour)



Mining weird behaviour - tleilax - 01-03-2014 04:35 AM

For some reason, nobody can mine any silver ore after updating to 56b form 55i. Could you check that everything is right?

Code:
[REGIONRESOURCE mr_silver]
// t_rock
SKILL=50.0,80.0
AMOUNT=3,6
REAP=i_ore_silver
REGEN=60*60*10

Code:
[AREA Britain province] //ok
FLAGS=0100
CLASS=11
RECT=1136,1228,1610,2016  
RECT=1080,1496,1136,2016
RECT=1610,1332,1740,1904
P=1261,1666
GROUP=ALLMAP
RAINCHANCE=019
RESOURCES=r_default_rock, r_default_water, r_default_tree
EVENTS=r_home_human

Code:
[REGIONTYPE r_default_rock t_rock]
// Random rocks
RESOURCES=100.0 mr_nothing
RESOURCES=100.0 mr_iron
RESOURCES=20.0 mr_sand
RESOURCES=30.0 mr_copper
RESOURCES=20.0 mr_zinc
RESOURCES=20.0 mr_sulfur
RESOURCES=5.0 mr_vash
RESOURCES=18.0 mr_tin
RESOURCES=15.0 mr_gold
RESOURCES=7.0 mr_rose
RESOURCES=11.5 mr_agapite
RESOURCES=8.5 mr_silver
RESOURCES=5.0 mr_verite
RESOURCES=4.0 mr_Valorite
RESOURCES=3.0 mr_bloodrock
RESOURCES=2.0 mr_blackrock
RESOURCES=0.7 mr_mytheril
RESOURCES=0.5 mr_diamond
RESOURCES=0.3 mr_ruby
RESOURCES=0.5 mr_citrine
RESOURCES=0.5 mr_emerald
RESOURCES=0.5 mr_star_sapphire
RESOURCES=0.5 mr_sapphire
RESOURCES=0.5 mr_amethyst
RESOURCES=0.4 mr_tourmaline
RESOURCES=0.5 mr_diamond_5
RESOURCES=0.3 mr_diamond_3
RESOURCES=0.5 mr_amethyst_3
RESOURCES=0.2 mr_sapphire_2
RESOURCES=0.2 mr_amethyst_4
RESOURCES=0.2 mr_citrine_4
RESOURCES=0.1 mr_amber
RESOURCES=0.01 mr_shadow

From what I've checked, they can only mine everything till gold and then every gems. Nobody has ever seen silver/gold/rose etc..

I've tried putting only RESOURCES=100.0 mr_silver into that regiontype - after restarting sphere, nobody could mine anything.

Thanks for any ideas.


RE: Mining weird behaviour - XuN - 01-03-2014 05:51 AM

At first, you should know that the sum of ALL of these values MUST be 100, as they are percentajes, try redoing them and trying with mining=100.0


RE: Mining weird behaviour - Extreme - 01-03-2014 06:25 AM

(01-03-2014 05:51 AM)XuN Wrote:  At first, you should know that the sum of ALL of these values MUST be 100, as they are percentajes, try redoing them and trying with mining=100.0
I don't know NOW, but before, it didn't need to SUM 100.

Don't know how he is testing, but with lower mining than silver requires, he will never find silver hahahahha


RE: Mining weird behaviour - tleilax - 01-03-2014 06:26 AM

Yea, the problem is that we upgraded from 55i - you didnt need to have sum of 100 there. I'll test it later, thanks for the feedback.


RE: Mining weird behaviour - XuN - 01-03-2014 06:35 AM

It is NOT mandatory, but these values will work as they are supossed to, it can be a sum of 100, 200, 1000... whatever, but these values are the reflection of a percentaje, so if you want a 5% chance of verite ore, you are not geting it because the sum is not 100-based. And, of course, you have to check your mining skill, if you are still unsure about everything: comment out all of the ores except mr_iron with a 100% chance, and you will see that it is working, your problem is that you have a very high mr_nothing chance.


RE: Mining weird behaviour - tleilax - 01-03-2014 07:57 AM

Good, I also had to update skillmake on every ore - that was another thing that wasn't working on 55i. Thanks!