[Resolved]server-side mod only

8 replies [Last post]
heap
Offline
Joined: May 2010
Posts:

hello folks,

i tried to install the xp-mod as a server-side mod only but i failed and have no clue how to do it.

I already searched the forums and just found that it is possible but no explaination on how to do it.

Maybe you guys can help me?! Here the things I already tried (I am using the OpenArena version)

1. added the .pk3 files in /baseoa (thats /baseq3 of Openarena) server starts but if i have sv_allowDownload set to 1 it starts downloading the pk3s to the client.

2. I disabled sv_autoDownload and tried to connect. So it gives me an error that I cant download the needed pk3s for that pure server.

3. so i disabled sv_pure and set it to 0. Now I got the error that I cant download the pk3 files. so i disabled the automatic download on the client and i could connect. BUT: as soon as I want to join a team i get the error: "cg_registeritemvisuals out of range 130... range [0-60]"

i didnt get the error if i used the xp-client.

so any clues on how to get the server-side mod running? is there a way to make it a sv_pure 1 server?

thx and greetz heap

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Re: server-side mod only

You don't have to put it under the baseoa directory, and the server doesn't require any special configuration. Server-side mod means that players without the mod installed can connect to your server without problems, and those who have the mod will play fine too.

Había una vez un barco chiquito...

heap
Offline
Joined: May 2010
Posts:
Re: server-side mod only

thx beast+ for your answer.

well if i dont have to put the pk3s in the /baseoa folder of the server, then i dont understand what files of xp are needed for the server.

Can you tell me what files I have to put serversides?

I think you are talking about my #3. I have to set sv_pure 0 and disable the autodownload. well then I still get that error I named above.

And I dont really want to set sv_pure 0. any further ideas?

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Re: server-side mod only

You should NOT put the e+ files on baseoa directory.

You just have to setup a NORMAL e+ server:

- Extract the contents of the e+ release under your oa directory (the folder excessiveplus will be created).
- Start the server with something like: oaded.exe +set fs_game excessiveplus +set vm_game 0 +set dedicated 2 +exec server.cfg.

Había una vez un barco chiquito...

GrosBedo
grosbedo's picture
Offline
Joined: May 2010
Posts:
Re: server-side mod only

Sorry to resurrect this thread, but I'm currently preparing the launching of several permanent servers, and I would like them to be based on E+ v2.2b server-side.
I have unpacked the vm into the excessiveplus/vm folder and removed the pk3 to test a full server-side implementation (I may add them back later if players with autodownload want them).

Now the problem is an incompatibility between OA 0.8.5 and 0.8.1: when using E+, it seems that it is based o 0.8.1, and so when a player with OA 0.8.5 connects, there is an incompatibility of the range of items (which were changed, don't ask me why...).

The other day, I had it working, and I was pretty sure that this was because I had set sv_pure 1 and +set vm_game 1, but now I can't get it to work with those settings (I get an error because of vm_game 1 so it can't be loaded, and when I set vm_game 0, I get the item out of range bug again).

Do someone have an idea of how to circumvent that? WaspKiller maybe?

GrosBedo
grosbedo's picture
Offline
Joined: May 2010
Posts:
Re: server-side mod only

Ok I think I've done it Happy
Simply remove the v085 pk3 from the server (not the client!) and set the server as pure (sv_pure 1): this will force the client to switch to v081 upon connection.
Now with some clever symbolic linking, it's possible to have two different basepaths or homepaths: one containing the v085 patch and one without to use with excessiveplus serverside Winking

GrosBedo
grosbedo's picture
Offline
Joined: May 2010
Posts:
Re: server-side mod only

The method I outlined in my previous post works flawlessly. But this is only a temporary workaround, when ExcessivePlus for OA will be based on OA 0.8.5 or the soon-to-be-released 0.8.8, this workaround won't be needed anymore (because the problem reside in the incompatibility between OA 0.8.1, upon which is based E+ v2.2b for OA, and OA 0.8.5).

Since I'm not the author of the thread, could a moderator set it to RESOLVED please?

rUnThEoN?!
Skullheadq3's picture
Offline
Joined: Dec 2005
Posts:
DE Germany
Re: server-side mod only

question grosbedo, since newest e+ is qvm based again shouldn't it easily work in oa any version?

edit: about the items, maybe the gameconfig is bugged or something.

hurrenson: "This idiot is apparently not familiar with a rail/sniper style."

GrosBedo
grosbedo's picture
Offline
Joined: May 2010
Posts:
Re: server-side mod only
rUnThEoN?! wrote:

question grosbedo, since newest e+ is qvm based again shouldn't it easily work in oa any version?

edit: about the items, maybe the gameconfig is bugged or something.

What do you mean by qvm based again? I saw that the .so and .dll files were again to be removed, but what does it change technically? Please excuse me for my ignorance but I don't have very much experience in Q3 modding.

/EDIT: I see what you mean now. If you mean by qvm based that it only overwrites the qvm, then that's exactly the problem: the update v0.8.5 for OA mainly resides in a new qvm that changed the handling of items. That's why it doesn't work: E+ is compiled over v0.8.1, but not on the new v0.8.5 game logic code, so that these changes are uncompatible with E+ currently.

I don't think there's any other workaround but to either use v0.8.1 and sv_pure 1 for now, or wait for a new release of E+ that will be based on OA v0.8.5 or OA v0.8.8 (that is very soon to be released).

About items, I will take a look, but I don't think so, there's no special weapons enabled nor gametype, it's a standard q3/oa cfg. And if it was a problem with the config, it would neither work with OA v0.8.1