Results 1 to 12 of 12

Thread: Fer those Ultima Online folks (if there are any)

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15
    I'm trying to make a simple prog that types in something on Ultima Online and hits enter to send it.
    And also open the paper doll, backpack, etc.

    how can i go about doing this?

    can somebody post a sample of code that sends a simple message to Ultima Online and another code snippet that opens the paper doll?

    i really have no idea on how i can get some help to get started and would appreciate any help

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    You can use SendKeys to do that I think. Look up SendKeys in the help files, it's all pretty simple, basically your code is like:

    SendKeys("A")

    Or at least I think it is, I can't remember now You need to get the UO window in focus first, so you'll have to use some API stuff to get the window and things. I think there's one called GetWindow? Not sure, sorry.


    Hooray another UO player! Well actually strictly speaking I'm an ex-UO player. Which shard are you on? Europa? I played on Europa for nearly 2 years.

    If you play on Europa, then if you ever see anyone called Kas Valentine, Valentine, Jester Cowlscomb, Max Empire or Cool UK then PK him and reskill him lots of times for me would ya? Oh and if you ever see a guy named Marbok tell him HarryTheBastard says hi
    Harry.

    "From one thing, know ten thousand things."

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15

    K

    I play on Pacific
    been playing for over a year now

    thanks ill that stuff up

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15

    Smile Tada...and new crazy Q

    okay i got it to send messages to it and now i have a new question. Those other 3rd Parties have a way to cast spells thru it. How can I do that?

    Also how do I change the client character's appearance like UO Assist does?

    thanks in advance,
    Satch

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    UOA gets into the stream of data being sent and recieved I think, it doesn't just work on top of UO, kinda works under it I think. That's what I heard anyway.

    I guess I would suggest that you create macros on those keys you never use and use SendKeys again. Or, of course, wait until someone who knows how to do what UOA does replies
    Harry.

    "From one thing, know ten thousand things."

  6. #6

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15
    ok

    i wish there was a magical site dedicated to helping people like me write a program to manipulate UO
    =P

  7. #7
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Hehe, yeah and maybe a prog to turn off your red/grey flags
    Harry.

    "From one thing, know ten thousand things."

  8. #8

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15
    hehehe

    well i guess i could use sendkeys "%p" to open paper dolls and backpacks and crap

    know how i can detect what the player types in UO?

    like if they type "-pdoll" and hit enter it opens their pdoll using the code in my prog?

  9. #9
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Hmm, that's harder cos you're taking keypresses out of the stream, not just putting them in. You'd need to let the user see what they're typing too and delete the text when they press enter, unless you want the text to appear above their head (not very stylish).

    I'm not sure how to do this with the API, I'm investigating...
    Harry.

    "From one thing, know ten thousand things."

  10. #10
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Nope, I'm a bit stumped I'm afraid
    Harry.

    "From one thing, know ten thousand things."

  11. #11

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Texas
    Posts
    15
    hmm
    could i log the keystrokes and then somehow tell it to open the pd if the player types "-pdoll"?
    cause ive got the code to log keys pressed on different apps
    just dont know how to tell it to do that
    hehe

  12. #12
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Oh well if you know how to do that you're halfway there. Shouldn't be too hard. Only problem is when the user presses enter, you want to detect that but cancel it so the text isn't displayed above the character's head.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width