Apparently, the negative max constant is -021473.0001
I checked, and negative max int is -214747, negative max float is -214747.9999. This only affects constants.
This apparently is true in 2.50.2, 2.50.1, and 2.50.0.
Apparently, the negative max constant is -021473.0001
I checked, and negative max int is -214747, negative max float is -214747.9999. This only affects constants.
This apparently is true in 2.50.2, 2.50.1, and 2.50.0.
Last edited by XMuppetSB; 12-14-2015 at 08:19 PM.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
Not a bug, just the way things work.
Well, one way or another, it's something that deserves correction, as max signed type constant should always match max signed type variable.
These values sum 236221.0, which doesn't seem to indicate anything.. Signed, or unsigned, long or fixed, that value doesn't make any sense.
21473.0001 is derived, how?
@Gleeok : Confirmation requested.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
Probably a bug.
This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.
that's what I'm feeling here. The value to handle them should be a signed long, and thus identical in both directions. Technically, it could extend in one direction by .0001, which might have been the intent, and how we got this screwy value.
I have no idea why Tamamo flagged it 'not a bug', but then again, I can't find this in the [ ... ] material.
I think the value is simply input improperly, but I'm having a fun time trying to find where this is handled... I swear, this shyte is going to drive me doubly out of my flipping mind. I say just make it 214747.9999 in both directions, and be done...if I can ever locate it. Then again, waiting a week, would be better.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
The reason I didn't think it was a bug is because they use a custom type (fix) don't they? If not then...
From what saffith told me all numbers in zscript are the same thing.
I'm pretty sure those are just for Allegro things, using the Fix class. I don't even see the fix.h file anywhere, or know where the defs, and related functions are being loaded. I skimmed to find that in the past, but it isn't among my files, so ...
Either way, a fixed width integer can be 32b signed. If the values aren't 32b signed longs, they're 32b wide signed fixed ints. I'm pretty sure they are signed longs though... I'll probably wait for the 'promised day' to do anything more about this, but I did again glance through the lexer, and now need more alcohol. We should probably unflag this topic for now.
For what it's worth, the lexer also has a bug that allows compilation of a script with a ? token i it. It gives a lexical error warning, but compiles it anyhow; which, as was reported to me, can be a problem if a user hits ? instead of / in a calculation. It's because the lexer defines ? and ^ as %token SINGLECHAR, and is set up to report a lexical error for them, but not to halt compilation. :/
That's more of an oversight than a true bug, but it feels as if it'll be mad easy to correct.
Last edited by ZoriaRPG; 12-12-2015 at 11:31 AM.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
it seems to be 18 bits but doesn't use all of them, weird.
The fraction is separate of course and is truncated to 62 bit.
Definitely a bug.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
I didn't, I took the numbers you gave us, and plugged them into my brain which outputs binary anyways.
WHere are you @Saffith , if your there get your ass in here.
There are currently 1 users browsing this thread. (0 members and 1 guests)