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!

CentrED

Zedd

Wanderer
HELP!

I'm not having any luck loading this up. I've downloaded both the cedserver and centred. I extracted the files from the zip file and double clicked the cedserver.exe. This brings up the command prompt which I filled out. Immediately after I hit enter when done typing password the window closes.

I open centred and cannot connect. From what I understand the cedserver window should not close.

The files that the cedserver are directed to are specifically for the cedserver. No other program is directed to them.

I'm at a loss. It seems like a cool tool but it's unusable at this point.
 

oiii88

Sorceror
You will need to download the .bat file from CentRD forums. When you download it make sure it doesn't get changed to .bat.txt like mine did if it does remove the .txt and use it to launch the program. Anymore problems and you could probably find the answer easier on their support forums.
Centrd Forum

PHP:
Use this file to launch the server (it has to be in the same directory as the cedserver.exe
 and also needs to be launched from there):
http://www.aksdb.de/CentrED/runcedserver.bat
That should leave the console window open so you can see what error message occurs.
 I guess the files are used by another program. You should run cedserver with its own files,
 because it modifies them and therefore needs exclusive read/write permissions.
 

Kons.snoK

Sorceror
i'm trying to load completely custom map + statics, and i got "Invalid data".
I'm sure files works cause they are currently been developed on server and made by runuo..

Map size is 7168x4096 = 896x512,
Code:
[18/01/2010 19:52:52] Initialization started
[18/01/2010 19:52:52] Loading Map, Statics, StaIdx, Tiledata
[18/01/2010 19:52:52] Initialization done
[18/01/2010 19:52:52] Invalid data. Check the map size and the files.
[18/01/2010 19:52:52] Shutting down ... done

With osi statics works..
Any idea?


Code:
1   if not FValid then
 
292   begin
293     Writeln(TimeStamp, 'Invalid data. Check the map size and the files.');
294     Exit;
295   end;

TLandscape.Create(Config.Map.MapFile, Config.Map.StaticsFile, Config.Map.StaIdxFile, Config.Tiledata, Config.Radarcol, Config.Map.Width,  Config.Map.Height, FValid);

Code:
595 function TLandscape.Validate: Boolean;
 
596 var
 
597   blocks: Integer;
 
598 begin
 
599   blocks := FWidth * FHeight;
 
600   FStaIdx.Seek(0, soFromEnd); //workaround for TBufferedStream
 
601   Result := (FMap.Size = (blocks * 196)) and (FStaIdx.Position = (blocks * 12));
 
602 end;
 

Kons.snoK

Sorceror
Ok the problem is related to Staidx0.mul,
Code:
(FStaIdx.Position = (blocks * 12))

Anyone has a workaround for custom statics?
Can this be Runuo problem in making statics?
 

Sythen

Sorceror
I Use Custom Maps With This Program All The Time - No Issues

Ofcourse I'm Only Using The Map Of The Stygian Abyss Client (Which By The Way: Works Awesome With ML And A Custom Replacement!), Not The Other Modifications.

Everything You Need To Edit Is Inside The cedserver.xml file:

(Edit The Green With The Data Paths Of The Files) | (Edit The Red Area With The Dimension Of Your Map)

If The Dimensions Are Off Your Server Will Startup And Shut Down Just As Fast.

Code:
<?xml version="1.0"?>
<CEDConfig Version="3">
  <Port>XXXX</Port>
  <Map>
    <Map>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\map5.mul[/COLOR]</Map>
    <StaIdx>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\staidx5.mul[/COLOR]</StaIdx>
    <Statics>[COLOR="SeaGreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\statics5.mul[/COLOR]</Statics>
    <Width>[COLOR="Red"]160[/COLOR]</Width>
    <Height>[COLOR="red"]512[/COLOR]</Height>
  </Map>
  <Tiledata>[COLOR="SeaGreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\tiledata.mul[/COLOR]</Tiledata>
  <Radarcol>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\radarcol.mul[/COLOR]</Radarcol>
  <Accounts>
    <Account>
      <Name>XXXXXXX</Name>
      <PasswordHash>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</PasswordHash>
      <AccessLevel>255</AccessLevel>
      <LastPos x="784" y="2048"/>
      <Regions/>
    </Account>
  </Accounts>
  <Regions/>
</CEDConfig>
 

Kons.snoK

Sorceror
Sythen;825203 said:
Ofcourse I'm Only Using The Map Of The Stygian Abyss Client (Which By The Way: Works Awesome With ML And A Custom Replacement!), Not The Other Modifications.

Everything You Need To Edit Is Inside The cedserver.xml file:

(Edit The Green With The Data Paths Of The Files) | (Edit The Red Area With The Dimension Of Your Map)

If The Dimensions Are Off Your Server Will Startup And Shut Down Just As Fast.

Code:
<?xml version="1.0"?>
<CEDConfig Version="3">
  <Port>XXXX</Port>
  <Map>
    <Map>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\map5.mul[/COLOR]</Map>
    <StaIdx>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\staidx5.mul[/COLOR]</StaIdx>
    <Statics>[COLOR="SeaGreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\statics5.mul[/COLOR]</Statics>
    <Width>[COLOR="Red"]160[/COLOR]</Width>
    <Height>[COLOR="red"]512[/COLOR]</Height>
  </Map>
  <Tiledata>[COLOR="SeaGreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\tiledata.mul[/COLOR]</Tiledata>
  <Radarcol>[COLOR="seagreen"]D:\Data File Tweaks\7.0.4.2....(Patch 80)..EA [Updated 12-15-2009] - CED Map Editing\radarcol.mul[/COLOR]</Radarcol>
  <Accounts>
    <Account>
      <Name>XXXXXXX</Name>
      <PasswordHash>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</PasswordHash>
      <AccessLevel>255</AccessLevel>
      <LastPos x="784" y="2048"/>
      <Regions/>
    </Account>
  </Accounts>
  <Regions/>
</CEDConfig>

i looked into code of server.exe and what you said can be true if problem is related to map0.mul
Code:
Result := (FMap.Size = (blocks * 196)) and (FStaIdx.Position = (blocks * 12));
Result is assigned to ValidF and ValidF set the message "Invalid data" to be shown.
blocks is = 896*512, -> id read by xml file

so to avoid "Invalid data" size of the file must be same of blocks*196, and is verified if map has same blocks as xml.

Let's go to next part of statement:
Code:
FStaIdx.Seek(0, soFromEnd); //workaround for TBufferedStream
 (FStaIdx.Position = (blocks * 12));
Probably this workaround does not work on custom files!
This is the problem, anyone knows a solution? :)
 

Sythen

Sorceror
i looked into code of server.exe and what you said can be true if problem is related to map0.mul

I never told you to look into the code of that file... I said: "Everything You Need To Edit Is Inside The cedserver.xml file"

that is an .XML file NOT an .EXE file and it IS created when you setup CentrED :rolleyes:

Also Everything I Said Works With All Maps. NOT JUST Map0.mul

Your Inability To Understand RunUO Does Not Support SA Astounds Me :rolleyes: -CentrED works for me (so this sounds like a Kons.Snok issue :p ) on EVERY Map, but it reads only Block size.
Consequently CentrED DOES NOT SUPPORT SA EITHER... IE> STATICS/TILES (As Far As I Know) :p Though I've Been Able To Edit A Custom TerMur Map File Just Fine :eek:

What You Might Want To Opt To Do Is Go To The CentrED Website And Post On Their Forums. :)
 

Kons.snoK

Sorceror
Sythen;825215 said:
I never told you to look into the code of that file... I said: "Everything You Need To Edit Is Inside The cedserver.xml file"

that is an .XML file NOT an .EXE file and it IS created when you setup CentrED :rolleyes:

Also Everything I Said Works With All Maps. NOT JUST Map0.mul

Your Inability To Understand RunUO Does Not Support SA Astounds Me :rolleyes:
Consequently CentrED DOES NOT SUPPORT SA EITHER... IE> STATICS/TILES (As Far As I Know) :p

What You Might Want To Opt To Do Is Go To The CentrED Website And Post On Their Forums. :)

lol? are you joking? rotfl.

XML file just set up pathes and sizes of MAP, what you wrote was totally USELESS, cause MAP SIZE IS CORRECT.
Have you any idea of WHAT are you talking about?
I've searched into SOURCECODE of the server to find THE REASON that raise the error i have, and result is that MAP SIZES HAVE NO REASON to rise such error.
Code:
Result := (FMap.Size = (blocks * 196)) and (FStaIdx.Position = (blocks * 12));

crap, this can't be real.

I have made a server with FULL KR/SA SUPPORT, wtf i care if runuo does not support it?
 

Sythen

Sorceror
Rofl

I Think You're The One Without A Clue. I've Been Using This Program Since It Was Introduced And Never Had The Type Of Issue You're Claiming To Have. (LOL)

:rolleyes:
 

HellRazor

Knight
This is just a guess, but maybe it has to do with the fact that the Stygian Abyss map is using art from the extended art range. If CentrEd isn't supporting the art past 0x3FFF this may be why you are having troubles.
 

Sythen

Sorceror
Boy That Sounds Familiar Knos.Snok

Your Inability To Understand RunUO Does Not Support SA Astounds Me -CentrED works for me (so this sounds like a Kons.Snok issue ) on EVERY Map, but it reads only Block size.
Consequently CentrED DOES NOT SUPPORT SA EITHER... IE> STATICS/TILES (As Far As I Know) Though I've Been Able To Edit A Custom TerMur Map File Just Fine

ROFL :eek: (Okay Last Smart Ass Remark Of The Day - From Me At Least - Promise.. :p )
 

Kons.snoK

Sorceror
HellRazor;825223 said:
This is just a guess, but maybe it has to do with the fact that the Stygian Abyss map is using art from the extended art range. If CentrEd isn't supporting the art past 0x3FFF this may be why you are having troubles.

I think CentrED does support 0x4+ items, as you can see from the screen below:

Edit: image is too large
http://img18.imageshack.us/img18/9598/clipboard01kd.jpg

PS: Staidx does not contain ANY information about tile id, so 0x4+ can't be the problem
 

HellRazor

Knight
Possibly the Statics file is corrupt? I think UOFiddler has some options to fix static files. May be worth a try.
 

Sythen

Sorceror
Far Be It From Me To Not Apologise When I Am Corrected...

Knos.Snok, This Comes Right From The Man Who Made This Program Possible:

My Question: Does CentrED Support The New Stygian Abyss Expansion?
(Sorry but you sparked my curiosity).

HITMAN's RESPONSE:

It should. Just give it a try Hitman
Site Admin

Posts: 251
Joined: Sun Jul 22, 2007 7:25 am
Location: Germany
Private message

*Takes Foot Out Of Mouth* :p :eek: :D
 

Kons.snoK

Sorceror
HellRazor;825226 said:
Possibly the Statics file is corrupt? I think UOFiddler has some options to fix static files. May be worth a try.

i tried with defragmenting with maptool program by hitman, now i'll check fiddler
 

HellRazor

Knight
Kons.snoK;825238 said:
i solved, i was right, problem was related to Staidx file.
Probably the empty one was made with a old version of Dragon or similar, so had the old size.
i made this stupid program to fix:
StaiIDX_Patcher.zip - kprojects - This program patches Staidx0 from Pre ML size map to Post ML size. - Project Hosting on Google Code

Cool. Here's another one, I'm pretty sure this patches both map and statics but I'm not positive. If not, combining it with your utility should do the trick!
 

Attachments

  • MLExtender.rar
    79.8 KB · Views: 42

Kons.snoK

Sorceror
mine was made in 3 minutes, you need to have Pre ML staidx in same folder or you will generate useless file.
Also, if you have a ML file it will enlarge it.. Should be used very carefully :D
 
Top