[7.0] How to fix ItemMall

DarkSer

New member
Hi All!

ItemMall isn't working because of wrong config in the ..\itemMallServer\cfg\shard.xml, to fix it you need to configure connection with billing server port 9322, my config example below:

ItemMall server shard.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<config name="DarkAllods" 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="9322" host="127.0.0.1"/>
  </billingServer>
</config>

Billing server shard.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>

<config name="DarkAllods" build="Debug" serversNeed="8" mapServicesAmount="1">


    <logging kind="local">

        <local format="csv"/>

    </logging>


    <billingServer ip="127.0.0.1">

        <net port="9322" host="127.0.0.1"/>

        <api port="8080" host="127.0.0.1"/>

        <db host="127.0.0.1" user="postgres" password="YOUR PASSWORD" database="billing" type = "pgsql"/>

    </billingServer>

    <itemMallServer  memory="512" >

        <net ip="127.0.0.1" port="9321"/>

        <assortment banners-config="banners.cfg"/>

    </itemMallServer>

    <accountServer>

        <api protocol="http" host="127.0.0.1" port="9459"/>

        <authenticator>

            <api host="127.0.0.1" port="9399"/>

        </authenticator>

    </accountServer>

</config>

Than you need to fill in an assortment in billing DB, tables: category, item, item_price.

itemmall.jpg

Enjoy!
 

Pacific

Member
Honored Member
Confirm it work, my server running as well.
I don't know why, but when I remove this then my server running as well.
The error is on remote.launch.dir="/allods"

database for filling item mall
 

Attachments

  • item_mall.sql
    140 KB · Views: 104
Last edited:
How do you guys edit the item mall? Via the plain SQL or do you have something similar to the IMMaster tool which works with Postgres and v7?
 

Pacific

Member
Honored Member
i have a problem with the billingserver the shard allways tell me Banner.cfg url not configure :(

we do not understand what Banner.cfg do, but our ItemMall work properly already :)
Is that banner.cfg error important ?
 

al5yal511

Administrator
Staff member
Admin
Guide Author
Confirm it work, my server running as well.
I don't know why, but when I remove this then my server running as well.
The error is on remote.launch.dir="/allods"

database for filling item mall
thanks for the query but it's a messy one.

anyone has a default or basic one?
 

Top Bottom