News:

Huge spam cleanup. I hope, everything important is still in place. :-)

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Zankin

#1
It worked when I ran both programs as Administrator. Otherwise it wasn't writing to the file.

Thanks!
#2
Support / Really new to the whole.. CentrED thing.
June 05, 2010, 11:20:05 AM
Hello! I've been designing a few buildings on a localized server using a custom map. I am looking to simply test the new building out on a localized RunUO server however I'm running into an issue of the map not updating. This is what I'm doing in order to try and save the map:

My UO directory is C:Users<username>DesktopUltima Online 2D Client

Here is the CentrED.ini code:

<?xml version="1.0"?>
<CEDConfig Version="3">
  <Port>2597</Port>
  <Map>
    <Map>map0.mul</Map>
    <StaIdx>staidx0.mul</StaIdx>
    <Statics>statics0.mul</Statics>
    <Width>768</Width>
    <Height>512</Height>
  </Map>
  <Tiledata>tiledata.mul</Tiledata>
  <Radarcol>radarcol.mul</Radarcol>
  <Accounts>
    <Account>
      <Name>Danamoth</Name>
      <PasswordHash>c68087d487343fb8f973b49ee53f267f</PasswordHash>
      <AccessLevel>255</AccessLevel>
      <LastPos x="2768" y="2000"/>
      <Regions/>
    </Account>
  </Accounts>
  <Regions/>
</CEDConfig>

1) Start cedserver, extracted to the UO directory.
2) Start CentrED, and use the UO directory "C:Users<username>DesktopUltima Online 2D Client" to take files from.
3) Edit the map.
4) Go to Administration -> Flush -> Shutdown
5) I start the RunUO server (the code for the datapath is below)

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 FilesUltima Online";
*/

        private static string CustomPath = @"C:Users<username>DesktopUltima Online 2D Client";

6) I start Razor, and use the UO directory to pull the map.
7) I log in using the owner account and find the map I had when I first loaded CentrED before editing anything.

Help! I've tried a lot of different things. The only thing I can think of is that CentrED is saving the files (or is supposed to be saving the files) in another directory other than the UO directory. Other than that I have no clue. I've tried looking in C:Users<username>AppDataLocalCentrED, however it is nowhere to be found.

I appreciate your help in advance!