- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
Hi! Extremely new to C#.
I am using OrionUO, ver 1.0.38.0.
UO version: 7.0.113.0
ServUO 57.4.1
I want to enable mining while mounted on my server.
Done some digging and Gemini troubleshooting.
Tested:
public override bool CheckHarvest(Mobile from, Item tool, HarvestDefinition def, object toHarvest)
else if (from.Mounted || from.Flying)
{
from.SendLocalizedMessage(501864); // You can't dig while riding or flying.
I know mining from horseback makes no sense, but so doesnt lumberjacking from horseback, and that is allowed.
Anyone would know how to enable mining while mounted?
Thanks!
I am using OrionUO, ver 1.0.38.0.
UO version: 7.0.113.0
ServUO 57.4.1
I want to enable mining while mounted on my server.
Done some digging and Gemini troubleshooting.
Tested:
- - deleting this line of code in the Mining.cs in the \Scripts\Services\Harvest\ directory.
public override bool CheckHarvest(Mobile from, Item tool, HarvestDefinition def, object toHarvest)
{
from.SendLocalizedMessage(501864); // You can't dig while riding or flying.
- - deleted all codes that send the localized message 501864.
- Gemini puked some "overriding codes" that should bypass the "you cant dig while riding", instructed me to place them in the Mining.cs and in the HarvestSystem.cs. Of course, after restart the server still requires the player to dismount.
I know mining from horseback makes no sense, but so doesnt lumberjacking from horseback, and that is allowed.
Anyone would know how to enable mining while mounted?
Thanks!