- Joined
- Apr 8, 2009
- Messages
- 97
- Reaction score
- 60
Auth and Manager run with NA_ALPHA. The Fieldservers run with NA, so there would be no need to add NA_ALPHA, but if that works for you good. This here fixed it for many other that could not connect with the field being in NA
'dontUsePublisherAuthentication=1' it goes into the servers service.ini right under the Auth-Port as a new line-
Lets assume the fake domain local-bdo.net which is the main domain. If you create a new website in IIS it asks for a domain, the website names you already see on the screenshot i took from my IIS. You put your IP and name in there and for the domain names if you want to use SUBdomains its really plain simple:
Website Name --> Subdomain
api-trade --> api-trade.local-bdo.net
game --> game.local-bdo.net
trade --> trade.local-bdo.net
Thats also whats already pre configured in the three web.configs just for the older server project F. You just need to replace the IPs from them with yours, and the domain names with yours. Ignore the CDN domain in the web.configs as its not really needed, but the rest you need to just search and replace with yours.
Here are a few more examples of what you would need to change to fit your server:
If you have a certificate just change everything to HTTPS now its just a matter of going through and replacing everything with yours in all three config files and edit the IPs in the XML thats under NA in api-trade '\Contents\Common\xml\BDOWorldTradeMarketItemData\NA' --> BDOWorldTradeMarketServerInfo.xml this file.
If you want to troubleshoot why the market does not work you need to open ALL three generated configs as they are all connected to each other, meaning seding a request to one calls the other, so if you do something just have all three logs open and look for timestamps and what you have tried to do, you will often see actions happen in multiple logfiles.
Later you can set this <add key="isDebug" value="true" /> in all three web.configs to false so your logfiles will not get spammed to death everytime a user does something. And there will always be the Auth warning with IP missmatch, you can simply ignore that, it happens cause we are logged in a hacky way into the game and the website gets our real IP but it expects another one, does not matter.
Don't forget to set the two URLs into your service.ini or otherwise it will not work at all.
This is what it would look like with the fake domain. For that domain to work properly you have to put all three subdomains in your windows hosts file and maybe another one if you run the ingame web as well which has the name 'gameportal' and is called 'gameweb in the screenshot. so the subdomain would be
gameportal.local-bdo.net.
In the web.config connection strings you can also see 'new' DBUsers, you can either add them, this was done for security reasons to give them limited access to the DB, or change them to the normal already used DBUser by the Server, I just created them the same way you create the one for the GameServer.
'dontUsePublisherAuthentication=1' it goes into the servers service.ini right under the Auth-Port as a new line-
Lets assume the fake domain local-bdo.net which is the main domain. If you create a new website in IIS it asks for a domain, the website names you already see on the screenshot i took from my IIS. You put your IP and name in there and for the domain names if you want to use SUBdomains its really plain simple:
Website Name --> Subdomain
api-trade --> api-trade.local-bdo.net
game --> game.local-bdo.net
trade --> trade.local-bdo.net
Thats also whats already pre configured in the three web.configs just for the older server project F. You just need to replace the IPs from them with yours, and the domain names with yours. Ignore the CDN domain in the web.configs as its not really needed, but the rest you need to just search and replace with yours.
Here are a few more examples of what you would need to change to fit your server:
Code:
<add key="cookieDomain" value=".local-bdo.net" />
<add key="tradeXMLDomain" value="http://api-trade.local-bdo.net/Contents" />
<add key="gameDomain" value="http://game.local-bdo.net/GameTradeMarket/" />
<add key="processDomain" value="http://api-trade.local-bdo.net/GameProcess" />
<add key="redirectDomain" value="http://www.local-bdo.net" />
If you want to troubleshoot why the market does not work you need to open ALL three generated configs as they are all connected to each other, meaning seding a request to one calls the other, so if you do something just have all three logs open and look for timestamps and what you have tried to do, you will often see actions happen in multiple logfiles.
Later you can set this <add key="isDebug" value="true" /> in all three web.configs to false so your logfiles will not get spammed to death everytime a user does something. And there will always be the Auth warning with IP missmatch, you can simply ignore that, it happens cause we are logged in a hacky way into the game and the website gets our real IP but it expects another one, does not matter.
Don't forget to set the two URLs into your service.ini or otherwise it will not work at all.
Code:
viewTradeMarketUrl=http://trade.local-bdo.net/
gameTradeMarketUrl=http://game.local-bdo.net/
gameportal.local-bdo.net.
In the web.config connection strings you can also see 'new' DBUsers, you can either add them, this was done for security reasons to give them limited access to the DB, or change them to the normal already used DBUser by the Server, I just created them the same way you create the one for the GameServer.
Last edited: