Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [server regulator]CloudyServ 0.982-X3 Public Release
Re: [server regulator]CloudyServ 0.982-X3 Public Release [message #484688 is a reply to message #484652] Sat, 30 November 2013 05:08 Go to previous messageGo to previous message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma:
Colonel
Xpert wrote on Thu, 28 November 2013 23:47

Ya I thought I was doing something wrong but I've asked a few people who tried using IRC to handle the data and they get the same problem. It skips lines especially during the gamelog building damage events.


Can you try this mirc code which made WD if it works?
alias TCPLogConnect {
  sockopen TCPLog 127.0.0.1 8025
}

on *:sockread:TCPLog: {
  sockread -fn &TCPLogRead
  var %Offset = 0
  var %Len = $bvar(&TCPLogRead,0)
  if (%Len < 8) {
    return
  }
  if ($bvar(&TCPLogRead,1) == 0) {
    %Offset = 1
  }
  var %ID = $bvar(&TCPLogRead,$calc(%Offset + 1),3).text
  if (%ID == 000) {
    var %Message = $bvar(&TCPLogRead,$calc(%Offset + 15),%Len).text
    if (%Message) {
      Parse_Log %Message 
    }
  }
  else if (%ID == 001) {
    var %Message = $bvar(&TCPLogRead,$calc(%Offset + 15),%Len).text
    if (%Message) {
      Parse_GameLog %Message 
    }
  }
  else if (%ID == 002) {
    var %Message = $bvar(&TCPLogRead,$calc(%Offset + 15),%Len).text
    if (%Message) {
      Parse_RenLog %Message 
    }
  }
  else if (%ID == 003) {
    var %Message = $bvar(&TCPLogRead,$calc(%Offset + 4),%Len).text
    if (%Message) {
      Parse_Console %Message 
    }
  }
}
alias Parse_Log {
  echo -a Parse_Log - $1-
  .signal -n ssgm_log $1-
}

alias Parse_GameLog {
  tokenize 59 $1-
  echo -a Parse_GameLog - $1-
  .signal -n game_log $1-
}

alias Parse_RenLog {
  echo -a Parse_RenLog - $1-
  .signal -n ren_log $1-
}

alias Parse_Console {
  echo -a Parse_Console - $1-
  .signal -n console_log $1-
}



Will be nice have also CloudyServ which support TT. Newer BR doesnt support all plugins.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Server Plugin] Death Animations
Next Topic: [4.1 Sidebar] Mauler's Renegade Sidebar
Goto Forum:
  


Current Time: Mon Dec 02 15:54:37 MST 2024

Total time taken to generate the page: 0.00788 seconds