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

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 09-01-2003, 05:40 PM   #1 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default UltimaSDK find location?

I cant seem to figure out what the ref int's should be for ultima.client.findlocation Any information on this would be super great. Also if the maker of ultima sdk is reading plz add suport for clients with titalbars that are renamed from ultima online.
hcker2000 is offline   Reply With Quote
Old 09-01-2003, 05:50 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

What are you asking, I have used the SDK before and I am unclear what your confused about.
Phantom is offline   Reply With Quote
Old 09-01-2003, 06:28 PM   #3 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

well the best thing would be to pot an example of exatly how to use the findlocation function.
hcker2000 is offline   Reply With Quote
Old 09-01-2003, 06:35 PM   #4 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

....

All the information you need is found in the dll itself. I know Visual Studio has an object browser, I believe Sharp Developer has one too.

Not difficult to look at what arguments it takes and input them.

I believe samples are just silly at this level of programing, so I wont be able to do it maybe somebody else will.

good luck.
Phantom is offline   Reply With Quote
Old 09-01-2003, 06:56 PM   #5 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

I am aware of how to call the thing but have no idea what the ref ints should be.
hcker2000 is offline   Reply With Quote
Old 09-01-2003, 09:46 PM   #6 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

[code:1]int x = 0, y = 0, z = 0, facet = 0;

Client.FindLocation( ref x, ref y, ref z, ref facet );

// do somehing with x, y, z, and facet[/code:1]

An example program and source is here: http://www.runuo.com/krrios/uosdk_example_map.zip
krrios is offline   Reply With Quote
Old 09-02-2003, 04:22 AM   #7 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

tnx man now that I got that working I need to know if there if in the newest sdk there is a way to send text to a uo client thats tital bar isnt "ultima online"?
hcker2000 is offline   Reply With Quote
Old 09-05-2003, 01:16 AM   #8 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

well after playing with your software i have to say im doing some thing very wrong. when i do a find location it takes a long time every time. In your software it loads the updates very fast (real time almost). Nerest I can figure out is it loads the whoal map at start up then moves it around. Is this any ware near corect? Also if you could post a very very simple example of the same thing that would help me alot. thnx
hcker2000 is offline   Reply With Quote
Old 09-13-2003, 12:29 PM   #9 (permalink)
Newbie
 
Join Date: Sep 2002
Posts: 52
Send a message via ICQ to Melanius
Default

@Krrios: could you fix the "http://www.runuo.com/uosdk_example_map.zip" link, 'cause it currently does not work, and i'd like to take a look at this.
thanks
Melanius is offline   Reply With Quote
Old 09-13-2003, 01:42 PM   #10 (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

Yeah, i'd also like to have a look..
But hey, no pressure man, no pressure (<-Not sure if it seemed sarcastic, its not supposed to =P)
Revan is offline   Reply With Quote
Old 09-13-2003, 01:45 PM   #11 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

Sorry about that, many files were not restored on the site move. It's up here: http://www.runuo.com/krrios/uosdk_example_map.zip
krrios is offline   Reply With Quote
Old 09-16-2003, 09:30 AM   #12 (permalink)
Newbie
 
Join Date: Sep 2002
Posts: 52
Send a message via ICQ to Melanius
Default

Thanks Krrios, this lil src code really clears out some stuff i didn't know how to achieve.
Melanius is offline   Reply With Quote
Old 09-16-2003, 02:10 PM   #13 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

i must realy be missing some thing in this example. for some reson i cant get it to get my curent x y z locations.
hcker2000 is offline   Reply With Quote
Old 09-16-2003, 02:40 PM   #14 (permalink)
 
Join Date: Mar 2003
Location: Near a lava pool
Age: 8
Posts: 1,012
Default

Do you calibrate before using the FindLocation function?
Arya is offline   Reply With Quote
Old 09-17-2003, 09:19 PM   #15 (permalink)
 
Join Date: Feb 2003
Posts: 358
Send a message via ICQ to hcker2000
Default

yea im useing the newest sdk so i did Ultima.Client.Calibrate()

i think thats the command. I made sure in my program it was right
hcker2000 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