Author Topic: Different plugins causing errors?  (Read 1292 times)

StreetFighter

  • Guest
Different plugins causing errors?
« on: February 18, 2011, 12:23:03 am »
.
« Last Edit: March 31, 2011, 01:18:36 pm by DemonicSei »

Trevor

  • LackeyCCG Creator
  • Administrator
  • Hero Member
  • *****
  • Posts: 2589
    • View Profile
    • LackeyCCG
Re: Different plugins causing errors?
« Reply #1 on: February 18, 2011, 08:15:34 am »
Two people should never see a card played from a different source, even if their plugins don't match. The only case it could possibly happen is if player A moves it to the hand and player B moves it to the discard pile at the same time. Then when player A receives the message from player B, he gets a message telling him the card was moved to the discard pile. And when player B receives the message the message tells him the card goes to the hand. I could implement a system for resolving this conflict, but that is a lot of overhead and it should be a very rare occurrence. It would be difficult to get this sort of out-of-sync error if you were trying to get it.

The error should never happen if you don't mess with the other player's cards, specifically you should let a person move to his hand a card, or move to his discard pile a card.

If you see different cards, that is likely caused by different versions of the plugin. People should be using the same version of the plugin, and there is no excuse not to. You can update a plugin with a single mouse click, you are warned before entering a game with a person using a different version, and when you actually connect to a person with a different version you are again warned that this could cause problems.
« Last Edit: February 18, 2011, 08:22:35 am by Trevor »

Trevor

  • LackeyCCG Creator
  • Administrator
  • Hero Member
  • *****
  • Posts: 2589
    • View Profile
    • LackeyCCG
Re: Different plugins causing errors?
« Reply #2 on: February 18, 2011, 08:20:50 am »
Also, remember that everything is logged, so things should be able to be resolved by looking at the log, even if that rare fluke occurs and different players see a card moved to different locations. You should know based on the context of the game where that card should be even if one player moved it to somewhere it shouldn't be.


And if you suspect someone of cheating, don't play with them. The same rules apply for Lackey as with real cards.

Another reason to make sure that plugins match is a person COULD cheat if they were using a different version of the plugin. Don't play with people using different versions of the plugin. It's as simple as that. Update yourself, and if you see their's is still not matching yours, send them a friendly whisper and remind them to update.