QQ群:162541429 --->>战斗卡牌视频教程发布(网游) 点击查看

unity战斗卡牌视频教程 第六课 – 登录对接服务成功跳转Loading

Unity 小宝 2614℃ 8评论

预览图

1

2

 

客户端代码

 

 服务端代码

 视频下载地址

目录汇总:http://www.xiaobao1993.com/886.html

 

转载请注明:小宝个人笔记 » unity战斗卡牌视频教程 第六课 – 登录对接服务成功跳转Loading

喜欢 (2)or分享 (0)
本站所有内容如未标明转载的内容,均为原创内容。转载请注明来源!
发表我的评论
  1. 小宝啊,有个问题我看完所有视频还是没搞清楚。ContractTools工具平台不是快速提供客户端和服务器端的通讯代码吗,但是每次给服务器发请求都是调用Net.Instance.Send方法,我进到Net类里追踪看了,最后还是使用的Socket发送请求。Net,NetPackage这几个类是自动生成的吗?ContractTools好像只能生成各种Action类啊。百撕不得骑姐,望解惑,谢谢

  2. 小宝老师,我在使用vs action100启动scut时,它报错了:

    Time:2015/9/30 18:41:34-Trace>>OnInit error:System.Exception: Redis server is using "192.168.1.38" game server, it’s path:F:UnityDemoBPBZG OLHelloWorldTestHelloWorldTest
    at ZyGames.Framework.Redis.RedisConnectionPool.<InitRedisInfo>b__0(RedisClient cli)
    at ZyGames.Framework.Redis.RedisConnectionPool.<>c__DisplayClass10.<>c__DisplayClass12.<ProcessTrans>b__f()
    at ZyGames.Framework.Redis.RedisConnectionPool.ProcessTrans(RedisClient client, String[] watchKeys, Func1 processFunc, Action1 transFunc, Action2 errorFunc)
    at ZyGames.Framework.Redis.RedisConnectionPool.<>c__DisplayClass10.<ProcessTrans>b__e(RedisClient client)
    at ZyGames.Framework.Redis.RedisConnectionPool.Process(Action
    1 func)
    at ZyGames.Framework.Redis.RedisConnectionPool.ProcessTrans(String[] watchKeys, Func2 processFunc, Action1 transFunc, Action2 errorFunc)
    at ZyGames.Framework.Redis.RedisConnectionPool.ProcessTrans(String watchKeys, Func
    2 processFunc, Action`1 transFunc)
    at ZyGames.Framework.Redis.RedisConnectionPool.InitRedisInfo()
    at ZyGames.Framework.Redis.RedisConnectionPool.Initialize(RedisPoolSetting setting, ICacheSerializer serializer)
    at ZyGames.Framework.Redis.RedisConnectionPool.Initialize(ICacheSerializer serializer)
    at ZyGames.Framework.Game.Runtime.GameEnvironment.Start(EnvironmentSetting setting, CacheSetting cacheSetting)
    at ZyGames.Framework.Game.Runtime.GameEnvironment.Start(EnvironmentSetting setting)
    at ZyGames.Framework.Game.Runtime.RuntimeHost.OnStart()

    请问这要怎么解决?上网查了找不到解决方法,只好求助你了

  3. IndexOutOfRangeException: Array index is out of range.
    Net.SocketRequest (.GameAction gameAction, .ActionParam actionParam, IHeadFormater formater, Boolean bShowLoading) (at Assets/Server/Game/Net.cs:221)

    Net.Send (Int32 actionId, System.Action`1 callback, .ActionParam actionParam, Boolean bShowLoading) (at Assets/Server/Game/Net.cs:200)
    SceneLogin.ButtonClick (UnityEngine.GameObject click) (at Assets/Scripet/Game/Login/SceneLogin.cs:96)
    SceneLogin.OnClick (UnityEngine.GameObject target) (at Assets/Scripet/Game/Login/SceneLogin.cs:44)
    什么情况啊?