View Single Post
Old 09-22-2008, 02:01 AM   #225 (permalink)
Bujinsho
Forum Novice
 
Bujinsho's Avatar
 
Join Date: Oct 2006
Posts: 164
Send a message via ICQ to Bujinsho
Default

I've used this on RunUO 1 Final and on RunUO2 RC2. Works fine on both:

Quote:
but now... the old bug:
// List<Gump> gumps = state.Gumps;
List<Gump> gumps = ((List<Gump>)state.Gumps);
That is only required if you run RC2. For RC1 you should use the package as posted.

To make it work on RunUO 1 you need to edit RUOVersion.cs

Code:
/*
 * The two lines following this entry specify what RunUO version you are running.
 * In order to switch to RunUO 1.0 Final, remove the '//' in front of that setting
 * and add '//' in front of '#define RunUO_2_RC1'.  Warning:  If you comment both
 * out, many commands in this system will not work.  Enjoy!
 */

#define RunUO_2_RC1
//#define RunUO_1_Final

using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Multis;
using Server.Network;
__________________
The Hand Controls The Sword, The Mind Controls The Hand.
Bujinsho is offline   Reply With Quote