ScriptUO
Ultima Online Fan Board => General UO Chat => Topic started by: NObama on January 02, 2013, 06:54:23 AM
-
Greetings!
I've been running cLAW along with a modified version of Cerv's Honor-and-Attack all weekend. I've been restarting cLAW every two hours or so because it starts getting very slow and will eventually trigger either a client crash (because H-a-A moves while cLAW is being pokey with dragging) or an EUO crash.
Details:
- Vista, 32-bit on a laptop that was new in 2007
- Running both cLAW and H-a-A in the same EUO instance
- No other clients/instances running
Anyone else experience sometime similar?
Thanks!
-
have you tried to go back to a previous version? I made some drag changes in the last version. The cLAW does some garbage collection to keep string sizes moderate. If you do a var-dump and send it to me after one of your marathon runs just before a crash, that'll help me see what's up. Don't post it publically.
-
Haven't tried rolling back to a previous version. Assuming my character hasn't died to natural causes and EUO hasn't crashed when I get home, I'll PM you the var dump this evening.
Thanks, TM! I also wanted to complement you on the customizable rules system - it is truly amazing. Your flexible system is really nice with the new loot changes! If I sell some of these neat jewelry pieces, I'll have to tip you some of the giant pile of gold I expect to make!
Cheers!
-
Var Dump
-
ROFL!
-
Opps you said to NOT post publicly :)
-
So Claw install itself as own driver? :-X
btw this bluescreen reminds me when i used it as screensaver and some employees stopped at my places and thought my computer crashed :D
-
Well, my character was OOoOOooing when I returned home, so no way to know if the var dump would have been meaningful. I rather suspect that the poor toon died while doing ultra-slow scanning/looting via claw...but I can't prove it, your honor!
Pulled a total of 825 items out of Shame, all at least "Major Magic Item" level. Another 370ish before dying/crashing overnight - so I can't really complain.
I should start another thread to show examples. Maybe someone here wants to buy 'em! I sure as heck can't seem to break into the markets on Atl, Pac or GL. Is there a boss I have to pay homage to or something?
-
Well, my character was OOoOOooing when I returned home, so no way to know if the var dump would have been meaningful. I rather suspect that the poor toon died while doing ultra-slow scanning/looting via claw...but I can't prove it, your honor!
Pulled a total of 825 items out of Shame, all at least "Major Magic Item" level. Another 370ish before dying/crashing overnight - so I can't really complain.
I should start another thread to show examples. Maybe someone here wants to buy 'em! I sure as heck can't seem to break into the markets on Atl, Pac or GL. Is there a boss I have to pay homage to or something?
On Europa is every Wednesday a player holded auction.. maybe those goodies could take a good price in situations like that;)
-
I have had crashes with the same combo. But, it is far better than the crashes I got with the old looting script I used. The key for all looting scripts is not to move, obviously. So, I now use Froncy's Auto Attack. You lose honor, but does that matter when scripting? Time is not of the essence and you are probably not scripting against uber monsters. Anyways, I have great luck with my sampire as he just sits there and the bad guys come to him. With the thrower you lose a lot of loot when the monster dies out of reach. But, no crashes.
-
BTW, use the Berserker Mode (F11 attack all) rather than the Attack Best Choice mode (F12). Sometimes with Attack Best Choice your character fixates on a monster out of reach (like a Rising Colossus) while getting hammered by closer monsters.
-
Well, my character was OOoOOooing when I returned home, so no way to know if the var dump would have been meaningful. I rather suspect that the poor toon died while doing ultra-slow scanning/looting via claw...but I can't prove it, your honor!
Pulled a total of 825 items out of Shame, all at least "Major Magic Item" level. Another 370ish before dying/crashing overnight - so I can't really complain.
I should start another thread to show examples. Maybe someone here wants to buy 'em! I sure as heck can't seem to break into the markets on Atl, Pac or GL. Is there a boss I have to pay homage to or something?
I'd love to see what you get. I'd also try spamming pics on stratics selling/trading area http://stratics.com/community/forums/uo-traders-hall.41/ some of the stuff that sells there is stunning, or the gold it nets is stunning.
-
Here's something to try NB: Locate the "ProceedAndLoot" sub and comment out the following 3 lines:
; gosub AddItemsToList HISTORY !loot_list
; if %right_pane = HISTORY
; gosub DrawHistoryPane
This will stop the history logging, but I'm curious if the problem then goes away. Seeing from your logs, you are looting a billion items at a setting and the logging gets kinda long.
-
Thanks! You know, it never occurred to me that I was going to be amassing a huge history log. I almost never use that display when I'm cLAWing.
-
If that becomes the issue, all you need to do is go through all your rules and uncheck the "log?" checkmark for each.
-
Seeing from your logs, you are looting a billion items at a setting and the logging gets kinda long.
Indeed. Indeed I am. MUAHAHAHAHAHA!
*ahem* Sorry about that - channeled a bit of Dr. Evil for a moment.
I appreciate all the effort to review the log files to find a solution! I'll let you know after my run tonight if the log option/commenting works. First, though, I have ANOTHER BILLION ITEMS to sort.
MUAHAHAHAHA!
*ahem*
-
let it run for a while with that code commented out and send another var dump to see if that's helping or not. It's been a while since I've played with the CLAw (or any script for that matter) so there could be other issues.
don't forget to check the LPC. If the LPC is too high on the honor and attack script, that will impact the speed that the CLAw loots.
-
On Newer Processors you also have to be careful with the ol LPC. With a lot of things in game the difference between 20 and 100 LPC is negligible. Even 20 and 1000 is almost non existent for most applications, but it will Increase your CPU regardless. The Higher your CPU goes, the Slower your Scripts go, no Matter your LPC.
-
True true. EUO scripts basically share an LPC pool. If you have one script that's constantly running at high LPC, it will detract from the other scripts performance.
-
And if all else fails you might have to switch from using a "Call" to actually incorporating the script into your code at the bottom and then using a gosub. Calls take longer.
-
also very true. I switched from calls to gosubs years ago. I found their stability would cause EUO to crash when I would run the calls based files from a NAS. Just made everything unstable. But after I got rid of those calls, the scripts would run forever.
-
also very true. I switched from calls to gosubs years ago. I found their stability would cause EUO to crash when I would run the calls based files from a NAS. Just made everything unstable. But after I got rid of those calls, the scripts would run forever.
LOL, im going the otherway ... I'm moving everything into calls.... and loving it...
With the buffbar i did some testing on calls.... the slow down from using a call is minimal for all but the most time sensitive scripts. And interestingly if you call a script more that a couple times a second their is basically zero load time.. probably because the drive still has it in its cache.
So far no I've had zero problems with my call library and from some of my scripts the librarys are calling themselfs....... but my files are all local. The only bit that can be tricky about calls is debugging.
-
The stability issue for me was a deal-breaker since I script completely from my Samba shared drive.
-
The stability issue for me was a deal-breaker since I script completely from my Samba shared drive.
Yea i can how that would be an issue... but right now im going to take the drawback of not being ale to use a network drive over the benifit of not having a 100 version of my code all over the place.
-
The stability issue for me was a deal-breaker since I script completely from my Samba shared drive.
but right now im going to take the drawback of not being ale to use a network drive over the benifit of not having a 100 version of my code all over the place.
I hit that point a while back with a lot of my scripts because I kept having to update the Individual Subs in 20 Scripts every Time I found a glitch. But, its 10x more Difficult to debug a script when its in call mode as well, so for that reason I went back to having the code in the scripts themselves. Maybe 1 Day, in the Far off Future I'll have a call Library that I can build my scripts from, but for now everything is still evolving too fast for that.
-
Back before EUO 1.5, you could actually successfully debug called scripts. Cheffe just kinda gave up on 1.5 and never debugged the debugging process.