Page 1 of 2

Problems with my mod...

Posted: Sat Aug 06, 2011 12:45 am
by Exoddus
I am working on my mod "War of Scandinavia" wich is ruining my life btw ;)
There are some problems however.

Sandbox singleplayer works flawless. But as soon as i try to test it with my
friends in mp all our clients crashes on "Building armies...".
I have no idea why this is so. I have made my own oob aswell as altering the
graphics and edited the following logistic files:
"gfx.csv" "gui.csv" "guitext.csv" "unitglobal.csv"

Another problem i have is the timer and names in the "guitext.csv". Even if i
delete the values for them completly they remain ingame. Are the timer and names
hard coded? And if so, why are their values in the "guitext.csv"?

Any help would be greatly appriciated.

[EDIT]
I found the log file:
The attachment SOWGB.log is no longer available
The last line reads "Can't find unit class type WoS_UNIT_Army_SWE"
However this does not help me much. I persume it is refering to the
"unitglobal.csv" file. But i checked and double checked and there is no error.
And still wierd it works in single player and not in multiplayer.
[/EDIT]

For anyone curious on what the mod is about it's a what if scenraio. What if
Sweden and Denmark fought one last war 50 years after the last war (1814-Swedens
last war ever). So around the time of the american civil war.

A screenshot of the 3rd Stockholm regiment making a charge with my wip toolbar:
Image

Re: Problems with my mod...

Posted: Sun Aug 07, 2011 8:22 pm
by Jim
The file you are needing to look at is /base/text/sowstr.db. This is a basic text file that has the in-game string pointers and the resulting text. This is by design so that you can change languages largely by editing this file for most of the in-game text. Any string in another file that starts with IDS_ uses the sowstr.db file to write the text on screen. Make your own copy in /mods/wis/text and edit away.

-Jim

Re: Problems with my mod...

Posted: Mon Aug 08, 2011 1:51 am
by Exoddus
I'm sorry Jim, but i'm not really sure how this information will help me.
Neither the timer nor the names in "guitext.csv" has the IDS_ in their string.
IDS_SCORE_ and IDS_Casualties do but they are no problem.

If you mean it will help with the mp problems please clarify. Because i don't
really understand.

Thanks for helping me out here Jim, i really appreciate it.

Re: Problems with my mod...

Posted: Sat Aug 13, 2011 8:52 am
by Exoddus
Sorry to doubble post like this...
But is there really no solution to this problem?

These problems has put the development of my mod
to a complete stop. Any idea what this is about
would be much appreciated.

Re: Problems with my mod...

Posted: Sat Aug 13, 2011 9:07 am
by born2see
Exoddus wrote:
Sorry to double post like this...
But is there really no solution to this problem?
It's hard to troubleshoot these kinds of problems without having the mod and seeing the issue first hand, at least for me. If you want to post the mod I'll try it on my local LAN to see if I can see something. Also, if you post it someone else may take an interest as well. Lots of modders on this site.

B

Re: Problems with my mod...

Posted: Sat Aug 13, 2011 10:19 am
by RebBugler
Some files are not allowed to be modded for MP play. I'm not sure, but unitglobal might be one. Maybe LP knows more here, because I'm not sure where that list of files allowed for MP modding is available.

Nice looking mod, we should be able to help you getting it to work. Not sure why you're having problems with the game timer, I see it's misaligned, just fix the coords in the guitext for this...but I'm pretty sure you know this, so I'll shut up for now.

Re: Problems with my mod...

Posted: Sat Aug 13, 2011 3:41 pm
by Little Powell
Some files are not allowed to be modded for MP play. I'm not sure, but unitglobal might be one. Maybe LP knows more here, because I'm not sure where that list of files allowed for MP modding is available.
.
I'm not sure where that list is either but it would make sense for it to be in the manual, although I just did a quick look to no avail.

I want to say unitglobal is not moddable though to prevent cheating.. I'll see if I can find that list though.

Re: Problems with my mod...

Posted: Sat Aug 13, 2011 4:13 pm
by ADukes
unitglobal.csv
unitmodel.csv
munitions.csv

Re: Problems with my mod...

Posted: Sun Aug 14, 2011 12:02 am
by Little Powell
Here's the list of what's moddable and what is not for MP:

SEND - sent from server to players, nothing in them can refer to anything outside of them
"artillery.csv", - safe, though changing the ids can cause issues
"artytables.csv", (artillery,munitions)
"drills.csv", - safe
"replroster.csv", - safe
"rifles.csv", - safe
"statetables.csv", - safe
"unitattributes.csv", - safe
scenario.csv - (unitglobal,rifles,artillery,gfx,drills,unitattributes)

KEEP IN SOW - too dangerous or cheatable to allow modding
"demoscreens.csv",
"unitglobal.csv",
"unitmodel.csv",
"defines.ini",
"munitions.csv",(gfx,sfx) - dangerous

LOCAL - allow it's use, but don't send it, so each player can have their own version
"efx.csv",
"gamefonts.csv",
"gfx.csv",
"gscreens.csv",
"gui.csv",
"guitext.csv",
"mscreens.csv",
"sfx.csv",
"textures.csv",
"courier.csv",

Re: Problems with my mod...

Posted: Sun Aug 14, 2011 4:43 am
by RDBoles
Exxodus, When you get done and all the bugs are fixed submit it to the forum for the rest of us. If you can, it will be appreciated here.