Pages

Allods Online 4.0.02.42 Server Setup

[GUIDE] Allods 4.0.02.42 server setup (start local game server)
WARNING: possible syntax or other errors in the writing guide.
In this manual will be made and additional mutations both.
Also received comments and valid criticism.
---------------------------------------------------------------------------------
Prepare the operating system to set the local game server.
As guinea OS take Windows 8.1x64

0. Download and configure the required server files and client:
server files
(preconfigured local shard)
client files
patch launch local game
www folder
billing server db
debug console

1. Download and install Java JDK (JDK 7u3 x64 | JDK 7u3 x32)
Prescribes variable JAVA_HOME:
Open the directory: right-click on 'My computer'
> Properties
> Advanced system settings
> Environment Variables...
> System variables
> 'New...' button

Variable name:
JAVA_HOME
Variable value:
C:/Program Files/Java/jdk1.7.0_03
In my case, the path to the folder is registered Java, located in a folder within a directory server Vendors:
C:/server/vendors/Java/jdk-1.7-win-64
Look Screen:

2. Download and install PostgreSQL (PostgreSQL x64 | PostgreSQL x32)
If you have an error, reporting the promblem with cluster, you should rollback installation,
create user postregs (and create password for user postgres), grant it administrator's previlegies and install postresql from new user.
After installation check 'Lauch Stack Builder'. select PSQL and push 'Next >' button.
Then:
And confirm all the actions till the end.

Start PostreSQL > 'pgAdmin III'
create database: allods_account_rc_4_0_02

3. Download and install WAMP (wamp x64 | wamp x32)
Install software required for correct operation of WAMP (vcredist x64 | vcredist x32)
Install WAMP. Thats all.
C:\wamp
Download and extract the contents of the folder www: (www folder to wamp)
C:\wamp\www
Start wamp, open phpMyAdmin and create databases:
a1_masterserver_rc_4_0_02

a1_reports

allods_auction_RC_4_0_02

allods_billing_RC_4_0_02

allods_guild_RC_4_0_02

allods_mail_RC_4_0_02

allods_online_RC_4_0_02
Method number two:
Unpack the file 'acdben.php' directory: (C:\wamp\www\acdben.php) [DOWNLOAD]
Adjust in line 2 username and password. In my version: username - root password - root
Run 'phpMyAdmin'. Open your browser and goto address:
http://localhost/acdben.php
Look screen:
just need to create a user and assign privileges ... I used user root, privileged Grant All.
Open phpMyAdmin Go to 'Users'
Click the: 'Edit Privileges'
Click the 'Change password'
Enter new password and click 'Go'
Success - password is created!

4. Setting up server files
WARNING: To connect to the database I used PostgreSQL
user: postgres
password: postgres
To connect to the database I used phpMyAdmin
user: root
password: root
If your username and password are the same as mine the setup of the server will be minimal.

Configuring accountServer
\server_bin\accountServer\cfg\shard_local.xml
Correct the username and password in accordance with your requirements:
<?xml version="1.0" encoding="utf-8"?><config name="Ragezone Forever" build="Debug" serversNeed="1" mapServicesAmount="1">
  <net basePort="9000" datagramPort="8000" bindPortsRange="15"/>
  <logging kind="none"/>


  <accountServer maxUsersOnShard="10" clientsLimit="10" build="builds/standard.xml" versionOnLogin="-1" ip="127.0.0.1">
    <approve ip="127.0.0.1" port="9346"/>
    <auth ip="127.0.0.1" port="9340" timeout="30000"/>
    <api protocol="http" host="127.0.0.1" port="9356"/>
    <db host="127.0.0.1" user="postgres" password="postgres" />
    
    <authenticator>
        <api host="127.0.0.1" port="9398"/>
    </authenticator>
    
  </accountServer>
</config>
Configuring billingServer
Open
\server_bin\billingServer\cfg\shard.xml
Correct the username and password in accordance with your requirements:
<?xml version="1.0" encoding="utf-8"?><config name="Ragezone Forever" build="Debug" serversNeed="8" mapServicesAmount="1">


  <logging kind="local">
    <local format="csv"/>
  </logging>


  <billingServer ip="127.0.0.1">
    <net port="9320" host="127.0.0.1"/>
    <api port="8080" host="127.0.0.1"/>
    <db host="127.0.0.1" user="root" password="root" />
  </billingServer>


  <accountServer>
    <authenticator>
        <api host="127.0.0.1" port="9398"/>
    </authenticator>
  </accountServer>
</config>
Configuring itemMallServer
\server_bin\itemMallServer\cfg\shard.xml
Correct the ip and port in accordance with your requirements:
<?xml version="1.0" encoding="utf-8"?><config name="Ragezone Forever" build="Debug" serversNeed="8" mapServicesAmount="1">
  <net basePort="9000" datagramPort="8000" bindPortsRange="15"/>
  <resourceSystem skipClientResources="true" restrictedMapsLoading="true"/>


  <logging kind="local">
    <local format="csv"/>
  </logging>


  <itemMallServer ip="127.0.0.1">
    <net ip="127.0.0.1" port="9321"/>
    <assortment banners-config="banners.cfg"/>
  </itemMallServer>


  <billingServer >
    <net port="9320" host="127.0.0.1"/>
  </billingServer>
</config>
Configuring masterServer
\server_bin\masterServer\cfg\shard_local.xml
Correct the username and password in accordance with your requirements:
<?xml version="1.0" encoding="utf-8"?><config>
  <resourceSystem restrictedMapsLoading="true" checkResourceSystemIndex="false"/>


  <masterServer memory="500" ip="127.0.0.1" lang="ru">
    <db host="127.0.0.1" user="root" password="root" />
    <net ip="127.0.0.1" port="9513"/>
    <api ip="127.0.0.1" port="10500"/>
  </masterServer>
</config>
Configuring shard
\server_bin\shard\startServerDefault.bat
Edit RAM to start shard:
startServerCustom.bat cfg/shard.xml map.cfg 6144
Edit map.cfg (server/server_bin/shard/cfg/map.cfg (uncomment required maps & zones))
#map = /Maps/Kania_AL1/MapResource.xdb
# Далёкий астрал | Distant astral
#zone = /Maps/Kania_AL1/Zones/ArchipelagoLeague1/ArchipelagoLeague1.xdb
# Таинственный остров | Mysterious island
#zone = /Maps/Kania_AL1/Zones/ArchipelagoLeague1_2/ArchipelagoLeague1_2.(ZoneResource).xdb
# Астральный атолл | Astral atoll
#map = /Maps/Kania_AL2/MapResource.xdb
# Новая Земля | New Earth
#map = /Maps/Kania_AL3/MapResource.xdb
# Тенебра | Tenebra
#map = /Maps/Kania/MapResource.xdb
# Кания | Kania
#zone = /Maps/Kania/Zones/ZoneLeague1/ZL1_0Capital.(ZoneResource).xdb
# Новоград | Novograd
#zone = /Maps/Kania/Zones/ZoneLeague1/ZoneLeague1.(ZoneResource).xdb
# Светолесье | Lightwood
#zone = /Maps/Kania/Zones/ZoneLeague2/ZoneLeague2.xdb
# Сиверия | Seaver
#zone = /Maps/Kania/Zones/ZoneLeague3/ZoneLeague3.xdb
# Темноводье | Temnovode
#map = /Maps/Hadagan/MapResource.xdb
# Игш | Igsh
#zone = /Maps/Hadagan/Zones/ZoneHadagan1/ZoneHadagan1.xdb
# Незебград | Nezebgrad
#zone = /Maps/Hadagan/Zones/ZoneEmpire2/ZoneEmpire2.(ZoneResource).xdb
# Игшский военный округ | Igsh Military District
#zone = /Maps/Hadagan/Zones/ZoneEmpire3/ZoneEmpire3.(ZoneResource).xdb
# Мёртвое море | Dead sea
#map = /Maps/Hadagan/tower_MapResource.xdb

#map = /Maps/Hadagan_Underground/MapResource.xdb

#map = /Maps/Hadagan_AE1/MapResource.xdb
# НИИ МАНАНАЗЭМ | SRI MANANAZEM
#map = /Maps/Hadagan_AE2/MapResource.xdb
# Дикие острова | Wild island
#map = /Maps/Hadagan_AE3/MapResource.xdb
# Фабрика Грёз | Dream Factory
#map = /Maps/Hadagan_AE3/movie_MapResource.xdb

#map = /Maps/Hadagan_E3_Miniinst/MapResource.xdb
# Большой Купол | Big Dome
#map = /Maps/Hadagan_E3_Miniinst/heroic_MapResource.xdb 

#map = /Maps/2ndCircle/MapResource.xdb
# Святая Земля | Holy Land
#zone = /Maps/2ndCircle/Zones/ZoneContested1/ZoneContested1.(ZoneResource).xdb
# Асээ-Тэпх | Asee-Teph
#zone = /Maps/2ndCircle/Zones/ZoneContested2/ZoneContested2.(ZoneResource).xdb
# Эльджун | Eldzhun
#zone = /Maps/2ndCircle/Zones/ZoneContested3/ZoneContested3.(ZoneResource).xdb
# Плато Коба | Plateau Koba
#map = /Maps/ZoneContested5/MapResource.xdb
# Тающий остров | Melting island
#map = /Maps/2ndCircle_AC1/MapResource.xdb
# Хладберг | Hladberg
#map = /Maps/2ndCircle_AC2/MapResource.xdb
# Авилон | Avilon
#map = /Maps/2ndCircle_AC3/MapResource.xdb
# Кольцо Дракона | Dragon Ring
#map = /Maps/2ndCircle_Goblinoball/MapResource.xdb
# Остров головорезов | Cutthroat island
#map = /Maps/Inst_PlagueCastle/MapResource.xdb
# Зачумлённый замок | Accursed castle
#map = /Maps/Inst_PlagueCastle/heroic_MapResource.xdb

#map = /Maps/Inst_SecretLab/MapResource.xdb
# Секретная лаборатория | Secret laboratory
#map = /Maps/Inst_SecretLab/heroic_MapResource.xdb
#
#map = /Maps/Inst_miniTenzisTemple_League/MapResource.xdb
# Малый Храм Тенсеса | Small Temple Tenses
#map = /Maps/Inst_miniTenzisTemple_Empire/MapResource.xdb
# Малый Храм Тенсеса | Small Temple Tenses
#map = /Maps/Inst_TenzisTemple/MapResource.xdb
# Храм Тенсеса | Temple Tenses
#map = /Maps/Inst_TenzisTemple/heroic_MapResource.xdb
#
#map = /Maps/Inst_GurluhsorTower/MapResource.xdb
# Город демонов | City demons
#map = /Maps/Inst_LeagueStart/MapResource.xdb
# Стартовый остров Лиги | Entry island League
#zone = /Maps/Inst_LeagueStart/Zones/InstLeague1/InstLeague1.(ZoneResource).xdb
# Башня Великого мага | Great Mage Tower
#map = /Maps/Inst_EmpireStart/MapResource.xdb
# Стартовый остров Империи | Entry island Empire
#zone = /Maps/Inst_EmpireStart/Zones/InstEmpire1/InstEmpire1.(ZoneResource).xdb
# Корабль Империи "Непобедимый" | Ship Empire "Invincible"
#map = /Maps/Inst_Empire1End/MapResource.xdb
# ХАЭС | KNPP
#map = /Maps/Inst_Empire1End/heroic_MapResource.xdb
#
#map = /Maps/Inst_Liga1End/MapResource.xdb
# Орешек | Nutlet
#map = /Maps/Inst_Liga1End/heroic_MapResource.xdb
#
#map = /Maps/Inst_Liga3End/MapResource.xdb
# Цитадель Тьмы | Citadel of Darkness
#map = /Maps/Inst_Liga3End/heroic_MapResource.xdb

#map = /Maps/ArchipelagoContested4/MapResource.xdb
# Осколок Язеса | Splinter Yazes
#map = /Maps/AstralIsle01/MapResource.xdb
# Лаборатория №9 | Laboratory №9
#map = /Maps/AstralIsle02/MapResource.xdb
# Заверть | Weathertop
#map = /Maps/AstralIsle03/MapResource.xdb
# Волчий остров | Wolf island
#map = /Maps/AstralIsle04/MapResource.xdb
# Осколок Силы | Splinter Force
#map = /Maps/AstralIsle05/MapResource.xdb
# Остров Проклятых | Shutter Island
#map = /Maps/AstralIsle06/MapResource.xdb
# Зелёный лабиринт | Green maze
#map = /Maps/AstralIsle07/MapResource.xdb
# Тихие холмы | Whispering hills
#map = /Maps/AstralIsle08/MapResource.xdb
# Пропавший остров | missing island
#map = /Maps/AstralIsle09/MapResource.xdb
# Остров гоблинов | Island goblins
#map = /Maps/AstralIsle10/MapResource.xdb
# Сердце Огня | Heart of Fire
#map = /Maps/AstralIsle11/MapResource.xdb
# Гробница | tomb
#map = /Maps/AstralIsle12/MapResource.xdb
# Остров Грани | Island Verge
#map = /Maps/AstralIsle13/MapResource.xdb
# Астральный Шип | Astral Ship
#map = /Maps/AstralIsle14/MapResource.xdb
# Горнило | hearth
#map = /Maps/AstralIsle15/MapResource.xdb
# Енох | Enoch
#map = /Maps/AstralIsle16/MapResource.xdb
# Белый-17 | White-17
#map = /Maps/AstralIsle17/MapResource.xdb
# Карнавал Фантазий | Carnival Fantasy
#map = /Maps/AstralIsle18/MapResource.xdb
# Старая выработка | Old development
#map = /Maps/AstralIsle19/MapResource.xdb
# Прибежище еретиков | Sanctuary heretics
#map = /Maps/AstralIsle20/MapResource.xdb
# Руины Тлалькоа | Ruins Tlalkoa
#map = /Maps/AstralIsle21/MapResource.xdb
# Осквернённый лес | Felwood
#map = /Maps/AstralIsle22/MapResource.xdb
# Ледяной чертог | Ice palace
#map = /Maps/AstralIsle23/MapResource.xdb
# Старый маяк | Old lighthouse
#map = /Maps/AstralIsle24/MapResource.xdb
# Кьёльтмарк | Kёltmark
#map = /Maps/AstralIsle25/MapResource.xdb
# Белая гора | White Mountain
#map = /Maps/AstralIsle26/MapResource.xdb
# Ясногорье | clear mountain
#map = /Maps/AstralIsle27/MapResource.xdb
# Коч-Ицмаль | Koch-Itsmal
#map = /Maps/AstralIsle28/MapResource.xdb
# Гнилотопь | rotten swamp
#map = /Maps/AstralIsle29/MapResource.xdb
# Земля Тысячи Крыльев | Land of a Thousand Wings
#map = /Maps/AstralIsle30/MapResource.xdb
# Зона-51 | Zona 51
#map = /Maps/AstralIsle31/MapResource.xdb
# Пропавшая экспедиция | The Lost Expedition
#map = /Maps/AstralIsle32/MapResource.xdb
# Чёрная скала | Black Rock
#map = /Maps/AstralIsle33/MapResource.xdb
# Обитель Фении | Abode of the Fenians
#map = /Maps/AstralIsle34/MapResource.xdb
# Подводное царство | Underwater
#map = /Maps/AstralIsle35/MapResource.xdb
# Пепелище | the ashes
#map = /Maps/AstralIsle37/MapResource.xdb
# Металлоград | Metallograd
#map = /Maps/AstralIsle40/MapResource.xdb
# Джунгли Мбоа-Мбоа | Jungle Mboa-Mboa
#map = /Maps/AstralHangarHadagan/MapResource.xdb
# Ангар. Хадаган | Hangar. Hadagan
#map = /Maps/AstralHangarLeague/MapResource.xdb
# Ангар. Лига | Hangar. League
#map = /Maps/AstralHangarHadagan/HiEnd_MapResource.xdb
# Ангар. Хадаган. Остров Откровения | Hangar. Hadagan. Isle of Revelation
#map = /Maps/AstralHangarLeague/HiEnd_MapResource.xdb
# Ангар. Лига. Остров Откровения | Hangar. League. Isle of Revelation
#map = /Maps/HaloIsle/MapResource.xdb
# Остров Агруса | Island Agrus
#map = /Maps/PetRealm/MapResource.xdb
# Царство Природы | kingdom of Nature
#map = /Maps/AstralIsleBoss/MapResource.xdb
# Остров Мёртвых | Isle of the Dead
#map = /Maps/ArchipelagoGipatsShard/MapResource.xdb
# Осколок Гипата | Splinter Hypatia
#map = /Maps/ArchipelagoGipatsShard/cave_MapResource.xdb

#map = /Maps/Inst_GipatCave/MapResource.xdb
# Храм джунов | Juno Temple
#map = /Maps/Maze_KHD/MapResource.xdb
# Катакомбы джунов | Catacombs of Juneau
#map = /Maps/Inst_Liga1End/astral_MapResource.xdb
# Орешек | nutlet
#map = /Maps/Inst_Empire1End/astral_MapResource.xdb
# ХАЭС | KNPP
#map = /Maps/Hadagan_E3_Miniinst/astral_MapResource.xdb
# Большой Купол | Big Dome
#map = /Maps/Inst_Liga3End/astral_MapResource.xdb
# Цитадель Тьмы | Citadel of Darkness
#map = /Maps/Inst_PlagueCastle/astral_MapResource.xdb
# Проклятый замок | Accursed castle
#map = /Maps/Inst_SecretLab/astral_MapResource.xdb
# 13-я лаборатория | 13th Lab
#map = /Maps/Inst_TenzisTemple/astral_MapResource.xdb
# Храм Тенсеса | Temple Tenses
#map = /Maps/Inst_GipatCave/heroic_MapResource.xdb
# Пещеры Гипата | Caves Hypatia
#map = /Maps/ZoneContested4/MapResource.xdb
# Кирах | Kirah
#map = /Maps/ZC4_Cave/MapResource.xdb
# Пещера сердца дракона | Cave Dragon Heart
#map = /Maps/ZC4_Isle01/MapResource.xdb
# Астральный погост | Astral graveyard
#map = /Maps/ZC4_Isle02/MapResource.xdb
# Могила джуна | Tomb Juna
#map = /Maps/ZoneContested4/mole_MapResource.xdb
# Кирах | Kirah
#map = /Maps/ArchipelagoContested5/MapResource.xdb
# Остров Откровения | Isle of Revelation
#map = /Maps/ArchipelagoContested6/MapResource.xdb
# Сумрачный остров | Shadow island
#map = /Maps/ArchipelagoContested6/ship_MapResource.xdb

#map = /Maps/ElementalPlateu/MapResource.xdb
# Царство Стихий | kingdom of Elements
#map = /Maps/Hadagan_Sanatorium/MapResource.xdb
# Здравница "Небесная" | The sanatorium "Heavenly"
#map = /Maps/Inst_HeroesArena/MapResource.xdb
# Мавзолей Искр | Mausoleum of Sparks
#map = /Maps/MM_Pvp_Arena/MapResource.xdb
# Арена смерти | Arena's death
#map = /Maps/Tropical_Atoll/MapResource.xdb
# Тропический атолл | Tropical Atoll
#map = /Maps/ArchipelagoContested7/Isle_MapResource.(MapResource).xdb

#map = /Maps/ArchipelagoContested7/Cave_MapResource.(MapResource).xdb
#
#map = /Maps/ArchipelagoContested7/MapResource.xdb
# Фронтир | frontier
#map = /Maps/ArchipelagoContested8/MapResource.xdb
# Блуждающий остров | Wandering island
#map = /Maps/ArchipelagoContested8_inst/MapResource.xdb

#map = /Maps/ArchipelagoContested9/MapResource.xdb
# Колыбель | cradle
#map = /Maps/ArchipelagoContested9/Bosses_MapResource.xdb
#
#map = /Maps/ArchipelagoContested9_Tep_Island/MapResource.xdb
#
#map = /Maps/ArchipelagoContested9_build_instance/first_MapResource.xdb
#
#map = /Maps/Domination/MapResource.xdb
# Ведьмин яр | Witch ravine
#map = /Maps/Inst_DeadCity/MapResource.xdb
# Мёртвый город | dead City
#map = /Maps/Hadagan_Sanatorium/alternative_MapResource.xdb
# Здравница "Небесная" | The sanatorium "Heavenly"
#map = /Maps/AstralOutpostHadagan/MapResource.xdb
# Дальняя застава Империи | The far outpost of the Empire
#map = /Maps/AstralOutpostKania/MapResource.xdb
# Далёкая станица Лиги | Distant village League
#map = /Maps/Domination02/MapResource.xdb
# Дикий хутор | Wild farm
#map = /Maps/EP_Volcano/MapResource.xdb
# Жерло вулкана | vent
#map = /Maps/TWarArena/MapResource.xdb
# Астральное испытание | Astral test
#map = /Maps/TWars2_Isle_01/MapResource.xdb
# Остров Буян | Buyan Island
#map = /Maps/PlayerIsle_Observation/MapResource.xdb

#map = /Maps/Inst_TkaRika/NonScale_MapResource.xdb
#
#map = /Maps/Inst_TkaRika/Scale_MapResource.xdb
#
#map = /Maps/SettingSelectZone/MapResource.xdb
# Смотровая площадка | viewpoint
#map = /Maps/Hadagan/OldSquare_MapResource.xdb
# Старая площадь | Old Square
#map = /Maps/PlayersAllod01/MapResource.xdb
# Недавно созданный аллод | The newly created allodium
#map = /Maps/PlayersAllod02/MapResource.xdb
# Недавно созданный аллод | The newly created allodium
#map = /Maps/PlayersAllod03/MapResource.xdb
# Недавно созданный аллод | The newly created allodium
#map = /Maps/SummerBoss/MapResource.xdb
# Смородиновка | Smorodinovka
#map = /Maps/2ndCircle_Goblinoball_New/MapResource.xdb
# Остров головорезов | Cutthroat island
#map = /Maps/ZoneContested6_inst/MapResource.xdb
# Пустота | void
#map = /Maps/IllusionWorld_Inst/MapResource.xdb
# Иллюзорный мир | Illusory world
#map = /Maps/IllusionWorld/MapResource.xdb
# Жемчужное Кольцо | Pearl Ring
#map = /Maps/RealWorld/MapResource.xdb
# Ирдрих | Irdrih
#map = /Maps/Inst_TepPyramid/MapResource.xdb
# Пирамида Тэпа | Pyramid Tap
#map = /Maps/ZoneContested6_inst/Epyramid_MapResource.xdb
# НИИ МАНАНАЗЭМ | SRI MANANAZEM
#map = /Maps/ZoneContested6_inst/Lpyramid_MapResource.xdb
# Стылый пик | Icy peak
#map = /Maps/MW_Isle01/MapResource.xdb
# Лаборатория №9 | Laboratory №9
#map = /Maps/MW_Isle02/MapResource.xdb
# Заверть | Weathertop
#map = /Maps/MW_Isle03/MapResource.xdb 
# Осколок Силы | Splinter Force
#map = /Maps/MW_Isle04/MapResource.xdb
# Остров Проклятых | Shutter Island
#map = /Maps/AstralDungeon01/MapResource.xdb
# Отражение Храма джунов | Reflection of the Temple of Juno
#map = /Maps/AstralDungeon02/MapResource.xdb
# Отражение Цитадели Тьмы | Reflection of the Citadel of Darkness
#map = /Maps/AstralDungeon03/MapResource.xdb
# Отражение Зачумлённого замка | Reflection of the Cursed Castle
#map = /Maps/AstralDungeon04/MapResource.xdb
# Отражение Храма Тенсеса | Reflection Temple Tensess
#map = /Maps/RealWorld/Tower_MapResource.xdb
# Ирдрих | Irdrih
#map = /Maps/AstralIsle36/MapResource.xdb
# Тридевятый остров | Three ninth island
#map = /Maps/AstralIsle38/MapResource.xdb
# Черепаший остров | Turtle Island
#map = /Maps/AstralIsle39/MapResource.xdb
# Узилище | The Slave Pens
#map = /Maps/AstralIsle41/MapResource.xdb
# Изумрудный остров | Emerald Isle
#map = /Maps/AstralIsle42/MapResource.xdb
# Утиный плёс | duck Reach
#map = /Maps/AstralIsle43/MapResource.xdb
# Поместье Кровавой графини | Manor Bloody Countess
#map = /Maps/AstralIsle44/MapResource.xdb
# Санаторий "Снежинка" | Sanatorium "Snowflake"
#map = /Maps/AstralIsle47/MapResource.xdb
# Мёртвые холмы | dead hills
#map = /Maps/AstralHangarHadagan_VIP/MapResource.xdb
# Астральная академия | Astral Academy
#map = /Maps/AstralHangarLeague_VIP/MapResource.xdb
# Астральная академия | Astral Academy
#map = /Maps/RealWorld/WhiteRoom_MapResource.(MapResource).xdb
# Ирдрих. Межреальность | Irdrih. between reality
#map = /Maps/PlayerIsle_Dungeon/MapResource.xdb

#map = /Maps/PlayerIsle_Dungeon/Pillage_MapResource.xdb
# Личный аллод | Personal allodium
Open
\server_bin\shard\cfg\shard.xml
Correct the username and password in accordance with your requirements:
<?xml version="1.0" encoding="utf-8"?><config name="Ragezone Forever" comment="" maxUsers="1000" build="Debug">
    <net basePort="10000" consoleAccessPort="9856"/>
  <resourceSystem restrictedMapsLoading="true" storeXdbLinks="true" checkResourceSystemIndex="false"/>


    <territory>Russia</territory>


    <monetization>F2P</monetization>


    <logging kind="local">
        <local format="csv"/>
        <remote host="localhost" port="8888"/>
    </logging>


    <shard role="LocalShard" memory="6144" ip="127.0.0.1">
        <frontEnd ip="127.0.0.1" port="9322" timeout="60000"/>
        <db database="allods_online_RC_4_0_02" host="127.0.0.1" user="root" password="root"/>
        <http host="127.0.0.1" port="8080"/>
        <xmpp port="5222" domain="allods.ru" certificate="keys/xmpp.p12" password="secret" />
        <indicator/>
        <doorway/>
    </shard>


    <itemMallServer>
        <net ip="127.0.0.1" port="9321"/>
        <assortment banners-config="banners.cfg"/>
    </itemMallServer>


    <billingServer>
        <accounter accounterOneWay="billingserver.AccounterOneWayFakeImpl"/>
        <net host="127.0.0.1" port="9320"/>
        <api host="127.0.0.1" port="8080"/>
        <billing-api-url>http://emp2.allods.mail.ru/actions.php</billing-api-url   </billingServer>


    <accountServer>
        <approve ip="127.0.0.1" port="9346"/>
        <auth ip="127.0.0.1" port="9340" timeout="30000"/>
        <api host="127.0.0.1" port="9356" protocol="http"/>
    </accountServer>


    <masterServer>
        <net ip="127.0.0.1" port="9513"/>
        <api ip="127.0.0.1" port="10500"/>
    </masterServer>


    <resourceErrorsEnabled>false</resourceErrorsEnabled>


    <gameMechanics>
        <characterCreation allowDiffFactions="true"/>
        <shipRate build="1" buildReduce="1"/>
        <mobExpRate>1</mobExpRate>
        <questExpRate>1</questExpRate>
    </gameMechanics>


    <!-- use fake address of gametool - 127.0.0.2 - to avoid same ip as local shard -->
    <gametoolEAR ip="127.0.0.2" lang="rus">
        <standard-gametool-config>
            <mode name="slave"/>
            <instance name="Trunk shard"/>
            <database-defaults>
                <default-gametool-database port="5432" database="gametool" login="gametool" password="gametool"/>
                <default-logserver-database host="127.0.0.1" port="5432" database="logserver" login="logserver" password="logserver"/>
            </database-defaults>
            <master address="127.0.0.1" login="*" password="*"/>
            <shard id="trunk_local" name="trunk_local" address="127.0.0.1"
                         login="*" password="*"/>
        </standard-gametool-config>
    </gametoolEAR>


    <enableDynamicMapServices>true</enableDynamicMapServices>
</config>
Configuring php.ini
Open php.ini (from wamp tray)
Search for:
Paths and Directories
And in the next line insert
include_path = ".;c:\wamp\www\hessian;c:\wamp\www\hessianPhpPatch;c:\wamp\www\j2php;c:\wamp\www\java;c:\wamp\www\php;c:\wamp\www\python;c:\wamp\www\quercus"
The result should look like this:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path = ".;c:\wamp\www\hessian;c:\wamp\www\hessianPhpPatch;c:\wamp\www\j2php;c:\wamp\www\java;c:\wamp\www\php;c:\wamp\www\python;c:\wamp\www\quercus"
Configure accountExample.php
C:\wamp\www\php\accountExample.php
Edit password and username, then change account status:
AccountStatus::Inactive(); to AccountStatus::Active()
Example:
<?php

require_once( '../hessian/HessianClient.php' ); 


require_once('./accountApi.inc.php');
require_once('./ServerVersion.inc.php');


require_once('./config.inc.php');


echo $config['test_start_tag'] . "\n";




$url = 'http://' . $config['account_server_host'] . ':' . $config['account_server_port'];
$version = 8;


echo "URL = $url\n";


$serverVer = new ServerVersion($url, 'AccountAPI');
$path = $serverVer->getVersionPath($version);
if (is_null($path)) {
  echo "Supported versions are:\n";
  $versions = $serverVer->getSupportedVersions();
  print_r($versions);
  echo "\n";
  die("api version $version not supported");
} 


echo "Path = $path\n";


$proxy = new HessianClient($url . $path); 


registerAccountMethods($url . $path);


$result = $proxy->createAccountEx('igrun.igrunov', 'playerok', AccessLevel::Master(), AccountStatus::Active(), 'igrun', null);


if ($result->isOk()) {
  echo "Created!\n";
} else {
  echo "Failed! " . $result->toString();
}


echo "\nDEBUG\n";
$result = $proxy->getAccountStatus('igrun.igrunov');
var_export($result);


$proxy->setAccountStatus('igrun.igrunov', AccountStatus::Active());


echo "\nDEBUG\n";
$result = $proxy->getAccountStatus('igrun.igrunov');
var_export($result);




echo $config['test_end_tag'] . "\n";
?>
This will create a gaming account as:
login: igrun.igrunov
password: playerok

5. Starting server
By the time the server starts WAMP & PostgreSQL should be run

Start account server: run the startAccountServer_local.bat
\server_bin\accountServer\startAccountServer_local.bat
If account server started, the CMD console will display a message:
Create your first game an account
Type in your browser:
http://localhost/php/accountExample.php
If the bottom of the page you will see the word: 'SUCCESS'
So did everything correctly and your account as the first - created!

Start billing server: run the startLocalBillingServer.bat
\server_bin\billingServer\startLocalBillingServer.bat
If billing server started, the CMD console will display a message:
Start itemmall server: run the startLocalItemMallServer.bat
\server_bin\itemMallServer\startLocalItemMallServer.bat
If item mall server started, the CMD console will display a message:
Completed database billingserver: open phpMyAdmin (Download: allods_billing_rs_4_0_02.sql)

Select the database allods_billing_rs_4_0_02
Next, go to the tab: Import
Select the desired file by pressing: Choose file
Then press: Go
After a few seconds the database is full.
Commodity prices can change at their discretion.
Making changes to the file with a text, the editor, or directly working with the database in phpMyAdmin.
Start time checker: run the startTimeChecker.bat
\server_bin\timechecker\startTimeChecker.bat
If time checker started, the CMD console will display a message:
Start master server: run the startMasterServerLocal.bat
\server_bin\masterServer\startMasterServerLocal.bat
If master server started, the CMD console will display a message:
Start shard: run the startServerDefault.bat
\server_bin\shard\startServerDefault.bat
If shard started, the CMD console will display a message:

6. launch the game client
Download the client and patch for the game on the local server (client | patch)
Start the game with the desired localization possible.
Using a bat - files:
\client\bin\starter_en.bat or \client\bin\starter_ru.bat

starter_en.bat - Start the game in the English language

starter_ru.bat - Start the game in the Russian language


7. Tweaking
Access level User
The configuration files accountserver and shard set "build": FinalRelease
Starts the server. create an account with rights: User
Entering the game, create a character and...

example: server/accountServer/cfg/shard_local.xml
<?xml version="1.0" encoding="utf-8"?><config name="Ragezone Forever" build="FinalRelease" serversNeed="1" mapServicesAmount="1">
<net basePort="9000" datagramPort="8000" bindPortsRange="15"/>
<logging kind="none"/>
example: server/shard/cfg/shard.xml
<?xml version="1.0" encoding="utf-8"?>
<config name="Ragezone Forever" comment="" maxUsers="1000" build="FinalRelease">
<net basePort="10000" consoleAccessPort="9856"/>
<resourceSystem restrictedMapsLoading="true" storeXdbLinks="true" checkResourceSystemIndex="false"/>


everything works fine!  WARNING: This variant don't work to IP: 127.0.0.1