This site requires JavaScript, please enable it in your browser!
Greenfoot back
colorfulteen
colorfulteen wrote ...

2011/9/9

Internal factors at the Greenfoot site

1
2
colorfulteen colorfulteen

2011/9/9

#
Can anyone at Greenfoot please explain how it’s possible that the behavior of a scenario at this site changes caused by one or more internal factors at the Greenfoot site?
dothebone dothebone

2011/9/10

#
Hmm, does Greenfoot screw up scenarios? I noticed the same at TripleH. Allthough I wont imagine yet that Greenfoot is screwing up scenarios, there's allways the possibility to raise the question.
davmac davmac

2011/9/11

#
colorfulteen, what exactly do you mean?
colorfulteen colorfulteen

2011/9/11

#
Right, since a day or so, after losing a life in TripleH, or after changing levels, it just aint possible anymore to collect eggs nor grain.
davmac davmac

2011/9/12

#
I don't know why that would happen. There is some Greenfoot code that is on the server and not part of the scenario itself, and it does get updated when we release a new Greenfoot version, so it's not impossible that there is some change in that which introduced a problem. But it's odd that these problems only seem to affect scenarios by Herman. If we had the source code of the scenario, we could try and figure it out - perhaps it is a Greenfoot bug, or perhaps it is a bug in the scenario, but without the source code (or the code for a small self-contained example of the bug) it's impossible to say.
danpost danpost

2011/9/14

#
I am having issues, also. See my comment in ChessWorld (scenario 2899). I was un-able to make a link to the scenario page (each time I tried to create the link, my edit was canceled and I was re-directed back to the main Discuss page.
davmac davmac

2011/9/14

#
danpost, the ChessWorld scenario works fine for me online; I don't see the problem you described in your comment. Try to clear your Java plugin cache, and if that doesn't help, check the Java console for any exceptions (after the scenario stops). (And regarding make a link - do you mean that clicking "link" takes you away, and what web browser are you using? Do you have javascript enabled?)
danpost danpost

2011/9/14

#
davmac, I cleared Java plugin cache, ran the scenario (played to checkmate), pressed '/' for menu, selected 'reset game', tryed to play first move on reset board, scenario stopped; checked Java console, and saw a NullPointerException in Border.class act() method. I do not get that while running the scenario on my system. Also, ran the scenario (played one move), ... same results. (as far as clicking 'link', Not exactly! Clicking the 'link' shows the link input box, but anything typed moves the cursor but does not show the characters. Pressing the green button return to the Comment box (showing what I thought I had typed in the link input box with code, but immediately boots me out and returns me to the main Discuss page).
davmac davmac

2011/9/14

#
danpost, can you post the stack trace from the NullPointerException here?
Clicking the 'link' shows the link input box, but anything typed moves the cursor but does not show the characters.
What web browser are you using (Firefox, Internet Explorer, Safari, Chrome, something else?) and what version?
danpost danpost

2011/9/14

#
davmac, I am using Internet Explorer 8.0 Stack trace follows: java.lang.NullPointerException at Border.act(Border.java:61) at greenfoot.core.Simulation.actActor(Simulation.java:507) at greenfoot.core.Simulation.runOneLoop(Simulation.java:470) at greenfoot.core.Simulation.runContent(Simulation.java:204) at greenfoot.core.Simulation.run(Simulation.java:194)
davmac davmac

2011/9/15

#
Stack trace follows:
Thanks. I did manage to reproduce this - exact steps to reproduce are: 1. Make a move - white pawn to K4 (e2e4) 2. Press slash (/) 3. Click "reset board" 4. Repeat move - white pawn to K4 Could you upload the scenario source so I can take a look?
danpost danpost

2011/9/15

#
davmac, are you available at the moment?
danpost danpost

2011/9/15

#
davmac, hope to get with you on this on the hour, twenty hours from now (when post time turns to twenty hours ago).
davmac davmac

2011/9/15

#
Hi danpost, I'm back now if that helps. If you'd rather not upload the source, but would be willing to send it to me, you can do so to davmac@greenfoot.org. (In that case I agree not to share it with anyone). (Anyway - I should be around on the 20-hour mark)
davmac davmac

2011/9/15

#
Thanks to danpost, I now have a scenario exhibiting what may indeed be a bug in Greenfoot. Now we can work on fixing it!
There are more replies on the next page.
1
2