Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KaliOfLS

Pages: [1] 2 3 ... 28
1
Scripting Chat / Re: Pulling the new point value from bods?
« on: December 06, 2016, 06:56:54 AM »
Oh interesting, the bod system has been revamped.  I just read that. 

I think sorting mechanics are the same, evaluation is different.  The turning in would be significantly more complex.

2
Scripting Chat / Re: Pulling the new point value from bods?
« on: December 06, 2016, 06:29:40 AM »
If you want to sort bods decently efficient without OCR, then here is the best way to do it that I have found.

Calculate how many you can hold and still hold your books to fill into.
Remove that many bods from the book and put book into secure.
"Evaulate Bods" using event property.  Parse the string storing information (I used values) for all the unique values (item, cnt, size, quality, material).  Use these values to create a code.  I hashed them, but you could simply concatenate all the values (I realized this much after I produced my sorter, you can find in oEUO scripts on this board). 
Keep a list of bods associated with same destination book.  Once all codes are evaluated, iterate the list of destination books needed, pulling it into your pack, dropping in ALL of the bods with that destination book, and then returning it. 

This has been the most efficient way to sort easily (the most efficient would be to OCR your source book only pulling bods with the same destination book to minimize drag/drops).
Remember, calculations are pretty fast, but an issued UO action is at least a 1 second delay in your script.  Inefficent book pulling could compound your times immensely. 

How I did it was with a hash function, but string building is an option:  For example

Iron = 0
DC   = 1

Ringmail   = 0
Chainmail = 1

Small = 0
Large = 1

Normal = 0
Exceptional = 1

If I had three bods:

Normal Chainmail Coif 20 Iron = 012000  (0, 1, 20, 0, 0)
Normal Ringmail Coif 20 Iron = 002000 (0,0, 20, 0, 0)
Exceptional Chainmail Coif 10 DC = 111001 (1, 1, 10, 0, 1)

hashing the values was unneeded.  I would keep these as strings unless you text more.  I'm not sure if leading 0's and considering them numbers will result in anything positive.
Of course, this item evaulation will keep over important differences between weapons and shields so you may need to keep track of those.  So an item designation is good to, and I used a single value or items of the same set value (i.e. Kite, Heaters have the same value, weapons do not).

Anyway, if you want to use anything from my bod sorter, feel free.  but writing an euox equivalent, it is certainly possible but I promise you, it won't be as easy.  I exploit the crap out of tables and their behavior which are sadly absent from euox. :)


3
Off Topic / Life's travels
« on: December 02, 2016, 10:09:47 AM »
I've been pretty scarce here and at easyUO for the last year.

Work started at a new job, and the company was quite demanding.  I wrote programs in java to increase my productivity at work instead of in UO.  Even considering those improvements saving me 5 hours a week, they company was relentless in piling on the work.  

During this last year, my girlfriend was diagnosed with cancer, and despite being malignant and large, it was with a good prognosis.  After surgery and radiation therapy, the results are looking quite positive.  They have not detected any metastasis and it is now I write because we're feeling out of the treacherous waters.  

I'm currently looking to move positions from this company because in the light of everything, I realized there are more important things to life then 60 hour work weeks, fame, and fortune.  I found I care more about family and freedoms and am looking for a position to sit down and have a family.  

For those of you whom use my scripts, I doubt I will ever return to UO to work on them, but never say never.  I'm currently working at any time on a phone app for education.  I've picked up java, opengl 3.0/es, vbos/vaos and shaders.  Been a pretty good learn and will probably not get back to working on coding for UO.   However, I still love this community and try to stop in from time to time.  I'm hoping I find myself with more free time at the outset of these last adventures to pop in more but am currently in job search mode again.  Just wanted to let everyone know where I went ;)  And Crome, I apply again to Germany.  Vllt, ich komme zurich xD

I wish everyone the best! And that the RNG is forever seeded in your favor.

4
Off Topic / Re: File Magic (Corrupt File Recovery)
« on: June 30, 2016, 06:11:18 PM »
You might actually try to run it through Handbrake and transcode it to something else.

You're an absolute genius.  Thanks TM.  It worked.

5
Off Topic / Re: File Magic (Corrupt File Recovery)
« on: June 30, 2016, 02:51:19 PM »
Thanks for a fresh idea TM.  I'm going to try it tonight.  My video splicer wasn't able to manipulate the file. I loaded it into the buffer stream but it glitched as soon as I tried to snip it.  I didn't try again yet, I was too tired last night.

savestheday:

Breifly, fixed term lease with clause indicating 60 day notice to quit policy even on lease termination.  If you fail to do so, you will be charged two months rent or optionally sign a month to month lease (pay one month plus $100 mo to mo fee). 
After vacating, was billed $1,500 for replacing the carpet due to cat urine (at that rate, would be whole apartment).
Charged $275 dollars for painting due to nail holes (picture nails, the little guys).

Iowa has 'normal wear and tear' laws, which after two years should negate any painting fees.

Apartment flooded for two weeks while out of state.  Came home, stunk, they vacuumed it out, but had to come three days later to redo it.  Have pics of drying fans in apartment under carpets and have pictures of really wet/dirty/moldy base boards of bedroom where flood initiated. 

Apartment flooded from above by tub after ex-maintenance man 'fixed' our leak report (it was leaking days earlier, we notified landlord).  That same night he fixed it, tenant above us took a bath and flooded our bathroom.  We had an inch of water in our bathroom.  Emergency maintenance did not come that night, came next day.  Water flooded into hallway and bedroom.  We have several pictures of damaged ceilings, dirty bathroom (which we had to clean), a this video of her trapsing around in the inch of water in the bathroom showing the damage. 

I live in the same complex, I have had two floods already in my bedroom from the AC unit apparently building up condensate and not having any place to flow. 
Cockroaches which I have pictures of. 

Crazy day, I was sitting there, taking a *bleep* one morning, and I see this little *bleep* cock roachy little beetly thing and I smashed that bastard into oblivion.  I couldn't investigate what it was after the massacre.  Same afternoon I had a 'routine pest inspection' notification that they were checking units.  I immediately emailed saying how fishy I thought it was that I found a little bug that looked like a roach in my apartment that same day.  She said it was just routine but to let her know if I see something.  One month later, I found a full blown roach and took a picture and sent it to her by email in the same thread.  And then I have another one a month later, a picture, and notified her.  She still hasn't really contracted anyone, but the pest guy came every time and laid bait traps.  But that was it.  I know there is an infestation around me or in my apartment, but they some sneaky bitches.  Not like the last ones I had. 

So yeah, needless to say, these bitches have a whirlwind of *bleep* getting blasted back at them.  I don't think they are expecting it.  Not the evidence that we have compiled against them.  I totally lawyered up. 

6
Off Topic / File Magic (Corrupt File Recovery)
« on: June 29, 2016, 06:57:31 PM »
So, I have to stick it to the man.  I mean, I have to prove that my landlord is trying to screw me because they flooded my apartment and are trying to claim cat urine has forced them to change the carpet.

I have video of the standing water in our bathroom, but I am having enormous problems trying to recover it.  It is about 120 mb aparently.  Seems to big for a one minute video.  I can play the video and it will crash at 22 seconds.  If I click past that, it will play out (only if I click past it before the file freezes on it).  I have tried to just transfer it onto my computer (it's on a microSD card) and I've tried 2 computers.  I've tried sending it from the phone through gdrive, but it won't upload. 

I am currently trying to import it into a video splicer and splice out the corrupt portion.  Anyone have any other ideas on how I might recover this file to make it stable and a simple playable file?

7
Script Debug / Re: Issue with a sub of mine
« on: October 18, 2015, 01:24:09 PM »
Okay, there can be a problem.  If it is running to the door and then doing funny things, that is because the inside of the dungeon and the outside of the dungeon are non-contiguous in the UO world coordinate system.  Look at automap or something.  What happens in X,Y cooridnates is this:

Code: [Select]
X: 100 Y: 100
X: 104 Y: 100
X: 108 Y: 100  ;Last outside tile
X: 504 Y: 200  ;First inside tile
X: 508 Y: 200

So your character hits that last tile that you marked outside and b-lines right for the other tile in some strange direction and not into the dungeon.  You have to insert an x,y value that is like 1 tile into the 'black area' of the dungeon tile or something.

8
General UO Chat / Re: EASYUO ISSUE
« on: October 01, 2015, 02:03:42 PM »
Hi Kandie, I am not sure.  Have them redownload it.  My EUOX build says 290 as well, but it works on the client 7.0.46.0, which I believe is the latest patch.    I tested it and my euox build works.  So also make sure they are running in administrator mode as well.  A virus is unlikely unless they are visiting shady websites.  EasyUO should be clean.  I've never had any problems with its integrity. 

9
Script Debug / Re: Issue with a sub of mine
« on: September 28, 2015, 10:45:04 AM »
The N/A means that the locations aren't set.  Which either means you forgot to initialize the variable values, or the name is incorrect.  Since ghost is saying that he fixed it by adjusting the rail name, I think it is the latter.

10
Scripting Chat / Re: OCR
« on: September 22, 2015, 11:10:40 AM »
I wrote a script to minmized pixel reading and checking.  I think with UO font, you can get it down to about 5-6 pixels per character to know which it is, but you'll struggle with C, G, O and 0.  They are all very similar.

11
New member introductions / Re: Hi All!
« on: September 22, 2015, 11:09:15 AM »
Welcome to SUO!

12
Script Debug / Re: Issue with a sub of mine
« on: September 22, 2015, 11:08:56 AM »
My move sub!  I would make sure you've named the rail properly.  Like makes ure it is %RailTwoX1 and %RailTwoX2  not like %RailtwoX1 or something, caps matter.
Otherwise add
display ok !nX , #spc !nY

right before the move line, and see if those are coming up correctly. 


13
New member introductions / Re: Returning player
« on: September 22, 2015, 11:04:33 AM »
Welcome to SUO

14
New member introductions / Re: I FOUND my way to the forums
« on: September 22, 2015, 11:04:07 AM »
Welcome to SUO!

15
New member introductions / Re: Greetings (again)
« on: September 22, 2015, 10:25:31 AM »
Welcome to SUO!

Pages: [1] 2 3 ... 28