Problems with the save system

So, I am trying to implament the save system correctly, but seem to have run into an issue.

Right now, mystartup.text file looks like this:

*Author Alpha 1 1 7, compiled through reports of Outcast dead member, Alpha 1 1 4.
*Scene_list
	startup
	candle
	waken
	unit
	phone call
	ironblood
	core
	bloodsworn
	crate
	next_chapter
	drive
	driver
	greywatch
	bloodbonded
*Comment TODO, ETC
*Comment stat_page_variables
*Create selectible_if 1
*Create stat_page 0
*Create anty_repeat 0
*Comment personality
*Create heart 50
*Create mind 50
*Create shigh 50
*Create bold 50
*Create genuine 50
*Create sarcastic 50
*Create team_player 50
*Create independent 50
*create breaks_rules 50
*create follows_rules 50
*Create reserved 50
*Create expressive 50
*Create friendly 50
*create stoic 50
*create charming 50
*create intimidating 50
*create easyGoing 50
*create stubborn 50
*create impulsive 50
*create cautious 50
*create humanity 100
*create str 10
*create dex 10
*create con 10
*create int 10
*create wis 10
*create char 10
*create wp 10
*create combat 10
*create people 10
*create perception 10
*create tech 10
*comment mc_variables
*create mc_first ""
*create MC_surname ""
*create MC_fullname ""
*create mc_title "Seeker"
*create mc_rank "Auxilia"
*create mc_familiel ""
*create mc_eyecolor ""
*create mc_skincolor ""
*create mc_hairlength ""
*create mc_haircolor ""
*create mc_hairstyle ""
*create no_beard true
*create wants_beard true
*create mc_beardlength ""
*create mc_beardcolor "{mc_haircolor}"
*create no_breasts true
*create wants_breasts true
*create mc_breastsize ""

*create mc_build ""
*create mc_fidget ""
*create mc_tick_hair false
*create mc_tick_hands false
*create mc_tick_pulse false
*create mc_tick_rock false
*create fidget ""
*create mc_height ""
*create mc_orientation ""
*create o1 false
*create o2 false
*create mc_they ""
*create mc_them ""
*create mc_theirself ""
*create mc_their ""
*create mc_theirs ""
*create mc_person ""
*create mc_gender ""
*create mc_nickname ""
*create mc_little ""
*comment wat
*create wat_they ""
*create wat_them ""
*create wat_theirself ""
*create wat_their ""
*create wat_theirs ""
*create wat_person ""
*create wat_gender ""
*create wat_nickname ""
*create wat_little ""

*comment relationships
*create t_relationship 50
*create l_relationship 50
*create n_relationship 50
*create d_relationship 50
*create j_relationship 53
*create z_relationship 53
*create f_relationship 50
*create c_relationship 48
*create em_relationship 50
*comment highest_calc
*create relationship_counter 1
*create highest_relationship ""
*create highest_relationship_stat 0
*create relationship_name_1 "t_relationship"
*create relationship_1 0
*create relationship_name_2 "l_relationship"
*create relationship_2 0
*create relationship_name_3 "n_relationship"
*create relationship_3 0
*create relationship_name_4 "d_relationship"
*create relationship_4 0
*create total_relationships 4
*comment t_variables
*create t_name ""
*create t_surname ""
*create t_fullname ""
*create t_rank "Commanding agent"
*create t_official_rank "commanding agent, infiltration specialist"
*create t_title "godhunter"
*create t_nickname "sunshine"
*create t_eyecolor "golden brown"
*create t_hairlength "non-applicable"
*create t_haircolor "golden brown"
*create t_hairstyle "shaved"
*create t_accent "Light Arabic"
*create t_skincolor "tauni"
*create t_build "compact"
*create t_gender ""

*create t_scent "jasmine"
*create t_gender_title ""
*create t_familiel ""
*create t_they ""
*create t_them ""
*create t_their ""
*create t_theirself ""
*create t_theirs ""
*create t_person ""
*create t_height "5-foot 3"
*comment L_stats
*create L_name ""
*create L_surname "LaMorgan"
*create L_fullname ""
*create l_official_rank " senior Agent, information specialist"
*create l_rank "senior agent"
*create l_title "keeper"
*create l_nickname "bossy"
*create l_eyecolor "Sapphire blue"
*create l_hairlength "midback-length"
*create l_haircolor "deep red"
*create l_hairstyle "straight"
*create l_height "6-foot 4"
*create l_build "lithe"
*create l_accent "British"
*create l_skincolor "pale"
*create l_scent " a warm summer day"
*create l_gender_title ""
*create L_they ""
*create L_them ""
*create L_their ""
*create L_theirs ""
*create L_theirself ""
*create L_gender ""
*create L_person ""
*comment Victoria
*create n_name ""
*create n_surname "blackrose"
*create n_fullname ""
*create n_official_rank " specialist Agent, Interrogation specialist."
*create n_rank "Agent"
*create n_title "liquidator"
*create n_scent "peppermint"
*create n_accent "Russian"
*create n_eyecolor "pale blue"
*create n_hairlength "shoulder-length"
*create n_haircolor "brown"
*create n_hairstyle "kirley"
*create n_height "6 feet tall"
*create n_build "heavaly muscled"
*create n_skincolor "tan"
*create n_petname "Skippy"
*create n_gender ""
*create n_person ""
*create n_gender_title ""
*create n_they ""
*create n_them ""
*create n_their ""
*create n_theirs ""
*create n_theirself ""
*comment Allison/Alex
*create d_name ""
*create d_surname ""
*create d_fullname ""
*create d_rank "Junior Agent"
*create d_official_rank "Junior Agent, Technical specialist"
*create d_title "Quartermaster"
*create d_nickname "techie"
*create d_eyecolor "gray"
*create d_hairlength "short"
*create d_haircolor "cobalt blue"
*create d_hairstyle "bob"
*create d_skincolor "caramel"
*create d_height "5-foot 6"
*create d_build "wiry"
*create d_accent "French"
*create d_scent "sunshine and rainbows"
*create d_gender_title ""
*create d_familiel ""
*create d_little ""
*create d_nickname_l ""
*create d_they ""
*create d_them ""
*create d_their ""
*create d_theirs ""
*create d_theirself ""
*create d_gender ""
*create d_person ""
*comment Julia
*create j_name "Julia"
*create j_surname "Marwolaeth"
*create j_fullname "Julia Marwolaeth"
*create j_familiel "Julie"
*create j_height "short"
*create j_hairlength "short"
*create j_haircolor "brown"
*create j_hairstyle "buzzcut"
*create j_skincolor "tanned"
*create j_eyecolor "steel blue"
*create j_accent "unknown"
*create j_they "she"
*create j_them "her"
*create j_their "her"
*create j_theirs "hers"
*create j_theirself "herself"
*create j_person "woman"
*create j_gender "female"
*comment Fadrin
*create f_name "Fadrin"
*create f_nickname "shortstack"
*create f_height "4-foot 6"
*create f_skincolor "pale blue"
*create f_eyecolor "green"
*create f_hairstyle "balled"
*create f_accent "Manhattan"
*create f_they "he"
*create f_them "him"
*create f_their "his"
*create f_theirs "his"
*create f_theirself "himself"
*create f_person "man"
*create f_gender "male"
*create friend_f 0
*create z_name "Tallos"
*create z_gunname "Victoria"
*create z_height "8-foot 6"
*create z_build "heavily-muscled"
*create z_gender "male"
*create z_person "man"
*create z_eyecolor "blood red"
*create z_skincolor "dark blue"
*create z_hairstyle "balled"
*create z_accent "German"
*create z_they "he"
*create z_them "him"
*create z_theirself "himself"
*create z_their "his"
*create m_name "Malloc"
*create m_height "7 feet"
*create m_person "man"
*create m_gender "male"
*create m_eyecolor "bone-white"
*create m_build "gaunt"
*create m_hairlength "short"
*create m_haircolor "brown"
*create m_hairstyle "buzzcut"
*create m_they "he"
*create m_them "him"
*create m_their "his"
*create m_theirs "his"
*create m_theirself "himself"
*create c_name "Cassy"
*create c_surname ""
*create c_fullname "Cassy"
*create c_familiel ""
*create c_gender "female"
*create c_eyecolor "ocean green"
*create c_height "4-foot 9"
*create c_little"daughter"
*create c_they "she"
*create c_their "her"
*create c_theirs "hers"
*create c_theirself "herself"
*create c_person "girl"
*create c_build "slender"
*create c_haircolor "black"
*create c_hairlength "short"
*create c_hairstyle "spiked"
*create e_name "Ember"
*create e_gender "female"
*create e_person "woman"
*create e_they "she"
*create e_their "her"
*create e_them "her"
*create e_theirself "herself"
*create e_theirs "hers"
*create wh_name ""
*create wh_title "Warhound"
*create wh_they""
*create wh_gender ""
*create wh_their ""
*create wh_theirs ""
*create wh_theirself ""
*create wh_them ""
*create wh_person ""
*create wh_height "tall"
*create wh_build "muscular"
*create wh_eyecolor "grey"
*create wh_hairlength "short"
*create wh_haircolor "brown"
*create wh_hairstyle "un-styled"
*comment Ling
*create li_name "ling"
*create li_surname ""
*create li_fullname ""
*create li_gender ""
*create li_they ""
*create li_them""
*create li_their ""
*create li_theirs ""
*create li_theirself""
*create li_person ""
*create li_eyecolor "iron grey"
*create li_hairlength "shoulder-length"
*create li_haircolor "obsidian black"
*create li_build "lean"
*comment binary variables
*create no_surname false
*create mc_name false
*create either false
*create mc_balled false
*create charge_phone false
*create nb false
*create nb1 false
*create nb2 false
*create flirt_t_bold 0
*create flirt_t_expressive 0
*create flirt_t_reserved 0
*create friend_t 0
*create flirt_l_bold 0
*create flirt_l_expressive 0
*create flirt_l_reserved 0
*create friend_l 0
*create flirt_n_bold 0
*create flirt_n_expressive 0
*create flirt_n_reserved 0
*create friend_n 0
*create flirt_d_bold 0
*create flirt_d_expressive 0
*create flirt_d_reserved 0
*create friend_d 0
*create handler_info false
*create housecoat_t false
*create rabbit_t false
*create faceburn_t false
*create housecoat_l false
*create blush_shower_l false
*create mc_tight_l false
*create mc_swamped_l false
*create housecoat_n false
*create rabbit_n false
*create invite_n false
*create perhaps_n false
*create rueful_n false
*create mc_loose_n false
*create housecoat_d false
*create rueful_d false
*create mc_tight_d false
*create t_goodbuild false
*create t_goodheight false
*create l_goodbuild false
*create l_goodheight false
*create n_goodbuild false
*create n_goodheight false
*create d_goodbuild false
*create d_goodheight false
*create anger_doorsmash false
*create cover_a true

*create n_happy false

*create d_rueful false
*create l_situation false
*create l_rueful false
*create d_facemelt false
*create d_burned false
*create no_headpats false
*create angry_n false
*create no_touch_t false
*create purge false
*create sweater false
*create sinibun false
*create j_punched false
*create vomit_t false
*create vomit_l false
*create vomit_n false
*create vomit_d false
*create attempt_t false
*create attempt_l false
*create attempt_n false
*create attempt_d false
*create thank_housecoat false
*create t_intro false
*create l_intro false
*create n_intro false
*create d_intro false
*create no_interact_t false
*create no_interact_l false
*create no_interact_n false
*create no_interact_d false
*create d_happy false
*create lie_l false
*create d_burn false
*create birdy false
*create flirt_doc false
*create sit_d false
*create sit_l false
*create sign_t_help false
*create sign_l_help false
*create sign_n_help false
*create sign_d_help false
*create d_fireball false
*create t_phone false
*create l_phone false
*create n_phone false
*create d_phone false
*create t_smile false
*comment MC says they will get smile from.
*create d_password false
*create accept_t_help false
*create accept_l_help false
*create accept_n_help false
*create accept_d_help false
*create l_oath false
*create bill false
*create hug_t false
*create hug_l false
*create hug_n false
*create hug_d false
*create walk_t false
*create t_unlikely false
*comment will come into affect if T's romance path is taken, their first assumptions on something happening between her and the MC.
*create challenge false
*comment A challenge to see if the MC can change ${t_name}'s mind. Will come into affect only if their romance path is taken.
*create t_microscope false
*create run false
*create t_senses false
*create t_drinks false
*create t_warning false
*create ask_t_teach_blade false
*create ask_t_teach_shadow false
*create excitement_t false
*comment excited about being told how MC might die.
*create think_t_offer false
*create walk_l false
*create l_oath1 false
*create  joke_l false
*create walk_n false
*create n_game false
*create n_heart false
*create walk_d false
*create d_hat false
*create flirt_t_sleep false
*create flirt_l_sleep false
*create flirt_n_sleep false
*create flirt_d_sleep false
*create l_hands false
*create hang_d_arm false
*create l_magic false
*create d_shirt false
*create d_fireballs false
*create d_fields false
*create l_field false
*create d_angry false
*create ask_t_lamp false
*create t_mortafide false
*create t_take_crate false
*create l_take_crate false
*create n_take_crate false
*create d_take_crate false
*create l_sleepy false
*create n_sleepy false
*create d_sleepy false
*create choose_t_walk false
*create choose_l_walk false
*create l_reaction false
*create likes_mint false
*create n_pragmatic false
*create n_sentimental false
*create d_kiss_surprise false
*create l1 false
*create l2 false
*create likes_otemeal false
*create dislikes_otemeal false
*create t_food false
*create l_food false
*create n_food false
*create d_food false
*create mc_dence false
*create n_familiel false
*create d_reject false
*create d_pillow false
*create d_ignore false
*create t_sit false
*create l_sit false
*create n_sit false
*create d_sit false
*create unit_desc false
*create best_friend_t false
*create best_friend_l false
*create best_friend_n false
*create best_friend_d false
*create bloodbonded_t false
*create bloodbonded_l false
*create bloodbonded_n false
*create bloodbonded_d false
*create treebranch false
*create blade false
*create left_hand false
*create right_hand false
*create light false
*create alpha_testing false
*create hold_rat false
*create punched_rat false
*label definition
*if (alpha_testing) =true
	*goto variables
*else
	*goto_scene candle notes
*label variables
*comment characters_genders
*comment Alnasl
*set t_name "Alnasl"
*set t_surname ""
*set t_fullname "Alnasl"
*set t_gender "female"
*set t_gender_title "MS"
*set t_familiel "mommy"
*set t_they "she"
*set t_them "her"
*set t_their "her"
*set t_theirs "hers"
*set t_theirself "herself"
*set t_person "woman"
*comment Gwenid
*set l_name "Gwenid"
*set l_surname "La-Morgen"
*set l_fullname "${l_name} ${l_surname}"
*set l_they "she"
*set l_them "her"
*set l_their "her"
*set l_theirs "hers"
*set l_theirself "herself"
*set l_gender "female"
*set l_gender_title "MS"
*set l_person "woman"
*comment Artemis
*set n_name "Victoria"
*set n_gender "female"
*set n_gender_title "MS"
*set n_familiel "sister"
*set n_person "woman"
*set n_they "she"
*set n_them "her"
*set n_their "her"
*set n_theirs "hers"
*set n_theirself "herself"
*comment Allison
*set d_name "Hanna"
*set d_surname "Ravenwood"
*set d_fullname "Hanna Ravenwood"
*set d_they "she"
*set d_them "her"
*set d_their "her"
*set d_theirs "hers"
*set d_theirself "herself"
*set d_gender "female"
*set d_gender_title "MS"
*set d_person "woman"
*set d_little "girl"
*set wh_title "Warhound"
*set wh_name "Gretta"
*set wh_they "she"
*set wh_theirself "herself"
*set wh_them "her"
*set wh_their "her"
*set wh_theirs "hers"
*set wh_person "woman"
*set wh_gender "female"
*comment ling
*set li_name "ling"
*set li_gender "female"
*set li_they "she"
*set li_them "her"
*set li_their "her"
*set li_theirs "hers"
*set li_theirself "herself"
*set li_gender "female"
*set li_person "woman"
*comment mc_variables
*set mc_first "Jason"
*set mc_surname "Stone"
*set mc_fullname "${mc_first} ${mc_surname}"
*set mc_rank "Auxilia"
*set mc_gender "male"
*set mc_they "he"
*set mc_their "his"
*set mc_them "him"
*set mc_little "boy"
*set mc_theirself "himself"
*set mc_theirs "his"
*set mc_person "man"
*comment wat
*set wat_gender "male"
*set wat_they "he"
*set wat_their "his"
*set wat_them "him"
*set wat_little "boy"
*set wat_theirself "himself"
*set wat_theirs "his"
*set wat_person "man"
*comment binary_variables

*set mc_tick_hair false
*set mc_tick_hands false
*set mc_tick_pulse false
*set mc_tick_pulse false
*set mc_tick_rock false
*set no_surname false
*set mc_name false
*set either false
*set mc_balled false
*set charge_phone false
*set housecoat_t true
*set rabbit_t false
*set faceburn_t false
*set housecoat_l false
*set blush_shower_l false
*set mc_tight_l false
*set mc_swamped_l false
*set housecoat_n false
*set rabbit_n false
*set invite_n false
*set perhaps_n false
*set rueful_n false
*set mc_loose_n false
*set housecoat_d false
*set t_goodheight false
*set t_goodbuild false
*set l_goodheight false
*set l_goodbuild false
*set n_goodheight false
*set n_goodbuild false
*set d_goodheight false
*set d_goodbuild false
*set anger_doorsmash true
*set cover_a false
*set n_happy false

*set d_rueful false
*set l_situation false
*set l_rueful false
*set d_facemelt false
*set d_burned false
*set no_headpats false
*set angry_n false
*set no_touch_t false
*set purge false
*set sweater false
*set sinibun false
*set j_punched false
*set vomit_t false
*set vomit_l false
*set vomit_n false
*set vomit_d true
*set attempt_t false
*set attempt_l false
*set attempt_n false
*set attempt_d false
*set thank_housecoat false
*set t_intro false
*set l_intro false
*set n_intro false
*set d_intro false
*set no_interact_t false
*set no_interact_l false
*set no_interact_n false
*set no_interact_d false
*set lie_l false
*set d_burn false
*set birdy false
*set flirt_doc false
*set sit_d false
*set sit_l false
*set sign_t_help false
*set sign_l_help false
*set sign_n_help false
*set sign_d_help false
*set d_fireball false
*set t_phone false
*set l_phone false
*set n_phone false
*set d_phone false
*set t_smile false
*set challenge false
*set run false
*set t_warning false
*set excitement_t false
*set walk_l false
*set l_oath1 false
*set joke_l false
*set walk_n false
*set n_game false
*set n_heart false
*set walk_d false
*set d_hat false
*set ask_t_teach_blade false
*set ask_t_teach_shadow false
*set flirt_t_sleep false
*set flirt_l_sleep false
*set flirt_n_sleep false
*set flirt_d_sleep false
*set l_hands false
*set hang_d_arm false
*set l_magic false
*set d_shirt false
*set d_fireballs false
*set d_fields false
*set l_field false
*set d_angry false
*set ask_t_lamp false
*set t_mortafide false
*set choose_t_walk false
*set choose_l_walk false
*set l_reaction false
*set likes_mint false
*set n_pragmatic false
*set n_sentimental false
*set d_kiss_surprise false
*set l1 false
*set l2 false
*set d_relationship +10
*goto test_file

*label test_file
*goto_scene waken t_door_confusion
*sm_init a warmth in the cold, volume 1|5



I think I know what’s wrong, that being that right now, the *sm_init {name} |5 without the {} of course, is placed in my test_file, which only counts if *alpha_testing =true, but I just want to confirm that that’s right, as well as confirmation on what to do to fix said.

Anyway, that’s it. I hope that I hear back from you soon, and till that point, I hope that who ever reads this has a good rest of their day.

There shouldnt be any spaces in the game identifier.

should be something like

*sm_init a_warmth_in_the_cold |5

1 Like

So, something like this, then?

*sm_init a_warmth_in_the_cold |5

Also, what’s the plus and dash buttons?

Also, does it matter that the full title of my book is: A warmth in the cold, volume 1?

I am slightly confused. Also, thanks for the solution.

1 Like

Yes

I’m not sure what you mean.

The compiler used the space character to diferentiate between parameters of a command.

The syntax for the sm_init command is

*sm_init [param1] | [param2]

Where param1 is the game’s unique identifier and param2 is the number of save slots. When you write your game id with spaces, you are confising the compiler into thinking that you are passing more than 2 parameters, which it can’t handle.

It does not matter what your game title is, what is important is that the id is unique enough so that no one uploading on dashingon choose it by accident. If you have the same id as another game, then ppl playing both games with have broke saves because the games will share the same files.

1 Like

So, when I play the game on Dashingdon, I have:

stats, restart, plus, dash. All buttons.
Also, it’s still saying (error: has sm_plugin been included?)

Currently, my save looks like this:

*sm_init a_warmth_in_the_cold_volume_1 |5

Also, just to confirm, the SM regards the title of the game, as in what’s written on the first line of startup.text?

There is also a checkbox you need to check in Dashingdon for your project, I believe. Did you do that?

The buttons should appear automatically when you’ve set up the save system properly.

It doesn’t care about your game’s title, just what you put in the sm_init command. Think it more like a URL.

1 Like

When I’m editing the games details there’s a checkbox about putting the game on the front page, but I don’t think that’s it. I have seen the save and load buttons a couple of times, but whatever I do there’s a notification in a little box thingy? Whatever it is, basically asking about the SM plug-in, and whether it was installed properly.

Edit, I found the checkbox that you were talking about, and yes, it is checked.

However, when I play the game on dashingdon, I still get:

Error: Bad Slot - Has smPlugin been included?
Although I do see the save/lode/delete buttons.

1 Like

There should be one that says “Use CJW’s smPluginMenuAddon? CJW’s smPlugin.js is enabled for all games but the menu addon can be enabled by checking this box”

1 Like

I just checked dashing Dawn, and yes I do see the box, and yes it is checked.
I also put a space between the bar and in this case five, just on the off chance that was messing it up. Still says error, bad slot, has SM plug-in been included?

As most things tend to be, it’s probably something that when I look back at it I will chuckle because it seems so small. Thank you all for all the assistance with this so far.

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.

So, currently for the save on startup I have:

*sm_init a_warmth_in_the_cold_volume_1 | 5

When I play the game on dashingdon, it says:

Error: bad slot: has SM plug-in been enabled?

As well as this, when I edit my game, when it says:

CJW’s adin in inabled for all games, but the menu adin can be enabled by checking this box, checkbox checked.

With that all now done, I am, I am currently unsure why the save system seems to be still giving me errors when I run the game.

image

Have you checked this box on dashingdon?

And have you saved and uploaded all of your text files to their most current version?

Also, you may want to shorten the sm_init title. It might be a little long. Not sure if that’s the problem.

If you’re talking about the box about the plug-in, that is checked, yes. As well as that, I have updated the file system to the most current version.
Granted, all I have really done with that particular file is messed with the SM underline save system variable thingy for a little while, but yes, they are fully updated.

Post the full code if you are able to.

1 Like

For the scene? I can do that.

Please find the dropbox link:

*goto_scene candle exit_final2
 *sm_init a_warmth_in_the_cold_volume_1 | 5

There’s your problem.

Choicescript goes to the candle scene and doesn’t trigger the *sm_init command. As soon as you leave the scene, it’s done. It’s not going to go back and trigger all the commands after it’s already left.

Also your indentation is messed up.

1 Like

OK, so change the position of the *sm_init command, but what do you mean my indentation is all messed up? On which part as well?

Refering to @will’s quote of your code, the *sm_init command needs to be its own little chunk of code on its own distinct line. The way it is, the indentation is basically saying, “Hey, this line is a detail of the previous line’s code.”