Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Shroom> I have a problem
- I can't proceed from Episode 1 to Episode 2 in MaGLX2, because for some reason my stars are not carried over when entering the Section 9 door from Episode 1
- after some talk with Horikawa it turned out that I don't have any luadata files in my worlds folder
- the ones that look like the following https://cdn.discordapp.com/attachments/274137142534471682/274313466024689665/maglx2.png
- <Enjl> doesn't maglx2 create them though
- <Shroom> doesn't look like it does for me, maybe that's the bug
- they're not something you could put into a separate zip I could download?
- <Enjl> no because they store the data of how many stars you have
- i don't know which ones you have
- so i can't do that
- (which ones is important too)
- <Shroom> 128, all from Episode 1
- <Enjl> it's probably an one-line fix
- yes but WHICH 128
- <Shroom> they're split among all tiers 00-08?
- <Enjl> all stars from those tiers no exceptions?
- <Shroom> ... do I need all?
- <Enjl> no that's why im asking
- cause
- if i were to go through the game and get you the data files
- i'd have to collect the exact stars you have
- btw the data class files are made as soon as you start the episode
- i just checked
- are both maglx1 and maglx2 in the worlds folder?
- <Shroom> always been
- <Enjl> go into windows explorer and search for "MAGLX2Global"
- <Shroom> no results
- <Enjl> hrn
- go into lunaworld for maglx2 episode 1
- <Shroom> what is lunaworld?
- <The0x539> the global lua script
- <Enjl> MaGLX2 Episode 1/lunaworld.lua
- then take a screenshot of like the first 15 lines or so
- <The0x539> or a pastebin
- <Shroom> opened it and the formatting is horrible
- thank you Windows 7
- but pastebin does the job http://pastebin.com/tf6kPYu8
- <Enjl> 2 things
- 1) rename onLoad to onStart
- 2) remove lines 34 and 36
- see if that changes anything
- but like
- local gdata = loadSharedAPI("MAGLX2Global")
- this line initiates the global data file
- wait before you do the other thing
- go into MAGLX2Global.lua
- and pastebin that
- <Shroom> local encrypt = loadSharedAPI("encrypt")
- local gdata = encrypt.Data(Data.DATA_GLOBAL, "MAGLX2Global", true)
- return gdata
- that's all
- <Enjl> it SHOULD create the file
- even if it's empty it should at least exist?!?
- i have the same lunaworld and maglx2global files as you and i have a save in my worlds folder :/
- <Shroom> done what you said with the lunaworld file
- <Enjl> alright so tbh i have no idea what's going on with your file :S
- if the thing doesn't fix it (which I assume), the next best thing to try is debugging the code properly
- by using Text.windowDebug(tostring(myVariable)) (replace myVariable with what you want to debug) in different parts of the code
- for example in the checkSettings function to see if it's being run
- <Shroom> well rn it has resulted into a desaster :>
- <Enjl> what did you doooo
- gimme line 15
- and line 14
- <Shroom> if gdata:get("MaGLX2HubToggleMountFilter") == nil then gdata:set("MaGLX2HubToggleMountFilter", 1)
- <Enjl> just pastebin the code again please i don't see what's wrong here
- good news tho
- the code definitely runs :p
- <Shroom> http://pastebin.com/tf6kPYu8
- <Enjl> maybe that's bad news too...
- am i blind or something what the hell is wrong in line 15?!!?
- <Rednaxela> looks to me like what's in that pastebin, could not possibly have been the code that was in the file that error was about
- <Enjl> but that is the lunaworld?!?
- <Shroom> yes
- only "onLoad" changed to "onStart" and the if-loop at line 34/36 removed
- <Enjl> as a test
- <Hoeloe> That cannot be the file that is producing that error(edited)
- <Horikawa Otane> I have no idea what is wrong with his installation
- My guess is he messed around with stuff or did a weird installation OVER beta 2 or something
- Even then though
- It SHOULD work
- I have no idea what is going on with his computer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement