Fixes publishing

This commit is contained in:
Kamron Batman 2019-10-04 22:02:19 -07:00
parent 6119774dc9
commit 58be0d416c
No known key found for this signature in database
GPG key ID: 5C9DFD15804B6BB8
53 changed files with 981 additions and 1225 deletions

View file

@ -23,7 +23,7 @@ namespace Server.Engines.BulkOrders
string type = reader.ReadString();
if (type != null)
ItemType = ScriptCompiler.FindTypeByFullName(type);
ItemType = AssemblyHandler.FindTypeByFullName(type);
AmountCur = reader.ReadEncodedInt();
Number = reader.ReadEncodedInt();
@ -53,4 +53,4 @@ namespace Server.Engines.BulkOrders
writer.WriteEncodedInt(Graphic);
}
}
}
}

View file

@ -32,7 +32,7 @@ namespace Server.Engines.BulkOrders
string type = reader.ReadString();
if (type != null)
ItemType = ScriptCompiler.FindTypeByFullName(type);
ItemType = AssemblyHandler.FindTypeByFullName(type);
RequireExceptional = reader.ReadBool();
@ -97,4 +97,4 @@ namespace Server.Engines.BulkOrders
writer.WriteEncodedInt(Price);
}
}
}
}

View file

@ -104,7 +104,7 @@ namespace Server.Engines.BulkOrders
string type = reader.ReadString();
if ( type != null )
realType = ScriptCompiler.FindTypeByFullName( type );
realType = AssemblyHandler.FindTypeByFullName( type );
Details = new SmallBulkEntry( realType, reader.ReadInt(), reader.ReadInt() );
}

View file

@ -201,7 +201,7 @@ namespace Server.Engines.BulkOrders
string type = reader.ReadString();
if (type != null)
Type = ScriptCompiler.FindTypeByFullName(type);
Type = AssemblyHandler.FindTypeByFullName(type);
m_Number = reader.ReadInt();
Graphic = reader.ReadInt();

View file

@ -71,7 +71,7 @@ namespace Server.Engines.BulkOrders
if ( split.Length >= 2 )
{
Type type = ScriptCompiler.FindTypeByName( split[0] );
Type type = AssemblyHandler.FindTypeByName( split[0] );
int graphic = Utility.ToInt32( split[split.Length - 1] );
if ( type != null && graphic > 0 )