PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
How to Create your own Shard!
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    PenUltima Online Forum Index -> POL Guides
Display posts from previous:   

Author Message
Kirin



Joined: 25 Nov 2006
Posts: 7
Location: Tampa, FL

PostPosted: Thu Dec 14, 2006 3:01 am    Post subject: How to Create your own Shard! Reply with quote

Greetings friends !

Thank you to the community who has helped me create my own Shard, now I will hope to enlighten all those who seek to create a shard of their own. This guide assumes you start with nothing, and know nothing. Questions and/or comments are greatly appreciated though I don't promise to be prompt on response Smile


Step 1: Creating the Directory and Downloading the necessary files
    Create a folder somewhere easily reached:
    (like your desktop or the root of your main hard drive (C:\)) called 'My UO Shard' Make sure to save all of the following in this folder !


    Download the latest UO client :
    at this time it's 'The Legacy of Mondain' As it says.. largedownloads.ea.com .. do this first and get comfortable while we do the rest eh?


    Download the 097 'Core' .
    don't unzip it yet just relax and lets download
    the next item Smile


    Download the 097 'Distro' .
    again .. don't do anything with it..


    Download UORice
    do nothing !


Step 2: Extracting/Installing files and Fleshing out the 'My UO Shard' Directory
    Unzip the following to your 'My UO Shard' folder:
    -Core
    -Distro
    -UORice


    Make a folder called 'Original Downloads':
    Or something as equally bland and obvious. Insert all of the .zip files into it so you have a reference in case problems occur (this is a sure thing my friends!)

    Is UO done being a stupidly large DL ??:
    It is! ok good go ahead and install it to its default path (C:\Program Files). When this is done move the uoml_setup file to the 'Original Downloads' folder for archival purposes.

    Open the UORice folder and double click the executable:
    You've just removed the client side encryption from UO ! awesome work. Navigate to UO directory (C:\Program Files\EA Games\Ultima Online Mondain's Legacy) and look for two icons 'No_Crypt_Client_2d' + 'No_Crypt_Client_3d'. if you see them then UORice has done it's job!! Lets clean up our work space and delete the 'UORice' folder from our 'My UO Shard' folder (If for some reason you need it again .. we have the zip file stored!)

    Rename the '097-BasicSetup' folder:
    To what you want the name of your shard to be ex. 'Kirins World' .. this is btw NOT a necessary step but it eases the mind and makes it less stressful to take in than '097-BasicSetup'.

    Open then 'pol-core-097-2006-10-29-RC-Coregina' folder:
    Copy all of the contents of this folder and paste t hem into the now renamed 'Kirins World' folder. It will ask you if you want to replace your 'scripts' folder , say yes. Go ahead and now delete the ever ridiculously named 'pol-core-097-2006-10-29-RC-Coregina' folder, as it has been properly gutted.


Step 3: Compiling, Converting and Perhaps.. Utter Confusion!
Ok now lets begin compiling the scripts that will maintain the various aspects/mechanics of your shard and help setup your 'realm'!
    Navigate to the 'scripts' folder:
    In your 'My (kirins) World' directory. You'll see a file named 'example.cfg' but you'll note the type of the file is not a CFG instead it is an EXAMPLE file. Go ahead and open this in notepad. The first five lines tell the program 'ecompile' where to look for the various .src files to compile, it will look something like this:

    Code:

    ModuleDirectory    c:\cvsdistro\pol\scripts\modules
    IncludeDirectory        c:\cvsdistro\pol\scripts
    PolScriptRoot        c:\cvsdistro\pol\scripts
    PackageRoot      c:\cvsdistro\pol\pkg
    PackageRoot      c:\cvsdistro\pol\devpkg
    GenerateListing      1
    GenerateDebugInfo   1
    GenerateDebugTextInfo   1
    DisplayWarnings 1
    CompileAspPages 1
    AutoCompileByDefault 1
    UpdateOnlyOnAutoCompile 1
    OnlyCompileUpdatedScripts 1
    DisplaySummary 1
    GenerateDependencyInfo 1
    DisplayUpToDateScripts 0

    You will now change where ecompile looks to the proper directory, in your case, following the examples in this tutorial it would come out as follows:

    Code:

    ModuleDirectory    c:\My UO Shard\Kirins World\scripts\modules
    IncludeDirectory    c:\My UO Shard\Kirins World\scripts
    PolScriptRoot       c:\My UO Shard\Kirins World\scripts
    PackageRoot      c:\My UO Shard\Kirins World\pkg
    PackageRoot      c:\My UO Shard\Kirins World\devpkg
    GenerateListing      1
    GenerateDebugInfo   1
    GenerateDebugTextInfo   1
    DisplayWarnings 1
    CompileAspPages 1
    AutoCompileByDefault 1
    UpdateOnlyOnAutoCompile 1
    OnlyCompileUpdatedScripts 1
    DisplaySummary 1
    GenerateDependencyInfo 1
    DisplayUpToDateScripts 0

    Now that it knows where to look save the file as ecompile.cfg. Now some people depending on karma and such will have difficulty figuring out how to get it from type .example to type .cfg. If this is you then copy a .cfg file from somewhere else to your scripts directory and rename it ecompile.cfg. Open it in notepad or something else and replace the contents appropriately.

    Now there are some lines missing from the vitalInit.src file so we must add them prior to compilation to make sure the emulator can read from them and consequently boot up properly !


    Navigate to and open vitalInit.src:
    For this example would be in: C:\My UO Shard\Kirins World\pkg\attributes\hooks. Add the following to the bottom of the file and save it:

    Code:

    exported function GetHitsRegenRate(mobile)
       return 10000;
    endfunction

    exported function GetHitsMaximumValue(mobile)
       return 10000;
    endfunction

    Start StartHere.bat:
    In your 'My(kirins) World' folder you'll find a file called 'starthere.bat'. Click it and you'll be presented with a menu select option 'b' and press return. Next, select option 'd' and press return in order to compile all the .src files you just told ecompile to look for. Close this out, you now have the barebones scripts for getting your world started !

    Create a new folder:
    In your 'My(kirins) World' folder called 'MUL'. Open it. In a new window navigate to your primary UO directory and copy the following files:

    map0.mul
    multi.idx
    multi.mul
    staidx0.mul
    statics0.mul
    tiledata.mul
    verdata.mul

    Into your MUL folder. Run the 'starthere.bat' program again and select 'a' RealmGen tools. A variety of options will come up this example assumes you're creating an emulated version of UO MOndains Legacy, and I will not cover how to do the others - it's straightforward and I'm sure you CAN figure it out. Select option 'e' for Britannia realm, and then select 'b' for the Mondains Legacy extensions.
    THIS PART TAKES A WHILE SO RELAX AND DONT PRESS ANYTHING! It will pause at "Initializing files:" so wait a bit then it will proceed to slowly slowly slowly convert the files we just put in the MUL folder to something readable by the emulator. Wait until this is done. After it finishes a 'primary conversion' some things will scroll and then again it will return to the 'Converting' dialog, this is normal just wait it out again Smile. When it says 'press any key to continue... do so !


THE FINALE!
    Get back to the main menu of the 'starthere.bat' program:
    Select option 'd' to 'start POL', Some things will scroll and you may get a NON FATAL error about a start.ecl file or starting script - this is for customized onLoad type options and won't hinder starting the server so disregard it for now. Lines will scroll and it should end all dandy with a line like:

    Listening for HTTP requests on port 5000

    This means as it says.. it's waiting for people to login. Minimize this window.

    Open your main UO folder:
    double click the icon produced by UORice entitled:

    No_Crypt_Client_2d.exe

    The loading screen for UO will appear and when prompted for a user name and password enter:

    admin
    admin


Select the 'POL Local Server or whichever appears' and create a character, you will load into your barebones shard! Everything is customizable with the emulator it's just a matter of figuring it out, but hopefully this document will allow you to get on an even and exciting ground where you can SEE results in game. From this point on the section of this webpage entitled 'Documentation' would be most useful.

If there are any problems or inquiries I regret to inform you that I doubt I can help ! But if you feel the need to ask me directly then do so. The POL community is polite and helpful but we are all busy human beings. Patience and perserverance are all that is needed to enjoy the enormous work of this community !

Kindest Regards,
Kirin

Author Message
Poi



Joined: 14 Apr 2006
Posts: 240

PostPosted: Mon Jan 01, 2007 4:35 pm    Post subject: Reply with quote

Very nice Smile Would be very helpful to new users Very Happy

Author Message
hamtardo



Joined: 03 Jan 2007
Posts: 2

PostPosted: Wed Jan 03, 2007 3:29 pm    Post subject: whats wrong Reply with quote

I just used this guide and got everything to work the only problem i had was i didnt have a verdata.mul file in the uo folder so i left it out. I dont know if thats because i was using uo gold instead of mondains legacy but it is fully patched as of like 2 weeks ago. But when i tried to log onto my server i entered the username and password and the only shard i could select was Uo Gamers Demise which definatly isnt my shard why is that. and how do i get onto my shard

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Wed Jan 03, 2007 5:32 pm    Post subject: Reply with quote

verdata.mul... no problem. newer clients doesn't support it anymore.

your other problem... did u've entered your shard into clients login.cfg?

Shinigami

Author Message
Martnz



Joined: 06 Jan 2007
Posts: 5

PostPosted: Sat Jan 06, 2007 2:08 pm    Post subject: Reply with quote

I do everything like you say bet when i pres start POL Warning! pkg/attributes/hooks/vitalInit.ecl does not exist!
Exception caught while loading script pkg/attributes/hooks/vitalInit.ecl: Unable
to open pkg/attributes/hooks/vitalInit.ecl for reading.
Unable to read script 'pkg/attributes/hooks/vitalInit.ecl'
Error reading script pkg/attributes/hooks/vitalInit.ecl
Error reading configuration file pkg/attributes/config/vitals.cfg:
Export Script pkg/attributes/hooks/vitalInit.ecl not found
Element: Vital Life, found on line 1
Server Shutdown: load_vitals_cfg: load_packed_cfgs
Execution aborted due to: Configuration file error Evil or Very Mad Evil or Very Mad

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Sat Jan 06, 2007 6:33 pm    Post subject: Reply with quote

Martnz wrote:
I do everything like you say

u're sure that u've made this part?

Quote:
Step 3: Compiling, Converting and Perhaps.. Utter Confusion!

Start StartHere.bat:
In your 'My(kirins) World' folder you'll find a file called 'starthere.bat'. Click it and you'll be presented with a menu select option 'b' and press return. Next, select option 'd' and press return in order to compile all the .src files you just told ecompile to look for. Close this out, you now have the barebones scripts for getting your world started !

Shinigami

Author Message
Martnz



Joined: 06 Jan 2007
Posts: 5

PostPosted: Sun Jan 07, 2007 7:46 am    Post subject: Reply with quote

Could not find C:/My UO Shard/Kirins World/scripts/ecompile.cfg; using defaults.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Sun Jan 07, 2007 8:17 am    Post subject: Reply with quote

and? don't understand the problem here...

ecompile doesn't need the ecompile.cfg

Shinigami

Author Message
Martnz



Joined: 06 Jan 2007
Posts: 5

PostPosted: Sun Jan 07, 2007 8:26 am    Post subject: Reply with quote

where can i see what should i write in loginserver??

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Sun Jan 07, 2007 8:36 am    Post subject: Reply with quote

in pol.cfg, you have a ListenPort. Thats the port you use in the loginserver. Your IP or DNS name should be put into the IP part of the loginserver. Also, you have to make sure /config/servers.cfg is configured correctly. It should have at least 1 entry and it should reference your server.

Name - The name that appears on the shard selection screen.
IP - The IP or DNS name of your server
Port - The port of your server

Author Message
Martnz



Joined: 06 Jan 2007
Posts: 5

PostPosted: Sun Jan 07, 2007 9:13 am    Post subject: Reply with quote

Where there is no LIstenPort ???????

Author Message
CWO



Joined: 04 Feb 2006
Posts: 699
Location: Chicago, IL USA

PostPosted: Sun Jan 07, 2007 9:17 am    Post subject: Reply with quote

ListenPort should be in POL.cfg

It should be an entry like

ListenPort=5003

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 355
Location: San Diego, California

PostPosted: Sun Jan 07, 2007 12:39 pm    Post subject: Reply with quote

It uses uoclient.cfg for setting up listener ports, not pol.cfg

pol.cfg's listenport setting is the old way to set it up

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Jan 07, 2007 12:58 pm    Post subject: Reply with quote

Not to mention, if it's saying it cannot open listenport...... either reboot the pc, or make sure nothing else is already using that port. It says that because it cannot bind that port number to POL.

Author Message
Balmunk



Joined: 12 Jan 2007
Posts: 5

PostPosted: Fri Jan 12, 2007 8:50 pm    Post subject: Reply with quote

Helo i'm new and i am having the exact same problem he is having i did step 3 perfectly. i dont know whats going on with this but if you can help me plz do

Post new topic   Reply to topic    PenUltima Online Forum Index -> POL Guides All times are GMT - 4 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty