[User error] A_CheckProximity - problem with symbol ( ! ) in actor name

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

A_CheckProximity - problem with symbol ( ! ) in actor name

Postby yura_111 » Thu Dec 03, 2020 12:54 pm

GZDOOM version 4.5

if you write the function like this:
A_CheckProximity(2, "BigBrain!", 200000, 1, CPXF_DEADONLY) - is broken

but if you write like this:
A_CheckProximity(2, "BigBrain", 200000, 1, CPXF_DEADONLY) - Work Fine

problem because this symbol is used in the name of the actor - "!"
But In the version (and before) gzdoom-x64-g4.4pre-495-g555845222 - all work fine...

There was no such problem before - is it not supported now? (discovered quite by accident)
yura_111
 
Joined: 12 Oct 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby Major Cooke » Thu Dec 03, 2020 7:33 pm

I think the only allowed characters that are meant to be incorporated are A to Z, all numbers, hyphens and underscores. Thus I think this was relying on a bug that was (recently) fixed.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby Graf Zahl » Fri Dec 04, 2020 1:41 am

Please post a complete test case. With these fragments we cannot determine what may be wrong here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby yura_111 » Fri Dec 04, 2020 2:41 am

A jump to a certain State (offset) must occur, but the jump doesn't happen (if " ! " present).
Last edited by yura_111 on Fri Dec 04, 2020 2:43 am, edited 1 time in total.
yura_111
 
Joined: 12 Oct 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby Rachael » Fri Dec 04, 2020 2:42 am

yura_111 wrote:A jump to a certain State must occur, but the jump doesn't happen (if " ! " present).

That isn't a complete test case. Graf is being very specific in asking for a runnable example.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby yura_111 » Fri Dec 04, 2020 2:45 am

OK. A little later, because I am at work now...
yura_111
 
Joined: 12 Oct 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: A_CheckProximity - problem with symbol ( ! ) in actor n

Postby yura_111 » Fri Dec 04, 2020 1:56 pm

This turned out to be my mistake. No problem with the function.
I am really sorry.
yura_111
 
Joined: 12 Oct 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest