Problems with my mod...

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Exoddus
Reactions:
Posts: 7
Joined: Thu Feb 11, 2010 7:05 am

Problems with my mod...

Post 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
Attachments

[The extension log has been deactivated and can no longer be displayed.]

Last edited by Exoddus on Sat Aug 06, 2011 4:00 am, edited 1 time in total.
Reason: More information
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re: Problems with my mod...

Post 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
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
Exoddus
Reactions:
Posts: 7
Joined: Thu Feb 11, 2010 7:05 am

Re: Problems with my mod...

Post 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.
Exoddus
Reactions:
Posts: 7
Joined: Thu Feb 11, 2010 7:05 am

Re: Problems with my mod...

Post 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.
born2see
Reactions:
Posts: 1326
Joined: Fri Apr 22, 2011 9:25 am

Re: Problems with my mod...

Post 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
"Those in whose judgment I rely, tell me that I fought the battle splendidly and that it was a masterpiece of art.” - George McClellan to his wife describing the battle of Antietam
User avatar
RebBugler
Reactions:
Posts: 4254
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Problems with my mod...

Post 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.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: Problems with my mod...

Post 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.
ADukes
Reactions:
Posts: 862
Joined: Mon Nov 26, 2007 10:38 pm

Re: Problems with my mod...

Post by ADukes »

unitglobal.csv
unitmodel.csv
munitions.csv
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: Problems with my mod...

Post 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",
RDBoles
Reactions:
Posts: 472
Joined: Thu Apr 10, 2008 7:15 am

Re: Problems with my mod...

Post 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.
Move Forward
Post Reply