RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Support for 6.0.1.7 Client

quantomsadmn

Wanderer
looks like you are using a exe of the latest svn with rc1 scripts. Tons of stuff changed. So I'd suggest using a program to search for differences and only edit the lines you need. Basically the ones having to do with packets, the rest are SVN changes since RC1 which you can skip.
 

Behringer

Sorceror
Ok... Here's where I am at.

*I downloaded all the svn187 files with TortoiseSVN and put them in a folder.
*I dropped your newly compiled Server.exe in that folder.
*I dropped your support files into the folder overwriting the existing file.

(Its all a new install withno custom scripts other than the svn187 files and the files attached to this post)

Here is what I get:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2761.16107
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Misc/BuffIcons.cs:
    CS0117: Line 17: 'Server.EventSink' does not contain a definition for 'Clie
tVersionReceived'
    CS0246: Line 17: The type or namespace name 'ClientVersionReceivedHandler'
ould not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 17: The type or namespace name 'ClientVersionReceivedArgs' cou
d not be found (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 

stormwolff

Knight
Behringer;700547 said:
Ok... Here's where I am at.

*I downloaded all the svn187 files with TortoiseSVN and put them in a folder.
*I dropped your newly compiled Server.exe in that folder.
*I dropped your support files into the folder overwriting the existing file.

(Its all a new install withno custom scripts other than the svn187 files and the files attached to this post)

Here is what I get:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2761.16107
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Misc/BuffIcons.cs:
    CS0117: Line 17: 'Server.EventSink' does not contain a definition for 'Clie
tVersionReceived'
    CS0246: Line 17: The type or namespace name 'ClientVersionReceivedHandler'
ould not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 17: The type or namespace name 'ClientVersionReceivedArgs' cou
d not be found (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

In BuffIcons.cs

Change

Code:
EventSink.ClientVersionReceived += new ClientVersionReceivedHandler( delegate( ClientVersionReceivedArgs args )

to

Code:
EventSink.ClientVersionRecieved += new ClientVersionRecievedHandler( delegate( ClientVersionRecievedArgs args )
 

Behringer

Sorceror
stormwolff;700551 said:
In BuffIcons.cs

Change

Code:
EventSink.ClientVersionReceived += new ClientVersionReceivedHandler( delegate( ClientVersionReceivedArgs args )

to

Code:
EventSink.ClientVersionRecieved += new ClientVersionRecievedHandler( delegate( ClientVersionRecievedArgs args )

Ahhh... the 'ei' and changed to 'ie' in the word 'Recieved'.

It got past the compiled portion now. I'll try the rest of it out.

Thanks for the help.
 

FLuXx()

Sorceror
I've been gone from the RunUO scene for a while, and figuring this new revision thing out is being a painful experience.

Let me see if I get this method right (and I'm looking for corrections...):

1) Create Folder -> Download Latest RunUO Files
2) Extract RunUO 2.0 RC1 Files into separate folder.
3) Extract support files to SVN Folder
4) Build Server.exe
5) Copy Server.exe to RunUO folder...

(This gives me a bunch of errors...)
So what am I doing wrong? Do I need to copy the script files over from the SVN to the script folder actually being used by the server?

I've been searching for the forums for at least an hour now and maybe I just don't know the right terms to search for, but this all started because I let the UO patcher go too far, and now I'm having issues staying logged in. Well I'm sure this will fix it, but I keep running into errors along the way.

So am I doing something wrong, or do I just need to go modify all these files?

(I'll post error logs if necessary)
 

HellRazor

Knight
FLuXx();700673 said:
Do I need to copy the script files over from the SVN to the script folder actually being used by the server?

Yes. Some of the changes to the core require changes to some of the scripts.
 

FLuXx()

Sorceror
Once I merge the script folders I get this:

PHP:
Errors:
 + Mobiles/Vendors/BaseVendor.cs:
    CS1501: Line 636: No overload for method 'VendorBuyContent' takes '2' arguments
 + Items/Skill Items/Magical/Spellbook.cs:
    CS1501: Line 487: No overload for method 'ContainerContentUpdate' takes '2' arguments
 + Items/Misc/BulletinBoards.cs:
    CS1501: Line 161: No overload for method 'ContainerContent' takes '3' arguments

So I'm guessing I have to code those methods to allow the extra argument? I thought the support files were supposed to do that already...
 

RadstaR

Sorceror
FLuXx();700756 said:
Once I merge the script folders I get this:

PHP:
Errors:
 + Mobiles/Vendors/BaseVendor.cs:
    CS1501: Line 636: No overload for method 'VendorBuyContent' takes '2' arguments
 + Items/Skill Items/Magical/Spellbook.cs:
    CS1501: Line 487: No overload for method 'ContainerContentUpdate' takes '2' arguments
 + Items/Misc/BulletinBoards.cs:
    CS1501: Line 161: No overload for method 'ContainerContent' takes '3' arguments
So I'm guessing I have to code those methods to allow the extra argument? I thought the support files were supposed to do that already...
You merged scripts folder wrong, try it agan.
You have now in BaseVendor.cs (for example) this :
from.Send( new VendorBuyContent( list ) );
but you must have:
from.Send( new VendorBuyContent( list, from.NetState.Version ) );
 

Kamron

Knight
The easiest thing to do is to set up Tortoise SVN on your computer, checkout the RunUO 2.0 SVN and use that instead of the downloaded RC1.
 

FLuXx()

Sorceror
RadstaR;700799 said:
You merged scripts folder wrong, try it agan.
You have now in BaseVendor.cs (for example) this :
from.Send( new VendorBuyContent( list ) );
but you must have:
from.Send( new VendorBuyContent( list, from.NetState.Version ) );


Well that's what I don't understand...because my BaseVendor does say:

from.Send( new VendorBuyContent( list, from.NetState.Version ) );

Also, I do have tortoise installed, and few hours ago I downloaded all the files again, starting from scratch, replaced the files needed with the support files, compiled the server, copied the server, Scripts and Data folders to a new folder for running the server, and got the same errors as before.

Edit: I used Visual Studio to go to the definition of VendorBuyContent and this is all it had:

PHP:
using System.Collections;

namespace Server.Network
{
    public sealed class VendorBuyContent : Packet
    {
        public VendorBuyContent(ArrayList list);
    }
}

So I'm assuming I'll had to modify that before the server is compiled right?

Btw I really appreciate the feedback.
 

snicker7

Sorceror
FLuXx();700809 said:
Well that's what I don't understand...because my BaseVendor does say:

from.Send( new VendorBuyContent( list, from.NetState.Version ) );

Also, I do have tortoise installed, and few hours ago I downloaded all the files again, starting from scratch, replaced the files needed with the support files, compiled the server, copied the server, Scripts and Data folders to a new folder for running the server, and got the same errors as before.

Edit: I used Visual Studio to go to the definition of VendorBuyContent and this is all it had:

PHP:
using System.Collections;

namespace Server.Network
{
    public sealed class VendorBuyContent : Packet
    {
        public VendorBuyContent(ArrayList list);
    }
}

So I'm assuming I'll had to modify that before the server is compiled right?

Btw I really appreciate the feedback.

Did you put the appropriate files from the first post into the Server directory before recompiling it? VendorBuyContent is a packet that is in the core that was changed (in Packets.cs i believe) and the errors are coming when compiling Scripts because the necessary changes haven't been made in the core or you haven't recompiled with the necessary changes (or you're running the original svn187 core)
 

FLuXx()

Sorceror
I am fairly certain that I did. So I'm starting things over and trying one more time, if not, I'm just reinstalling UO and not letting it go too far beyond 5.0.0 client. I'll let you guys know how that goes...

(I tried to start a server that I compiled from SVN and it worked fine, totally stock. It said it wouldn't allow any clients beyond 6.0.9 or something like that and because my client is 6.0.9b I suppose it still didn't work.)
 

Mideon

Page
RadstaR;700881 said:
Aha. Hmm i can't help you, becasuse we have core based on RunUO 1.0.

Have you managed to support the new clients on RunUO 1.0? If so may I ask how you went about this?
 

RadstaR

Sorceror
Mideon;700911 said:
Have you managed to support the new clients on RunUO 1.0? If so may I ask how you went about this?
Sorry i can't help you. I'm not scripter (ehm .. scripter ... novice, lama) and our core is heavy modified, but support for 6.0.1.7 client is based on this modification (not problem for real scripters).
 

Kamron

Knight
I would support RunUO 1.0, but the problem is that most people who still use RunUO 1.0, use it for only a few reasons:

1) They modified the core so much they do not know how to update to 2.0
2) They do not want to modify (lazy, no time, too hard)
3) They think its better/faster (which is delusional)
 
Top