Register for your free account! | Forgot your password?

You last visited: Today at 06:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



bad error

Discussion on bad error within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 38
Received Thanks: 1
bad error

PHP Code:
               for (byte b2 0b2 13b2 += 1)
                {
                    
PokerCard pokerCard = new PokerCard();
                   
pokerCard.Id b2 13 b;
                    
pokerCard.Typ typ;
                    
pokerCard.Val b2;
                    
this.Cards.Add(pokerCard.IdpokerCard);
                }
            } 

PHP Code:
        public uint GetNextSeat(byte Seatbool Next)
        {
            
uint result;
            try
            {
                
System.Collections.Generic.Dictionary<bytePokerPlayerseats this.Seats;
                
byte b Seat 1;
                
bool flag false;
                while (!
flag)
                {
                    if (
seats.ContainsKey(b))
                    {
                        if (
seats[b].RoundState != && seats[b].Connected)
                        {
                            break;
                        }
                    }
                    
+= 1;
                    if (
9)
                    {
                        
0;
                    }
                }
                
uint playerId seats[b].PlayerId;
                if (
playerId == this._StartingPlayer && Next)
                {
                    
this.RoundStage += 1;
                }
                
result playerId;
            }
            catch (
System.Exception ex)
            {
                
PhoenixProject.Console.WriteLine(ex.ToString());
                
result 0u;
            }
            return 
result;
        } 
error here
Quote:
pokerCard.Id = b2 + 13 * b;
and
Quote:
byte b = Seat + 1;
the error is


PHP Code:
Error    1    Cannot implicitly convert type 'int' to 'byte'An explicit conversion exists (are you missing a cast?) 
any help i try to understand
anawbas is offline  
Old 03/24/2013, 21:00   #2
 
EOS 60D's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 94
Received Thanks: 13
The error code is the answer.
Quote:
Cannot implicitly convert type 'int' to 'byte'.
EOS 60D is offline  
Old 03/24/2013, 21:17   #3
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
byte b = (byte)Seat + 1;
abdoumatrix is offline  
Thanks
1 User
Old 03/24/2013, 21:34   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 38
Received Thanks: 1
Quote:
Originally Posted by EOS 60D View Post
The error code is the answer.
i know that but where is the code which have int to cahnge into any const aviable for convert

Quote:
Originally Posted by abdoumatrix View Post
byte b = (byte)Seat + 1;
i will try

big failure
anawbas is offline  
Reply


Similar Threads Similar Threads
PBDO Bot Error !! A Socket connection error while connecting to the bot auth server.
12/08/2012 - DarkOrbit - 11 Replies
A Socket connection error while connecting to the bot auth server. Trying another one. ERROR PBDO
İbot Error-Error Video- Error İmages-HELP
04/10/2012 - DarkOrbit - 11 Replies
SORRY, MY ENGLİSH VERY BAD.I USE TO GOOGLE TRANSLATE :) Most people trying to ibot but in my computer İbot not working. Declared out this error everywhere but I do not get answers Here's the error Video http://youtu.be/q0fK09v-K3c
API Error Code: 100 API Error Description: Invalid parameter Error Message: redirect_
04/08/2012 - elite*gold Trading - 2 Replies
API Error Code: 100 API Error Description: Invalid parameter Error Message: redirect_uri URL is not properly formatted Das bekomme ich wenn ich ne App installiere... ich habe schon 3 Apps richtig installiert, danach kam immer das bei anderen Apps die ich installiert habe.. was heisst das? redirect_uri URL is not properly formatted



All times are GMT +2. The time now is 06:47.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.