ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: NObama on March 16, 2013, 06:18:37 AM
-
I use cLAW for extended periods of time. When I do, I still get slowdowns - despite the great help TM has provided. When those slowdowns happen, I think this portion of the script I've modified is causing crashes:
sub git_back
if #charposX = %playerX && #charposY = %playerY && #charposZ = %playerZ
return
repeat
namespace copy TM_loot_in_progress from global TM_loot
until !TM_loot_in_progress <> #TRUE
event pathfind %playerX %playerY ; %playerZ
wait 3s
return
Basically, it is dragging when this sub triggers - even though it looks to me that it shouldn't be if looting is in progress.
Help?
-
I'd have to look at it but I don't see why the namespace copy would be any different than what I'm running.... Here's mine.
Sub CLAW
finditem YFM G_2
If #findcnt > 0
{
set %Corpse_Id #findid
Gosub OpenandWaitforContainer %Corpse_Id U 0
If #Result = #True
set %Corpse_Cont #Contid
}
Else
Return
Gosub TM_EvaluateContainer %Corpse_Cont #backpackid
set %temp_LPC #LPC
set #LPC 2
wait 20
Repeat
Gosub TM_LootInProgress
Until #RESULT = #FALSE
set #LPC %temp_LPC
Ignoreitem %Corpse_Id
Return
I just took the suggested integration Subs that you find in the CLAw thread and used them inside my script that does the killing. Can I asking at what point (# of items evaluated) that you start noticing slow downs? I regularly run for 4-6 hours without a problem, with CLAw 779, but with what I'm killing that's ~200 items / Hour evaluated.
-
From your last dump, NB, I can see where the other slowdowns are happening. Just not a whole lot I can do to fix it without redoing much of the data management. It's about as good as its going to get.
-
I just took the suggested integration Subs that you find in the CLAw thread and used them inside my script that does the killing. Can I asking at what point (# of items evaluated) that you start noticing slow downs? I regularly run for 4-6 hours without a problem, with CLAw 779, but with what I'm killing that's ~200 items / Hour evaluated.
I'm doing about 5-10 times that many.
@TM - I'm not complaining, my friend! Just trying to mitigate the crashes.
LOL - I also figured out that when my wife runs the microwave for more than 2 minutes, it disrupts my wi-fi. I was pulling out my hair there for a while.
-
So no Hot Pockets while you play UO? That's madness!!
-
I just took the suggested integration Subs that you find in the CLAw thread and used them inside my script that does the killing. Can I asking at what point (# of items evaluated) that you start noticing slow downs? I regularly run for 4-6 hours without a problem, with CLAw 779, but with what I'm killing that's ~200 items / Hour evaluated.
I'm doing about 5-10 times that many.
@TM - I'm not complaining, my friend! Just trying to mitigate the crashes.
LOL - I also figured out that when my wife runs the microwave for more than 2 minutes, it disrupts my wi-fi. I was pulling out my hair there for a while.
Change the channel your router broadcasts on.
-
Funny thing. My experimentation with that this weekend looks a lot like your animated signature, dxrom...
-
WoW! your microwave takes a whole 2 minutes to disrupt your wi-fi ?? mine is almost instantaneous! it's a new 1250 watt and i'm definitely going to have to look into changing some frequency.
on a serious note, i'm very new to this site, and probably even newer to scripting, but i'm totally confused about all the mentions of 'CLAw'. is this some kind of download a script user would need or is it just something script writers use?
-
get unrestricted and we will reveal all!!
-
-
i can understand the 'unrestricted' :) i've posted my new user post, just up to management to accept me (*crosses fingers*)