[Wip]Rigale V0.16c (Steam and DropBox) fixes + impro. start
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
I noticed the Cadaver and did get Scrolls and Items after I have worked on my Scavenger Skill, New Crash while attempting to save:
cromvar: cannot serialize table with metatable
stack traceback:
[C]: in function 'error'
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveState'
[string "GameObject.lua"]: in function 'saveState'
[string "Map.lua"]: in function 'saveState'
[string "GameMode.lua"]: in function 'saveGame'
[string "GameMode.lua"]: in function 'quickSave'
[string "GameMode.lua"]: in function 'keyPressed'
[string "Grimrock.lua"]: in function 'pollEvents'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
cromvar: cannot serialize table with metatable
stack traceback:
[C]: in function 'error'
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveValue'
[string "Script.lua"]: in function 'saveState'
[string "GameObject.lua"]: in function 'saveState'
[string "Map.lua"]: in function 'saveState'
[string "GameMode.lua"]: in function 'saveGame'
[string "GameMode.lua"]: in function 'quickSave'
[string "GameMode.lua"]: in function 'keyPressed'
[string "Grimrock.lua"]: in function 'pollEvents'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
Thanks for the report, it will help. I created quite a few tables for the faction system, something must have been obviously wrong.
did you try the faction system (talking to the zarchtons, saskatwan tribe) ?
Did you have the get hour bug ?
Launching the faction/dialogue system is easy, you just have to bump into a zarchton. Don't kill one, you would need to talk to an elder to improve your reputation again, and it could take ages ...
Elders spawn only in one place, and do not wander around.
They will respawn after some time, when they disappear through convo or fighting.
did you try the faction system (talking to the zarchtons, saskatwan tribe) ?
Did you have the get hour bug ?
Launching the faction/dialogue system is easy, you just have to bump into a zarchton. Don't kill one, you would need to talk to an elder to improve your reputation again, and it could take ages ...
Elders spawn only in one place, and do not wander around.
They will respawn after some time, when they disappear through convo or fighting.
A trip of a thousand leagues starts with a step.
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
the message means you were trying to store a value with a metatable, i.e. any instance of Component, Champion, GameObject, or some other "class".cromcrom wrote:Thanks for the report, it will help. I created quite a few tables for the faction system, something must have been obviously wrong.
(since setmetatable() isn't available in the grimrock scripting interface, you could never get this error by adding a metatable to a value yourself, since you can't set metatables in the first place; therefore getting this error always means you were trying to serialize something that you should never serialize)
you can save:
- booleans
- numbers
- strings
- functions (but read this if you intend to reference a function from more than one environment, even indirectly via a table)
- tables containing serializable values
you cannot save:
- anything with a metatable, which in the grimrock context, means any "object" or object reference
- anything else
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
Thanks a lot Minmay.
I have a very hard time understanding all this. Does it mean:
I try to save a game object within a table ?
I try to save a table within a game object ?
I declared a global variable within a function ?
It seems from the above report that it has to do with my cromvar script, right ?
I am quite puzzled. I checked, and didn't notice anything obvious.
I have a very hard time understanding all this. Does it mean:
I try to save a game object within a table ?
I try to save a table within a game object ?
I declared a global variable within a function ?
It seems from the above report that it has to do with my cromvar script, right ?
I am quite puzzled. I checked, and didn't notice anything obvious.
A trip of a thousand leagues starts with a step.
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
it means you tried to save a table with a metatable, exactly like the message says...
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
mmmmkay, i don't get it, but thanks anyways.
But I will take the time to go over everything you wrote, and try to understand things.
But I will take the time to go over everything you wrote, and try to understand things.
A trip of a thousand leagues starts with a step.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
Incoming in V0.8:
Did some heavy code/system cleaning, hopefully removing some old systems that were buggy. So hopefully going for a more and more stable mod.
I will go for the cadaver system: when a monster is killed, its cadaver is created. you have to interact with it to get the loot. This is to prevent the party receiving loot for a monster dying from natural causes far away...
Pickpocket system: you will be able to try to pick the pockets of humanoids.
You will have to arrive from behind. depending on the resutl, the humanoid might attack you, or be very angry and tell his tribe (reputation decrease), or nothing happens. Will provide a decent amount of coins.
If any ideas, you are welcome, I will work on this this evening, for a possible release later today.
Did some heavy code/system cleaning, hopefully removing some old systems that were buggy. So hopefully going for a more and more stable mod.
I will go for the cadaver system: when a monster is killed, its cadaver is created. you have to interact with it to get the loot. This is to prevent the party receiving loot for a monster dying from natural causes far away...
Pickpocket system: you will be able to try to pick the pockets of humanoids.
You will have to arrive from behind. depending on the resutl, the humanoid might attack you, or be very angry and tell his tribe (reputation decrease), or nothing happens. Will provide a decent amount of coins.
If any ideas, you are welcome, I will work on this this evening, for a possible release later today.
A trip of a thousand leagues starts with a step.
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
I noticed after training my Language skill to novice the next time I approached a Zarchaton they immediately attacked me, which was unusual because the previous time a Warrior gave me food. I actually managed to get into the Northern area and the Map said Unknown, I wasn't able to move or save but no crash.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: [Wip]Rigale V0.7 (introducing faction system) steam.
This area doesn't exist yet. As for the weird attack, there is an issue when sometimes, a zarchton will die, and the game will consider you killed him, thus turning the tribe hostile.
V0.8 released
V0.8 released
A trip of a thousand leagues starts with a step.
Re: [Wip]Rigale V0.8 (introducing pickpocket system) steam.
Is getting better, less crashing, new crash before talking to Zarch.
Starting new game (Rigale V0.8 by Cromcrom)
Game started
=== Software Failure ===
mod_assets/scripts/crom_saskatwan.lua:144: attempt to index field 'brain' (a nil value)
stack traceback:
mod_assets/scripts/crom_saskatwan.lua:144: in function 'showSaskatwanDialogue'
mod_assets/scripts/crom_dialogues_initialization.lua:9: in function 'checkInitialization'
mod_assets/scripts/objects.lua:11: in function <mod_assets/scripts/objects.lua:9>
[string "Component.lua"]: in function 'callHook'
[string "Party.lua"]: in function 'enter'
[string "FSM.lua"]: in function 'setState'
[string "Party.lua"]: in function 'move'
[string "Party.lua"]: in function 'update'
[string "Map.lua"]: in function 'updateComponents'
[string "Map.lua"]: in function 'updateEntities'
[string "Dungeon.lua"]: in function 'updateLevels'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
Starting new game (Rigale V0.8 by Cromcrom)
Game started
=== Software Failure ===
mod_assets/scripts/crom_saskatwan.lua:144: attempt to index field 'brain' (a nil value)
stack traceback:
mod_assets/scripts/crom_saskatwan.lua:144: in function 'showSaskatwanDialogue'
mod_assets/scripts/crom_dialogues_initialization.lua:9: in function 'checkInitialization'
mod_assets/scripts/objects.lua:11: in function <mod_assets/scripts/objects.lua:9>
[string "Component.lua"]: in function 'callHook'
[string "Party.lua"]: in function 'enter'
[string "FSM.lua"]: in function 'setState'
[string "Party.lua"]: in function 'move'
[string "Party.lua"]: in function 'update'
[string "Map.lua"]: in function 'updateComponents'
[string "Map.lua"]: in function 'updateEntities'
[string "Dungeon.lua"]: in function 'updateLevels'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk