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 - ZigZagZebra

Pages: [1] 2 3
1
Scripting Chat / Re: Can I help?
« on: December 01, 2022, 11:55:02 AM »
I can confirm a regen suit 18hpr ticks faster than lesser poison decreases hp

2
New member introductions / Re: Good evening, laddies, lassies, and lassos!
« on: November 24, 2022, 11:52:24 AM »
Welcome! We share an interest as I have a UO mystic mage character named Agni!



Can attest to the fact there are a lot of decent folks here, lots of ways to learn.

Welcome again!

3
New member introductions / Re: Hello ScriptUO!
« on: November 08, 2022, 05:45:51 AM »
Welcome! I've also been taking the plunge into Orion. It's a solid client and the scripting can do a lot.

4
zlf I believe.  I did check the item id of my bandies and it was the same as in the script.  Sorry, re-read my original post.  It will run for like 4 hours sometimes or more, then others 10 minutes.  Its random.  

That's really odd, Hoby. I read through the script, its elegant, streamlined and unless there is some problem with the findkind event I can't see any reason it would derail. Maybe a dual client conflict? Lag? I guess if you have a VM, you could try running your alt in there. Maybe check some variables when the message box pops. It really shouldn't be giving a #findkind of -1 if there are  indeed bandages in your pack.

5
TL DR  ;) Just kidding. Awesome story, coxalex, which I'm sure garnered some nostalgia in many of the vets here.

I was just the village idiot who made conga lines at the Brit Smith when I started. '

Welcome to SUO!

6
Gold Farming / Re: Auto Honor and Attack
« on: February 11, 2015, 06:59:59 PM »
Haven't tested this yet, but If you change the setup sub to
Code: [Select]
sub setup
  event macro 35
  display Move mouse to Armor Ignore Icon$$      You have 2 seconds
  wait 2s
  savePix #CURSORX #CURSORY 1
  wait 5
  event macro 15 149
  display Move mouse to Lightning Strike Icon$$      You have 2 seconds
  wait 2s
  savePix #CURSORX #CURSORY 2
  wait 5
  display ok Setup Complete$Get into position$Script will begin when you press the hotkey.

  set %waiting_to_start #TRUE
  while %waiting_to_start = #TRUE
    {
    onhotkey %hotkey %hotkeyqual
      set %waiting_to_start #FALSE
    }
  set %playerX #charPosX
  set %playerY #charPosY
  set %playerZ #charPosZ
return

you can set two pixels to scan one for AI and one for LS
then change the exec_LS sub to:
Code: [Select]
sub exec_LS
   if mana >= 30
  {
   cmppix 1 f
    {
    event macro 35
    wait 5
    }
   }
    else
  {
   cmppix 2 f
   {
     event macro 15 149
     wait 5
     }
    }
return

7
Gold Farming / Re: Auto Honor and Attack
« on: February 11, 2015, 02:08:47 PM »
i am attempting to modify this a little to use armor ignore, i changed it to event macro 35. everything seems of but it targets the Armor Ignore button too much spamming i need more mana. i changed a few waits and that didnt help.

sub exec_LS
  cmppix 1 f
    {
    event macro 35
    wait 5
    }

what do you think i should modify to slow it down a little. i would appreciate any advice any one have.

since LS is easy to chain and specials are not due to the increased mana cost, I would replace with
Code: [Select]
sub exec_LS
if #mana >= 30
{
 cmppix 1 f
    {
    event macro 35
    wait 5
    }
}
If this were a larger script, I would say for performance sake, place the if #mana >= 30 block before every gosub exec_LS call, that way the script doesn't have to iterate to the exec_LS sub everytime if it doesn't have to. The code snippet above is just for modularity's sake.

may behoove you to replace sub exec_LS with sub exec_AI and change where its called in the script. Its good form to name appropriately :)

8
.NET Programming / Re: Beginner's guide to memory reading/writing
« on: February 09, 2015, 02:32:38 PM »
I was hoping you'd chime into this thread Crome!

Thanks for the suggestions and link to the git repository for UOMachine. I'll add that in to my list of applications to explore.

Very cool idea about using markup to share the information. At a higher level, I consider that akin to providing tables on EUO item ids for reference. Still challenges others interested in playing with the low-level details and builds a community around development.

and Lua, its funny you mention pinvoke, I just dug that site up this week and have it bookmarked at work. Right now I'm trying to develop a windows service by group policy that closes a particular application after x amount of time the application is idle. I'm just over a quarter century old, so a lot of learning for me to do, but I like to think what I lack in experience I possess in fervor!

Any good resources for writing custom libraries for applications? That's an interest of mine also.


9
Games & Game Systems / Re: Diablo 3
« on: February 09, 2015, 02:16:59 PM »

10
Script Debug / Re: Forced patch?
« on: February 08, 2015, 07:57:21 PM »
Actually, I did that last night... But good suggestion and a great time to send a few bucks Cheffe's way, since he keeps it all going for us....  ;)

Just like bribing for BODs. I like your style, and I'm sure Cheffe does too! :)

11
I haven't tested this, but my thought is use findid and look for tame$ or bonded$ in item property.

http://www.easyuo.com/forum/viewtopic.php?t=21756&p=213604

Here's a thread where someone is looking to do something similar

12
.NET Programming / Beginner's guide to memory reading/writing
« on: February 08, 2015, 07:11:59 PM »
So I wanted to post a few good resources I'd stumbled upon as of late, because I've been a long time EUO user and have always held Cheffe to be a sort of wizard of Oz for the UO scripter community. For those interested, like myself, in how a program like this works, here are a few articles on manipulating programs through editing memory.

Though I believe EUO is written in delphi, I'm a .NET guy myself, so I figure I'd offer C# resources.

Without further adieu...

http://www.codeproject.com/Articles/15680/How-to-write-a-Memory-Scanner-using-C
http://www.codeproject.com/Articles/670373/Csharp-Read-Write-another-Process-Memory

Here's an example of this with minesweeper:
http://www.codeproject.com/Articles/3501/Minesweeper-Behind-the-scenes



13
Games & Game Systems / Re: League of Legends
« on: February 08, 2015, 05:22:05 PM »
Its a pretty cool game.  I've been lucky enough to make some ingame friends who have guided me along the way.


There is such a huge differnce in player levels via the ranking system.  I'll partner up w/ some high rank folks and just get destroyed.


I'm getting too old to compete against 14 year olds when coordination is concerned.


Did you see the HBO documentary they did on League/professional gaming - kinda neat if you're truly a geek.

Haha I never had that coordination! That's why I never pvp'ed in UO. I'll have to check that out. I'm definitely a game/1s and 0s kind of nerd.  No mistaking that!

14
Questing / Re: ScriptUO Heartwood Quester 1.29 with Advanced CLAw support
« on: February 08, 2015, 05:10:04 PM »
A couple of things I've noticed which derail the script are when the quest gumps (accepting and turning in) somehow stray off-screen. I've played around with some fixes and a subroutine I added which I call after every call to gumpandsizewait where the generic gump corresponds to a quest gump.

Code: [Select]
sub PositionGump
 if #CONTSIZE = 262_324
    click #Contposx #contposy r
 if #CONTSIZE = 507_496
 {
  contpos 243 31
 }
 return
 


Just figured I'd share it in case anyone is having a similiar issue. You can play with the coordinates where the contpos event places the gump if its different for your monitor, just be sure its uncovered with backpacks, etc. so that the ocr can do its job!

Now I'm just thinking of how to fix two more issues:

recalling to heartwood fails and rail error is encountered - my thought is to attempt recall again, scan for journal something_is_blocking and attempt to go to fel heartwood location set at another runebook location. I used to use the fel location consistently, but the new VvV blocks recalling into Yew when it is active.

turn-in gets stuck because not all of the stools/bows are selected - I think this must be due to a lag spike where the item isn't selected and the mark subroutine succeeds at the ignoreitem event, thereby effectively iterating through all quest items but not selecting some of them. One way I can think to do this is set a timeout during the finish quest loop where it closes the gump which reads "I will be in debt if you bring me ..." I've found manually doing this will throw it through the mark routine again and complete the quest.

Stay tuned!


15
Receipes / Re: Cinnamon Rolls
« on: February 08, 2015, 02:39:01 PM »

Pages: [1] 2 3