Author Topic: [fixed] r2797: Forcing IRC nickname change  (Read 1277 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[fixed] r2797: Forcing IRC nickname change
« on: 11 November 2011, 19:01:18 »
There's a somewhat bizarre bug in the IRC client which causes this to happen:
Code: [Select]
* MG_tomreyn_248 (~MG_tomrey@[redaced]) joined #megaglest-lobby
<tomreyn> nick Googlehupf
* MG_tomreyn_248 is now known as Googlehupf
<tomreyn> nick MG_tomreyn_248
* Googlehupf ist now known as MG_tomreyn_248

MG_tomreyn248 is connected to IRC from the game lobby, tomreyn is connected using some other IRC client. As long as nick is the only command you can force upon players this should not be any more severe than just being funny - I tried some other commands but nick was the only one I could get to work. Nice easter egg, got more? :)

Edit: Credit for this goes to Atze, since he brought this up.
« Last Edit: 21 September 2014, 22:38:11 by titi »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ctz

  • Summoner
  • **
  • Posts: 46
  • aka cathaur, formerly lyra
    • View Profile
Re: r2797: Forcing IRC nickname change
« Reply #1 on: 14 September 2014, 19:33:26 »
The relevant code is in this source file: https://github.com/MegaGlest/megaglest-source/blob/develop/source/shared_lib/sources/platform/posix/ircclient.cpp#L320

To me, it looks like testing code that wasn't removed.

Besides "nick", "quit" (result: quit IRC with reason "of course, Master!") is notable.  Making other clients quit probably isn't so funny.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: r2797: Forcing IRC nickname change
« Reply #2 on: 21 September 2014, 22:37:47 »
fixed in git ( 4fc4359d990965615a7c9816b1a65a21f88383e9  )
« Last Edit: 22 September 2014, 01:00:44 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios