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 [4] 5 6 ... 28
46
Scripting Chat / Re: House sign types
« on: August 20, 2015, 08:58:04 AM »
I have an oEUO idoc finder that I made.  I also have only 56 sign times.

I looked into TMX's, never ran his script, but if this is the house type list

Code: [Select]
  set %page1 QJE_KOE_QNE_OJE_IOE_ONE_UJE_YNE_UNE_SJE_WNE_SNE_GOE_COE_INE_EOE_AOE_GNE_COE_
  set %page2 ILE_OKE_KKE_GLE_MKE_IKE_WKE_SKE_YJE_UKE_QKE_WJE_ALE_GKE_CKE_YKE_EKE_AKE_
  set %page3 IRE_ERE_MLE_GRE_CRE_KLE_MRE_ULE_QLE_KRE_SLE_OLE_ARE_YLE_ELE_YQE_WLE_CLE_
  set %page4 SME_MOE_

I see COE twice.  Top line, 5th from the end and the last line.


47
OpenEUO Scripts / Re: Kali's Bod Sorter for openEUO
« on: August 19, 2015, 10:55:05 PM »
Hah, so I just checked it, my bad.  It doesn't come with a /Scripts folder any longer. 

Simple fix method, just create a new folder called scripts in the oEUO directory and add it to the folder.  Trust me, you'll thank me later.. well actually, I create several sub directories.  I have one for my library scripts, my scripts, down loaded scripts, etc.. I have like several versions of scripts, it becomes a mad house.


Second fix, just change those lines to

dofile(getinstalldir()..fName)
dofile(getinstalldir()..'kalilib.lua')

If you already made them exactly like that, then what is the errors you're getting?

48
OpenEUO Scripts / Re: Kali's Bod Sorter for openEUO
« on: August 19, 2015, 06:55:34 AM »
When you download oEUO, it should have been zipped with a few .dll files, the exe, and a scripts, gui, and examples folder. 

This is the latest version.
http://download.easyuo.com/cheffe/openeuo/bin/openeuo_150415.zip


Alternatively, it does seem like you're using oEUO, or you wouldn't have gotten that message.  You can try leaving the scripts in the oEUO folder and delete 'scripts/' from the do file line.  I would suggest just checking the download again.  EasyUO (EUOX) doesn't need to be in the same folder as openEUO. 

Let me know if you don't understand what I mean

49
Submit your Script / Re: KRYZ's Monger Farmer
« on: August 19, 2015, 12:07:34 AM »
Yeah, I had no idea you could go diagonally when I wrote that.  Would be much better.  hrmm, good thoughts though. 

50
General UO Chat / Re: IDOC Rail system
« on: August 18, 2015, 03:29:48 PM »
HAHA, I don't have a railer for IDOC checking, I mean really railing wouldn't make since.  You'd just keep checking the same houses over and over again.  I usually run places that are less than 10 minutes away just to look for idocs.  


I run this script while I do.
openEUO
Code: [Select]
--Idoc Screamer
dofile(getinstalldir()..'/scripts/kalilib.lua')
UO.CliNr = clientmenu()
local SignsT =  {                       
                     [2980] = true,
                     [2982] = true,
                     [2984] = true,
                     [2986] = true,
                     [2988] = true,
                     [2990] = true,
                     [2992] = true,
                     [2994] = true,
                     [2996] = true,
                     [2998] = true,
                     [3000] = true,
                     [3002] = true,
                     [3004] = true,
                     [3006] = true,
                     [3008] = true,
                     [3010] = true,
                     [3012] = true,
                     [3014] = true,
                     [3016] = true,
                     [3018] = true,
                     [3020] = true,
                     [3022] = true,
                     [3024] = true,
                     [3026] = true,
                     [3028] = true,
                     [3030] = true,
                     [3032] = true,
                     [3034] = true,
                     [3036] = true,
                     [3038] = true,
                     [3040] = true,
                     [3042] = true,
                     [3044] = true,
                     [3046] = true,
                     [3048] = true,
                     [3050] = true,
                     [3052] = true,
                     [3054] = true,
                     [3056] = true,
                     [3058] = true,
                     [3060] = true,
                     [3062] = true,
                     [3064] = true,
                     [3066] = true,
                     [3068] = true,
                     [3070] = true,
                     [3072] = true,
                     [3074] = true,
                     [3076] = true,
                     [3078] = true,
                     [3080] = true,
                     [3082] = true,
                     [3084] = true,
                     [3086] = true,
                     [3088] = true,
                     [3090] = true,
}

local tSigns = {}
for k,_ in pairs(SignsT) do
    tSigns[#tSigns+1] = k
    print(k)
end

local Signs, iSigns = {},{}
while not getkey('f12') do
   --Signs,iSigns = FindItemOnGround('Type',tSigns,10,iSigns)
   UO.ScanItems(true)
   for i = 0, UO.FilterItems(4)-1 do
      local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = UO.GetItem(i)
      if SignsT[nType] and iSigns[nID] == nil then
         sInfo = ''
         local tOut = 5000 + getticks()
         while sInfo == '' do
            sName,sInfo = UO.Property(nID)
            if tOut < getticks() then print(nID) UO.ExMsg(nID,'Failed') break end
         end
         if sInfo:match('Condition') or sInfo:match('Worn') or sInfo:match('In Danger') then
            UO.SysMessage('IDOC Found')
            UO.ExMsg(nID,'IDOC')
            print('IDOC found')
         else
            UO.ExMsg(nID,'Checked')
         end
         sInfo = ''
   end
end

It will display 'checked' over the sign if it's okay.

If in IDOC, everything will go nuts.  I mean it will put "IDOC" over the sign, system message IDOC and print IDOC in oEUO debug window.  

Techincally, all you need to do is techinally use the extreme/boundary values, tiles, some math, and smart programming to generate a path, hell even wouldn't really need to be optimized on horseback with a couple accounts (think trial accounts, as many as you wish, subsections of UO) if you were really determined.   Record X,Y,Facet of idoc house, and have an account that travels to those spots specifically to mark a rune.  

Then you run my next script, which was made less worthwhile with the patch that randomized idoc fall times.

Code: [Select]
local timer = getticks()
local sHr = 11
local sMin = 36
dofile(getinstalldir()..'/scripts/kalilib.lua')


local tRB = 8901
local IDOCBooks = {}
local NonIDOC = {}

local SignsT =  {                        
  [2980] = true,
  [2982] = true,
  [2984] = true,
  [2986] = true,
  [2988] = true,
  [2990] = true,
  [2992] = true,
  [2994] = true,
  [2996] = true,
  [2998] = true,
  [3000] = true,
  [3002] = true,
  [3004] = true,
  [3006] = true,
  [3008] = true,
  [3010] = true,
  [3012] = true,
  [3014] = true,
  [3016] = true,
  [3018] = true,
  [3020] = true,
  [3022] = true,
  [3024] = true,
  [3026] = true,
  [3028] = true,
  [3030] = true,
  [3032] = true,
  [3034] = true,
  [3036] = true,
  [3038] = true,
  [3040] = true,
  [3042] = true,
  [3044] = true,
  [3046] = true,
  [3048] = true,
  [3050] = true,
  [3052] = true,
  [3054] = true,
  [3056] = true,
  [3058] = true,
  [3060] = true,
  [3062] = true,
  [3064] = true,
  [3066] = true,
  [3068] = true,
  [3070] = true,
  [3072] = true,
  [3074] = true,
  [3076] = true,
  [3078] = true,
  [3080] = true,
  [3082] = true,
  [3084] = true,
  [3086] = true,
  [3088] = true,
  [3090] = true,
}
local tSigns = {}
for k,_ in pairs(SignsT) do
  tSigns[#tSigns+1] = k
end

local rbs = FindItemInCont('Type',tRB)
for _,v in pairs(rbs) do
  sName,sInfo = UO.Property(v['ID'])
  wait(50)
  if sInfo:match('IDOC') then
    IDOCBooks[ v['ID'] ] = tonumber(sInfo:match('IDOC[%d ]+'):match('[%d]+'))
    NonIDOC[ v['ID'] ] = {}
    for i = 1, IDOCBooks[ v['ID'] ] do
      NonIDOC[ v['ID'] ][i] = true
    end
  end
end

function GetTime(sTime,cTime,sHr,sMin,sSec)
  sHr = sHr or 0
  sMin = sMin or 0
  sSec = sSec or 0
  local hrs,mins,sec = 0,0,0
    
  local timer = math.floor(( cTime - sTime ) / 1000)  
  mins,sec = math.modf(timer/60)
  hrs,mins = math.modf(mins/60)
  sec = math.floor(sec*60)
  mins = math.floor(mins*60)
    
  local idocHr = sHr + hrs
  local idocMin = sMin + mins
  local idocSec = sSec + sec
    
  while idocSec > 59 do
    idocMin = idocMin + 1
    idocSec = idocSec - 60
  end  
  while idocMin > 59 do
    idocHr = idocHr + 1
    idocMin = idocMin - 60
  end
  while idocHr > 23 do
    idocHr = idocHr - 24
  end
  return idocHr,idocMin,idocSec
end


local tOutBook = nil
local tOutRune = nil

UO.SysMessage('Target Time Out Book')
UO.TargCurs = true
while UO.TargCurs do wait(1) end
tOutBook = UO.LTargetID

local key = { 1,2,3,4,5,6,7,8,9,0 }
local sKey = { 1,2,3,4,5,6 }
local tOut = getticks()
while not tOutRune do

      if tOut < getticks() then
         UO.SysMessage('Press 1-0 for runes 1-10, hold shift and press 1-6 for 11-16')
         tOut = getticks() + 4000
      end
      for _,v in pairs(key) do
         if getkey(tostring(v)) and not getkey('Shift') then
            tOutRune = v
         end
      end
      for _,v in pairs(sKey) do
         if getkey(tostring(v)) and getkey('Shift') then
            tOutRune = v
         end
      end
end

RBTravel(tOutBook,'Recall',tOutRune)
UO.SysMessage('If this is correct press play, otherwise stop and restart')
pause()

while not getkey('F12') do
  local bLeft = false
  local rtTimer = getticks() + 1000*60*5
  for bookID,runeCnt in pairs(IDOCBooks) do
    bLeft = true
    for i = 1, runeCnt do
      if NonIDOC[bookID][i] then  
        RBTravel(bookID,'Recall',i)
        wait(2000)
        local signs = FindItemOnGround('Type',tSigns,10)
        for _,v in pairs(signs) do
          local sName,sInfo = UO.Property(v['ID'])
          while sName == '' do
            wait(250)
            sName,sInfo = UO.Property(v['ID'])
          end
          if sInfo:match('In Danger') then
            local tHr,tMin = GetTime(timer,getticks(),sHr,sMin)
            print('Book '..tostring(bookID)..' Rune '..tostring(i)..' went IDOC at '..tostring(tHr)..':'..tostring(tMin))
            NonIDOC[bookID][i] = false
          end
        end
      end
      local cBook = false
      for i = 1, runeCnt do
          if NonIDOC[bookID][i] then cBook = true end
      end
      if not cBook then
         IDOCBooks[bookID] = nil
      end
    end          
  end
  RBTravel(tOutBook,'Recall',tOutRune)
  while rtTimer > getticks() do
     wait(1000)
  end
  if not bLeft then
     break
  end
end

But it's been a while, I don't remember how to set it up,a nd it's all hard coded (and dependent upon my library functions).. I think you have to set the time you start the script since oEUO doesn't have clock access, only systime (ms since computer was turned on).  So you can calculate the time from the start time and estimate fall time, but now it would be a random  of 6, 12, and 18 hours I think, instead of the time it lists.


51
OpenEUO Scripts / Re: Kali's Bod Sorter for openEUO
« on: August 18, 2015, 08:56:51 AM »
Okay for those of you on freeshards (specifically, this worked on demise)

I have narrowed down one style that causes problems on freeshards. 

You can paste this at the very top of the ClassifySmithBods function (~line 444ish)

Code: [Select]
--DEMISE CORRECTION CODE
   
 
     if not BOD[2] or not ( BOD[2]:find('Normal') or BOD[2]:find('Exceptional') ) then
        table.insert(BOD,2,'Normal')
     end
     
     if not BOD[3] or not BOD[3]:find('Ingots') then
        table.insert(BOD,3,'Iron Ingots')
     end   
 


52
General UO Chat / Re: BODs and Sorters
« on: August 18, 2015, 08:32:11 AM »
Absolutely.  I should write that.  Users can upload indexes they've created/modified!

I need to work on it, but I am too lazy these days (or maybe too sidetracked).

53
General UO Chat / Re: BODs and Sorters
« on: August 17, 2015, 09:55:14 PM »
Thanks ghost!

Obligatory self promotion

http://www.scriptuo.com/index.php?topic=10752.0

It's an openEUO script.  You need to follow the directions, I think you may need to download my library script from easyuo.  I don't remember everything to tell you, but I was explicit and verbose with my instructions.  Feel free to post in the thread if you can not get it to work.

One caveat is that if you have a freeshard that drops information such as normal leather/iron ingots/normal quality from the property, then you will have an issue.  Also, if the freeshard displays the info in the wrong order.

I did write a smith bod fix for one freeshard and supposedly works.  Let me know if you are freeshard and we can try it on yours.

54
New member introductions / Re: Hello Friends! I am new here
« on: August 17, 2015, 08:31:15 PM »
Welcome!  Enjoy SUO.  I got hooked on UO at 15 I think it was, it's never too early.. and it's never too late. 

55
New member introductions / Re: Intro
« on: August 17, 2015, 05:21:59 PM »
You play UO with a controller?  Or you mean gaming in general? xD

56
New member introductions / Re: Intro
« on: August 17, 2015, 09:43:06 AM »
That's great for you!  Your girlfriend at least tries to understand.  I have to tell mind I have an internet porn addiction so at least that puts it into a context she understands from a traditionally accepted addiction level.  lol

Welcome!

I have a few female characters, it's kinda like porn when I change my armor.

57
New member introductions / Re: Hail!
« on: August 17, 2015, 09:42:17 AM »
Wow, I came here and re read my old intro.  Then the replies.

So many replies that i never noticed.  It never notified me that people replied to my thread here.  Wonder if it's cookies based on laptop versus desktop.  Not sure.


Anyway, I am glad that many of you enjoyed my intro.  UO really did a lot for me.

Also, Crome speaks good english so he didn't make me speak german.  I tried my best, but usually I just sound like 5 year old speaking german.  :D :D 

Anyway, I am between jobs right now, so I've been more active on the boards of late.  I want to participate here in helping people with scripts when I get time.  I hope to contribute some more scripts soon.  I just don't want to step on any toes by posting scripts that have releases that are similar.  Anyway, I just want to give what I can, so don't take offense if I post something similar (i.e. the auto scribe I added).  I am playing on LS even now.  I am wondering if GMs troll here looking for names.  I am definitely not this kali as you mention Trixta.    Never put a mondaine in my name, and on top of it, I was Demon Slayer!  But that account got banned.  I was called a "Cracka" once in the bk room.  I responded with some other words that were unappreciated by the GMs. 

I still do have a Kali, but you probbaly won't see me playing him much.  He's sort of there out of nostalgia, as he's a hardcore bushido macer with healing/anatomy.  Was my old pvp macer back in the day when the war hammers robbed stamina like no other.  Now aday you'll most likely see me playing Kendric (Tamer), Katrina (Bard), Drake (Sampire), Cain (nox-inscription-mage), Uruhara Kisuke (necro-weaver-mage), Loki (Smith/Tailor, Don't you *bleep* page a gm for me mining), Locke (T-hunter), Esmar Tuek (imbuer crafter), and finally my new guy Grok (Mage Myst Fisher).  I've got a few others that rarely get played like Potter my scribe who may get dumped since later I made Cain, and Cid, my stealthy thief who I made and found out nothing worthwhile is steal-able except power scrolls and even then, the likely hood of me ganking a good scroll and getting away from a guild is about ooOOOoo to none.  Anyway, if you guys see me around, just shout out Kali! and I'll know it's someone from here. 

Also, if you guys think it's a bad idea to post my char names, maybe I will delete them.  Would be sad to get banned for something that stupid and lose my 8 year old vet accounts. 

58
New member introductions / Re: Intro
« on: August 17, 2015, 07:21:59 AM »
You may need to add more to get past the gate keepers.   However, I recommend it.  The extra paragraph or two is well worth the savings in mining, crafting, and and bodding. 
I also wonder now that you're back to UO, does that mean you're no longer interested in girls?!?  :P ??? :o

I kid, I kid.

Welcome!

59
Off Topic / Re: WINDOW 10
« on: August 16, 2015, 07:22:33 AM »
Can't you get to safe mode while pressing f8 during start up? 

60
Off Topic / Re: WINDOW 10
« on: August 15, 2015, 09:49:52 PM »
I read that asus computers (not sure if they strictly mean asus laptops or desktops with asus components) and SSDs are common amongst people who experience black screen of death.

Crome, what did you mean the update options were no good?

I wouldn't want to do a fresh install because I have programs on my computer that I can't get again (for example, vis. studio 2012 professional) due to installing them while I was a student.  I don't have access any longer, and am too poor to buy it right now. 

Pages: 1 2 3 [4] 5 6 ... 28