-
Contributor
Originally Posted by
JackCeparou
Oh god..
Seriously i think i'm not helping you but make you an assisted by rewriting all you make.
- You don't even search solution by yourself anymore but beg for it.
- You don't learn from your mistake and this begin to annoy me.
Back on topic :
I just came home & tested in a public game, Line hightlight in my version with PortraitIndex is working perfectly here.
Edit, changed game and it's mixed up, fix incoming.
Player's index is not always fixed
Thank you for your help. I am looking for a solution myself
-
Savvy ? 🐒
Gist updated with forced OrderBy
-
Contributor
Originally Posted by
JackCeparou
Gist updated with forced OrderBy
You're a nice guy,Try a few more public games, but it still has this BUG (downloaded 3 minutes ago)
I think because player index is not a fixed reason, sometimes my index is 0 and sometimes other

I'm still learning C#, fumbling for it
I need some time to understand your code
Last edited by SeaDragon; 08-28-2017 at 12:00 PM.
-
Savvy ? 🐒
I was finally able to reproduce the issue..
- leave a game with x players
- enter a game, if player count == x then the order was wrong..
Gist updated (again)
-
Post Thanks / Like - 1 Thanks
SeaDragon (1 members gave Thanks to JackCeparou for this useful post)
-
Contributor
Originally Posted by
JackCeparou
I was finally able to reproduce the issue..
- leave a game with x players
- enter a game, if player count == x then the order was wrong..
Gist updated (again)
Thanks again for your help and time, you are a smart and enthusiastic person
I tested it carefully and found no BUG at the moment
It looks perfect, thank you for refactoring
I have a long way to go. I've never used C# before using HUD. Please forgive my stupidity
-
Contributor
Originally Posted by
JackCeparou
I was finally able to reproduce the issue..
- leave a game with x players
- enter a game, if player count == x then the order was wrong..
Gist updated (again)
Bad news, in a public game, BUG is back
-
Savvy ? 🐒
Let's try this way, Gist updated
-
Contributor
Originally Posted by
JackCeparou
Let's try this way, Gist updated
Same BUG
The problem is the index value
It does not always go in order, and when players leave, they are in disorder
-
Savvy ? 🐒
I don't use the index but PortraitIndex, and its always 0 to 3 from top to bottom.
Anyway, i took another approach for text values, gist updated (with some debugging code)
-
Contributor
Originally Posted by
JackCeparou
I don't use the index but PortraitIndex, and its always 0 to 3 from top to bottom.
Anyway, i took another approach for text values, gist updated (with some debugging code)
player.index = player.PortraitIndex
And they don't always top to bottom. Is arranged from the order of entering the game
-
Savvy ? 🐒
Originally Posted by
SeaDragon
player.index = player.PortraitIndex
And they don't always top to bottom. Is arranged from the order of entering the game
That's not true, Index is not always equals to PortraitIndex.
Use the last version, you will see it with the debuggin code after some leave/enter.
Last edited by JackCeparou; 08-28-2017 at 02:30 PM.
-
Post Thanks / Like - 2 Thanks
-
Contributor
Originally Posted by
JackCeparou
That's not true, Index is not always equals to PortraitIndex.
edit:
I'm sorry, my fault
After getting up, I retested it
When I found the last test, I copied the wrong code (copying the old code), which led to the error of the test result, and now it is correct! Forgive me for being so sleepy and mentally confused
Last edited by SeaDragon; 08-29-2017 at 03:32 AM.
-
Contributor
uploaded again, thanks to JACK's perfect fix for its BUG
Last edited by SeaDragon; 08-29-2017 at 03:33 AM.
-
Member
What is the String for Elemental DPS and Elite DPS?
Found HighestElementalDamageBonus & BonusToElite but it doesn't look what I want.
-
Contributor
Originally Posted by
lunamanx
What is the String for Elemental DPS and Elite DPS?
Found HighestElementalDamageBonus & BonusToElite but it doesn't look what I want.
Elemental DPS=(1+HighestElementalDamageBonus) * SheetDps
Elite DPS=(1+BonusToElite) * SheetDps