Forums » Bugs
gkini.ReadString2 always returns default value
This issue is only present in VO 1.8.641, not in 1.8.640, so may be related to the recent fix in gkini.ReadString(). I use gkini.ReadString2 rather heavily to register plugins in my Neoloader project. This function is also used when custom skins provide custom text color in their own config.ini
in VO 1.8.640:
console_print(gkini.ReadString2("modreg", "id", "null", "plugins/BuddyCount/registration.ini"))
-> lx_buddy_count
in VO 1.8.641:
console_print(gkini.ReadString2("modreg", "id", "null", "plugins/BuddyCount/registration.ini"))
-> null
The correct value is as *.640, in this occasion.
gkini.ReadInt2() does not seem to be affected.
Tested on both my Windows PC and Android 12 devices.
in VO 1.8.640:
console_print(gkini.ReadString2("modreg", "id", "null", "plugins/BuddyCount/registration.ini"))
-> lx_buddy_count
in VO 1.8.641:
console_print(gkini.ReadString2("modreg", "id", "null", "plugins/BuddyCount/registration.ini"))
-> null
The correct value is as *.640, in this occasion.
gkini.ReadInt2() does not seem to be affected.
Tested on both my Windows PC and Android 12 devices.
This should be fixed in tonight's release.