|
||
|
|||||||
| Network Modifications This forum is for modifications to the networking code of RunUO |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#26 (permalink) |
|
Newbie
Join Date: Jun 2006
Posts: 95
|
It might be that packet 0x25 ->
Code:
public sealed class SecureTradeEquip : Packet
{
public SecureTradeEquip( Item item, Mobile m ) : base( 0x25, 20 )
{
m_Stream.Write( (int) item.Serial );
m_Stream.Write( (short) item.ItemID );
m_Stream.Write( (byte) 0 );
m_Stream.Write( (short) item.Amount );
m_Stream.Write( (short) item.X );
m_Stream.Write( (short) item.Y );
m_Stream.Write( (int) m.Serial );
m_Stream.Write( (short) item.Hue );
}
}
Code:
public sealed class SecureTradeEquip : Packet
{
public SecureTradeEquip( Item item, Mobile m, ClientVersion version ) : base( 0x25 )
{
bool uokr = IsUOKRPacket( version );
this.EnsureCapacity( uokr ? 21 : 20 );
m_Stream.Write( (int) item.Serial );
m_Stream.Write( (short) item.ItemID );
m_Stream.Write( (byte) 0 );
m_Stream.Write( (short) item.Amount );
m_Stream.Write( (short) item.X );
m_Stream.Write( (short) item.Y );
if ( uokr )
m_Stream.Write( (byte) item.GridLocation );
m_Stream.Write( (int) m.Serial );
m_Stream.Write( (short) item.Hue );
}
}
Last edited by Kamron; 07-21-2007 at 03:07 AM. |
|
|
|
|
|
#28 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 369
|
Well, after patching to the latest client, I'm experiencing the akward issues. I downloaded the latest server.exe (I'm running RC1) and when I try to run it, I get this error:
Code:
Errors:
+ Items/Misc/Corpses/Corpse.cs:
CS0506: Line 548: 'Server.Items.Corpse.SendInfoTo(Server.Network.NetState)':
cannot override inherited member 'Server.Item.SendInfoTo(Server.Network.NetStat
e)' because it is not marked virtual, abstract, or override
+ Items/Misc/Blocker.cs:
CS0506: Line 21: 'Server.Items.Blocker.SendInfoTo(Server.Network.NetState)':
cannot override inherited member 'Server.Item.SendInfoTo(Server.Network.NetStat
e)' because it is not marked virtual, abstract, or override
+ Items/Misc/LOSBlocker.cs:
CS0506: Line 30: 'Server.Items.LOSBlocker.SendInfoTo(Server.Network.NetState
)': cannot override inherited member 'Server.Item.SendInfoTo(Server.Network.NetS
tate)' because it is not marked virtual, abstract, or override
+ Multis/HouseFoundation.cs:
CS0506: Line 623: 'Server.Multis.HouseFoundation.SendInfoTo(Server.Network.N
etState)': cannot override inherited member 'Server.Item.SendInfoTo(Server.Netwo
rk.NetState)' because it is not marked virtual, abstract, or override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
The regular 'RunUO.exe' that comes with it, complies just fine. But, with the latest patch, I can't do anything when I log in... no paperdoll, missing gumps, and freeze up after a few steps. After I run this new server.exe, I get the errors above. Any ideas? Last edited by nadious; 07-21-2007 at 01:11 AM. |
|
|
|
|
|
#29 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 369
|
Ok, nevermind.... I've been working on this thing for hours.
![]() I'm guessing the new server core, is for the SVN. So, I downloaded a brand new fresh copy of RunUO RC1. I spent the time to compile the .exe, replaced all the data & scripts... and launched the server. So far, all good. I then went in and downloaded this new sever.exe replacement, and changed out the scripts that needed to be changed out. The server complies with no errors. However, when I get into the game, I'm still have the same lag issues with paperdolls and freezing. (Due to the new client update.) I assumed that this update would fix and address these issues, but maybe I did something wrong? I'm running the latest SVN with the latest support files found in this thread (with no errors) and I can't do anything when I log in. ![]() |
|
|
|
|
|
#36 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 369
|
Ok... let me give you an update here on what is going on. (Sorry if I keep posting like crazy... just trying to give as much info as I can.)
On a test shard (using the latest SVN.. I believe 187?) and the patches found in this thread (both core and distro), I was able to connect with the two of three accounts just fine. (See above.) This was a LOCAL test shard, running on my machine. I then took the same test shard, uploaded it to where my REAL shard was, and copied over any scripts that I had installed. Spent a few minutes going through and getting out the ones that didn't work with the SVN update... but it was only like 3. The rest were pretty much just drop in scripts that worked fine.. or with a line adjustment here or there. But as far as I can tell... there are no distro edits to any of the scripts. It's all just custom stuff. Once I got the shard up and running, I'm now having login and lag issues, even with the Razor client. On the local shard, I didn't (except for the admin account), but on the REAL shard, the updates did not work, even when using the Razor client. Here is the sever window... just in case if anything in there might be helpful to you all: Code:
RunUO - [www.runuo.com] Version 2.0, Build 2757.23663 Core: Running on .NET Framework Version 2.0.50727 Core: Running with arguments: -debug Scripts: Compiling C# scripts...done (0 errors, 0 warnings) Scripts: Compiling VB.NET scripts...no files found. Scripts: Verifying...done (2157 items, 564 mobiles) Regions: Loading...done World: Loading...done (117979 items, 4485 mobiles) (4.20 seconds) Restricting client version to 6.0.1.7. Action to be taken: Annoy Reports: Stats: Loading...done Reports: Staff: Loading...done Xanthos.Utilities.ConfigParser attempting to load Data/JailConfig.xml... Xanthos.Utilities.ConfigParser failed. Xanthos.Utilities.ConfigParser attempting to load Data/AuctionConfig.xml... Xanthos.Utilities.ConfigParser failed. Here's also something else rather odd: If I don't log in for several minutes.... I can then log in (even without Razor) and connect with an account and do just fine. As soon as I log back out and try to log back in, I start getting the lag issues. Even with the same account that I just tried out. Not sure if that really means anything... but thought I would pass it along. ![]() Last edited by nadious; 07-21-2007 at 11:54 AM. |
|
|
|
|
|
#41 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
what part exactly? I'm less lost than before, but still not able to fix it.
[irony]Also I love that comment from the guy who calls freeshards, who advice their players not to update their clients in order to be able to continue playing whiners...[/irony] The problem is that container contents are not updated as the client expects it, but I do not know why. Seems to have the issue with the old client version too, what really irritates me. Must have been the changes in item.processdelta, that cause it for older versions.
__________________
[sig]all my scripts are public domain and can be re-released in any form[/sig] |
|
|
|
|
|
#44 (permalink) |
|
Newbie
Join Date: Jun 2006
Posts: 95
|
RunUO Support for 6.0.1.7 is FINISHED - THIS MODIFICATION IS WORKING PROPERLY
Download the compiled version if you have not edited your core. Download the other one, if you want to see the edited files. Use winmerge to find the changes. |
|
|
|
|
|
#45 (permalink) | |
|
Account Terminated
Join Date: May 2007
Age: 32
Posts: 41
|
Quote:
I have the same problems as before, plus stopped working KR client ![]() |
|
|
|
|
|
|
#48 (permalink) |
|
Newbie
|
nice job, man!
but i couldn't see the information about serialization in Item.cs. Did you delete it? By the way, in the zip BaseVendor.cs is not included. note: In the zip files Packets.cs "VendorBuyContent( ArrayList list, ClientVersion version )" isn't modified. Last edited by sailor; 07-23-2007 at 08:11 AM. |
|
|
|
|
|
#50 (permalink) |
|
Forum Newbie
Join Date: Jan 2004
Posts: 16
|
Yeah for 6.0.1.7 Client :-),
but it doesn't work with clients <= 6.0.1.6 :-( Code:
Exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei Server.Misc.ClientVerification.EventSink_ClientVersionRecieved(ClientVersionRecievedArgs e) bei Server.ClientVersionRecievedHandler.Invoke(ClientVersionRecievedArgs e) bei Server.EventSink.InvokeClientVersionRecieved(ClientVersionRecievedArgs e) in c:\RunUO_MM\Server.KR\EventSink.cs:Zeile 840. bei Server.Network.PacketHandlers.ClientVersion(NetState state, PacketReader pvSrc) in c:\RunUO_MM\Server.KR\Network\PacketHandlers.cs:Zeile 1764. bei Server.Network.MessagePump.HandleReceive(NetState ns) in c:\RunUO_MM\Server.KR\Network\MessagePump.cs:Zeile 254. bei Server.Network.MessagePump.Slice() in c:\RunUO_MM\Server.KR\Network\MessagePump.cs:Zeile 109. bei Server.Core.Main(String[] args) in c:\RunUO_MM\Server.KR\Main.cs:Zeile 459. Have anybody a hint or solution to me? Last edited by Lumberman; 07-23-2007 at 10:23 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|