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!

[RunUO 2.0 RC1] Bestiary Generator.

arul

Sorceror
Pyro-Tech;687541 said:
nice to have this....i have a system like this that uses a pearl compiler to run things...the only thing is it can read all mobiles...

this is easier to work with though for sure....thanks for the submission :)
Yup I remember that was a good system.

I'll start working on updates on tuesday ( gotta pass few exams on monday first, yay).
 

Pyro-Tech

Knight
I can't seem to get this to work....

Code:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.832
Time: 7/26/2007 9:42:54 PM
Mobiles: 4287
Items: 40255
Clients:
- Count: 0

Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.Bestiary.MobileEntry' threw an exception. ---> System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(String filename)
   at Server.Bestiary.MobileEntry..cctor() in d:\RunUO Server 2.0\Scripts\Custom\New Scripts\Systems\Bestiary\MobileEntry.cs:line 33
   --- End of inner exception stack trace ---
   at Server.Bestiary.MobileEntry..ctor(Type type)
   at Server.Bestiary.Bestiary.Generate() in d:\RunUO Server 2.0\Scripts\Custom\New Scripts\Systems\Bestiary\Bestiary.cs:line 29
   at Server.Bestiary.Bestiary.Initialize() in d:\RunUO Server 2.0\Scripts\Custom\New Scripts\Systems\Bestiary\Bestiary.cs:line 130
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Server.ScriptCompiler.Compile(Boolean debug)
   at Server.Core.Main(String[] args)
 

Alari

Wanderer
After I did some of the .NET security updates, I started getting this:

Code:
Error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Server.Bestiary.MobileEntry' threw an exception.
---> System.ArgumentException: The output char buffer is too small to contain the decoded characters,
 encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.
Parameter name: chars
   at System.Text.Encoding.ThrowCharsOverflow()
   at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
   at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
   at System.IO.BinaryReader.InternalReadOneChar()
   at System.IO.BinaryReader.Read()
   at System.IO.BinaryReader.PeekChar()
   at Ultima.StringList..ctor(String language)
   at Server.Bestiary.MobileEntry..cctor()
   --- End of inner exception stack trace ---
   at Server.Bestiary.MobileEntry..ctor(Type type)
   at Server.Bestiary.Bestiary.Generate()
   at Server.Bestiary.Bestiary.Initialize()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Server.ScriptCompiler.Compile(Boolean debug, Boolean cache) in C:\Documents and Settings\BSKI\My Documents\Visual Studio 2005\Projects\RunUO\RunUO\Server\ScriptCompiler.cs:line 602
   at Server.Core.Main(String[] args) in C:\Documents and Settings\BSKI\My Documents\Visual Studio 2005\Projects\RunUO\RunUO\Server\Main.cs:line 433
This exception is fatal, press return to exit
 

arul

Sorceror
Pyro-Tech: Check please if there's a file named "layer_top.png" in your runuo's root directory.

Alari: MS somehow screwed up the PeekChar method, I'll recompile the Ultima.dll asap.
 

Tiamat13

Sorceror
arul;713487 said:
Pyro-Tech: Check please if there's a file named "layer_top.png" in your runuo's root directory.

Alari: MS somehow screwed up the PeekChar method, I'll recompile the Ultima.dll asap.



Did you ever update the Ultima.dll? Only asking because I get the same error as Alari when I installed your system.
 

arul

Sorceror
Tiamat13;735701 said:
Did you ever update the Ultima.dll? Only asking because I get the same error as Alari when I installed your system.
yay, stupid me, I forgot, sorry :/
 

Tiamat13

Sorceror
Code:
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Ultima.ASCIIText' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:Program FilesEA GamesUltima Online 9th Anniversary Collectionfonts.mul' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Ultima.ASCIIText..cctor()
   --- End of inner exception stack trace ---
   at Ultima.ASCIIText.DrawText(Int32 fontId, String text, Int16 hueId)
   at Server.Bestiary.MobileEntry.GenerateImage()
   at Server.Bestiary.MobileEntry..ctor(Type type)
   at Server.Bestiary.Bestiary.Generate()
   at Server.Bestiary.Bestiary.Initialize()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Server.ScriptCompiler.Compile(Boolean debug)
   at Server.Core.Main(String[] args)


I updated to your new pack this morning and now I get this error from the system.
 

arul

Sorceror
' Access to the path 'C:\Program Files\EA Games\Ultima Online 9th Anniversary Collection\fonts.mul' is denied.'

It says it can't open the file, isn't there another process using that file?
 

Tiamat13

Sorceror
arul;735782 said:
' Access to the path 'C:program FilesEA GamesUltima Online 9th Anniversary Collectionfonts.mul' is denied.'

It says it can't open the file, isn't there another process using that file?


As far as I know, I restarted my computer to make sure nothing else besides my firewall(Zone Alarm) and Anti Virus(AGV) where running. Then started a fresh copy of RunUO 2.0 with only this system installed, after the server starts up I give it admin and pass info(since its a fresh copy of RunUO 2.0), then it crashes.
 

arul

Sorceror
Tiamat13;735790 said:
As far as I know, I restarted my computer to make sure nothing else besides my firewall(Zone Alarm) and Anti Virus(AGV) where running. Then started a fresh copy of RunUO 2.0 with only this system installed, after the server starts up I give it admin and pass info(since its a fresh copy of RunUO 2.0), then it crashes.
I just tried it under WinXP Pro and Vista Ultimate with no problem. Are you sure your windows user account has access to that file ?
 

Tiamat13

Sorceror
I run windows xp pro, am on the admin account, running Ultima 9th Anniverary with patches up to 6.0.0. Anything there jump out at you or any ideas why it won't open my fonts.mul file ?

Thanks for any help, really want to use this system. =]
 

koluch

Sorceror
Error on compile:

Errors:
+ Engines/Bestiary/MobileEntry.cs:
CS0103: Line
1032: The name 'ASCIIText' does not exist in the current contex
t
CS0103: Line
1036: The name 'ASCIIText' does not exist in the current contex
t

Im sure I missed something, anyone have an idea?
 

nadious

Sorceror
Well, I tried to register, but the confirmation code is almost IMPOSSIBLE to get right. I tried several times...
 
Top