[Duplicate] [4.1.0] Orange ZScript console warnings

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[4.1.0] Orange ZScript console warnings

Postby Undead » Sun Apr 28, 2019 2:25 am

These warnings show up in the console when launching GZDoom 4.1.0. I have no idea if it’s likely to affect gameplay, and it’s probably not a bug per se, but it’s definitely not a nice sight.

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
Undead
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: [4.1.0] Orange ZScript console warnings

Postby Rachael » Sun Apr 28, 2019 2:31 am

Yikes. This will warrant a 4.1.1 point release.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Graphics Processor: nVidia with Vulkan support

Re: [4.1.0] Orange ZScript console warnings

Postby DoomKrakken » Sun Apr 28, 2019 6:48 pm

Oh yeah, that happened with my mod too...
User avatar
DoomKrakken
All but inactive here on the forums. Contact me on Discord for quicker replies.
 
Joined: 19 Oct 2014
Location: Plahnit Urff
Discord: DoomKrakken#2719

Re: [4.1.0] Orange ZScript console warnings

Postby Matt » Mon Apr 29, 2019 1:47 am

What do we use in place of CharAt and ToLower?

EDIT: I just noticed that no warnings appear for HD's use of the ToLower() function. Is this different?
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: [4.1.0] Orange ZScript console warnings

Postby _mental_ » Mon Apr 29, 2019 1:56 am

Matt wrote:What do we use in place of CharAt and ToLower?

ByteAt() and MakeLower().

Matt wrote:I just noticed that no warnings appear for HD's use of the ToLower() function. Is this different?

This depends on ZScript version required for your mod.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: Awario [RSS] and 1 guest