title: Unrecognized selector sent to instance - why?
body: <p>OK so I have a code with an class object called "game". Every frame (60 FPS) I update that object with function that gets a string. After like 5 seconds of running the game I'm getting the unrecognized selector sent to instance error.</p>
  
  <p>The update:</p>
  
  <pre><code>[game updatePlayersAndMonsters:@"0" monsters:@"0"];
  </code></pre>
  
  <p>The function:</p>
  
  <pre><code>-(void)updatePlayersAndMonsters:(NSString*)players monsters:(NSString*)monsters {
      CCLOG(@"%@.%@", players, monsters);
  }
  </code></pre>
  
  <p>I don't understand what's going on.
  The error:</p>
  
  <pre><code>2011-07-03 12:13:19.175 app[65708:207] -[NSCFString updatePlayersAndMonsters:monsters:]: unrecognized selector sent to instance 0xc4e95b0
  2011-07-03 12:13:19.176 app[65708:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString updatePlayersAndMonsters:monsters:]: unrecognized selector sent to instance 0xc4e95b0'
  </code></pre>
  
  <p>What should I do? Thanks. Also IDK if any other details you need, so just write if I forget something, I just don't have an idea.</p>
  
  <p>UPDATE:
  Gmae is object of class GameNode:</p>
  
  <pre><code>    +(id) GmameNodeWithMapID:(int)MapID_ scene:(SomeScene*)MainScene_ players:(NSString*)Cplayers_ monsters:(NSString*)Cmonsters_ monsterCount:(NSString*)monsterCount_
  {
      return [[[self alloc] GmameNodeWithMapID:MapID_ scene:MainScene_ players:Cplayers_ monsters:Cmonsters_ monsterCount:monsterCount_] autorelease];
  }
  -(id) GmameNodeWithMapID:(int)MapID scene:(SomeScene*)MainScene players:(NSString*)Cplayers monsters:(NSString*)Cmonsters monsterCount:(NSString*)monsterCount
  {
      if( (self=[super init])) {
  </code></pre>
  
  <p>I create it with:</p>
  
  <pre><code>game = [GameNode GmameNodeWithMapID:ChoosenMapID scene:self players:Thing[5] monsters:Thing[6] monsterCount:Thing[4]];
  </code></pre>
  
  <p>UPDATE 2</p>
  
  <p>I create the SomeScene:</p>
  
  <pre><code>+(id) scene {
      CCScene *s = [CCScene node];
      id node = [SomeScene node];
      [s addChild:node];
      return s;
  }
  -(id) init {
      if( (self=[super init])) {
  </code></pre>
  
  <p>I use it:</p>
  
  <pre><code>[[CCDirector sharedDirector] replaceScene: [CCTransitionRadialCW transitionWithDuration:1.0f scene:[LoginScene scene]]];
  </code></pre>