Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » BRenBot bug
BRenBot bug [message #300076] Fri, 30 November 2007 08:43 Go to next message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

BRenBot has problems with player names containing spaces.
I used "!kick Yrr (1)" and "Yrr (1)" was kicked and added to kicklog.
If I rejoin with "Yrr", I get kicked, because the kicklog contains "Yrr (1)" with same IP.
If I use "!allow Yrr" it does not find the entry in the kicklog.
If I use "!allow Yrr (1)", it looks for a kick entry for "Yrr", which is not present. ("!allow <x> <y>" looks up "<x>" instead of "<x> <y>")


[Updated on: Fri, 30 November 2007 08:51]

Report message to a moderator

Re: BRenBot bug [message #300212 is a reply to message #300076] Fri, 30 November 2007 17:26 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The reason for this is because the space is used as a division between parameters, hence anything after a space is considered to be the next parameter in the command. Since direct connect and gayspy allow any character to be used in a name, there is no alternative character that can be used to delimit parameters, hence the problem.

Kicks expire after 24 hours anyway.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 30 November 2007 17:26]

Report message to a moderator

Re: BRenBot bug [message #300226 is a reply to message #300076] Fri, 30 November 2007 18:29 Go to previous messageGo to next message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

Since there is no need to have more than one parameter for the allow command, the whole parameter string could be used.

*edit* Alternatively you can allow parameters with spaces by adding quotes.

!allow "Yrr (1)"


[Updated on: Fri, 30 November 2007 18:30]

Report message to a moderator

Re: BRenBot bug [message #300271 is a reply to message #300076] Sat, 01 December 2007 01:12 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Ah, and then you have the question:

does "yrr (1)" mean the player called yrr (1) or the player called "yrr (1)" ? As I said before, someone people have some seriously retarded names with all sorts of stupid characters and symbols in them...


http://steamsignature.com/card/1/76561197975867233.png
Re: BRenBot bug [message #300309 is a reply to message #300271] Sat, 01 December 2007 08:47 Go to previous message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

danpaul88 wrote on Sat, 01 December 2007 09:12

Ah, and then you have the question:

does "yrr (1)" mean the player called yrr (1) or the player called "yrr (1)" ? As I said before, someone people have some seriously retarded names with all sorts of stupid characters and symbols in them...



That's what programmers invented quoting for...
!allow "\"Yrr (1)\""


Previous Topic: BR Protocal
Next Topic: BRenBot plugins: Rules & IP database
Goto Forum:
  


Current Time: Wed Dec 11 07:40:54 MST 2024

Total time taken to generate the page: 0.00726 seconds