FlexHub Forum

FlexHub General => Report a bug => Topic started by: Hamachi on January 22, 2011, 10:31:59

Title: ADC and RC!
Post by: Hamachi on January 22, 2011, 10:31:59
Then i use ADC my client creshe (AirDC) then i use RC, RC work on NMDC.
Title: [FIX] ADC and RC!
Post by: en_dator on January 22, 2011, 12:10:29
confirmed,

I'ts not crashing for me, but commands are failing when connected with ADC.
What you can do for now is change four lines in core/Hub-UserCmds.lua

line 187 that looks like this:
Quote
               reply = reply.."ICMD "..ADC_E((tHubSettings.Main.sMenuname or "FlexHub Commands")).."/"..ADC_E(cat.text).."/"..ADC_E(data[3]).." TTHMSG\\s"..cmdprefix..data[4].."\\n CO1 CT"..data[2].."\n"

Change the string data[4] to name,
Then do the same for line 192, 206 and 211.
Save the file and do !rs in main, after a reconnect to the hub it should work much better.

Title: Re: ADC and RC!
Post by: en_dator on January 22, 2011, 14:13:48
oh and i forgot,

Hamachi, could you please let me know which commands it is crashing on, as it didn't crash when i tried. (need to address this issue in the client as well :) )
Title: Re: ADC and RC!
Post by: Hamachi on January 22, 2011, 23:31:43
Ahhh

It not work in all clients !!

It work in EiskaltDC++

But not AirDC++ ....
Title: Re: ADC and RC!
Post by: en_dator on January 23, 2011, 00:12:50
Yes Hamachi, I understand that, but which command did you use when it crashed!
I want to make sure its fixed also in the client.
Title: Re: ADC and RC!
Post by: Hamachi on January 23, 2011, 11:55:21
All commands i think !!!
Title: Re: ADC and RC!
Post by: FlipFlopâ„¢ on January 23, 2011, 14:34:11
Don't change data[4] to name, that will only make commands work that don't need any parameters.

You'll have to wait until the first update is available for a proper fix, will be today or tomorrow.