Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Game Keeps crashing after I edited raws  (Read 2765 times)

Vicious Bug

  • Bay Watcher
    • View Profile
Game Keeps crashing after I edited raws
« on: February 07, 2013, 11:35:37 am »

hello.
I edited the RAWs of the Giant cave spider and those of all the Giant Bugs so females can lays eggs.
I added the
Spoiler (click to show/hide)
but the game keeps crashing after like 5 min of playing, I also turned the temperature off having some FPS problems on bigger fortresses..
here is the message when I try to debug
Spoiler (click to show/hide)
I never had crashes before... any ideas?
« Last Edit: February 08, 2013, 04:50:07 pm by Vicious Bug »
Logged

Trif

  • Bay Watcher
  • the Not-Quite-So-Great-as-Toady One
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #1 on: February 07, 2013, 12:04:12 pm »

I don't know either, but the modding subforum will. You can move the thread there if you want.

PS: Baby spiders are called spiderlings.
Logged
Quote from: Toady One
I wonder if the game has become odd.

PhoenixEggz

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #2 on: February 07, 2013, 01:23:31 pm »

Try making the 'giant' part of the name in lower cases. I've never seen the first letters capitalized, that may be the need for it. Also eliminate any unneeded spaces.

Really, though, editing creature raws badly shouldn't bug out the game unless the creature in question is on the map and it's a horrible, horrible screwup. So the problem may not be the creature.
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #3 on: February 07, 2013, 04:36:58 pm »

How exactly did you add this to the creatures? Is your error log.txt showing anything? And as PhoenixEggz stated the problem might not be the raws, but something in the game itself.

And to move your thread just scroll down the the bottom of the page and it should be on the bottom right IIRC.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Vicious Bug

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #4 on: February 07, 2013, 05:09:11 pm »

Spoiler (click to show/hide)
there is a similar error for the giant mosquitoes...
and numerous path fail but I think thats not the real problem
and I added the tags at the very end of the raws..
Spoiler (click to show/hide)
like I said the game was not crashing before. played weeks without problems, only since I made those modifications, it crash. maybe the crash happen everytime a mosquito or a B.R. spider spawn on the map??
Logged

Avelon

  • Bay Watcher
  • [ETHIC:INDULGE_IN_MYSTICISM:UNTHINKABLE]
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #5 on: February 07, 2013, 05:22:55 pm »

It may be because you're trying to assign it CHILD:2.

Every other egg layer that I know of has CHILD:1, as each egg in the clutch yields 1 creature.

Also, you don't want to use Giant (creature name) or something similar. Make the child name "giant cave spiderling:giant cave spiderlings" or something. The parenthesis in the name might also cause problems - I wouldn't know about that though, just that it will literally call them "Giant (bug name) " in-game. Also, DF will automatically use a capital G when beginning a message with 'Giant cave spiderling'.

EDIT: And as always, if you're certain that your code is (vicious) bug-free and are having problems, try genning a new world!
« Last Edit: February 07, 2013, 05:25:15 pm by Avelon »
Logged
Is God willing to prevent evil, but not able? Then he is not omnipotent.
Is he able, but not willing? Then he is malevolent.
Is he both able, and willing? Then whence cometh evil?
Is he neither able nor willing? Then why call him God? - Epicurus

Vicious Bug

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #6 on: February 07, 2013, 05:26:28 pm »

the child tag is not about how many years it take to fully grow?
and in the RAW the ( ) are not there, I replace it with the creature name ^^
P.S Caves crocodiles have a CHILD:3 tag no? cuz it take 3 years for the childs to grow
Logged

CLA

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #7 on: February 07, 2013, 05:31:28 pm »

AFAIK, the CHILD tag is binary. It can only be 1 or 0 and it indicates whether eggs hatch.

But don't quote me on that.
Logged
CLA - an ASCII-like Graphic Pack with simplified letter-like creature graphics. The simple and clean looks of ASCII with distinct creature graphics - best of both worlds!

http://www.bay12forums.com/smf/index.php?topic=105376.0

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #8 on: February 07, 2013, 05:33:45 pm »

Try using SELECT_CASTE rather than CASTE. The way you have things right now, the creature would probably end up with two male and two female castes of the same name, which would then confuse the game. As such, you also don't need to add the FEMALE tag, and you don't need to re-add the male caste. So it should look like this...

   [SELECT_CASTE:FEMALE]
      [LAYS_EGGS]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
         [EGG_SIZE:80]
         [CLUTCH_SIZE:3:10]

AFAIK, the CHILD tag is binary. It can only be 1 or 0 and it indicates whether eggs hatch.

But don't quote me on that.
Nope. it's when they grow up, in years.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Vicious Bug

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #9 on: February 07, 2013, 05:39:25 pm »

Try using SELECT_CASTE rather than CASTE. The way you have things right now, the creature would probably end up with two male and two female castes of the same name, which would then confuse the game. As such, you also don't need to add the FEMALE tag, and you don't need to re-add the male caste. So it should look like this...

   [SELECT_CASTE:FEMALE]
      [LAYS_EGGS]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
         [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
         [EGG_SIZE:80]
         [CLUTCH_SIZE:3:10]

KK i'll try that thx ^^

AFAIK, the CHILD tag is binary. It can only be 1 or 0 and it indicates whether eggs hatch.

But don't quote me on that.
Nope. it's when they grow up, in years.

yeah i knew it... check Cave crocs. RAWs 
Spoiler (click to show/hide)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #10 on: February 07, 2013, 06:01:08 pm »

AFAIK, the CHILD tag is binary. It can only be 1 or 0 and it indicates whether eggs hatch.

But don't quote me on that.

oh god why must i be gone six hours a day :P
« Last Edit: February 07, 2013, 06:08:15 pm by Putnam »
Logged

Avelon

  • Bay Watcher
  • [ETHIC:INDULGE_IN_MYSTICISM:UNTHINKABLE]
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #11 on: February 07, 2013, 06:32:54 pm »

Aha! Teach me to take a sample from a single file. =P

oh god why must i be gone six hours a day :P

I'm trying to become an all-knowing guru like you but progress is being slowed by my organic components. :'(
Logged
Is God willing to prevent evil, but not able? Then he is not omnipotent.
Is he able, but not willing? Then he is malevolent.
Is he both able, and willing? Then whence cometh evil?
Is he neither able nor willing? Then why call him God? - Epicurus

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #12 on: February 07, 2013, 06:37:54 pm »

It mostly happened because I've spent a loooooooong time on the wiki

Vicious Bug

  • Bay Watcher
    • View Profile
Re: Game Keeps crashing after i edited raws
« Reply #13 on: February 08, 2013, 04:49:47 pm »

Yeah well... Im not sure if  SELECT_CASTE works corectly.. ::)

My error log is full of those, one for each bugs:
Spoiler (click to show/hide)

And the RAW:
Spoiler (click to show/hide)

I just want them to lays Eggs witout crashing my game  >:(
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Game Keeps crashing after I edited raws
« Reply #14 on: February 08, 2013, 05:04:05 pm »

The mistake you made before IIRC was to use CASTE:FEMALE twice.  The mistake you're making now it using it zero times.  SELECT_CASTE:FEMALE is failing because you're trying to use it to reference something that doesn't exist.

edit:  Well, now that I think twice about it, I'm less sure about how giant critters work, so, maybe never mind ^^  I still think that that reference something that doesn't exist is probably the symptom, but I can't keep track of all the copytags and gotos :/
« Last Edit: February 08, 2013, 05:12:38 pm by smakemupagus »
Logged
Pages: [1] 2