Page 2 of 2

Re: GUI issues

Posted: 2017-07-05, 15:27
by arfur9
Yes I've tried to program simple games of my own and encountered the demons of the mouse click lol.. I can't remember what my problem was but I'm sure it was something similar

Re: GUI issues

Posted: 2017-07-08, 15:15
by arfur9
I guess the other issue is if you left click on the gui while holding a weapon.. ie a rocket launcher.. it pretty much kills you instantly :/

Re: GUI issues

Posted: 2017-07-08, 21:34
by Carsten
Don't worry, will address that as well. :cheesy: :up:

Re: GUI issues

Posted: 2017-07-18, 10:39
by Carsten
Done. :up:
I've pushed several commits that implement GUI mouse clicks via the "fire" button -- the left mouse button.
And this without firing the active weapon at the same time. :cheesy:

These commits also prepare for a couple of future changes and I'll still implement some additional improvements as well.

Re: GUI issues

Posted: 2017-07-18, 15:58
by arfur9
Awesome work! Its working really well :)
Every now and again the Cafu crashes changing game, for example if I loaded testpatches then testphysics.. when I try techdemo Cafu stops responding and closes.
I'll try and see if I can find a reason why, I just tried 6 different games and it was ok!

Has something changed regarding the player? I have a Player Phototype but its not recognized.. I deleted the old one and it works now

Re: GUI issues

Posted: 2017-07-19, 09:02
by Carsten
arfur9 wrote:Every now and again the Cafu crashes changing game, for example if I loaded testpatches then testphysics.. when I try techdemo Cafu stops responding and closes.
I'll try and see if I can find a reason why, I just tried 6 different games and it was ok!
Is this a reproducible problem?
Has something changed regarding the player? I have a Player Phototype but its not recognized.. I deleted the old one and it works now
Yes, sorry, I realized too late that there is some backwards-incompatibility involved.
It's about lines such as

Code: Select all

c4:set("OldWishJump", false)
in .cent files, which can simply all be removed to fix the problem.

Re: GUI issues

Posted: 2017-07-19, 12:46
by arfur9
I'll try and give a step by step to how to recreate the crash

I think I have 4 games which I can simply replay the player, its no big deal