Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot Mine/Lumberjack
Author Message
GendR
Apprentice
*

Posts: 19
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #1
Cannot Mine/Lumberjack
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?
02-04-2017 04:10 AM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #2
RE: Cannot Mine/Lumberjack
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
(This post was last modified: 02-04-2017 03:28 PM by zottolo.)
02-04-2017 03:26 PM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #3
RE: Cannot Mine/Lumberjack
What about your map0.file, is there r_default_rock and r_default_tree events on your areas?
(This post was last modified: 02-05-2017 06:59 AM by xwerswoodx.)
02-05-2017 06:57 AM
Find all posts by this user Like Post Quote this message in a reply
GendR
Apprentice
*

Posts: 19
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #4
RE: Cannot Mine/Lumberjack
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!
02-06-2017 12:25 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Cannot Mine/Lumberjack
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
(This post was last modified: 02-06-2017 04:46 AM by darksun84.)
02-06-2017 04:46 AM
Find all posts by this user Like Post Quote this message in a reply
GendR
Apprentice
*

Posts: 19
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #6
RE: Cannot Mine/Lumberjack
(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.
(This post was last modified: 02-07-2017 11:46 AM by GendR.)
02-07-2017 10:57 AM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #7
RE: Cannot Mine/Lumberjack
0x00E5 = 000E5 (remove x only) but in hex I think 000E5 and 0E5 is same.
02-07-2017 02:21 PM
Find all posts by this user Like Post Quote this message in a reply
GendR
Apprentice
*

Posts: 19
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #8
RE: Cannot Mine/Lumberjack
(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!
(This post was last modified: 02-07-2017 11:37 PM by GendR.)
02-07-2017 11:35 PM
Find all posts by this user Like Post Quote this message in a reply
GendR
Apprentice
*

Posts: 19
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #9
RE: Cannot Mine/Lumberjack
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!
02-08-2017 03:16 AM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #10
RE: Cannot Mine/Lumberjack
(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?
02-08-2017 04:07 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)