Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Razor: The Cutting Edge UO Assistant

Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards.

Reply
 
Thread Tools Display Modes
Old 02-25-2007, 08:27 AM   #1 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default Razor-Item problem (16383 limit)

On our shard, we have a custom map, which has quite unconventional size (that is 28672 x 4096). We use UOML, and the latest razor version (1.0.6), to play on it.

All works just perfect, exept the fact, that when we cross coordinate 16383 basing on zero (0-base), which is 16384 (2^14), the Razor wont let us pick up any items from the map (floor, tables etc.) to characters bacpack/bank/other containers.

What is worse, the client 'thinks', that we have managed to put the item into container, in spite that the item is still on a map, and a client stops showing us the item at all - it dissapears.

Probably, setting a bigger variable to taking care of this sort of things, should do the trick.

Using UOgateway doesn't cause us any problems, and that error accures only when we are playing using Razor.

At the end, I wish to say, that we are very satisfied using razor for so long time, and we hope, that the next razor version will solve our problem.
once is offline   Reply With Quote
Old 02-25-2007, 12:33 PM   #2 (permalink)
Forum Expert
 
Join Date: Dec 2003
Location: Sitting in a chair fulfilling my life's goal
Age: 22
Posts: 2,650
Send a message via AIM to Killamus Send a message via MSN to Killamus
Default

Quote:
Originally Posted by once View Post
What is worse, the client 'thinks', that we have managed to put the item into container, in spite that the item is still on a map, and a client stops showing us the item at all - it dissapears.
That's a client problem; it happens to me all the time when I attempt to move stuff too far (Instead of doing a bounce. This is quite possibly due to the fact that I have an outdated client.... 4.9.9z or something, just before 5.0.0a.) As for the 16383 thing, is it just on that X or Y cord that it happens, or anything above that cord? If it is, I doubt its that big of a problem, but then again, maybe not. I would have thought, however, that it runs off of a 16 bit base, not a 14. 14 is rare, except in video games where there is a limited space for saving. Oh wait, that describes OSI

I really can't offer help here, because I think this is a client issue; not a razor issue. Maybe it'll be fixed in KR. We can only hope.
__________________
Procrastinators unite!
Tomorrow.
Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
Killamus is offline   Reply With Quote
Old 02-25-2007, 01:02 PM   #3 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

huh, i tested this without Razor, running uoml with uogateway :
multitest, same test-place, same test-item : works
next
this same client version, this same @ll - with razor : don`t work.

mayby there is a probem in code like:

Code:
    i &= 32767;
    if (byt1 != 0)
    {
        i |= 32768;
    }
    base.Write(((ushort)i));
    i1 &= 16383;
    if (usht2 != 0)
    {
        i1 |= 32768;
    }
    if (byt != 0)
    {
        i1 |= 16384;
    }
once is offline   Reply With Quote
Old 02-25-2007, 01:58 PM   #4 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
Default

This is a limitation of the UO client->server protocol. I'm really sure how this is even possible without Razor running. This isn't a Razor limitation, the client expects coordinates for items to be shorts (14 bits, to be exact).

It uses the other 2 bits for flags.

Also, please don't decompile Razor. It's not nice.
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 02-25-2007, 02:25 PM   #5 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

ok, sorry for decompile.
once is offline   Reply With Quote
Old 02-25-2007, 03:00 PM   #6 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

btw, i make all test with another program 'connectuo' and all works good. Only when i`m using Razor i have problem with items bayond 16383x.

so, i think it`s not a client-problem.
once is offline   Reply With Quote
Old 02-25-2007, 06:51 PM   #7 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

Quote:
Originally Posted by once View Post
ok, sorry for decompile.
roflExtrachars
Kenko is offline   Reply With Quote
Old 02-25-2007, 07:29 PM   #8 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

Forum Expert
Rep Power: 38
rotfl

Yep, you are very usefull.
can you answer on my question? no? ups
once is offline   Reply With Quote
Old 02-25-2007, 07:57 PM   #9 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

ConnectUO has nothing to do with your client.. it just handles to which server you connect or at least I have been told so by the sages
Kenko is offline   Reply With Quote
Old 02-25-2007, 08:03 PM   #10 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

I know, You right...

my point is:
If client works fine with uogateway and connectuo
and don`t work with Razor...
then, where is problem ?

And Yes, i need Razor, it`s great tool.

Regards.
once is offline   Reply With Quote
Old 02-26-2007, 10:38 AM   #11 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

well everything points to be that Razor is the problem, but Zippy said it's not a Razor's limitation so it is not a Razor's limitation.

Zippy 4tw <3
Kenko is offline   Reply With Quote
Old 02-26-2007, 02:27 PM   #12 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
Default

I think I have discovered what the issue is, so I'll look into releasing a fix for it soon.
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 02-26-2007, 03:09 PM   #13 (permalink)
Forum Newbie
 
Join Date: Nov 2003
Posts: 7
Default

thx

Regards
once 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