SReject / JSON-For-Mirc

JSON parser for mIRC
19 stars 6 forks source link

AdiIRC 64 bits problems #37

Closed westor7 closed 7 years ago

westor7 commented 7 years ago

I am using the above code and it appears me an error window also in the debug getting UNKNOWN error.

Using: 2.7 2017/01/21

Error Input: https://goo.gl/Xn13Cg Debug Window: http://www.mpaste.com/p/5hUrb Code: http://www.mpaste.com/p/g4GL

NOTE: I've installed the extra .dll (tsc.dll) from the site.

westor7 commented 7 years ago

An other bug is that the /JSONClose <name> doesn't working at all in adiirc.

(probably REGEX incompatitable issue under the /JSONClose alias stuff)

Also that bug is only occurred into 64 bit version of AdiiRC.

[12:02:56] * Open Coms:
[12:02:56] * JSON:internet_3889521692894
[12:02:56] * JSON:internet_2489274087629
[12:02:56] * SReject/JSONForMirc/JSONEngine
[12:02:56] * SReject/JSONForMirc/JSONShell
[12:02:56] * JSON:internet_186971621770
[12:02:56] * JSON:internet_894115804622
[12:02:56] * JSON:internet_5244369510499
[12:02:56] * JSON:internet_7225227886630
[12:02:56] * JSON:internet_4062343626915
SReject commented 7 years ago

There's two issues here.

  1. There was a bug in the JFM code that resulted in /JSONOpen -U requests attempting to be parsed.
  2. There is a bug in adiirc's $com(N) identifier returning the index instead of the com name. This causes /JSONClose not to close applicable handles

# 1 has been fixed
# 2 has been reported to AdiIRC's dev team