|
-
Sep 30th, 2000, 06:21 PM
#1
Thread Starter
New Member
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
-
Sep 30th, 2000, 11:20 PM
#2
Frenzied Member
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."
-
Sep 30th, 2000, 11:24 PM
#3
Thread Starter
New Member
K
I play on Pacific
been playing for over a year now
thanks ill that stuff up
-
Oct 1st, 2000, 01:47 AM
#4
Thread Starter
New Member
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
-
Oct 1st, 2000, 02:10 AM
#5
Frenzied Member
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."
-
Oct 1st, 2000, 02:33 AM
#6
Thread Starter
New Member
ok
i wish there was a magical site dedicated to helping people like me write a program to manipulate UO
=P
-
Oct 1st, 2000, 02:45 AM
#7
Frenzied Member
Hehe, yeah and maybe a prog to turn off your red/grey flags
Harry.
"From one thing, know ten thousand things."
-
Oct 1st, 2000, 02:51 AM
#8
Thread Starter
New Member
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?
-
Oct 1st, 2000, 02:59 AM
#9
Frenzied Member
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."
-
Oct 1st, 2000, 03:17 AM
#10
Frenzied Member
Nope, I'm a bit stumped I'm afraid
Harry.
"From one thing, know ten thousand things."
-
Oct 1st, 2000, 03:26 AM
#11
Thread Starter
New Member
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
-
Oct 1st, 2000, 03:47 AM
#12
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|