Author Topic: [not a bug] Pink circles when selecting units (dev version)  (Read 1187 times)

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Hi all, days go while playing japanese in the dev version (i dont remember what rev sorry) with tomreyn and atze (if i am not wrong) i found a strange bug. At a certain pint i selected the units and the circles changed colour from green to pink (you know that colour typical when you have problems with a missing texture etc.) plus two bigger circle appeared over the selected units. I tried to move the units without trying to unselect and reselect them again and these pink circles followed the selected unit. When i unselect the units the pink circles returned green and the two big pink circles disappeared.

I found this bug maybe 2 or 3 times but this time i took a picture this: http://i49.tinypic.com/35kv67n.png

(note: i put the picture in black and white becuse those pink circles were disturbing, at the least for me. Oh and you can't see the green player name because with black and white the green disappered in the background, it's not  bug ;) ).

I dont know if it's a graphic card related bug..because tomreyn told me he saw that bug too (not in that game) so maybe it's a bug of megaglest and not a bug of my video drivers for example.

My pc:
Ubuntu 10.04 Lucid Lynx 32 bit,3gb of ram, AMD Athlon 64 X2 dual core processor QL-64 (2.1 GHz, 1 mb L2 cache). I am using proprietary drivers ATI catalyst 8.72.11 (i know they are old but they work!)

How to reproduce the bug: I dont know! It happened random!

If you have seen this bug, report it here please! So we know that it's not a bug of video drivers :)
« Last Edit: 6 July 2012, 15:49:09 by tomreyn »
I translated Megaglest in italian and i keep the translation updated.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Pink circles when selecting units (dev version)
« Reply #1 on: 19 May 2012, 11:52:05 »
Correct, I've also seen this happen randomly, not having pressed special keys. For me, it's rather rare and I'm not sure how to reproduce it. Still it does seem to be a bug.

Pizza: If you still have it, I think posting the screenshot as is (i.e. not just black/white) would provide a better understanding of what's wrong there.
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Pink circles when selecting units (dev version)
« Reply #2 on: 22 May 2012, 21:59:23 »
Is this maybe a "feature" of the japanese faction you are using?
I think it exactly marks the range of the flag carriers effect range!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Pink circles when selecting units (dev version)
« Reply #3 on: 25 May 2012, 14:25:17 »
I dont think that was a "feature" of the japanese faction, because the colour was that typical pink used when there are problems with textures. I dont have the original picture any more, but seems that the gnome image viewer has a bug (it didnt update the preview of the image) so here it's the thumbnail of the original picture:
 
http://oi46.tinypic.com/9gzg4h.jpg

It would be an help if Hagekura would say his opinion about it.
I translated Megaglest in italian and i keep the translation updated.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Pink circles when selecting units (dev version)
« Reply #4 on: 25 May 2012, 17:45:58 »
It IS a feature. However, this normally gets triggered when you select a unit or building and click on an icon. It should not get triggered randomly.
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 · · ·

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: Pink circles when selecting units (dev version)
« Reply #5 on: 25 May 2012, 20:44:20 »
You know that the mg - dev version shows the pink circles for the range (big circles) and being affected by attack-boosts (small circles), when debug mode is enabled ? (What I mean is the info: MouseXY / MouseXY cell cord / ...)

I personally think it's a great feature for developing and testing attack-boosts, but why are you playing with debug-mode enabled ?

renderer.cpp
Code: [Select]
// Render Attack-boost circles
4832 if(showDebugUI == true) {
4833 //const std::pair<const SkillType *,std::vector<Unit *> > &currentAttackBoostUnits = unit->getCurrentAttackBoostUnits();
4834 const UnitAttackBoostEffectOriginator &effect = unit->getAttackBoostOriginatorEffect();
4835
4836 if(effect.skillType->isAttackBoostEnabled() == true) {
4837 glColor4f(MAGENTA.x,MAGENTA.y,MAGENTA.z,MAGENTA.w);
4838 renderSelectionCircle(currVec, unit->getType()->getSize(), effect.skillType->getAttackBoost()->radius);
4839
4840 for(unsigned int i = 0; i < effect.currentAttackBoostUnits.size(); ++i) {
4841 // Remove attack boost upgrades from unit
4842 int findUnitId = effect.currentAttackBoostUnits[i];
4843 Unit *affectedUnit = game->getWorld()->findUnitById(findUnitId);
4844 if(affectedUnit != NULL) {
4845 Vec3f currVecBoost = affectedUnit->getCurrVectorFlat();
4846 currVecBoost.y += 0.3f;
4847
4848 renderSelectionCircle(currVecBoost, affectedUnit->getType()->getSize(), 1.f);
4849 }
4850 }
4851 }
4852 }

4837    glColor4f(MAGENTA.x,MAGENTA.y,MAGENTA.z,MAGENTA.w); //here you got your pink
4848    renderSelectionCircle(currVecBoost, affectedUnit->getType()->getSize(), 1.f); //and here your cicles
« Last Edit: 25 May 2012, 21:04:41 by MuwuM »

 

anything