Hello Guys,
I'm facing with the following problem:
I have a dedicated server (+ Xaseco2) with maps on it of course, but a few of them use mods. The problem is that the mods are not displayed when we are playing on these maps. How can I force to download/use the mods from my server? I dont want to use/give external links for the mods (as I saw, forcemods plugin uses this method), since basically the server should allow downloading directly from itself.. Am I wrong?
Any idea appreciated!
Getting mod from dedicated server
Moderator: NADEO
Re: Getting mod from dedicated server
I am not very familiar with this topic. The following may not be correct...
You can use the Windows tool GbxDump to test if the mod was included using a locator. Pay attention to the "deps" element:
Map with mod locator:
Map without mod locator:
The mod doesn't need a locator if the map was build inside a custom title pack and the mod is part of this title pack.
But even in this case it can happen (because of a bug) that the mod is not displayed if the mod is also stored locally (e.g. at the title pack author).
Take sure that all maps include the download URL of the used mod. If a player hasn't already saved the mod locally, this is the only way to get that mod. The ForceMod function, if activated, can overwrite this URL.teglafal wrote:The problem is that the mods are not displayed when we are playing on these maps.
You can use the Windows tool GbxDump to test if the mod was included using a locator. Pay attention to the "deps" element:
Map with mod locator:
Code: Select all
<deps>
<dep file="Skins\Stadium\Mod\MXmas15.zip" url="http://ac.ozontm.de/download/MXmas15.zip"/>
</deps>
Code: Select all
<deps>
<dep file="Skins\Stadium\Mod\MXmas15.zip"/>
</deps>
But even in this case it can happen (because of a bug) that the mod is not displayed if the mod is also stored locally (e.g. at the title pack author).
This is not possible. You can only force mods globally independent of the played maps using the ForceMods callback.teglafal wrote:How can I force to download/use the mods from my server?
AFAIK is this only possible with music files. The game client needs a download URL. I've never heard of that mods are transferred via PeerToPeer.teglafal wrote:since basically the server should allow downloading directly from itself..
Re: Getting mod from dedicated server
Hello,
Thanks for Your answer
Well, I'm basically suprised, that a dedicated server cannot be used as a "store" for mods to download.
As I understand: the best way to use the mods on a dedicated server is to use forcemod plugin, and create the proper lines for the mod, and upload that mod to maniaexchange or to somewhere else but use that link in forcemod. Am I right? But how will forcemod know when to use that mod?
(the map doesnt have the locator line, according to gbxdump)
Thanks for Your answer
Well, I'm basically suprised, that a dedicated server cannot be used as a "store" for mods to download.
As I understand: the best way to use the mods on a dedicated server is to use forcemod plugin, and create the proper lines for the mod, and upload that mod to maniaexchange or to somewhere else but use that link in forcemod. Am I right? But how will forcemod know when to use that mod?
(the map doesnt have the locator line, according to gbxdump)
Re: Getting mod from dedicated server
You must enable P2P upload from the server (and obviously permit peers to connect to that port) and have the mods themselves in the server's userdata folder (or cache, but don't do that).
Servers can do it just fine to my knowledge, mods are shareable through P2P, but do note that locators are significantly faster and result in way less load on the server and other clients for large archives.
You can however still re-link the mod file by using such a forcemod-like system that also attaches a locator link depending on the used map mod in the case the network load is too high in the end.
Servers can do it just fine to my knowledge, mods are shareable through P2P, but do note that locators are significantly faster and result in way less load on the server and other clients for large archives.
You can however still re-link the mod file by using such a forcemod-like system that also attaches a locator link depending on the used map mod in the case the network load is too high in the end.
=3
Re: Getting mod from dedicated server
Hello,
P2P is enabled, in the systemconfig p2p has a working port, so I guess its enabled
The interesting fact is that a player without the mod on that map has a download connection to the server (it seems its downloading the mod, since its' size is kinda same as the mod itself) but after the download finished, the map remains the same, still no mod :O
P2P is enabled, in the systemconfig p2p has a working port, so I guess its enabled
The interesting fact is that a player without the mod on that map has a download connection to the server (it seems its downloading the mod, since its' size is kinda same as the mod itself) but after the download finished, the map remains the same, still no mod :O
Last edited by teglafal on 18 Dec 2015, 21:59, edited 1 time in total.
Re: Getting mod from dedicated server
Did the player press ESC and then "return to game"? Usually this helps, as a mod is never applied while driving.
Sometimes you need to exit the game before a mod can be used.
But it is only client side issue then
Sometimes you need to exit the game before a mod can be used.
But it is only client side issue then
Re: Getting mod from dedicated server
Yes, he did, also restarted the game, but still no mod :O
Re: Getting mod from dedicated server
could I try to join your server? if it is private, please send me a PM with details.
Re: Getting mod from dedicated server
Well, we have tried it with a different map with a different mod.. it works! But with the other mod, it doesn't.. :O
So it seems that the p2p is working excellent on the server.. Only one question remains: what could be the problem with that mod? Can be the problem it's size? Or its name? But the map can find it, and also downloading it from the server, but its not displayed on the client's computer.. :O
So it seems that the p2p is working excellent on the server.. Only one question remains: what could be the problem with that mod? Can be the problem it's size? Or its name? But the map can find it, and also downloading it from the server, but its not displayed on the client's computer.. :O
Re: Getting mod from dedicated server
Is it possible that few mods (mostly with gbx files) are not working properly via this way?
Tried with different mod, with a gbx. Downloaded from the server for both of us, but the display remained the same.. :O
Tried with different mod, with a gbx. Downloaded from the server for both of us, but the display remained the same.. :O
Who is online
Users browsing this forum: No registered users and 0 guests