jonbaer Posted September 19, 2017 Report Share Posted September 19, 2017 (edited) SVN Revision: 20204 The territory markings seem to be missing (see attached). Unless this was moved to an option/setting(?) Edited September 25, 2017 by jonbaer Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 19, 2017 Report Share Posted September 19, 2017 Try https://trac.wildfiregames.com/changeset/20205, for new autobuild. Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 19, 2017 Author Report Share Posted September 19, 2017 I'm on OSX ... trying to look through the diffs but don't see anything that would have removed the markings. Should I just to just make clean + rebuild? Quote Link to comment Share on other sites More sharing options...
elexis Posted September 19, 2017 Report Share Posted September 19, 2017 (Thought it was D910, but that wasn't committed.) Notice the territory is visible on the minimap, strange. Yes, try a clean compile. Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 20, 2017 Author Report Share Posted September 20, 2017 Still no luck, was going to try to trace back on these commits (would there be any other class responsible for drawing the territory?) ... https://github.com/0ad/0ad/search?o=desc&q=Territory&s=committer-date&type=Commits&utf8=✓ Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 20, 2017 Report Share Posted September 20, 2017 @jonbaer Maybe the commit about floating units ? Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 21, 2017 Author Report Share Posted September 21, 2017 I went back quite a few revisions (originally I thought this was an issue w/ a CUDA upgrade I made) but they were missing even past -r 19500 so it would have to be an OSX issue if no one else has seen this yet. They did show up in -r 19000 so I will eventually isolate it :-) 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 21, 2017 Report Share Posted September 21, 2017 OSX bug? Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 22, 2017 Author Report Share Posted September 22, 2017 Yeah the territory boundary lines are not drawing on the terrain for some reason. I even enabled m_DebugOverlay = new TerritoryOverlay(*this); and I could see the are being computed, just the borders are not being drawn :-\ Feels like something is not being done on Init() for some reason. I would have a hard time thinking this is only an OSX issue though, does any SVN build on Windows/Linux who could verify? Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 22, 2017 Report Share Posted September 22, 2017 @wraitii can help us. Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 22, 2017 Report Share Posted September 22, 2017 @elexis Maybe a side effect of the MT_PlayerColorChanged message ? @Servo Have you experienced this on your Mac ? Quote Link to comment Share on other sites More sharing options...
elexis Posted September 22, 2017 Report Share Posted September 22, 2017 The territory is most probably computed correctly in the simulation, because the minimap shows it correctly. Must be a rendering bugs. If you know that its between 19000 and 19500, try a bisect, i.e. test 19250 and so forth, shouldn't be too many steps. (But if I had to guess, perhaps it was that CUDA update you spoke about) 1 Quote Link to comment Share on other sites More sharing options...
Servo Posted September 23, 2017 Report Share Posted September 23, 2017 (edited) @stanislas69 i don't think so. What map is that. I can try to play or duplicate the error Edited September 23, 2017 by Servo Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 23, 2017 Report Share Posted September 23, 2017 1 minute ago, Servo said: @stanislas69 i don't think so. You only use the release version right. Quote Link to comment Share on other sites More sharing options...
Servo Posted September 23, 2017 Report Share Posted September 23, 2017 (edited) yeah. oh thats svn. i thought only applicable on windows(the svn) Edited September 23, 2017 by Servo Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted September 23, 2017 Report Share Posted September 23, 2017 4 minutes ago, Servo said: yeah. oh thats svn. i thought only applicable on windows(the svn) You can use for Mac but you must know build, svn in Windows have their autobuilder. Quote Link to comment Share on other sites More sharing options...
Servo Posted September 23, 2017 Report Share Posted September 23, 2017 Oh ok any link to download? i might try coz i like to play on svn too Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 23, 2017 Author Report Share Posted September 23, 2017 I don't think there are any nightly builds for OSX (I could be wrong) ... just to confirm I threw away my SVN copy and grabbed a GIT copy, built OSX libraries, updated workspaces, make -j3 and still no territory markings, then tried the Official Release DMG and there were marking (so it wasn't the CUDA update like I suspected). Would be great if someone w/ a Mac could build + confirm this as an issue before digging more. Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 23, 2017 Report Share Posted September 23, 2017 (edited) 10 hours ago, Servo said: Oh ok any link to download? i might try coz i like to play on svn too No sadly MacOs is like Linux there are too many variants (in versions) to make autobuilds worth it. So I'm afraid you'll have to install X-Code and build it from source. Edited September 23, 2017 by stanislas69 Quote Link to comment Share on other sites More sharing options...
leper Posted September 23, 2017 Report Share Posted September 23, 2017 OS X or macOS or whatever that thing is called now, would work with just a single build (we do ship just one for releases). But as anyone who followed any recent (and I'm talking years here) release process might have noticed, the number of people running that OS are either unavailable or unable to produce builds. And there just aren't enough users (read artists) for anyone to deal with the pain of making it easier there, especially since producing such builds would need some apple hardware if we want the whole thing to be legal. So the easy way out is to maybe keep the build working (which at least for some things is due to some BSDs sharing some of the libraries and compilers). As for the actual issue, have you tried doing a clean build of all libraries and possibly checking that driver you are using? 1 Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 25, 2017 Author Report Share Posted September 25, 2017 If I go back on the builds I eventually end up running into what looks like a Spidermonkey related issue, even if I trash the library and rebuild I end up getting this ... Undefined symbols for architecture x86_64: "void ScriptInterface::ToJSVal<long>(JSContext*, JS::MutableHandle<JS::Value>, long const&)", referenced from: bool ScriptInterface::SetProperty<long>(JS::Handle<JS::Value>, char const*, long const&, bool, bool) in libengine.a(Replay.o) ld: symbol(s) not found for architecture x86_64 Usually what I end up doing is git pull <revision> then ./clean-workspaces, ./build-workspaces, make clean, make build. I have already tried multiple CUDA drivers, so I am stumped. I would seriously not be surprised if this was something due to an Xcode related issue of some type. I have gone back to playing the release build instead since it's a bit hard to play w/o territory markers. Quote Link to comment Share on other sites More sharing options...
Servo Posted September 25, 2017 Report Share Posted September 25, 2017 I really can’t understand much of the technicalities being discussed here but I’m trying to recall if this thing happened to me. I’m not sure if I make sense but seemed had happen when using OS X in the beginning. I was trying to retrieve all previous posts to no avail. Currently Mac is my preference coz my windows 10 suffered another crash last night and would probably buy (been planning)a new Mac 21”. I have not much issue on OS X really and AFAIK they work very well than windows. It freezes sometimes but I never experienced it totally stopped. Never had problem playing MP too ever since. I will try to duplicate his problem if someone can guide me through download even if I need to buy drivers or software (maybe not exceeding $50). Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 25, 2017 Report Share Posted September 25, 2017 (edited) You basically just need to follow the instructions on trac.wildfiregames.com we can help you along the way No need to buy anything though. Edited September 25, 2017 by stanislas69 1 Quote Link to comment Share on other sites More sharing options...
jonbaer Posted September 26, 2017 Author Report Share Posted September 26, 2017 Nothing on OSX has to be purchased, in fact it's pretty straight forward I think. https://trac.wildfiregames.com/wiki/BuildInstructions#OSX The problem w/ testing something like render bugs is that you won't really know they happened w/o seeing them for yourself, so just because something built OK it doesn't mean everything visually is right. I am planning on moving to a Linux machine full time soon. These OS updates break nearly everything (homebrew, .dotfiles, etc) on every release and not worth the development headache. Post back if you have any issues. 1 1 Quote Link to comment Share on other sites More sharing options...
Servo Posted September 26, 2017 Report Share Posted September 26, 2017 (edited) Humnn I’m trying... @stanislas69 kind of challenge for a novice guy. Done up to cmake, Phyton is latest now idk how to obtain the source code. Can’t seem to find the site to download or am I talking any sense? I’m trying to download this Versions 1.4 with svn 1.9 support for Mac. Edited September 26, 2017 by Servo 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.