PenUltima Online

It is currently Fri Aug 29, 2008 9:29 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Blocking Razor
PostPosted: Wed Nov 07, 2007 1:52 pm 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
How to block logon when client is conecting by razor??


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 5:46 pm 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 313
Location: Myrtle Beach, South Carolina
This is just a guess. But I think it would work best, at least I'm pretty sure this is the only way to.

Use an insanely out of date client not supported by razor.

Why do you want to block it anyway?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 6:42 am 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
I search for a way to block some razor options (light level etc)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 5:29 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 744
Location: Chicago, IL USA
Light level is handled by the client. Its configurable by sending packets from the server but in the end, its either gonna be blocked or overridden by third party programs. Theres really no way to stop it unless you have a custom client that breaks third party program support. Razor isn't the only thing that handles light level specifically. There are others that modify the client itself to break it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 1:34 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 12:15 am
Posts: 206
Seems like RunUO already has support for disabling some Razor features (like filtering the light level). Downside is that every player should use Razor for this to work (*). Check this thread: http://www.runuo.com/forums/custom-script-releases/84092-1-0-2-0-razor-feature-negotiation.html.

I have to say I haven't used, nor tested, that in any ways, so this might not really be what I think it is, and even if it is, you might not be able to use in on POL (for a long time).

* Because POL does not support this AFAIK, if someone could make (script) it to, the razor only requirement could be disabled. If done so, of course, one couldn't force all players to not disable light levels, but only the ones that allow negotiation, so...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 19, 2008 11:10 am 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
So...

Done some runuo script walkthrough and...

RunUo on logon of a player sends a packet to the client:

first four bytes id the head: f00000fe

later there are 8 bytes of feature enabled/disabled

every bit of 8 byte is a feature

so a packet should look like??? f0 00 00 fe 00 00 00 00 00 00 00 02
(to enable only light in razor)

The problem is when I write a simple text command to test:
program razor(kto)

var pakiet := sendpacket(kto,"f00000fe00000000000000ff");

Sendsysmessage(kto,"Pakiet razora: "+pakiet);

endprogram

sending this packet freezes the client...

I`m not so good in programming (since i`m a physic), but somebodu could find this data usefull and help to write something to force the razor to cooperate:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl