Vague debug log- need help!

Freeform discussion about anything related to modding Transcendence.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

So I'm off modding and there's this one error I keep getting but I have no clue why.
The point of the mod was to make some space-zombies, but I keep getting this error:

Code: Select all

program state: OnAnimate
program state: updating object behavior
obj class: CShip
obj name: Flooded
obj pointer: 2cf12e0
CStandardShipAI
Order: 14
m_State: 3
m_pDest: none
m_pTarget: 2cf0518 Ranx gunship (CShip)
m_pNavPath: none
game state: in game
Any thoughts why this happens?'
Here's a slightly outdated version of the mod: Ice-nine
The things I'm suspecting are the flood spore launcher and the <infest> event on the &ovFlood; overlay.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

edit
Last edited by shanejfilomena on Mon Jun 13, 2011 6:03 pm, edited 3 times in total.
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

edit
Last edited by shanejfilomena on Mon Jun 13, 2011 6:02 pm, edited 1 time in total.
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

out of curiosity, is this an error you get immediately on load of the savegame, following the first crash?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

No. It's when I use the zombie weapon to zombiefy the ships, then the crash happens "On Update" (Whatever that means) and always has a zombie ship referenced on the debuglog.
The crash happens about an hour or so into the game, depending on how fast the infection rate is. (5 minutes minimum and an hour max)
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

on update is a 30 to 60 tick of the AI : using anything too liberally that pushes that call can cause problems RE :
http://wiki.neurohack.com/transcendence ... ]=onupdate "The OnUpdate event for an item is called once every 30 ticks on every object that carries the item. Use this event sparingly because it will impact performance. "
and I still DO know where to get the answers!!!!...I just have a cluttered mind, srry. but that code 14 is still an auton message to the player: I get that when I am trying to do Auton ideas. ( unless it applies to other things as well, bjut its a common event when my idea of " progress" is crashing the game with trying complicated stuff I am not really any good at )
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Shanej: Can you tell me what message 14 is? If it 'attackNearestEnemy, maybe the infected ship is trying to attack a ship that is already destroyed?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

Code 14 is a message to the playership from an auton : most used when the auton replies to the player or tells the player a welcome message....or any message to a player ( i even got it when I tried to create the Morgan LTD Cruiser: but I fixed that by accident )

Many of your Messages in DySy don't work for me either :) I never get them but I know they are there : and what was "Up" with the Ranx Outpost creating on top of the Star? thats cheating for their team!!!!
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

yeah, For some reason, maybe 1% of the time, the station is created at the center of the star instead of the old location. Don't know, why, 'cause it works 99% of the time. :(
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

You could put a check for a location of nil and they would abandon the station ~1% of the time instead.
Literally is the new Figuratively
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Surprisingly, it never returns nil-- I think that you can't recreate the station when a player has left a system, so it creates the station at the sun instead of where it normally is.
I'm trying to stop it from respawning when the player leaves, and resuming when the player returns.

Dunno if this hypothesis is true though. I'll need more experimentation.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

If at any point you try to reference an object (you know what I mean, an objStruct) thatexists in another system, you will have a hard crash. Only ever reference fresh bjects in the current system. I am not certainthat is your probem, but I thought it might be worth knowing.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Um... I used ObjSetData to store the previous station's location, sovereign and position.
Here's a copy of station respawn code if it helps:
Why do stations respawn at the sun?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

you could dbglog the oldstationlocation in your reconstruction event and see if it is ever nil... if it is, then start working your way backwards to find out what causes it.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Why do stations respawn at the sun?
I suspect that you are trying to do this:
(setq pos (sysVectorPolarOffset gSource (random 0 360) (random 800 1200)))
when gSource is already a destroyed station, so it causes the respawning to happen at the center of the system (on the sun)
Post Reply