kubuntUO - RunUO linux for human beings

Tuesday, March 20, 2007

Mapping Improvements?

Greetings,

I may have found a fix for the holes in the map. I need to test it before I post the results. Keep your fingers crossed.

I was thinking, since the RunUO code has not been updated, maybe some of the old fixes now work with mono v1.2.3.1. After reviewing tilematrix.cs and tilematrixpatch.cs, I notice that the way they read the files for MS.NET is different than MONO. The other files - Main.cs and FileOperations.cs also were written the same way. So, I adapted the "using System.Runtime.InteropServices;" statement and the "[System.Runtime.InteropServices.DllImport( "Kernel32" )]" sections of code.

Now when I run the server I get the following notice...

RunUO - [www.runuo.com] Version 2.0, Build 2635.19910
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2089 items, 497 mobiles)
Regions: Loading...
Warning: Land EOS for Felucca (167, 249)
Warning: Land EOS for Ilshenar (105, 88)
Warning: Land EOS for Malas (124, 64)
Warning: Land EOS for Tokuno (32, 97)
done
World: Loading...done (0 items, 0 mobiles) (0.01 seconds)
This server has no accounts.
Creating Username: admin Password: admin
Account created.

Warning: Land error description can be found here although it is vague. I am hoping it will chop out the holes or point us in a better direction.

-Ravon

1 Comments:

  • Greetings,

    This is a dead end. It apears System.Runtime.InteropServices is still incomplete in MONO.

    http://go-mono.com/docs/

    -Ravon

    By Blogger Ravon, at 6:03 AM  

Post a Comment

<< Home