Author Topic: Need help with cLAW integration  (Read 4619 times)

0 Members and 1 Guest are viewing this topic.

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Need help with cLAW integration
« on: March 16, 2013, 06:18:37 AM »
0
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?

Offline Alpha

  • Hero Member
  • *
  • Posts: 583
  • Activity:
    0%
  • Reputation Power: 10
  • Alpha barely matters.Alpha barely matters.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: Need help with cLAW integration
« Reply #1 on: March 16, 2013, 09:48:00 AM »
0
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.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13304
  • Activity:
    0.6%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Need help with cLAW integration
« Reply #2 on: March 16, 2013, 11:55:47 AM »
0
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.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Need help with cLAW integration
« Reply #3 on: March 16, 2013, 05:29:24 PM »
0
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.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13304
  • Activity:
    0.6%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Need help with cLAW integration
« Reply #4 on: March 16, 2013, 09:09:16 PM »
0
So no Hot Pockets while you play UO?  That's madness!!
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: Need help with cLAW integration
« Reply #5 on: March 17, 2013, 11:53:21 PM »
0
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.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline NObamaTopic starter

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Need help with cLAW integration
« Reply #6 on: March 18, 2013, 11:19:33 AM »
0
Funny thing.  My experimentation with that this weekend looks a lot like your animated signature, dxrom...

Offline roadrunner

  • Full Member
  • ***
  • Posts: 107
  • Activity:
    0%
  • Reputation Power: 2
  • roadrunner has no influence.
  • Gender: Male
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: Need help with cLAW integration
« Reply #7 on: April 30, 2013, 03:07:52 PM »
0
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?

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6210
  • Activity:
    2.8%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +274
  • Referrals: 3
    • View Profile
Re: Need help with cLAW integration
« Reply #8 on: April 30, 2013, 03:45:00 PM »
0
get unrestricted and we will reveal all!!

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: Need help with cLAW integration
« Reply #9 on: April 30, 2013, 05:52:28 PM »
0

Offline roadrunner

  • Full Member
  • ***
  • Posts: 107
  • Activity:
    0%
  • Reputation Power: 2
  • roadrunner has no influence.
  • Gender: Male
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: Need help with cLAW integration
« Reply #10 on: May 01, 2013, 04:42:00 AM »
0
i can understand the 'unrestricted' :)  i've posted my new user post, just up to management to accept me (*crosses fingers*)

Tags: