[Fixed] "Accessing deprecated function" warnings in gzdoom.pk3

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

"Accessing deprecated function" warnings in gzdoom.pk3

Postby Player701 » Sun Apr 28, 2019 1:21 am

These warnings appear in GZDoom 4.1.0. They appear even without developer mode.

Code: Select allExpand view
Script warning, "gzdoom.pk3:zscript/ui/statscreen/statscreen.zs" line 24:
Call to deprecated function CharAt
Script warning, "gzdoom.pk3:zscript/ui/statscreen/statscreen.zs" line 24:
Accessing deprecated function CharAt - deprecated since 4.1.0
Script warning, "gzdoom.pk3:zscript/ui/menu/search/query.zs" line 64:
Call to deprecated function ToLower
Script warning, "gzdoom.pk3:zscript/ui/menu/search/query.zs" line 64:
Accessing deprecated function ToLower - deprecated since 4.1.0
Script warning, "gzdoom.pk3:zscript/ui/menu/search/query.zs" line 65:
Call to deprecated function ToLower
Script warning, "gzdoom.pk3:zscript/ui/menu/search/query.zs" line 65:
Accessing deprecated function ToLower - deprecated since 4.1.0
Script warning, "gzdoom.pk3:zscript/ui/menu/conversationmenu.zs" line 202:
Call to deprecated function CharAt
Script warning, "gzdoom.pk3:zscript/ui/menu/conversationmenu.zs" line 202:
Accessing deprecated function CharAt - deprecated since 4.1.0
Script warning, "gzdoom.pk3:zscript/ui/menu/conversationmenu.zs" line 235:
Call to deprecated function CharAt
Script warning, "gzdoom.pk3:zscript/ui/menu/conversationmenu.zs" line 235:
Accessing deprecated function CharAt - deprecated since 4.1.0
User avatar
Player701
Global Moderator
 
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "Accessing deprecated function" warnings in gzdoom.pk3

Postby Rachael » Sun Apr 28, 2019 1:51 am

Same as viewtopic.php?f=2&t=64487 - however this has an earlier timestamp so I'll close the other one.
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 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "Accessing deprecated function" warnings in gzdoom.pk3

Postby Player701 » Sun Apr 28, 2019 1:59 am

I really, really wonder how this could have slipped past the dev team's eyes unnoticed... (No offense meant, though)
User avatar
Player701
Global Moderator
 
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "Accessing deprecated function" warnings in gzdoom.pk3

Postby _mental_ » Sun Apr 28, 2019 2:28 am

Fixed in 6d1a85a.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: "Accessing deprecated function" warnings in gzdoom.pk3

Postby Rachael » Sun Apr 28, 2019 6:46 am

Player701 wrote:I really, really wonder how this could have slipped past the dev team's eyes unnoticed... (No offense meant, though)

Because the warnings did not appear until the ZScript version was bumped.

When I was testing the release files, I only tested that it got as far as the IWAD screen. I did not fully test the game and attempt to actually play it.

They were fresh compiles from scratch and I had recently tested the latest commits through development, anyhow, so I did not think that bumping the ZScript version would cause any issues.
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 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 3 guests