Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » BRenBot BIATCH plugin doesn't work
BRenBot BIATCH plugin doesn't work [message #470853] Fri, 06 July 2012 14:31 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
The regex in biatch.xml needs to be updated to:

    <hook event="biatchMessage" regex="\[BIATCH\]"/>


The 4.0 BIATCH messages don't prepend a whitespace to "[BIATCH]", which pre-4.0 BIATCH does. The original regex looks for this whitespace and that's why it didn't trigger.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: BRenBot BIATCH plugin doesn't work [message #470882 is a reply to message #470853] Sat, 07 July 2012 08:10 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Hm, as far as I know BIATCH never prepended any whitespace?

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: BRenBot BIATCH plugin doesn't work [message #470883 is a reply to message #470853] Sat, 07 July 2012 08:16 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
http://new.brenbot.com/projectDetails.php?projectID=8&OS=w

Quote:

- Bugfix for the space BI decided to stick in front of [BIATCH]


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: BRenBot BIATCH plugin doesn't work [message #470884 is a reply to message #470853] Sat, 07 July 2012 08:25 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
It definitely has/had a whitespace.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: BRenBot BIATCH plugin doesn't work [message #470913 is a reply to message #470853] Sat, 07 July 2012 16:01 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Weird, I wonder where that came from. Ah well, doesn't matter any more I guess.

Still, the original regex should work, because it matches \s* which means 0 or more whitespace characters.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: BRenBot BIATCH plugin doesn't work [message #470927 is a reply to message #470853] Sat, 07 July 2012 19:20 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
It's not working for some reason.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: BRenBot BIATCH plugin doesn't work [message #471002 is a reply to message #470853] Mon, 09 July 2012 06:03 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Fixed so that the strings now print a space before [BIATCH]


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Previous Topic: Bogus Credits in SP
Next Topic: Bugs that are not fixed (tested on st0rm and sla 4.0 servers)
Goto Forum:
  


Current Time: Sun Nov 10 02:00:09 MST 2024

Total time taken to generate the page: 0.00854 seconds