Full Version : Server Error
xmlspawner >>Scripting Support >>Server Error


<< Prev | Next >>

ArteGordon- 09-19-2007
I would patch to the most recent 6.0.2.0

Also, make sure that your server is using the correct data files. Set the CustomPath in DataPath.cs to the location of your most recently patched client installation.

Also make sure that you are using the SVN 258 Scripts as well as the updated server. Did you compile your own server or are you using a precompiled one such as the one posted in the forums here?

Neuton- 09-19-2007
QUOTE (ArteGordon @ September 19, 2007 04:06 pm)
I would patch to the most recent 6.0.2.0

Also, make sure that your server is using the correct data files.  Set the CustomPath in DataPath.cs to the location of your most recently patched client installation.

Also make sure that you are using the SVN 258 Scripts as well as the updated server.  Did you compile your own server or are you using a precompiled one such as the one posted in the forums here?

I compiled it with the C# 2005 express program, but I will check again on the server svn to make sure its the latest but i believe it was, the script one was at svn 259 tho.

I did set the Data.cs to the updated client..but yes i will patch it to the 6.0.2.0 one and i will let you know, again TY so much.


P.S. I know that razor is a runuo program, but maybe you would know since I changed where the client is installed it gives me an error about not finding a suitable cliloc file even tho i made sure the razor is pointing to the newest client folder. Any Idea or should I re-direct this to the runuo forum?


I also just checked what are the revisions for the server/script and data files and they are 258 for server, 259 for scripts and 214 for data?

P.P.S. I did patch the client upto 6.0.2.0 and still the spawner crystal is invisible when I add it to the server

ArteGordon- 09-19-2007
and you have not made any modifications to the SVN Scripts or Server files?

here is a fix for your cliloc issue
http://www.runuo.com/forums/razor-cutting-...-directory.html

Neuton- 09-19-2007
QUOTE (ArteGordon @ September 19, 2007 07:20 pm)
and you have not made any modifications to the SVN Scripts or Server files?

here is a fix for your cliloc issue
http://www.runuo.com/forums/razor-cutting-...-directory.html

No I have not done any changes to the script folder, I only added the files from your xmlspawner files, I am away from my computer atm...but i will double check on that.

And TY again for the help with razor i appreciate all your help you are the best.




Neuton- 09-20-2007
I just checked my script folder, no I did not make any modifications to the files, all I did was add the toolbar and welcomegump/motd gump scripts to the folder.

ArteGordon- 09-20-2007
can you post your DataPath.cs

Also, can you confirm that you have your CustomPath in DataPath.cs set to the exact path of your patched client.

Neuton- 09-20-2007
CODE

using System;
using System.IO;
using Microsoft.Win32;
using Server;

namespace Server.Misc
{
public class DataPath
{
 /* If you have not installed Ultima Online,
  * or wish the server to use a separate set of datafiles,
  * change the 'CustomPath' value, example:
  *
  * private const string CustomPath = @"C:\Program Files\Ultima Online";
  */
 private static string CustomPath = @"C:\Program Files\Ultima Online Mondain's Legacy";

 /* The following is a list of files which a required for proper execution:
  *
  * Multi.idx
  * Multi.mul
  * VerData.mul
  * TileData.mul
  * Map*.mul
  * StaIdx*.mul
  * Statics*.mul
  * MapDif*.mul
  * MapDifL*.mul
  * StaDif*.mul
  * StaDifL*.mul
  * StaDifI*.mul
  */

 public static void Configure()
 {
  string pathReg = GetExePath( "Ultima Online" );
  string pathTD = GetExePath( "Ultima Online Third Dawn" ); //These refer to 2D & 3D, not the Third Dawn expansion

  if ( CustomPath != null )
   Core.DataDirectories.Add( CustomPath );

  if ( pathReg != null )
   Core.DataDirectories.Add( pathReg );

  if ( pathTD != null )
   Core.DataDirectories.Add( pathTD );

  if ( Core.DataDirectories.Count == 0 )
  {
   Console.WriteLine( "Enter the Ultima Online directory:" );
   Console.Write( "> " );

   Core.DataDirectories.Add( Console.ReadLine() );
  }
 }

 private static string GetExePath( string subName )
 {
  try
  {
   String keyString;

   if( Core.Is64Bit )
    keyString = @"SOFTWARE\Wow6432Node\Origin Worlds Online\{0}\1.0";
   else
    keyString = @"SOFTWARE\Origin Worlds Online\{0}\1.0";

   using( RegistryKey key = Registry.LocalMachine.OpenSubKey( String.Format( keyString, subName ) ) )
   {
    if( key == null )
     return null;

    string v = key.GetValue( "ExePath" ) as string;

    if( v == null || v.Length <= 0 )
     return null;

    if( !File.Exists( v ) )
     return null;

    v = Path.GetDirectoryName( v );

    if( v == null )
     return null;

    return v;
   }
  }
  catch
  {
   return null;
  }
 }
}
}



Here you go Arte

Neuton- 09-20-2007
CODE

if ( Core.DataDirectories.Count == 0 )
  {
   Console.WriteLine( "Enter the Ultima Online directory:" );
   Console.Write( "> " );

   Core.DataDirectories.Add( Console.ReadLine() );


I was looking at this script do I change or add anything to these lines?

ArteGordon- 09-20-2007
no, that is the default condition if it cannot find the path information in the default UO Client registry entries or custom patch specification.

Custom path looks ok.

Neuton- 09-20-2007
oh ok, so you have any Idea what i should try? Like I said i am new to this but am willing to learn, and this will be a really good test for me tongue.gif

ArteGordon- 09-20-2007
Well, if you have the latest unmodified SVN server and scripts, and you have the latest patched client, everything should work just fine, so I'm a bit stumped.

One quick thing to try would be to download the server that I compiled here.
http://xmlspawner.15.forumer.com/index.php...wtopic=580&st=0
I dont think that it is a server issue, but it is worth a try.

Otherwise, the only other thing that I can think of is to uninstall and reinstall the client to make sure that all of the data files are correct.

Neuton- 09-20-2007
QUOTE (ArteGordon @ September 20, 2007 02:15 pm)
Well, if you have the latest unmodified SVN server and scripts, and you have the latest patched client, everything should work just fine, so I'm a bit stumped.

One quick thing to try would be to download the server that I compiled here.
http://xmlspawner.15.forumer.com/index.php...wtopic=580&st=0
I dont think that it is a server issue, but it is worth a try.

Otherwise, the only other thing that I can think of is to uninstall and reinstall the client to make sure that all of the data files are correct.

Ok i will try your server version first and then let you know if it worked or not biggrin.gif


*crosses fingers*

Neuton- 09-20-2007
I guess your right going to have to uninstall and reinstall the clients then patch them accordingly and then test the server out and see...Thank You so much for the time and help.

+++++++KARMA

Neuton- 09-20-2007
Darn I re-installed my client made the copy for the second one and patched it all the way to 6.0.3.0 now and still the xmlspawner crystals are still invisible, I even checked my [props to see what was my access and it said owner / administrator I don't understand whats up??

Arte should i redo the server files...delete them and then import the newest one again?

** Idon't get it when I add them they are always set to visible false in the props?? Is that normal or is it supposed to say true until we are ready to test the shard then hide so players do not see them?

ArteGordon- 09-20-2007
yes, they are always visible=false so that only staff can see them. Players will never see the crystals.
Staff can see all visible=false items by default. They just appear gray.