-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Challanges #85
Comments
Challange SmallTown2. Once it was running OK, second time it crashed shortly after start. OWNER: 1 Challange2 nil
Start rendering: table: 0xaf1dfc20 |
I have fixed the second crash. The problem was that, if an AI had errors in it, the AI's train image would not be rendered, so when reloading, the AI didn't find any image. But I cannot recreate what you posted in your first issue. Do you still have this problem? And if so, could you send me the AI it happens with? |
TheMaze challenge. I think that AI is not important; it was basic AI created during tutorial and it finished maze because it was designed in "easy" way. Just try to run TheMaze with any AI and after a few seconds select RELOAD. Try several times. In my case, TheMaze crashed on Reload action... I will retest later. |
Yes, I've tested it as you describe, and it never crashes for me... |
I updated game to the latest git version. I tried hard and I cannot repeat the issue. Game crashed once but it was different situation, it crashed after start, this is the error and I cannot repeat it: Rendering Map... |
Okay, thanks. I will need to look into the the train-image rendering once more. I think the issue is a timing thing: Sometimes, the train's images are not done rendering before the map starts - this should never be the case. I might get around to it next tuesday, I don't have any time till then... |
…e ai doesn't load. Fixes second part of #85.
I upgraded to the latest version from GIT. I started the game, entered menu Challanges and selected TheMaze. This is the crash I observe: Setting resolution to default values because no configuration has been found: 1024x600 |
Sorry! This was my fault - that's just an error I added manually for debugging. I removed it now. |
I upgraded to the latest version from GIT. When I run challenge, like TheMaze, I see a warning that map size is not set correctly and should be fixed. This message is visible few seconds on the screen and it is not visible in console, so I cannot do copy&paste to document the issue. |
I have one more note on TheMaze challange. The map is random. I can reload the same AI several times on the same maze. But I cannot change AI. To change AI I had to EndMatch and select TheMaze again and select different AI from the list but because TheMaze is generated by random,I will run new AI on different map, so I cannot directly compare what AI is better. I would like to see a button like "select AI". Or EndMatch will not navigate me to the main menu but just return one level back, so I can select AI from the list and run the same TheMaze again. Generally, I don't like that EndMatch button sends me to the main (root) menu and I would prefer to return just one level back. |
I'm going to copy your last post into a new issue ( #94 ) because I want to close this one - I believe all the bugs you mentioned here have been fixed. |
Challange TheMaze; it complains that map was designed for engine 2 but I run version 5. But it works...
I finished first round and after reload, game crashed with this error:
Error: Scripts/statistics.lua:209: attempt to index a nil value
stack traceback:
Scripts/statistics.lua:209: in function 'passengerPickedUp'
Scripts/passenger.lua:207: in function 'boardTrain'
Scripts/ai.lua:396: in function 'foundPassengers'
Scripts/train.lua:322: in function 'new'
Scripts/train.lua:182: in function 'handleNewTrains'
Scripts/map.lua:1620: in function 'handleEvents'
main.lua:556: in function 'update'
[string "boot.lua"]:421: in function <[string "boot.lua"]:387>
[C]: in function 'xpcall'
The text was updated successfully, but these errors were encountered: