SphereCommunity
Cannot Mine/Lumberjack - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Cannot Mine/Lumberjack (/Thread-Cannot-Mine-Lumberjack)



Cannot Mine/Lumberjack - GendR - 02-04-2017 04:10 AM

Hello, I've recently decided to come back to Sphere to create a new shard. I'm using a custom map with map0.mul, statics0.mul and staidx.mul. I can no longer mine or lumberjack when using the custom map.

Does anyone know what I need to update to get harvesting working again?


RE: Cannot Mine/Lumberjack - zottolo - 02-04-2017 03:26 PM

first of all try to check if both skills have FLAGS=SKF_GATHER existing and uncommented

i don't think custom files are the real problem cause they're working on types and region as you can see in sphere_region.scp


RE: Cannot Mine/Lumberjack - xwerswoodx - 02-05-2017 06:57 AM

What about your map0.file, is there r_default_rock and r_default_tree events on your areas?


RE: Cannot Mine/Lumberjack - GendR - 02-06-2017 12:25 AM

I'll check them and see, I know when I do .info on rocks, flowers, etc. it displays the correct static ID. When I do it on trees it tells me no "static tile" and then shows me the terrain tile ID.

I'll check into both those things when I get home. Thank you so so so much!


RE: Cannot Mine/Lumberjack - darksun84 - 02-06-2017 04:46 AM

Check if the trees/rocky areas graphics are different from the one that comes with default UO.

If you are using custom graphics with harvesteable resources, you will have to script the all the new trees
The rocky textures id range(can be found in Uofiddler in the LandData, in the tiledata tab) must be placed in the sphere_types.scp in the [TYPEDEF t_rock] section


RE: Cannot Mine/Lumberjack - GendR - 02-07-2017 10:57 AM

(02-06-2017 04:46 AM)darksun84 Wrote:  Check if the trees/rocky areas graphics are different from the one that comes with default UO.

If you are using custom graphics with harvesteable resources, you will have to script the all the new trees
The rocky textures id range(can be found in Uofiddler in the LandData, in the tiledata tab) must be placed in the sphere_types.scp in the [TYPEDEF t_rock] section

I don't believe they are, I saw another post with each tree and ID and mine seemed to match with theirs?

I'm going to check all these suggestions in a few. Thank you for the help guys!

so I'm in UOFiddler and I have 0x00E4, 0x00E5, 0x00E6, 0x00E7 and a bunch more. When I look in the file it is 0dc, 0ec, 06cd, etc... how exactly do I know what to put in the file? 00e4, 00e5, 00e6, 00e7?

I'm assuming finding the trees and checking/adding them is similar? I did notice there is no t_tree or anything, where do I locate the place to script trees?

Thank you guys again.


RE: Cannot Mine/Lumberjack - xwerswoodx - 02-07-2017 02:21 PM

0x00E5 = 000E5 (remove x only) but in hex I think 000E5 and 0E5 is same.


RE: Cannot Mine/Lumberjack - GendR - 02-07-2017 11:35 PM

(02-07-2017 02:21 PM)xwerswoodx Wrote:  0x00E5 = 000E5 (remove x only) but in hex I think 000E5 and 0E5 is same.

Thank you, I just wanted to make sure. I know other "emulators" and client versions do some funky stuff with the hex values.

(02-04-2017 03:26 PM)zottolo Wrote:  first of all try to check if both skills have FLAGS=SKF_GATHER existing and uncommented

i don't think custom files are the real problem cause they're working on types and region as you can see in sphere_region.scp

The flags=skf_gather are existing.

(02-05-2017 06:57 AM)xwerswoodx Wrote:  What about your map0.file, is there r_default_rock and r_default_tree events on your areas?

Yes there are.


Thank you again everyone for the help!


RE: Cannot Mine/Lumberjack - GendR - 02-08-2017 03:16 AM

I've got mining now working but cannot seem to find where to check/add tree statics?

Thank you to everyone who helped me figure this out!


RE: Cannot Mine/Lumberjack - zottolo - 02-08-2017 04:07 PM

(02-08-2017 03:16 AM)GendR Wrote:  I've got mining now working but cannot seem to find where to check/add tree statics?

i remember something similar happened to me too...do your trees show t_tree type correctly?