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

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 05-23-2004, 12:01 PM   #1 (permalink)
Newbie
 
Join Date: Sep 2002
Posts: 52
Send a message via ICQ to Melanius
Default Read(...) and Search(...)

Could someone show an example of how can the integers that these two methods return, be used to read/search the clients memory?
Melanius is offline   Reply With Quote
Old 05-26-2004, 09:06 PM   #2 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
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

They don't. Read fills a buffer (array of integers), I think it's the first paramiter in the function call. I'm not sure what the return value is for without looking closer.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 05-27-2004, 03:01 AM   #3 (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

isn't this what i'd use to get stats from the client (for example)
__________________
Can YOU RunUO?
Revan is offline   Reply With Quote
Old 05-27-2004, 06:59 AM   #4 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
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

Quote:
Originally Posted by Revan
isn't this what i'd use to get stats from the client (for example)
yes. but you need to know the offset in memory of the stats.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 05-28-2004, 12:35 PM   #5 (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

Quote:
Originally Posted by Bradley
yes. but you need to know the offset in memory of the stats.
I think i can do that..
But what i don't know is how to use that offset properly.
Could you show me an example, please?..
__________________
Can YOU RunUO?
Revan is offline   Reply With Quote
Old 05-28-2004, 01:02 PM   #6 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 487
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

Well, you would have to know the offset of what you are looking for, or somehow write an application to search the momory for a known value to find the offset.

for example, if you know that the current hitpoints is stored at 1045 into the clients memory space, and it's stored in 2 bytes. You jsut create a 2 element array of bytes, and pass in the buffer, 1045, and 2 into the read function. Once the call completes those bytes will be in your buffer to read out.
__________________
-----------------------
If your response will contribute nothing to this discussion except to insult me, or someone else in this thread, please do not post.
I am refering to specific individuals.
You know who you are.
Bradley is offline   Reply With Quote
Old 06-04-2004, 03:15 PM   #7 (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

Can i use these values to get hit points?
(i've found them using cheat-o-matic searching for the hits number + changes):
Code: x2D80781A:3CA x2C93BF60:7FB
__________________
Can YOU RunUO?
Revan is offline   Reply With Quote
Old 06-17-2004, 04:10 PM   #8 (permalink)
Cat
 
Join Date: Mar 2003
Location: One life? Why? I've got nine left...er four...
Posts: 138
Default

Quote:
Originally Posted by Revan
Can i use these values to get hit points?
(i've found them using cheat-o-matic searching for the hits number + changes):
Code: x2D80781A:3CA x2C93BF60:7FB
maybe this util would be of some use to you.

No point reinventing the wheel.

binding box for certin commands
Cat is offline   Reply With Quote
Old 06-29-2004, 02:35 PM   #9 (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

Where did all the threads go?
__________________
Can YOU RunUO?
Revan is offline   Reply With Quote
Old 06-29-2004, 03:44 PM   #10 (permalink)
 
Join Date: Mar 2003
Location: Near a lava pool
Age: 8
Posts: 1,012
Default

This was the only active thread in the last month. By default you only see threads with some activity in the last 30 days, you can of course change this by setting an option at the bottom of the forum screen.
__________________
Oxygen should be regarded as a drug.
Arya 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