DSE Period Not Defined and StoreModule Object Error [self solved]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
TheChatotMaestro
Regular
Posts: 91
Joined: Mon Jul 31, 2017 8:33 am
Deviantart: LedianWithACamera
Contact:

DSE Period Not Defined and StoreModule Object Error [self solved]

#1 Post by TheChatotMaestro » Sun Sep 03, 2017 7:20 pm

I figured this out so I might as well put my solution here.

Original code:
python:
stats

periods

Error: period not defined
Fix: change python to init python

Fixed code:
init python:
stats

periods

Error: Storemodule object error
Fix: move it to a python block

TOTAL FIX:
python:
stats
init python:
periods

hope this helps anyone having this error
Last edited by TheChatotMaestro on Mon Sep 04, 2017 3:15 pm, edited 2 times in total.

TheChatotMaestro
Regular
Posts: 91
Joined: Mon Jul 31, 2017 8:33 am
Deviantart: LedianWithACamera
Contact:

Re: DSE StoreModule Error

#2 Post by TheChatotMaestro » Mon Sep 04, 2017 11:05 am

deleted

Post Reply

Who is online

Users browsing this forum: Google [Bot]