nexuiz netcode

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Thu Jul 12, 2007 5:57 am

  • I've recently dove into python, and found a python module that lets you do stuff with quake 3 servers. Is the netcode in nexuiz for server variables, player listings, rcon, etc much different from quake 3?
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Thu Jul 12, 2007 7:16 am

Thu Jul 12, 2007 8:17 am

  • Right, you send rcon commands as a

    "\xFF\xFF\xFF\xFFrcon hackme whateveryouwanttodo"

    packet (in DP SVN, you can separate multiple commands by a \0) and you get responses as packets of the form

    "\xFF\xFF\xFF\xFFnUnknown command whateveryouwanttodo"

    That's all you need to know about the rcon protocol...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Jul 12, 2007 8:07 pm

  • That's all you need to know about the rcon protocol...


    We're on a need to know basis...and damnit we don't need to know! :twisted: 8)
    User avatar
    Mr.Carlyle
    Alien
     
    Posts: 148
    Joined: Sat Jun 16, 2007 6:17 pm
    Location: USA



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest