ScriptUO

Scripting Resources & Utilities => OEUO => OpenEUO Scripting Chat => Topic started by: TrailMyx on September 21, 2010, 11:43:51 AM

Title: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 21, 2010, 11:43:51 AM
Only 4100 more to go!!  lol

I will finally be releasing the FULL CLAw to the general population, but you have to use OEUO to use it.  The OEUO version will be based on 0.777 which is unreleased except for Cerveza and it includes unravel scoring.

But the CLAw port has also brought out several additional scripting tools for everyone to use.  This includes file setup save/loading as well as a method to simulate scripts dependent on namespaces without having to re-architect (i.e. the CLAw).

I'll be posting the file I/O stuff soon. 
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Endless Night on September 21, 2010, 11:45:25 AM
tm = The Man ??!!!   and you are the man  :D
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 21, 2010, 11:46:59 AM
tm = The Man ??!!!   and you are the man  :D

Lol, I never thought of that one.  ;)

Anyhow, just wait to see the evaluation times.  heh

Unfortunately, since I'm just doing a raw port of the CLAw instead of re-architecting it to better suit Lua (well, hybrid port actually), I'm finding this code will be just as difficult to follow for the starting scripter as the CLAw was for EUO.  Sorry.  heh
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Khameleon on September 21, 2010, 01:12:28 PM
wow.. I used to feel somewhat special when I could tease GenPop about full featured abilities... now.. I'll need to find some other elite script to tease with....
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 21, 2010, 03:18:34 PM
Well it's a bit selfish really.  I'm kinda tired of supporting more than one version....  :)
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Khameleon on September 21, 2010, 03:24:06 PM
I hear ya.. I still got beetle jacker and FAF, which I hope still works after the booster pack with the new flowing movement act. should I think they said old boats will still be command based...
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Masscre on September 22, 2010, 08:26:41 AM
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 22, 2010, 08:34:41 AM
That's fine then.  My fishing scripts only work with the small boats anyhow.
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: NObama on September 23, 2010, 07:17:18 AM
It's like all the cool spinoff tech that came with the space program.  New oeuo claw will revolutionize our scripting experience!

We now return to waiting for Disneyland to open.
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Cerveza on September 23, 2010, 08:11:04 AM
I'm geared up for testing. Will be modifying the template just a bit.

Any chance of getting a port of the Healing Commander about the same time frame?
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 23, 2010, 08:27:21 AM
That next on my list to port since I use it so much.
Since the journal scanner is available, the healer well be easy
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Masscre on September 23, 2010, 09:01:14 AM
Nobama should we take a hint that maybe you are some where near disneyland?
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Xclio on September 23, 2010, 09:40:55 AM
Should make analyzing much faster that for sure!
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on September 23, 2010, 09:44:27 AM
Nobama should we take a hint that maybe you are some where near disneyland?

I work there on the weekends; I'm one of the Churro venders.  jk
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: NObama on September 23, 2010, 02:46:03 PM
Nobama should we take a hint that maybe you are some where near disneyland?

I work there on the weekends; I'm one of the Churro venders.  jk

Darn, because I was totally going to hit you up for free churros!

Last day of Disney continues!
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Endless Night on September 23, 2010, 02:53:02 PM
Nobama should we take a hint that maybe you are some where near disneyland?

I work there on the weekends; I'm one of the Churro venders.  jk

Darn, because I was totally going to hit you up for free churros!

Last day of Disney continues!


Churros  .. what least he could do is let you pitch a tent next to his famous palm tree !!!
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on October 03, 2010, 03:06:05 AM
CLAw for OEUO update:
So the script executed 2912 rules in 113 milliseconds.  That means each rule takes 38.8 microseconds.  Going back to the CLAw, @9-15 milliseconds/rule, that means this script is 250-390 times faster.  This would take the old CLAw 26.2-43.7 seconds instead of 113 milliseconds.

No way around the slowness of FINDITEM, so evaluation of 113 items takes around 6 seconds, with only 113 milliseconds used for analysis.  Not too shabby.
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Khameleon on October 03, 2010, 06:48:46 AM
I'll take one!
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on October 03, 2010, 12:07:53 PM
This is the loot profile for a container of rings/bracelets as looted by the CLAw(EUO)

Here's the same container run through the CLAw for OEUO:

Code: [Select]
FINDITEM time: 5.551000 seconds for 110 items
Any Skill match! Unravel = 379
Any Skill match! Unravel = 212
Any Skill match! Unravel = 330
Any Skill match! Unravel = 394
Any Skill match! Unravel = 387
Any Skill match! Unravel = 335
Any Skill match! Unravel = 312
Any Skill match! Unravel = 185
Any Skill match! Unravel = 467
Any Skill match! Unravel = 408
Any Skill match! Unravel = 393
Any Skill match! Unravel = 383
Luck match! Unravel = 83
Luck match! Unravel = 263
Any Skill match! Unravel = 206
Any Skill match! Unravel = 154
Any Skill match! Unravel = 317
Luck match! Unravel = 202
Any Skill match! Unravel = 299
Any Skill match! Unravel = 216
Any Skill match! Unravel = 205
Any Skill match! Unravel = 187
Any Skill match! Unravel = 122
Intelligence Bonus match! Unravel = 164
Any Skill match! Unravel = 213
Luck match! Unravel = 351
Lower Reagent Cost match! Unravel = 389
Any Skill match! Unravel = 273
Any Skill match! Unravel = 226
Any Skill match! Unravel = 208
Any Skill match! Unravel = 226
Any Skill match! Unravel = 372
Luck match! Unravel = 292
Any Skill match! Unravel = 293
Any Skill match! Unravel = 238
Any Skill match! Unravel = 341
Any Skill match! Unravel = 499
Any Skill match! Unravel = 302
Luck match! Unravel = 358
Container eval time: 5.690000 seconds for 110 items (including FINDITEM)
Items looted = 39
done looting
139
RPS(lo) = 16467.625899, RPS(hi) = 16467.625899, AvgRPS = 16467.625899
Rules/Container = 2289, AvgRPC = 2289.000000

Specifically this is informative:

Code: [Select]
RPS(lo) = 16467.625899, RPS(hi) = 16467.625899, AvgRPS = 16467.625899
Rules/Container = 2289, AvgRPC = 2289.000000

So we went from 97-103 rules/second to more than 16K

Now the script is over 2000+ lines.  :)
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: Khameleon on October 04, 2010, 01:29:38 AM
while your in the heart of this... just an idea for the carve corpse sub...
if you have a harvesting blade inside your bag you could use that for fast harvesting of leather.... just say'n...
Title: Re: 1100 lines into the CLAw port for OEUO
Post by: TrailMyx on October 04, 2010, 12:37:16 PM
while your in the heart of this... just an idea for the carve corpse sub...
if you have a harvesting blade inside your bag you could use that for fast harvesting of leather.... just say'n...

I'm weeks from little details like that.  :p  We'll file that away until those details are ready.  Heck, I can't even edit rules yet, just load rules from the previous CLAw; no small feat but that's what it's at.