Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server to Server RemoteService send heart package which can not refresh the session #17

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<!--
This file needs to be put in the application directory. Make sure to set
'Copy to Output Directory' option in Visual Studio.
-->
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variable name="logDirectory" value="D:/NLog/AccountLog"/>
<variable name="logDirectory" value="AccountLog"/>
<targets>
<target name="Info" xsi:type="File" fileName="${logDirectory}/Info/${date:format=yyyyMMddHH}.txt" layout="${message}"/>
<target name="Debug" xsi:type="File" fileName="${logDirectory}/Debug/${date:format=yyyyMMddHH}.txt" layout="${message}"/>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Release/6.7.10.0/Console/GameServer.exe
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public override void BuildPacket()
{
DataStruct dsItem = new DataStruct();
dsItem.PushIntoStack(item.UserName);
dsItem.PushIntoStack(item.Score);
dsItem.PushIntoStack(item.Score);
//Console.WriteLine("Num count:{0}", item.Items.Count);
this.PushIntoStack(dsItem);
}
Expand Down Expand Up @@ -84,7 +84,7 @@ private int compareTo(UserRanking x, UserRanking y)
int result = y.Score - x.Score;
if (result == 0)
{
result = y.UserID - x.UserID;
result = y.UserID.CompareTo(x.UserID);
}
return result;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class GameUser : BaseUser
{
[ProtoMember(1)]
[EntityField(true)]
public int UserId { get; set; }
public long UserId { get; set; }

[ProtoMember(2)]
[EntityField]
Expand Down Expand Up @@ -63,12 +63,12 @@ public String RetailId

public string SId { get; set; }

protected override int GetIdentityId()
protected override long GetIdentityId()
{
return UserId;
}
public override int GetUserId()

public override long GetUserId()
{
return UserId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public UserRanking()

[ProtoMember(1)]
[EntityField(true)]
public int UserID
public long UserID
{
get;
set;
Expand Down Expand Up @@ -79,7 +79,7 @@ public DateTime CreateDate
[EntityField]
public CacheList<EquiAttrInfo> Items { get; set; }

protected override int GetIdentityId()
protected override long GetIdentityId()
{
return UserID;
}
Expand Down
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file added Release/6.7.10.0/Lib/ZyGames.Framework.Game.dll
Binary file not shown.
Binary file added Release/6.7.10.0/Lib/ZyGames.Framework.Game.pdb
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5610,7 +5610,7 @@
<param name="parameters"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.DbBaseProvider.ExecuteNonQuery(System.Int32,System.Data.CommandType,System.String,System.Data.IDataParameter[])">
<member name="M:ZyGames.Framework.Data.DbBaseProvider.ExecuteNonQuery(System.Int64,System.Data.CommandType,System.String,System.Data.IDataParameter[])">
<summary>
写入消息队列
</summary>
Expand All @@ -5620,7 +5620,7 @@
<param name="parameters"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.DbBaseProvider.ExecuteNonQuery(System.Int32,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<member name="M:ZyGames.Framework.Data.DbBaseProvider.ExecuteNonQuery(System.Int64,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<summary>

</summary>
Expand All @@ -5631,7 +5631,7 @@
<param name="parameters"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.DbBaseProvider.GenerateSql(System.Int32,ZyGames.Framework.Data.CommandStruct)">
<member name="M:ZyGames.Framework.Data.DbBaseProvider.GenerateSql(System.Int64,ZyGames.Framework.Data.CommandStruct)">
<summary>
生成Sql命令对象
</summary>
Expand Down Expand Up @@ -6107,7 +6107,7 @@
<param name="commands"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.MySql.MySqlDataProvider.ExecuteNonQuery(System.Int32,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<member name="M:ZyGames.Framework.Data.MySql.MySqlDataProvider.ExecuteNonQuery(System.Int64,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<summary>

</summary>
Expand All @@ -6118,7 +6118,7 @@
<param name="parameters"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.MySql.MySqlDataProvider.GenerateSql(System.Int32,ZyGames.Framework.Data.CommandStruct)">
<member name="M:ZyGames.Framework.Data.MySql.MySqlDataProvider.GenerateSql(System.Int64,ZyGames.Framework.Data.CommandStruct)">
<summary>

</summary>
Expand Down Expand Up @@ -6464,7 +6464,7 @@
<param name="key"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.SqlStatementManager.GetSqlQueueKey(System.Int32)">
<member name="M:ZyGames.Framework.Data.SqlStatementManager.GetSqlQueueKey(System.Int64)">
<summary>
Sql process queue
</summary>
Expand Down Expand Up @@ -6534,7 +6534,7 @@
<param name="commands"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.Sql.SqlDataProvider.ExecuteNonQuery(System.Int32,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<member name="M:ZyGames.Framework.Data.Sql.SqlDataProvider.ExecuteNonQuery(System.Int64,System.Data.CommandType,System.String,System.String,System.Data.IDataParameter[])">
<summary>

</summary>
Expand All @@ -6545,7 +6545,7 @@
<param name="parameters"></param>
<returns></returns>
</member>
<member name="M:ZyGames.Framework.Data.Sql.SqlDataProvider.GenerateSql(System.Int32,ZyGames.Framework.Data.CommandStruct)">
<member name="M:ZyGames.Framework.Data.Sql.SqlDataProvider.GenerateSql(System.Int64,ZyGames.Framework.Data.CommandStruct)">
<summary>

</summary>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Release/6.7.9.11/Console/GameServer.exe
Binary file not shown.
Binary file removed Release/6.7.9.11/Lib/ZyGames.Framework.Game.dll
Binary file not shown.
Binary file removed Release/6.7.9.11/Lib/ZyGames.Framework.Game.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Release/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Release
----------------
<ul>
<li>PythonLib: A library of Python scripts
<li>6.7.9.11: Is the latest R1 version of the library Scut Server
<li>6.7.9.10: Is the latest R1 version of the library Scut Server
</ul>
Old versions of libraries need to http://scutgame.com/download/
Loading