Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Network Modifications

Network Modifications This forum is for modifications to the networking code of RunUO

Reply
 
Thread Tools Display Modes
Old 10-19-2005, 10:00 AM   #1 (permalink)
Forum Novice
 
Join Date: Sep 2002
Posts: 106
Default Making NetState.PacketEncoder an instance member instead of a static class member.

This patch is here to make PacketEncoder more useful to allow it to save encoder state information directly with the NetState without the use of a Hashmap or similar techniques. (Which require you to clean up the Hashmap etc.).

The patch is rather simple. It consists in removing two static keywords on line 91 and 93 of the original NetState.cs.

Attached to this post are three files:

a) A compressed RunUO.exe which is the official 1.0.0 source compiled with this patch.

b) A compressed patch that can be applied to your existing source by extracting it into your RunUO source directory and running the supplied .bat files. It also allows removing itself from the source by running the supplied bat file. This is an incremental patch, so it does not overwrite any files and will keep your personal changes to NetState.cs intact.

c) The modified NetState.cs file if you would just like to replace the original file.

This patch has already been accepted into the next official release by Zippy (Zippy's da man!) but since the release date of the next RunUO version is unknown i've decided to release this separately to support my encryption scripts better.

cu,
DarkStorm
Attached Files
File Type: cs NetState.cs (15.9 KB, 195 views)
File Type: zip NetStatePatch.zip (70.7 KB, 154 views)
File Type: zip RunUO-with-NetStatePatch.zip (167.1 KB, 135 views)
darkstorm is offline   Reply With Quote
Old 10-26-2005, 04:00 AM   #2 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Nice this is useful stuff
XxSP1DERxX is offline   Reply With Quote
Old 12-10-2006, 04:12 PM   #3 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 206
Default

I keep getting a Fatal Exception when I try to use the modified RunUO.exe on my shard.
seanandre is offline   Reply With Quote
Old 12-10-2006, 04:35 PM   #4 (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 Sticky: Using a Modified Core.
There is no rule saying that you can not use a modified core, or even modify the core yourself.

However, if you choose to use a modified core, whether you modified it or someone else did, then you will not recieve support in the forums for your shard.
This is the price that you will pay for not waiting for the dev's to fix something.
Just a post above this one.
Kenko is offline   Reply With Quote
Old 12-10-2006, 04:46 PM   #5 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 206
Default

Well that's nice and completely useless.

According to the original post of this script, it says that no core modifications are required to use it, but when you try to use it it gives errors, and the only way to fix them is to apply the core modification in this post. I'm not looking for support from the forums, I'm looking for support from the person who made this script.
seanandre is offline   Reply With Quote
Old 12-12-2006, 11:47 AM   #6 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,824
Default

Quote:
Originally Posted by seanandre
Well that's nice and completely useless.

According to the original post of this script, it says that no core modifications are required to use it, but when you try to use it it gives errors, and the only way to fix them is to apply the core modification in this post. I'm not looking for support from the forums, I'm looking for support from the person who made this script.
No, its not supported because the RunUO.exe he posted is modded, thus its a modded core Sorry, your out of luck.

A suggestion tho, this is a for 1.0 only so if your using it with 2.0 that is your problem

EDIT: seems he hasnt been on these forums for some time now
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO

Last edited by Jeff; 12-12-2006 at 11:49 AM.
Jeff 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