Pages: 1
unknown object |
Posted on 08-29-12, 05:07 am (rev. 1 by unknown object on 08-29-12, 05:07 am)
|
Buzzy Beetle
I am UO, not UFO. Karma: 314 Posts: 335/393 Since: 08-28-11 |
revision: b335 |
Piranhaplant |
Posted on 08-29-12, 03:52 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 493/785 Since: 06-28-11 |
What the... I testing this thing and it works. Can you give me the top part of the more details section (not the part with loaded assemblies)?
|
unknown object |
Posted on 08-30-12, 11:15 am
|
Buzzy Beetle
I am UO, not UFO. Karma: 314 Posts: 338/393 Since: 08-28-11 |
Here,
Also translated version. Note: My editor's name is NSMBe52 because I need to avoid the firewall. _________________________ NSMB6: Beta Testers Wanted!!! |
Piranhaplant |
Posted on 08-30-12, 12:43 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 494/785 Since: 06-28-11 |
Weird, I don't know why you were getting an error there. It should be fixed, so grab the latest version from the downloads page and let me know if it works.
|
MarioSunshine |
Posted on 09-02-12, 02:29 am
|
Fuzz Ball
KirbyFanatic64 (LOL) Karma: 1386 Posts: 464/950 Since: 11-13-11 |
I also get this error in r335. So it's a bug, I think.
_________________________
Great games must be fun, not fancy.
Music Hacker needed! PM me if you wish!
|
Piranhaplant |
Posted on 09-02-12, 02:36 am
|
Fuzzy
Full mod Karma: 1183 Posts: 497/785 Since: 06-28-11 |
Posted by MarioSunshine I also get this error in r335. So it's a bug, I think. Could you try it in build 336? I think it's fixed, but I'm not getting the error myself, so I can't confirm. |
unknown object |
Posted on 09-02-12, 09:20 am
|
Buzzy Beetle
I am UO, not UFO. Karma: 314 Posts: 349/393 Since: 08-28-11 |
The error is fixed but my listbox don't shows anything.
Why? _________________________ NSMB6: Beta Testers Wanted!!! |
MarioSunshine |
Posted on 09-02-12, 02:08 pm (rev. 1 by MarioSunshine on 09-02-12, 02:10 pm)
|
Fuzz Ball
KirbyFanatic64 (LOL) Karma: 1386 Posts: 467/950 Since: 11-13-11 |
Posted by unknown object The error is fixed but my listbox don't shows anything. Why? He he, me too. I think we're like bro, aren't we? _________________________
Great games must be fun, not fancy.
Music Hacker needed! PM me if you wish!
|
Piranhaplant |
Posted on 09-02-12, 03:11 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 499/785 Since: 06-28-11 |
OK, I hope this is a stupid question. Do you have the file behaviors.txt in the same directory and the NSMBe executable and if so, does it contain text that looks like this: +Basic
00 00 00 00 = Walkable
00 00 01 00 = Solid
00 00 00 80 = Solid on top
00 10 01 00 = Icy solid
+Special
00 60 01 00 = Horizontal rope
00 A0 00 00 = Vertical pole
04 00 00 10 = Lava (instant death) The file should come with the NSMBe download, but this is the only reason I can think of for why this bug would happen. |
MarioSunshine |
Posted on 09-02-12, 03:18 pm
|
Fuzz Ball
KirbyFanatic64 (LOL) Karma: 1386 Posts: 468/950 Since: 11-13-11 |
It comes, with exactly those texts, but....
_________________________
Great games must be fun, not fancy.
Music Hacker needed! PM me if you wish!
|
Piranhaplant |
Posted on 09-02-12, 04:26 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 500/785 Since: 06-28-11 |
Man, this is a really stupid problem. I can't understand why it would happen for you guys, but not for me. I've tried one last thing to fix it, it will now output an error message if there is problem reading the descriptions file. Please retest this on build 337 and tell me if it works or if you get an error message.
|
MarioSunshine |
Posted on 09-03-12, 02:46 pm (rev. 1 by MarioSunshine on 09-03-12, 02:48 pm)
|
Fuzz Ball
KirbyFanatic64 (LOL) Karma: 1386 Posts: 475/950 Since: 11-13-11 |
Posted by Piranhaplant Man, this is a really stupid problem. Yes, you're absolutely right. But not only the problem, also the solution!!!!! How to solve: Copy a behaviors.txt into your desktop. Fixed. That's it. This bug issues fixed for r336. Also r337. Thanks to: Posted by Piranhaplant It will now output an error message _________________________
Great games must be fun, not fancy.
Music Hacker needed! PM me if you wish!
|
Piranhaplant |
Posted on 09-03-12, 02:54 pm
|
Fuzzy
Full mod Karma: 1183 Posts: 506/785 Since: 06-28-11 |
Oh, so NSMBe was trying to read the file from the wrong location. It must have been since I was loading the file as "behaviors.txt" instead of "./behaviors.txt". This will be fixed in the next build whenever I upload that.
|
Dirbaio |
Posted on 09-04-12, 12:38 am
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 2429/4458 Since: 06-08-11 |
I think "behaviors.txt" is the same as "./behaviors.txt".
The problem is that both refer to the "working directory" instead of the directory NSMBe5.exe is in. In most cases both are the same. But in some cases, it's not. If you start NSMBe with a link from the desktop, or associate .nds files to it and doubleclick a .nds, the working directory is NOT set to the dir with the .exe! This also happens with spritedata.txt We should get the path to the .exe and find the files relative to it, somehow. |
Piranhaplant |
Posted on 09-04-12, 01:03 am (rev. 1 by Piranhaplant on 09-04-12, 01:16 am)
|
Fuzzy
Full mod Karma: 1183 Posts: 507/785 Since: 06-28-11 |
Oh, I didn't know that's how it works. I looked it up and this snippet should work to get a file relative to the executable System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Application.ExecutablePath), "spritedata.txt") I'll replace anything in NSMBe that needs this and finally this bug will be fixed Edit: Actually I didn't realize this was there, but it's a more efficient way of doing it System.IO.Path.Combine(Application.StarupPath, "spritedata.txt")
|
Pages: 1