Platonic Posted March 19, 2022 Share Posted March 19, 2022 Im not able to get the closed interval. test = string.format("%6.2f", "30") test1 = string.format("%6.2f", "40") gg.searchNumber(test ~ test1, gg.TYPE_DOUBLE) I don't really understand why. Instead its going to do a bitwise xor on the variables values. Link to comment Share on other sites More sharing options...
YeetMeister Posted March 19, 2022 Share Posted March 19, 2022 dont know what your up to bud, you trying to hide the values from Gameguardian shtuff? Link to comment Share on other sites More sharing options...
Platonic Posted March 19, 2022 Author Share Posted March 19, 2022 15 minutes ago, YeetMeister said: dont know what your up to bud, you trying to hide the values from Gameguardian shtuff? Normally to have the closed interval between two values i do this: gg.searchNumber("30 ~ 40", gg.TYPE_DOUBLE) But in this case i only want the values visible that have two decimal digits of the fraction. But in stead of searching closed interval its doing the actual bitwise Xor operation. so its searching 54.0 double instead of the formatted 30 ~ 40 Link to comment Share on other sites More sharing options...
MonkeySAN Posted March 19, 2022 Share Posted March 19, 2022 try this.. test = string.format("%6.2f", "30") test1 = string.format("%6.2f", "40") gg.searchNumber(test.."~"..test1, gg.TYPE_DOUBLE) Link to comment Share on other sites More sharing options...
Question
Platonic
Im not able to get the closed interval.
I don't really understand why. Instead its going to do a bitwise xor on the variables values.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.