GithubHelp home page GithubHelp logo

cam's People

Contributors

aldnonymous avatar c-higgins avatar deathreaver1 avatar killballad avatar lalcmellkmal avatar ledaifuku avatar piruruk-tan avatar that4chanwolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cam's Issues

Only one user can play per outward IP

I'm (sadly) behind a router with a NAT, and only one person from my household can play at a time, because the game appears to store sessions based on IP address. This seems like a pretty big issue for bigger NATs, such as a dorm. Furthermore, there is not really an error message for this case - sometimes the join button turns into "already connected" (which is reasonable, I guess), but more often the join button just disappears when clicked!

Regarding The Great Card Crash of 9/22

Greetings Lal'C

Currently there are a few teams racing to create the first CAM playing bot. For this reason I've been researching what http requests are being exchanged.

While joining a game, the join requests sends a parameter GameID which in normally 1. Changing it, as i expected, led me to a different game room. The problem is that it seems that the join command is the only piece of code that somewhat supports the idea of rooms, so the reaction of everything else isn't quite predictable which led to the great crash.

To be more precise the problem arises from 3 things.

  1. The only way to join another game room is by joining the game in the room
  2. You can only leave the room you are in currently
  3. You will be randomly kicked back to room 1 from other rooms
    So a person in a game in a room 2 for example after being kicked to room 1, will not be able to return to room 2 since the only way to do so is to join the game in room 2 which he already joined. Since he can't join that room, he can't leave it. Since the game doesn't know how to treat rooms this zombie player is also displayed in room 1. And this zombie player doesn't ever get dropped by the idle system since from rooms 2 point of view, he's not idling, he's the only player. The connection breakers seem to also only operate with room 1, so the zombie doesn't ever leave room 2. The gray zombies probably operate in similar fashion. Chat in other rooms works in mysterious ways which are inconsistent.

P.S.
The last card update went wrong somehow, the cards are on the git, but not in game. The site was down on the day of update so maybe it's that. Or y-you m-might have forgotten to run the u-update script.

P.S.S.
s-sorry for messing up the game

New users join at bottom of list [exploit]

After leaving and re-entering a round, the player will be put at the bottom of the judge list. This allows for 2+ players to forever be the only judges, by cycling themselves. Player A is in the second to last position and player B in the last position. Player A waits for his turn to judge, and after choosing a card leaves and re-enters the round. Player B is now judge and in the second to last position. These two players can repeat indefinitely, allowing no others to judge.

The simple fix would be to have players join at the top of the list.

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.