Selfmade Gamemode can't be seen by my colleague
Wed, 2013-07-24 12:29
Dear All,
Some friends and I are playing some customized version of Highlander. It worked fine until version 0.9.18. Now we upgraded to version 0.9.19 and it still works fine playing locally.
Unfortunately, it doesn't work on the local network or on the official server. The gamemode isn't shown to my friend if I select it and i crashes by starting the game.
Has anyone an idea where this can come from?
Thank you in advance for your help.
Cheers
siegmi
That's because everyone has to have to script's files on there computer in order to play it online. Send him the files and it will work.
Sorry for being a bit imprecise. Both of us have the identical Scripts on each computer and even have the same timestamp for the files (I did my own debian package for it so that we for sure have the same version).
File permissions shouldn't be an issue too.
I guess, there is a script misplacement.
Someone probably placed the script in the *home* path and the other in the *game* path.
Installed scripts, (eg Highlander, Space invasion ...) are placed into:
/usr/share/hedgewars/Data/Scripts/Multiplayer (Linux)
(dunno mac path) (OSX/Mac)
C:/Program files/Hedgewars/Data/Scripts/Multiplayer (Windows)
(paths may vary)
I guess your script should be placed into:
~/.hedgewars/Data/Scripts/Multiplayer (Linux)
~/Library/Application Support/Hedgewars/Data/Scripts/Multiplayer (OSX/Mac)
My Documents/Hedgewars/Data/Scripts/Multiplayer (Windows)
if the script is shown as:
*-your scriptname-
NOT
-your scriptname-
Then you know, its placed in the *right* folder (home path).
NOTE: You can place the script in the game path, but i really dont recommend it.
Have fun :P
Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!
Due to a bit of a bug in how the * in front of dlc content was implemented in .19, installing the script globally results in a script name mismatch since unfortunately the * is considered part of the name, and the global script would not have it.
But yes, installing it globally doesn't make much sense anyway, besides requiring root to do, which seems a bit silly.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Thank you for your answers. Unfortunately, this wasn't the problem. We tried to put it in the
~/.hedgewars/Data/Scripts/Multiplayer as well as /usr/share/hedgewars/Data/Scripts/Multiplayer for both of the computers. It didn't work.
I've got really no idea what's the problem...
Soo we found out what the problem was He forgot renew the file from the home folder. So we had 2 different versions. As he also forgot to remove it afterwards it took first the file from the home folder so it wasn't possible to use it.
Thanks for your help