FlexHub Forum

Some help please !! PM is best!!

Offline dchublist.org

  • *
  • 15
  • http://dchublist.org
Some help please !! PM is best!!
« on: November 02, 2013, 17:41:38 »
What would be a good lock regex and version regex for ping that works with flexhub??

For example here is ptokaX one:

version regxp is:
/PtokaX[\ ]DC[\ ]Hub[\ ]([0-9\.\-RCd]+)/{{{1

lock xp is:
/^\$Lock EXTENDEDPROTOCOL.{25,27}(win|linux)[\ ]Pk=(.*)$/{{{2

Can someone come up with one for flexhub??

Thanx!!!!
« Last Edit: November 02, 2013, 19:28:03 by UnitedHublist »

Re: Some help please !! PM is best!!
« Reply #1 on: November 29, 2013, 06:34:11 »
I'm not exactly sure what you're doing with the regexp or where/how you're adding them so I don't really have a chance of testing these or knowing wth I'm doing myself :D but you can try em' and see if they work for you.

$version:
/^\$Version\040\d+\.\d+.$/{{{1

$lock:
/^\$Lock\040EXTENDEDPROTOCOL_FLEXHUB_MULTIPROTOCOL_\w\w\w\w\040Pk=version\d+\.\d+$/{{{2

motd (version?):
/FlexHub\040Beta\040\d\.\d\040svn:\040\d+\040\-\040Made\040by\040Daywalker,\040FlipFlop\040and\040en_dator\./
My contribution to *DC - Excalibur.lua - http://www.launchpad.net/excalibur-lua