Numbers are not in normal format,To make it operate

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
rjl1989
Noob
Noob
Posts: 8
Joined: 03 Apr 2019, 11:40
Noob?: Yes

Numbers are not in normal format,To make it operate

#1 Post by rjl1989 »

Numbers are not in normal format. They are very special. Can they be converted to normal values? To make it operate


12 3 4 5 6 8 9 10 This is a special number.

1 2 3 4 5 6 8 9 10 This is the normal number.


反外挂验证人员#3: 14 - 6 〓 ( ? )



console /反外挂验证人员#\d:\s\s\s\s(\d+)\s(.*)\s(\d+)\s\s.*/

eval($.lastMatch1$.lastMatch2$.lastMatch3)

Normal digits can be calculated Abnormal numbers cannot be calculated

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: Numbers are not in normal format,To make it operate

#2 Post by 4epT »

what is "Abnormal numbers" ?
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: Numbers are not in normal format,To make it operate

#3 Post by fadreus »

4epT wrote:what is "Abnormal numbers" ?
It's numbers, but in Chinese Language (font?) but can't be translated (it seems) as it is not Chinese Numerals (一 二 三 四 五 。。。)
To me, it appears as different font but no idea how it appear to openkore.

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: Numbers are not in normal format,To make it operate

#4 Post by Mortimal »

1. Use console log to understand(and store) how all special numbers is seen by Kore.
2. Use sms like this in console trigger:

Code: Select all

(\d*|specnum1|specnum2|specnum3|specnum4|specnum5|specnum6|specnum7|specnum8|specnum9|specnum10)\s(-|\+|/|\*)\s(\d*|specnum1|specnum2|specnum3|specnum4|specnum5|specnum6|specnum7|specnum8|specnum9|specnum10)
3. Than use texttonum solution for each result

Code: Select all

$i = @eval({"<text1>" => <num1>, "<text2>" => <num2>, ..., "<textN>" => <numN>}->{"<textX>"})
4. Than add/subst/mult/div...
5. ?????
6. PROFIT!!!
Please use pin function for uploading your file contents!

Post Reply