Loki1950 Posted November 16, 2018 Report Share Posted November 16, 2018 3 hours ago, Gurken Khan said: I believe the messages that an error has occurred, I'm not sure how much of the details I should believe... Then you should check the log file for 0AD after all the OS does not know what the app is doing in detail check the wiki for Game data paths the one you want is interesting.html which is just the errors Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 16, 2018 Author Report Share Posted November 16, 2018 @Loki1950 Yes, thank you. That was the stuff I posted yesterday. More often than not crashlog and interestinglog don't catch my crashes, though. I tried the pause/crash thing again yesterday: it took two hours. It's not a pressing issue, however one I can reproduce. And did someone change the title of this thread? I'm quite sure I intentionally used the wrong superlative 'recenst'. Spoiler Seems like someone couldn't stand it. But what about my freedom of expression here? Quote Link to comment Share on other sites More sharing options...
Stan` Posted November 16, 2018 Report Share Posted November 16, 2018 @Loki1950 Where is my enjoy the choice in your post ? :p @Gurken Khan you can edit the first post of your thread to change the title 1 1 Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted November 16, 2018 Report Share Posted November 16, 2018 Just a senior moment Stan too near my bed time Enjoy the Choice Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 17, 2018 Author Report Share Posted November 17, 2018 Out of address space (64-bit OS may help) Location: wvm.cpp:296 (vm::AddressRangeDescriptor::Allocate) Call stack: (error while dumping stack: No stack frames found) errno = 0 (No error reported here) OS error = 8 (Für diesen Befehl ist nicht genügend Speicher verfügbar.) I thought maybe it was a RAM issue. I looked a bit for 'OS error = 8' which to me seemed to point more in the direction of resource leaks? I have no actual debugging experience, but should I maybe install some tool to see if I can catch what's going on? Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 19, 2018 Author Report Share Posted November 19, 2018 I'd still be interested in replies to my previous post! How about a category 'support' for the Units Statistics? I have plenty of space for an additional category, and that way the numbers for 'Lost' would add up. Ofc that still wouldn't account for the three units I captured... Is there also a category missing for the buildings? 1 Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 23, 2018 Author Report Share Posted November 23, 2018 Bug: Sometimes when an icon says 'Right-click to view more information.' nothing happens when right-clicking. I guess I should've headed over to that other website to search if it's a known bug? Quote Link to comment Share on other sites More sharing options...
Silier Posted November 23, 2018 Report Share Posted November 23, 2018 Right clicks does not work over disabled buttons because well they are disabled. Quote Link to comment Share on other sites More sharing options...
FeXoR Posted November 23, 2018 Report Share Posted November 23, 2018 9 hours ago, Angen said: Right clicks does not work over disabled buttons because well they are disabled. That doesn't make much sense to me since the information is somewhat important to decide whether or not to unlock it 2 Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 23, 2018 Author Report Share Posted November 23, 2018 14 hours ago, Angen said: Right clicks does not work over disabled buttons because well they are disabled. Yeah, I actually figured that out while playing on. 5 hours ago, FeXoR said: That doesn't make much sense to me since the information is somewhat important to decide whether or not to unlock it I wanted to look at the ship's stats to see if I should wait for that or take the cheaper one. The ship will unlock with p3, so that's not really a choice as I will progress anyway. I still think the mouse-over shouldn't tell me to right-click and then do nothing. (Ofc I can always go to the unit tree and look at the ship there, but if I just wanna compare ships at the harbor I think the game can just give me those infos right there.) Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted November 24, 2018 Author Report Share Posted November 24, 2018 When I upgrade a Sentry Tower to Defence Tower it's technically a different building? I noticed before that workers stopped repairing the tower when the upgrade finished while they were at it. And I finally figured out why Sentries isn't researched although I was sure I already did it... I don't even know if I got refunded when the research stopped due to the upgrade, but I would really prefer the research to continue even if the tower upgrades in the meantime. Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted December 3, 2018 Author Report Share Posted December 3, 2018 I just had two invisible relics. missing-relics.ZIP Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 3, 2018 Report Share Posted December 3, 2018 @elexis Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2018 Report Share Posted December 3, 2018 (edited) The relics were spawned out of the passable map area. ({x:23.915771484375, y:115.64073181152344, z:300.5172119140625}) ({x:870.5728454589844, y:0, z:793.323974609375}) ({x:29.00518798828125, y:116.86183166503906, z:193.9296875}) The two relics with x coordinate ~23 and ~29 would end up way outside on a circular map sized 1024. I got this graph using an online tool. Spoiler Since relics tend to spawn around gaia entities like trees, my best guess is that this is an issue with the map script placing entities out-of-bounds. Cant say for sure, since I have yet to look at the mapscript. Edit: Found the most probable cause. The following code in the map script is the only object placement done without respect to bounds. And IIRC, relics stick to actors as well (?). Spoiler g_Map.log("Paint areas by height and slope"); for (let h = 0; h < heighLimits.length; ++h) for (let point of areas[h]) { let actor; let texture = pickRandom(wildLakeBiome[h].texture); if (slopeMap[point.x][point.y] < (minSlope[h] + maxSlope[h]) / 2) { if (randBool(wildLakeBiome[h].actor[1])) actor = pickRandom(wildLakeBiome[h].actor[0]); } else { texture = pickRandom(wildLakeBiome[h].textureHS); if (randBool(wildLakeBiome[h].actorHS[1])) actor = pickRandom(wildLakeBiome[h].actorHS[0]); } g_Map.setTexture(point, texture); if (actor) g_Map.placeEntityAnywhere(actor, 0, randomPositionOnTile(point), randomAngle()); } Edited December 3, 2018 by Guest Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted December 3, 2018 Author Report Share Posted December 3, 2018 @(-_-)Thanks for your answer! Are you making a ticket or fixing it directly? I tried to look up what an actor is a while ago, but reading it again I realized I still don't really have an idea... Quote Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2018 Report Share Posted December 4, 2018 I would propose a fix when I have time, but I guess this raises a question of where the problem really is? The map script has good reason for using placeEntityAnywhere. The passable map is smaller than the visible map. And actors should not really avoid the area visible. And in this case, the terrain generation involved is the simplest when done on a square grid. A better solution would be to pick a source entity that is in bounds in Triggerhelper.GetLandSpawnPoints(). Quote Link to comment Share on other sites More sharing options...
elexis Posted December 7, 2018 Report Share Posted December 7, 2018 Was the relevant relevant entity actually an actor? 1 Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted December 7, 2018 Author Report Share Posted December 7, 2018 @elexis I could make an uneducated guess, but I'll just try to summon @(-_-) instead. Quote Link to comment Share on other sites More sharing options...
nani Posted December 8, 2018 Report Share Posted December 8, 2018 2 Quote Link to comment Share on other sites More sharing options...
elexis Posted December 8, 2018 Report Share Posted December 8, 2018 The entity ID is either already seen in the erorr message, or one can add a warn(entityID) to the bugging piece of code, then start the replay, press Alt+D to enable the developer overlay, make sure no unit is selected, press F9, type g_Selection.addList([entityID]) and it should show the template name of the entity, for example. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2018 Report Share Posted December 8, 2018 (edited) gaia/flora_tree_euro_beech, gaia/flora_bush_berry Both entities were placed in the code pasted above. This now highlights a problem with the map. The script is calling a regular entity an actor and placing it as such. The "actors" are defined in wildLakeBiome. More specifically, in this case: { "texture": getArray(g_Terrains.dirt), "actor": [ [ g_Gaia.tree1, g_Gaia.tree3, g_Gaia.fruitBush, g_Gaia.secondaryHuntableAnimal, g_Decoratives.grass, g_Decoratives.rockMedium, g_Decoratives.bushMedium ], 0.3 ], "textureHS": getArray(g_Terrains.cliff), "actorHS": [[g_Decoratives.grassShort, g_Decoratives.rockMedium, g_Decoratives.bushSmall], 0.1] }, So, apparently actors does not influence relic placement. Guess they have one of the relevant components stripped out or they are not gaia. Edited December 8, 2018 by Guest Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted January 4, 2019 Author Report Share Posted January 4, 2019 So, someone has encouraged me to report every crash; I had another of these: On 11/17/2018 at 5:37 PM, Gurken Khan said: Out of address space (64-bit OS may help) Location: wvm.cpp:296 (vm::AddressRangeDescriptor::Allocate) Call stack: (error while dumping stack: No stack frames found) errno = 0 (No error reported here) OS error = 8 (Für diesen Befehl ist nicht genügend Speicher verfügbar.) When I accidentally started two instances of the game I got: Quote Details: unhandled exception (Access violation reading 0x00000004) Location: unknown:0 (?) Call stack: (error while dumping stack: No stack frames found) errno = 2 (Error during IO) OS error = 0 (no error code was set) Should that be an unhandled exception? --- On 11/16/2018 at 4:26 PM, stanislas69 said: @Gurken Khan you can edit the first post of your thread to change the title Even easier: I can change the title directly on every page of this thread. FYI --- I feel like the GUI could really use some keyboard commands. For example, in the Load Game menu I'd like - to be able to use the arrow keys to navigate the list - every button to have a shortcut assigned - the most common option to be pre-selected 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 4, 2019 Report Share Posted January 4, 2019 Not sure about the shortcuts for the "Load", "Cancel" and "Delete" though Enter, Del and Esc are good canditates. You currently can't run two instances of the game on windows, when using the release version. That is because on Windows, software have an exclusive access to files. That is a known untrivial bug to fix. We could require only one instance of the software though http://www.flounder.com/nomultiples.htm For the other crash a short summary would help. The crashlog.dmp and crashlog.txt are required to do anything. If it crashes when trying to load a savegame, the savegame could be attached. If the crash is constantly reproductible, a step by step is nice. 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted January 4, 2019 Report Share Posted January 4, 2019 7 minutes ago, Gurken Khan said: When I accidentally started two instances of the game I got: That's a windows specific bug IIRC. Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted January 4, 2019 Author Report Share Posted January 4, 2019 45 minutes ago, stanislas69 said: For the other crash a short summary would help. The crashlog.dmp and crashlog.txt are required to do anything. If it crashes when trying to load a savegame, the savegame could be attached. If the crash is constantly reproductible, a step by step is nice. I think I never had a crash when trying to load a saved game. I'm certain I'll have that out of memory thing again soonish, I'll upload the dump then. Summary/step by step: play >20 mins with my settings -> crash. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.