![]() |
My "0" DOES exist! >=O
I'm angry at gscript right now.
I want to append a '0' taken as a substring to the end of a string, but gscript just won't let me. It seems to be converting the 0 to nothing, and adding nothing to the end of a string isn't really considered adding. Basically.. PHP Code:
The 0 is converted to a NULL. Can we get some functionality to read "0" as 0, instead of nothing? Or maybe a workaround? |
PHP Code:
|
Yeah, I noticed that I gave a bad example code and editted it to better reflect the problem.
|
Quote:
temp.b @= (temp.a.substring(0,1) == "-1"? -1: (float(temp.a.substring(0,1) == -1? temp.a.substring(0,1):float(temp.a.substring(0,1)) )); |
It's fine in my version(s), server-side and client-side. The 0 is correctly seen as string and appended as string. So it should probably work with the next npcserver-update and Graal client version.
|
And when is that going to happen? D=
Me wants new npc server |
Quote:
When he feels he's fixed enough bugs worth an actual update? |
| All times are GMT +2. The time now is 04:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.