It works like this:
IF client uses Razor AND has the negotiate feature enabled, it will react to a 0xF0 packet from server. The packet is:
BYTE[1] 0xF0
BYTE[2] length (0x000C)
BYTE[1] 0xFE
BYTE[8] features to disable (for respective OR-ed values see this RunUO script )
If you have Razor running, it ...
Search found 8 matches
- Fri Dec 14, 2012 4:07 pm
- Forum: Scripting Help
- Topic: Blocking Razor
- Replies: 11
- Views: 11931
- Sun Dec 09, 2012 4:08 am
- Forum: Scripting Help
- Topic: Drop Items
- Replies: 10
- Views: 7501
Re: Drop Items
Are you sure the mount has a backpack? The command .openpack creates a new one in case the mount has no backpack, so it is not a good way to check.
- Wed Nov 28, 2012 2:11 pm
- Forum: Scripting Help
- Topic: SendPacket Negative Number
- Replies: 6
- Views: 5706
Re: SendPacket Negative Number
Here is the flaw:
Imagine you have negative z, like -1. As I explained above, signed variables have different bit structure.
Hex(-1) will give 0xFFFFFFFF. You are trying to write this into 1 byte, which invokes your failsafe condition and returns nothing. What happens next, I am not sure, but I ...
Imagine you have negative z, like -1. As I explained above, signed variables have different bit structure.
Hex(-1) will give 0xFFFFFFFF. You are trying to write this into 1 byte, which invokes your failsafe condition and returns nothing. What happens next, I am not sure, but I ...
- Sun Nov 25, 2012 1:55 am
- Forum: Scripting Help
- Topic: SendPacket Negative Number
- Replies: 6
- Views: 5706
Re: SendPacket Negative Number
I think the problem is in the function ConvertIntToHex, could you post it here, too?
Also, I recommend using Packet functions instead of building a string, it is much cleaner.
Also, I recommend using Packet functions instead of building a string, it is much cleaner.
- Mon Nov 19, 2012 11:43 am
- Forum: Scripting Help
- Topic: SendPacket Negative Number
- Replies: 6
- Views: 5706
Re: SendPacket Negative Number
I think we will need more information on this. Can you copy the malfunctioning script here?
However, I suspect what the problem is. While working with packets, do you have anything like this in the code?
packet.setInt8(position, player.z);
The z coordinate goes from -128 to 127 and therefore ...
However, I suspect what the problem is. While working with packets, do you have anything like this in the code?
packet.setInt8(position, player.z);
The z coordinate goes from -128 to 127 and therefore ...
- Sat Sep 22, 2012 2:30 pm
- Forum: Bug Reports & Feature Requests
- Topic: Error in an inequality
- Replies: 2
- Views: 3694
Re: Error in an inequality
Okay, thanks, here's why I think it should be fixed. In eScript many error catches are done by error propagation, like in this case:
if (GetSomething(someone).getprop(some true/false parameter))
do something
endif
If there is something wrong with the input, something doesn't exist, the result is ...
if (GetSomething(someone).getprop(some true/false parameter))
do something
endif
If there is something wrong with the input, something doesn't exist, the result is ...
- Fri Sep 14, 2012 2:10 am
- Forum: Packet World
- Topic: 0x6C Target packet
- Replies: 0
- Views: 11927
0x6C Target packet
If the client has "Query before performing criminal actions" turned on, the Cursor type returned is 0 in cases where the player had to go click through the criminal query. That means if you send either harmful or helpful cursor to the client, there is no guarantee it will send back the same ...
- Tue Sep 04, 2012 6:21 pm
- Forum: Bug Reports & Feature Requests
- Topic: Error in an inequality
- Replies: 2
- Views: 3694
Error in an inequality
Hi, if I compare an error with a number (SendSysMessage(me, CStr(error < 1))), the result is random, sometimes 0 and sometimes 1. I would expect the result to be an error or zero.