Giter Site home page Giter Site logo

MM Login while connected about qfusion HOT 8 CLOSED

qfusion avatar qfusion commented on May 12, 2024
MM Login while connected

from qfusion.

Comments (8)

viciious avatar viciious commented on May 12, 2024

For this to become reality you'll have to come up with design/API changes yourself. At the moment, session id is transmitted to the server at the connection stage and thus can not change after that.

from qfusion.

kalhartt avatar kalhartt commented on May 12, 2024

My thought was along these lines.

  • client mm queries would be disconnected from the gameserver connecting process
  • game module would provide a comand like g_mm_login csession cticket
  • after connecting, client would automatically query /ccc and execute command on callback

Which is essentially what racesow was using before, of course there would need to be some extras in the game command like flood protection and clearing player stats.

from qfusion.

viciious avatar viciious commented on May 12, 2024

What you're proposing won't work unless I'm connected to a game server.
This is a major flaw.

2014-04-30 2:20 GMT+04:00 Kalhartt [email protected]:

My thought was along these lines.

  • client mm queries would be disconnected from the gameserver
    connecting process
  • game module would provide a comand like g_mm_login csession cticket
  • after connecting, client would automatically query /ccc and execute
    command on callback

Which is essentially what racesow was using before, of course there would
need to be some extras in the game command like flood protection and
clearing player stats.


Reply to this email directly or view it on GitHubhttps://github.com/viciious/qfusion/issues/82#issuecomment-41739556
.

Best regards,
Victor Luchitz

from qfusion.

kalhartt avatar kalhartt commented on May 12, 2024

The only part of this that must be done on a gameserver is obtaining a ticket_id (which at the moment must be done while connecting to a gameserver). The /clogin query to get session_id and profile info is unchanged.

from qfusion.

viciious avatar viciious commented on May 12, 2024

I still think we don't want users to manually issue console commands. Any thoughts on how we could handle this automatically?

from qfusion.

kalhartt avatar kalhartt commented on May 12, 2024

Right of course, we just have the /ccc query auto-execute in some post-connect hook. This could be done purely clientside.
In racesow, we had the game module send a client command on 'entergame' which made the client respond w/ the login command as a workaround for not being able to modify client.

from qfusion.

Triang3l avatar Triang3l commented on May 12, 2024

How about simply asking the player to reconnect after logging in while playing on a ranked server?

from qfusion.

viciious avatar viciious commented on May 12, 2024

Closing due to the lack of activity.

from qfusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.