.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Weird Worlds: Return to Infinite Space (http://forum.shrapnelgames.com/forumdisplay.php?f=125)
-   -   Help with mod please. (http://forum.shrapnelgames.com/showthread.php?t=46758)

nicklemarr December 12th, 2010 02:56 PM

Help with mod please.
 
1 Attachment(s)
Hello. I am new to the forum as well as Weird Worlds. I played a lot of SAIS, but I haven't ever made my own mod before. Now with WW I felt I should in my spare time.

The thing is, I just recently started of a mod that, at the moment, is quite nondescript. For some reason, I get a segmentation fault, and I have no clue why, because I haven't really done hardly anything.

I have forbade myself to sleep until it's resolved; I have scanned so many lines, yet I really don't know what the problem is.

I feel like it's something so simple. I am just making it complicated.

I have attached the first backup of when the segmentation fault began. Thank you.

sgqwonkian December 13th, 2010 09:45 PM

Re: Help with mod please.
 
I'll take a look at it and see if anything obvious jumps out.

Actually, as I click on it now, I realize that there's a problem with the compressed files.

The files won't even expand. It brings up an error message saying "The structure of the archive is damaged (Error #17540)".

If you could try archiving/compacting/zipping/etc it again, and re-upload, that might be helpful. That part could be just an upload glitch, but it also might be an incompatibility between your compression software and my expander software, maybe? (I'm on a mac, if that matters.)

If uploading a new version doesn't get us a workable archive for some reason then we could try using this thread (or making a new one inside the mod subforum) to debug it by you just listing the changes you've made. I've got an hour free tomorrow to devote to debugging / altruism.

What kinds of changes did you make? What sort of content is in your mod at this point?

I've got a number of debugging solutions written up for various known common problems, at http://weirdworldsmods.wikidot.com/bugs

Give that site a look-through and see if anything on it matches the problems you're experiencing.

nicklemarr December 14th, 2010 02:19 AM

Re: Help with mod please.
 
First off, I got it working. The game crashed from having too many allies being made available.


Quote:

Originally Posted by sgqwonkian (Post 766010)
The files won't even expand. It brings up an error message saying "The structure of the archive is damaged (Error #17540)".

-- Weird. I have no clue.

Quote:

Originally Posted by sgqwonkian (Post 766010)
What kinds of changes did you make? What sort of content is in your mod at this point?

-- Well first off, I am just some regular shmoe with no modding experience. Having said that, I am making the scale a lot bigger. I have added about 40 generic ships so far, about 20 unique (were allies until this error) ships. A bunch of planets. Several quests that I always thought about when I was playing other sci-fi games.

I am a terrible artist, so I use a lot of the games resources with little tweaks like hue and what not.

The biggest thing I have done is all statistical. I felt like battle were over a lot quicker than they needed to be, and that some races, like the Tan-ru, weren't as deadly as I think they would actually be. I have tweaked every item/ship in the game in addition to adding all my own. I have big plans for it, but it's really just for my own satisfaction.

Quote:

Originally Posted by sgqwonkian (Post 766010)
I've got a number of debugging solutions written up for various known common problems, at http://weirdworldsmods.wikidot.com/bugs

I came across that site on google a couple days ago and it pointed me in the right direction but it could be a lot more specific. Thank you though.

sgqwonkian December 14th, 2010 03:33 PM

Re: Help with mod please.
 
Glad your mod is working again.

There's a hard-coded limit to how many allies you can have in the game. IIRC, if you have more than 5 ships in your fleet, they stop displaying correctly, and just a few ships past that it crashes.

To control how many allies your mod will try to populate the map with, make sure you set "FLAG ally" on all the Quests that generate them.

Then you can tweak how many allies each map size will call up by modifying the numbers in distribution.ini. In the last three blocks of that file there's lines that say "ALLY 2" "ALLY 3" and "ALLY 4". If you alter the numbers that follow the "ALLY" it'll change how many are placed on each map size.

Quote:

Originally Posted by nicklemarr (Post 766021)

Quote:

Originally Posted by sgqwonkian (Post 766010)
I've got a number of debugging solutions written up for various known common problems, at http://weirdworldsmods.wikidot.com/bugs

I came across that site on google a couple days ago and it pointed me in the right direction but it could be a lot more specific. Thank you though.
[/font]

Yeah, it didn't seem like anybody was using that site but me, so I stopped making regular updates. Some of the pages are still rough drafts, and there's a lot of dead links, but there's also some really useful info there. It's a wiki, so if you feel my explanations on that site aren't detailed enough, you could log on and edit them. The password to edit that wiki is "shrapnel and eel".


All times are GMT -4. The time now is 06:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.