ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: NObama on March 16, 2013, 06:18:37 AM

Title: Need help with cLAW integration
Post 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:

Code: [Select]
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?
Title: Re: Need help with cLAW integration
Post by: Alpha on March 16, 2013, 09:48:00 AM
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.

Code: [Select]
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.
Title: Re: Need help with cLAW integration
Post by: TrailMyx on March 16, 2013, 11:55:47 AM
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.
Title: Re: Need help with cLAW integration
Post by: NObama on March 16, 2013, 05:29:24 PM
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.
Title: Re: Need help with cLAW integration
Post by: TrailMyx on March 16, 2013, 09:09:16 PM
So no Hot Pockets while you play UO?  That's madness!!
Title: Re: Need help with cLAW integration
Post by: dxrom on March 17, 2013, 11:53:21 PM
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.
Title: Re: Need help with cLAW integration
Post by: NObama on March 18, 2013, 11:19:33 AM
Funny thing.  My experimentation with that this weekend looks a lot like your animated signature, dxrom...
Title: Re: Need help with cLAW integration
Post by: roadrunner on April 30, 2013, 03:07:52 PM
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?
Title: Re: Need help with cLAW integration
Post by: gimlet on April 30, 2013, 03:45:00 PM
get unrestricted and we will reveal all!!
Title: Re: Need help with cLAW integration
Post by: Khameleon on April 30, 2013, 05:52:28 PM
Title: Re: Need help with cLAW integration
Post by: roadrunner on May 01, 2013, 04:42:00 AM
i can understand the 'unrestricted' :)  i've posted my new user post, just up to management to accept me (*crosses fingers*)