Author Topic: [fixed] r4034: Selection issues with color picking  (Read 1471 times)

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
[fixed] r4034: Selection issues with color picking
« on: 18 January 2013, 12:34:57 »
happening on megaglest v3.7.2-dev
Compiled using: VC++: 1600 on: Jan 16 2013 21:34:05 platform: Windows endianness: little
SVN: [Rev: 4034] - using STREFLOP [SSE] - [no-denormals]

selection via rectangle having strange effects. Wrong items are selected too. See screen at http://megaglest.pzt.me/86wg

sometimes even complete different kinds of units are selected: You selected three initiates and an behemoth is selected too. This is weired because the ordering options are different then of course.

another thing is, that it is nearly impossible to attack a ornithopter by rightclick, when he is above trees. you will always select only trees and all your fighters will be gone, before they did any hit.
all thios happened in scenario "one hope"

greets

« Last Edit: 2 May 2013, 21:45:09 by titi »

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: selection issues
« Reply #1 on: 19 January 2013, 17:29:49 »
its really boring... is this the new colourpicking you talk about here:  https://forum.megaglest.org/index.php?topic=8579.0  ?

its bader then ever. You cant select egyptian workers standing on Buildings theay build befor, you cant select your own ornithoper above trees. its just not working. And: selection seems to take quite a longer time if a bigger amount of units is selected.

jee.. thats bad.

Greets


nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: selection issues
« Reply #2 on: 21 January 2013, 12:12:52 »
Yes, seem to be the colour-picking. if the strange behaviour described above appears, you can try to put the following line in your glestuser.ini and restart glest.

Code: [Select]
EnableColorPicking=false
worked fine for me.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: selection issues
« Reply #3 on: 22 January 2013, 04:39:41 »
I've tried to fix svn for color picking and improve its performance. Please try out rev#4037 and let me know if it works better for you?

Thanks

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: selection issues
« Reply #4 on: 22 January 2013, 23:08:37 »
seems to be a little better in 4039. But still:

cannot select an initiate standing on dead summoners coat.
really hard to klick an persian castle in the desert.

the mysterious zwGet +18 seems to better now too - but now there is a delay up to 3 secs between order and reaction of MG in networkgame.
Maybe it have to switchof debug-logging again?

Greets

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: selection issues
« Reply #5 on: 23 January 2013, 22:27:00 »
4040: green snake on green gras: difficult to select.

Greets

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: selection issues
« Reply #6 on: 24 January 2013, 11:34:38 »
Maybe it have to switchof debug-logging again?

Please don't use the main debug logging setting (Debug=1/true) unless you are trying to reproduce a specific issue. It will slow down gameplay, increases the chance of timeouts and is not meant to be used in normal games. The DebugNetwork setting comes with the same side effects, just to lesser extent.

Back on topic:
For me (atibox, and if I recall correctly, I should have reported on IRC last night, on i915, too), r4050 (or rather r4048, I think) introduces new problems with color picking. Selecting buildings by simply clicking on them is no longer possible (you need to draw a box across them), right-click attacking with multiple own units selected rarely works, instead units will just walk to some spot which you did not click on.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

nig

  • Technician
  • ****
  • Posts: 110
    • View Profile
Re: selection issues
« Reply #7 on: 24 January 2013, 12:46:04 »

Quote
Please don't use the main debug logging setting (Debug=1/true) unless you are trying to reproduce a specific issue.

well, I am hunting ZwGetContextThread!ntdll (null)(0) +18, right?

I am logging to ramdisk now and hope this will work without too bad sideeefects.

Greets

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: selection issues
« Reply #8 on: 24 January 2013, 16:01:03 »
try 4051

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: r4034: Selection issues with color picking
« Reply #9 on: 2 May 2013, 21:44:37 »
this is fixed for sure now since revision 4234
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios