Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Ultima SDK

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 01-14-2004, 09:27 PM   #1 (permalink)
 
Join Date: Apr 2003
Posts: 5
Default Client

The SDK requires a decrypted client right?
Dominaria is offline   Reply With Quote
Old 01-15-2004, 03:48 PM   #2 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default Re: Client

Quote:
Originally Posted by Dominaria
The SDK requires a decrypted client right?
No. the SDK reads the data files of the client, which are not excrypted.
Bradley is offline   Reply With Quote
Old 01-15-2004, 04:12 PM   #3 (permalink)
 
Join Date: Apr 2003
Posts: 5
Default

Can the SDK read information FROM the client? Such as skills or location etc? I have tryed, but have had no success.

What I am trying to do is this:
I am trying to mock those programs that used to show your stats, or how many regs you had etc, for my own use.. More of an experiment if anything.. Please offer any help.

Thanks in advance.
Dominaria is offline   Reply With Quote
Old 01-15-2004, 05:21 PM   #4 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

I blieve one of the SDK's methods returns a memory stream that could be used to read the client's memory. I've never used it, but I believe if you knew the offset of that vars in memory you could read them.
Bradley is offline   Reply With Quote
Old 01-16-2004, 12:10 AM   #5 (permalink)
Guest
 
Posts: n/a
Default

Any chance you might know which one and how I might use it? I really appreciate the help.
  Reply With Quote
Old 01-16-2004, 12:56 AM   #6 (permalink)
 
Join Date: Apr 2003
Posts: 5
Default

Is there any chance you might know how to use this? Any examples? I really appreciate all the help!
Dominaria is offline   Reply With Quote
Old 01-16-2004, 02:54 AM   #7 (permalink)
 
Join Date: Apr 2003
Posts: 5
Default

Some how UOAssist does/did it.. I think it was written in Delphi.. Anyone know how to yank info like skill values from the UO client?
Dominaria is offline   Reply With Quote
Old 01-16-2004, 10:15 AM   #8 (permalink)
 
Join Date: Apr 2003
Location: Poland
Posts: 141
Default

Look into it at the debugger, find the memory addresses that hold stats/skills, in your program do OpenProcess and read/write that memory ;]
__________________
Vulnerant omnes, ultima necat...
omegared is offline   Reply With Quote
Old 01-16-2004, 04:06 PM   #9 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 21
Posts: 3,933
Default

SpyUO reads the client memory to determine what packets are being sent/received.
TheOutkastDev is offline   Reply With Quote
Old 01-17-2004, 01:22 AM   #10 (permalink)
 
Join Date: Apr 2003
Posts: 5
Default

Hmm.. Okay, any idea how I can get it?


Surely SOMEONE must know how this is done.....
Dominaria is offline   Reply With Quote
Old 01-28-2004, 06:38 PM   #11 (permalink)
 
Join Date: Jan 2004
Posts: 90
Default

location you have to find a function inside the client and disasm it and get the offsets (my map tool does that =P)

kinda like uoam that is

skills, you gotta find the buffer in the client`s memory, just look at the 0xa3 pkt handler

cheers mate, thats easy
Necr0Potenc3 is offline   Reply With Quote
Old 01-28-2004, 10:39 PM   #12 (permalink)
Guest
 
Posts: n/a
Default

:shock:
  Reply With Quote
Old 02-02-2004, 12:20 PM   #13 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

theres a way too with the sdk.. client.calibrate() and client.location() if im correct so no need to unplug anything from your client
[Shaman] is offline   Reply With Quote
Old 02-04-2004, 11:32 AM   #14 (permalink)
 
Join Date: Sep 2002
Age: 20
Posts: 960
Send a message via ICQ to Revan Send a message via AIM to Revan Send a message via MSN to Revan
Default

(might be a stupid question)
how could i read the map and draw it into a picturebox or something?
Does the (amazing) SDK do that?
Revan is offline   Reply With Quote
Old 02-04-2004, 12:42 PM   #15 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

it can do that, browse around a bit and you'll find that krioss posted something about it
[Shaman] is offline   Reply With Quote
Old 02-05-2004, 04:40 AM   #16 (permalink)
Guest
 
Posts: n/a
Default

now i've been screwing around with
this for hours.
wtf is ref int?!
if i'd learn that i'd probably be able to read coordinates, but i cant!
:evil:
  Reply With Quote
Old 02-05-2004, 02:29 PM   #17 (permalink)
 
Join Date: Oct 2002
Age: 22
Posts: 4,689
Default

reference integer
XxSP1DERxX is offline   Reply With Quote
Old 02-05-2004, 03:09 PM   #18 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

it means that you got to give it a (preferbly) empty variable and the function gives that variable a value... in the case of getting the location of your character you need to give it 4 variables: an x, y, z and a var that contains the number of the world.. once the function is done and your script continues those variables are set with the location of your character
[Shaman] is offline   Reply With Quote
Old 02-07-2004, 12:14 PM   #19 (permalink)
 
Join Date: Sep 2002
Age: 20
Posts: 960
Send a message via ICQ to Revan Send a message via AIM to Revan Send a message via MSN to Revan
Default

like
[code:1]int xcoord;
int ycoord;
int zcoord;
int worldnumber;
Ultima.something.blargh(xcoord, ycoord, zcoord, worldnumber);[/code:1]
?
Would that set the x,y and zcoord vars to the location?
(btw i'm not at my regular computer so i can't check the something.blargh :P)
Revan is offline   Reply With Quote
Old 02-07-2004, 02:31 PM   #20 (permalink)
Guest
 
Posts: n/a
Default

ok, so i tried doing that.. but it wants ref int's not normal int's..
how do i make reference integers?
i tried ref int variablename;
but it don't work :\
please help as soon as possible!
  Reply With Quote
Old 02-07-2004, 04:49 PM   #21 (permalink)
I R TEH POSTING!!1!eleven
 
Join Date: Jan 2004
Posts: 1,617
Default

"ref" means that it takes a variable, and that the variable can be changed inside the method. When declaring a variable for it, leave off the "ref" part.

Cheers,
Ignacio
Ignacio Vazquez-Abrams is offline   Reply With Quote
Old 02-07-2004, 07:25 PM   #22 (permalink)
 
Join Date: Sep 2002
Age: 20
Posts: 960
Send a message via ICQ to Revan Send a message via AIM to Revan Send a message via MSN to Revan
Default

but.. When i declare it like this: "int variableName;" It says that it cannot convert from int to ref int.
Revan is offline   Reply With Quote
Old 02-07-2004, 07:42 PM   #23 (permalink)
I R TEH POSTING!!1!eleven
 
Join Date: Jan 2004
Posts: 1,617
Default

Ah, I think I've found why. you have to put "ref" before the variable name when passing it to the method.

Cheers,
Ignacio
Ignacio Vazquez-Abrams is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5