Hi again,
so you check your weight inside the mining sub as I see ...
and why do you check it again in the main loop ?
I think if you do one correct weight check it is really enough,
and will reduce "doubled" stuff :-)
btw. about your weight check ... there is a small issue in your way
to do it .... humans and elfs have to be handled differend...
If you are interested .. to see more about this ...
I added my usual way of weightcheck sub.....
And make sure you think about the fact that one dig can bring
up lots of weight in one round ... let's say the char can handle
450 stones .. you already have 440 and you digup a pile of 12 ore...
result is .. you got stuck ...
I for sure respect your idea to do a recall sub on your own ....
but there is a great transportation SUB for public use around ...
a guy named TrailMyx

... made it available to the public....
great code... very easy to handle ... he just asks for creditin the
header of the script

; Prepair to get the Data to do a propper WeightCheck
;------------------------ Data -----------------------------
SUB WeightCheckSetup
Set %Human #FALSE
FindItem #CHARID *
if #FindType notin XU_AV
{
Set %Human #TRUE
;Open Status if it is closed
if #MAXWEIGHT = N/A
{
Event Macro 8 2
Wait %DelayEvent
}
RETURN
; WeightCheck to prevent from Overload
;------------------------ Routine -----------------------------
SUB WeightCheck
if %Human = #TRUE
Set %MaxFreeBackPackLoad ( #MAXWEIGHT + 60 ) - #WEIGHT
if %Human = #FALSE
Set %MaxFreeBackPackLoad #MAXWEIGHT - #WEIGHT
if %MaxFreeBackPackLoad > 550
Set %MaxFreeBackPackLoad 550
if %MaxFreeBackPackLoad < 0
Set %MaxFreeBackPackLoad 0
RETURN