有人能帮我调试下我做的作业吗?我实在调不好啊,谢谢大家!

dangdang0883 2008-03-12 07:59:29
谢谢大家啊!
...全文
123 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
dangdang0883 2008-03-13
  • 打赏
  • 举报
回复
up
Error_Code 2008-03-13
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 ice_Dream 的回复:]
FileNotFoundException;
[/Quote]
呵呵
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
您的主机中的软件放弃了一个已建立的连接 ,是怎么回事啊!!!
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
老是,有包收不到。或是处理不过来,用断点看,程序就是好的!
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
啊,,,,,,,,,,怎么能传上来啊,
panzi667 2008-03-12
  • 打赏
  • 举报
回复
up
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
我的QQ 7548155 哪个好人帮帮忙!
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
好象发不完,有几千行55555555555
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
void connection_ClientSendCard(object sender, SendCardEventArgs e)
{
ServerConnection con = (ServerConnection)sender;
#region DEBUG
Console.Write(con.UserName);
Console.WriteLine("发送请求出牌牌信息验证!");
#endregion
Card sendCard = (Card)e.SendCard;

DdzRule ddzRule = new DdzRule();
int temp222=TableJudge.JudgeTableNumber(table, con.UserName);

if (_tableCard.TableCards[TableJudge.JudgeTableNumber(table, con.UserName) - 1].TempSendCard != null)
{
//判断出牌信息是否符合逻辑

if (ddzRule.JudgeCardValue(_tableCard.TableCards[TableJudge.JudgeTableNumber(table, con.UserName) - 1].TempSendCard, sendCard))
{
_tableCard.TableCards[TableJudge.JudgeTableNumber(table, con.UserName) - 1].TempSendCard = sendCard;

_tableCard.TableCards[TableJudge.JudgeTableNumber(table, con.UserName) - 1].PassNumber = 0;

Packet OutCardPacket = CreateCard();

OutCardPacket.Message = sendCard;
//发送信息给同一桌的所有玩家
TableJudge.SendPacketInSameTable(table, con, OutCardPacket, clients);
}
else
{
Packet OutCardPacket = CreateCard();
OutCardPacket.Message = sendCard;

Card ErrorCard = (Card)OutCardPacket.Message;
ErrorCard.Action = ActionType.Error;

//发送信息给同一桌的所有玩家
TableJudge.SendPacketInSameTable(table, con, OutCardPacket, clients);
}
}
else
{
_tableCard.TableCards[TableJudge.JudgeTableNumber(table, con.UserName) - 1].TempSendCard = sendCard;
Packet OutCardPacket = CreateCard();
OutCardPacket.Message = sendCard;
//发送信息给同一桌的所有玩家
TableJudge.SendPacketInSameTable(table, con, OutCardPacket, clients);
}
}
ice_Dream 2008-03-12
  • 打赏
  • 举报
回复
FileNotFoundException;
致远登高 2008-03-12
  • 打赏
  • 举报
回复
????没东西咋调呀
ckl881003 2008-03-12
  • 打赏
  • 举报
回复
你的代码呢????
sdmajun 2008-03-12
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 priwilliam 的回复:]
请出示您的代码
[/Quote]

呵呵~~
ChrisAK 2008-03-12
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 celery94 的回复:]
你是什么代码? 总要拿出来的啊
[/Quote]
priwilliam 2008-03-12
  • 打赏
  • 举报
回复
请出示您的代码
celery94 2008-03-12
  • 打赏
  • 举报
回复
你是什么代码? 总要拿出来的啊
dangdang0883 2008-03-12
  • 打赏
  • 举报
回复
谁能帮我调下我的作业的代码啊,谢谢大家!我真的调不好!

谢谢大家了啊!

110,529

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧