The Mud Connector

Author Topic: MSDP connection problem  (Read 3221 times)

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
MSDP connection problem
« on: March 30, 2018, 7:15 PM »
Good Afternoon,

So I got Kavir's protocol snippet compiled in place.  Rebooted mud, all seemed good.  Did a copyover it crashed, but came back up yet.  Next I added cha, lck, blood, max_blood to the msdp_update, protocol.c and protocol.h.  compiled error free.  I don't really think this is cause of this, as it fairly straight forward.  But some how I can't log on the game.  This is a testport, but it won't let me log on or new players using any mud client.  I thought it might be a MCCP issue, I commented out StartCompression call and still can't log on game.

Anyone experience anything simular or have good advice on how to figure this out.  There is no core, game is not crashing at all, just won't connect players.  Log is showing only the IP address trying to connect.

This is a smaug-like install.  It compiles using g++ like smaugfuss.
« Last Edit: March 30, 2018, 7:18 PM by Vladaar07 »

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #1 on: March 30, 2018, 8:06 PM »
Seems to be failing it new_descriptor.  I'll re-read my install on that area and add some debugging logs.

So far logs now have
Sat Mar 31 00:41:12 2018 :: Host: 73.147.140.137, Port: 55620.
Sat Mar 31 00:41:12 2018 :: [*****] BUG: ProtocolNegotiate:
Sat Mar 31 00:41:12 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1


Adding more debugging info.
« Last Edit: March 30, 2018, 8:38 PM by Vladaar07 »

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #2 on: March 30, 2018, 8:45 PM »


Sat Mar 31 00:48:02 2018 :: Host: 73.147.140.137, Port: 55680.
Sat Mar 31 00:48:02 2018 :: [*****] BUG: ProtocolNegotiate:
Sat Mar 31 00:48:02 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:02 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 24
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 2 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 31
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 3 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 42
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 4 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 69
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 5 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 70
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 6 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol -56
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 7 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 90
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 8 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 91
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1
Sat Mar 31 00:48:03 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 86
Sat Mar 31 00:48:03 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1
« Last Edit: March 30, 2018, 8:47 PM by Vladaar07 »

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #3 on: March 30, 2018, 8:52 PM »
Sat Mar 31 00:56:16 2018 :: Host: 73.147.140.137, Port: 55796.
Sat Mar 31 00:56:16 2018 :: [*****] BUG: ProtocolNegotiate:
Sat Mar 31 00:56:16 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:16 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 24 IAC -1
Sat Mar 31 00:56:16 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 2 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 31 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 3 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 42 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 4 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 69 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 5 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 70 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 6 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol -56 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 7 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 90 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 8 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 91 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 86 IAC -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: Write: -1
Sat Mar 31 00:56:17 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #4 on: March 30, 2018, 9:03 PM »
Sat Mar 31 01:05:51 2018 :: Host: 73.147.140.137, Port: 55926.
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ProtocolNegotiate:
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 24 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 0 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 0 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 0 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 2 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 31 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 3 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 42 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 4 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 69 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 5 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 70 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 6 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol -56 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 7 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 7 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 90 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 8 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 91 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 86 IAC -1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:05:51 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:05:51 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #5 on: March 30, 2018, 9:21 PM »
Okay so seems to be failing in write_to_buffer. 
Sat Mar 31 01:20:37 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol -56 IAC -1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 d->fcommand 0 txt ��� length 3
Sat Mar 31 01:20:37 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 7 abWillDo 1 abSendReply 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 90 IAC -1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 d->fcommand 0 txt ��Z length 3
Sat Mar 31 01:20:37 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 8 abWillDo 1 abSendReply 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -3 aProtocol 91 IAC -1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 d->fcommand 0 txt ��[ length 3
Sat Mar 31 01:20:37 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: SendNegotiationSequence: aCmd -5 aProtocol 86 IAC -1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: Write: apData value of -1 WriteOOB 1
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 length 0
Sat Mar 31 01:20:37 2018 :: [*****] BUG: write_to_buffer: WriteOOB 1 d->fcommand 0 txt ��V length 3
Sat Mar 31 01:20:37 2018 :: [*****] BUG: ConfirmNegotiation: aProtocol 10 abWillDo 1 abSendReply 1


Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #6 on: March 30, 2018, 10:40 PM »
My pProtocol->pVariables is spitting out garbage.

Sat Mar 31 02:40:43 2018 :: [*****] BUG: ProtocolCreate:
Sat Mar 31 02:40:43 2018 :: [*****] BUG: ProtocolCreate: pProtocol->pVariables �^M��#^?

   pProtocol->pVariables = (MSDP_t**)(malloc(sizeof(MSDP_t*)*eMSDP_MAX));

That is what I have in ProtocolCreate function.

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #7 on: March 30, 2018, 10:57 PM »
Got it working.  Yeah for debugging.

Well seems I was missing a return.

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #8 on: March 31, 2018, 12:02 AM »
Thank you Kavir for your hard work!!!  This is awesome potential for players and admin.

I have your generic with our name on it for now, but will get some good graphics in place soon.  See the link for Classic 6Dragons Mushclient example.

http://6dragons.tk/success.png

Tijer

  • Community Manager
  • TMC Veteran
  • *****
  • Posts: 728
    • View Profile
Re: MSDP connection problem
« Reply #9 on: April 01, 2018, 3:07 PM »
Just to let you know Vladaar, KaVir's protocol snippet had some modifications made to it in 2012, which made the generic plug in not work correctly.  I cant remember what exactly was changed, but i do know the mapper part ceased to work.  I will have a look in my storage drive, and see if i have a version that does work properly, and forward this to you. :)

--Tijer
War of Legend    • Mud • Waroflegend.net port 4200   • Web • http://www.waroflegend.net
Aadarian Realms • Mud • Aadaria.net port 1111/1114  • Web • http://www.aadaria.com

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #10 on: April 01, 2018, 4:47 PM »
Thanks having super hard time finding out information on problem solving issues.  Mudbytes is virtually unsearchable anymore and a lot of that stuff was done there.

Copyover crashes is my biggest pain atm.  But yeah I was thinking some of that generic stuff wasn't working properly.

Vladaar07

  • New to TMC
  • *
  • Posts: 31
    • View Profile
    • Classic 6Dragons
Re: MSDP connection problem
« Reply #11 on: April 03, 2018, 10:22 PM »
Weeeee, copyover issue fixed and game working very well with MSDP.

See example:

http://6dragons.tk/MushClient.png

Tijer

  • Community Manager
  • TMC Veteran
  • *****
  • Posts: 728
    • View Profile
Re: MSDP connection problem
« Reply #12 on: April 04, 2018, 4:51 AM »
Good to see another mud has got this working... really do need scandum to update his mssp crawler @ http://tintin.sourceforge.net/mssp/mudlist.html
as its not been updated for a while, and also appears to have become broken recently?
--Tijer
War of Legend    • Mud • Waroflegend.net port 4200   • Web • http://www.waroflegend.net
Aadarian Realms • Mud • Aadaria.net port 1111/1114  • Web • http://www.aadaria.com