[Fixed]1.8.5 config lost on saving scene

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

[Fixed]1.8.5 config lost on saving scene

Postby Kilinich » Sat Feb 05, 2011 10:28 am

Edit: (by tatt61880 on 2011.09.11 13:00)
Fixed in v1.9.9.9b. Thanks :clap:
-Tatt
----

Algodoo can't read config if script with objects used.

How to reproduce:
1) New scene
2) Open console, type scene.my.var = [scene.addBox({})]
3) Close algodoo
4) Run algodoo

as you can see - config is lost (not even reset)

Code: Select all
---------------------------------------
  Algodoo v1.8.5, Win32
  February 05 2011, 11:24:55
---------------------------------------
11:24:55: argv[0] == "C:\Program Files (x86)\Algodoo\Algodoo.exe"
11:24:55: Looking for stored registration info...
11:24:55: Loading language English...
11:24:55: Looking for DCS API...
11:24:55: No tablet found (or Wintab32.dll missing)
11:24:55: Parsing Algodoo/autoexec.cfg...
11:24:55: Parsing Algodoo/config.cfg...
11:24:55: -- Warning: Caught exception: line 408 ';': Missing ,, Source\script\Parser.cpp:207: class SharedPtr<class script::CodeBlock> script::Parser::Parse(const class std::vector<class script::Token,class std::allocator<class script::Token> > &,class SharedPtr<class script::Reflected>)
11:24:55: Creating window, size=[1024, 768], fullscreen=false
11:24:56: 24 resources loaded
11:24:56: Window created.
11:24:56: Initializing thread-pool...
11:24:56: Prefetching resources...
11:24:57: Creating GUI...
11:24:57: AppGUI::LoadScene "_ONEXITSAVE.phz", automatic = true
11:24:57: Loading Algodoo/scenes/_ONEXITSAVE.phz...
11:24:57: -- Warning: Caught exception: line 37 ';': Missing ,, Source\script\Parser.cpp:207: class SharedPtr<class script::CodeBlock> script::Parser::Parse(const class std::vector<class script::Token,class std::allocator<class script::Token> > &,class SharedPtr<class script::Reflected>)
11:24:57: Loaded scene Algodoo/scenes/_ONEXITSAVE.phz
11:24:57: Running program...
11:24:57: OpenGL vendor ATI Technologies Inc.
Last edited by tatt61880 on Sun Sep 11, 2011 6:00 am, edited 1 time in total.
Reason: Fixed!
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.8.5 config lost on saving scene

Postby Kilinich » Sat Feb 05, 2011 10:37 am

Yea, and the same with saved scene, if scene.my. contain any objects in [] list algodoo failed to load such scene file.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.8.5 config lost on saving scene

Postby emilk » Thu Aug 25, 2011 1:41 pm

Will be fixed
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests