Full Version : End of 1.0 onto 2.0 Hmmm
xmlspawner >>Q&A >>End of 1.0 onto 2.0 Hmmm


<< Prev | Next >>

gizmo- 06-15-2006
I just ran the copy of RunUO 2.0 system. Fantastic. If anybody has downloaded it from the new SVN stuff. Load your server but make sure you get the Zlib.1.2.3 ect. Now that you have that. Run your docgen...yeah thats right.


Its a shame now =(, cuse I know arte has been workin hard core. Just to have to go back and rewrite a ton of things because RunUO 2.0 isnt compatible cause of various things, all your commands useing CommandEventArgs e ect.. dont work, Im not even sure if its a namespace problem or if they rewrote it. 1.0 code is dead in my opinon. because of the major reconstruction of the core code and base classes.


If there is anything I can do to help rebuild XML or help correct this system for 2.0 Let me know. Ill do as much as I can.


=(

Dont mean to complain here. Its a pretty darn big issue for anybody who wants to upgrade there 1.0 system to 2.0. Not 1 of our Custom scripts was compatible with 2.0. Custom Regions 3.6 Knives Chat, Jail System anything. Nothing works.

ArteGordon- 06-15-2006
I'm out of town at the moment, so I will have to wait until tomrrow to take a look at it. I knew there would be a lot of changes like that so I'm not too worried about the conversion.
I figure I will have the core working in a week once I go through all of the code to see what they changed, and then the various addons should be easier.
Then a lot of testing to make sure everything works again and I can certainly use lots of help there.

LowCastle- 06-15-2006
Ewww. Well, I didn't even know they had released it. That's great news, but at the same time I am dreading all of the work ahead.

gizmo- 06-15-2006
A majority of the problems arte is that they kinda rewrote some of the core systems. From what ive noticed now on alot of the custom stuff we got on our server relates too.


Server.Commands are not Compatable, they kinda renamed spaced some stuff.
Server.Gumps alot of fix stuff and rewording I think on commands.
Server.Regions changed up to like this now...

TownRegion:[[[BaseRegion]]]:Region Bascially has a middle man. The call AllowBenificalAction has been changed to OnbenficialAction() ect.. so the regions got a overhual.

I really havent got much into it. But hopefully this helps get you started on repairing stuff.

gizmo- 06-15-2006
K found a fix for custom commands now. This is a exmaple of knives chat Chat.CS for the Initialize method.


CODE

  Server.Commands.CommandSystem.Register( "Chat", AccessLevel.Player, new CommandEventHandler( OnChat ) );
  Server.Commands.CommandSystem.Register( "Ch", AccessLevel.Player, new CommandEventHandler( OnChat ) );



Also added

using Server.Commands;


This seemed to fix the problems for the custom commands.

Still working on the rest of the problems for kniveschat. When im done ill proably post it on RunUO forums if that guy who made it dont.

gizmo- 06-15-2006
Account?? lol omfg..here ya go.

Accounting.Accounts.Table.Values

Table? What table lol..

Was replaced with IAccount



directly from the docgen too =( wonderful
CODE

IAccount
Derived Types: Account
AccessLevel AccessLevel( get; set; )
int Count( get; )
Mobile Item( get; set; )
int Length( get; )
int Limit( get; )
string Username( get; set; )
virtual bool CheckPassword( string password )
virtual void Delete()
virtual void SetPassword( string password )

gizmo- 06-15-2006
Ill leave it be on this link here. Its one of Phantoms lil doings. Good he posted it though. It is kinda helpful to see the overhual of the system.

Changes