1. 程式人生 > >用p2p優化網路遊戲客戶端自動更新工具

用p2p優化網路遊戲客戶端自動更新工具

BT & eMule

還是先做這件事情比較實在,把某些pak包裡的一堆小檔案合成一個檔案,這樣子更新伺服器上就沒有那麼多一個個的小檔案了,防止玩家頻繁的建立連線。
   老子想編譯下emule,結果一堆的第三方庫,奶奶的!

初見成果,現在只剩下下面的問題了:

------ 已啟動生成: 專案: emule, 配置: Debug Win32 ------

正在連結
IPFilterDlg.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)
" (?[email protected]@@[email protected])
NetworkInfoDlg.obj : error LNK2019: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)" (?[email protected]@@[email protected]) ,該符號在函式 "void __cdecl CreateNetworkInfo(class CRichEditCtrlX &,struct _charformatw &,struct _charformatw &,bool)
" (?[email protected]@[email protected]@[email protected]@[email protected]) 中被引用
AddSourceDlg.obj : error LNK2019: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)" (?[email protected]@@[email protected]) ,該符號在函式 "protected: virtual int __thiscall CAddSourceDlg::OnInitDialog(void)
" (?[email protected]@@MAEHXZ) 中被引用
CollectionCreateDialog.obj : error LNK2019: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)" (?[email protected]@@[email protected]) ,該符號在函式 "unsigned int __stdcall ATL::_AtlGetThreadACPThunk(void)" (?[email protected]@@YGIXZ) 中被引用
CollectionViewDialog.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)" (?[email protected]@@[email protected])
DirectDownloadDlg.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableDialog::EnableSaveRestore(wchar_t const *,int)" (?[email protected]@@[email protected])
SharedFilesCtrl.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableSheet::EnableSaveRestore(wchar_t const *,int,int)" (?[email protected]@@[email protected])
ClientDetailDialog.obj : error LNK2019: 無法解析的外部符號 
"protected: void __thiscall CResizableSheet::EnableSaveRestore(wchar_t const *,int,int)" (?[email protected]@@[email protected]) ,該符號在函式 "protected: virtual int __thiscall CClientDetailDialog::OnInitDialog(void)" (?[email protected]@@MAEHXZ) 中被引用
FileDetailDialog.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableSheet::EnableSaveRestore(wchar_t const *,int,int)" (?[email protected]@@[email protected])
CollectionListCtrl.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableSheet::EnableSaveRestore(wchar_t const *,int,int)" (?[email protected]@@[email protected])
SearchListCtrl.obj : error LNK2001: 無法解析的外部符號 
"protected: void __thiscall CResizableSheet::EnableSaveRestore(wchar_t const *,int,int)" (?[email protected]@@[email protected])
DialogMinTrayBtn.obj : error LNK2019: 無法解析的外部符號 
"public: __thiscall CResizableDialog::CResizableDialog(wchar_t const *,class CWnd *)" (??[email protected]@[email protected][email protected]@@Z) ,該符號在函式 "public: __thiscall CDialogMinTrayBtn<class CResizableDialog>::CDialogMinTrayBtn<class CResizableDialog>(wchar_t const *,class CWnd *)" (??0?[email protected]@@@@[email protected][email protected]@@Z) 中被引用
ListViewWalkerPropertySheet.obj : error LNK2019: 無法解析的外部符號 
"public: __thiscall CResizableSheet::CResizableSheet(wchar_t const *,class CWnd *,unsigned int)" (??[email protected]@[email protected][email protected]@[email protected]) ,該符號在函式 "public: __thiscall CListViewWalkerPropertySheet::CListViewWalkerPropertySheet(wchar_t const *,class CWnd *,unsigned int)" (??[email protected]@[email protected][email protected]@[email protected]) 中被引用
cryptlib.lib(integer.obj) : error LNK2019: 無法解析的外部符號 
"public: unsigned int * __thiscall CryptoPP::AlignedAllocator<unsigned int>::allocate(unsigned int,void const *)" (?[email protected]?[email protected]@[email protected]@[email protected]) ,該符號在函式 "public: __thiscall CryptoPP::SecBlock<unsigned int,class CryptoPP::AlignedAllocator<unsigned int> >::SecBlock<unsigned int,class CryptoPP::AlignedAllocator<unsigned int> >(unsigned int)" (??0?[email protected]?[email protected]@[email protected]@@[email protected]@[email protected]@Z) 中被引用
Debug
/emule.exe : fatal error LNK1120: 5 個無法解析的外部命令

生成日誌儲存在“file:
//d:\soft\code\eMule0.48a-Sources\srchybrid\Debug\BuildLog.htm”中emule -15 錯誤,0 警告
2007-10-9
今天把這兩條解決了
cryptlib.lib(integer.obj) : error LNK2019: 無法解析的外部符號 "public: unsigned int * __thiscall CryptoPP::AlignedAllocator<unsigned int>::allocate(unsigned int,void const *)" (?[email protected]?[email protected]@[email protected]@[email protected]) ,該符號在函式 "public: __thiscall CryptoPP::SecBlock<unsigned int,class CryptoPP::AlignedAllocator<unsigned int> >::SecBlock<unsigned int,class CryptoPP::AlignedAllocator<unsigned int> >(unsigned int)" (??0?[email protected]?[email protected]@[email protected]@@[email protected]@[email protected]@Z) 中被引用

 2007-10-17
今天秒大刀把連結不過的問題解決了
解決方法:把ResizableLib的一個專案屬性改下


哈哈,爽了!


為表達感激之情,請秒大刀去吃飯,結果半路上被QA叫回公司了,暈!

posted on 2007-10-08 21:23 七星重劍 閱讀(1712) 評論(2)  編輯 收藏 引用 所屬分類: PL--c/c++Network ProgrammingP2P

相關推薦

p2p優化網路遊戲客戶自動更新工具

BT & eMule 還是先做這件事情比較實在,把某些pak包裡的一堆小檔案合成一個檔案,這樣子更新伺服器上就沒有那麼多一個個的小檔案了,防止玩家頻繁的建立連線。   老子想編譯下emule,結果一堆的第三方庫,奶奶的! 初見成果,現在只剩下下面的問題了: ------ 

新增客戶自動獲取微信地址功能、優化商品規格編輯體驗更新

酷客多 微信小程序最近,微信小程序官方又更新了,又開放十幾項接口,接口的增加意味著擁有小程序的企業主有了更多福利。酷客多作為國內首家微信小程序技術服務商自然要緊跟微信小程序官方的更新步伐,為客戶提供最新最前沿的技術服務,為此我們做了此次更新。此次版本更新主要是小程序端地址添加優化和後端商品規格添加體驗優化。

《Unity 3D遊戲客戶基礎框架》 protobuf網路框架

前言:        protobuf是google的一個開源專案,主要的用途是:1.資料儲存(序列化和反序列化),這個功能類似xml和json等;2.製作網路通訊協議;一、資源下載:二、資料儲存:        C#語言方式的導表和解析過程,在之前的篇章中已經有詳細的闡述:

java網路程式設計客戶與服務原理以及URL解析HTTP協議

常見客戶端與服務端   客戶端:     瀏覽器:IE   服務端:     伺服器:web伺服器(Tomcat),儲存伺服器,資料庫伺服器。 (注:會用到Tomact伺服器,在webapps下有一個自己建立的目錄myweb,下面有一個檔案1.html) 服務端原理   自

linux網路程式設計之多執行緒實現客戶到服務的通訊(基於udp)

1、開啟一個執行緒接受資料,主執行緒傳送資料的程式碼 #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #includ

unity客戶自動斷開連接

連接服務器 div 默認 true ont gpo 時間 宋體 情況下 問題描述: 當unity失去焦點一段時間後,與photon服務器端斷開連接 問題根源: 默認unity失去焦點後會暫停運行,導致連接超時,服務器端超時斷開連接 解決方案: 連接服務器後,填加一句代碼讓u

Zabbix 3.0.X 配置客戶自動註冊(Auto-Registration)

zabbix auto_registration 自動註冊 一、客戶端配置 1、配置zabbix官方源 [root@node11 ~]# rpm -iUh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el

Lua用於遊戲運行期熱更(不重啟遊戲客戶

服務端 道理 IT path 客戶 內存 每次 調用 清除 lua在Unity的熱更新中,一般是每次客戶端啟動的時候檢查是否有更新,然後加載。 如果要在運行期熱更,跟服務端做不停服熱更(比如java 用類構造啟動java腳本本身,或者luaJ)是一個道理。

RHEL7 配置iscsi服務並實現客戶自動開機掛載

page been hang disco portal count term naconda tmpfs 環境:server 172.25.0.11 ——iscsi server iqn:iqn.2016-02.com.example:server0client 172.

NAT網路部分客戶無法連線Server的解決方法

客戶端通過NAT連線上網,有的客戶端可以訪問server端,有的不可以,通過訪問固定請求的URL抓包排查和解決問題。 解決方法: # sysctl -a |egrep "timest|recycle" net.ipv4.tcp_timestamps = 1 net.ipv4.tcp_

skill——zbbix(主動客戶自動註冊)

主動客戶端自動註冊 自動註冊(agent auto-registration)功能主要用於 Agent 主動且自動向 Server 註冊。與前面的自動發現(Network discovery)具有同樣的功能 但是這個功能更適用於特定的環境:當存在一個條件未知(如 agent 端的 IP 地址段、age

實現SpringCloud Config 客戶自動重新整理

一、簡介 在使用SpringCloud Config客戶端時,如果Config服務端配置檔案發現了變化,如果客戶端需要同步的話,需要手動的訪問客戶端的/refresh(POST請求)端點來重新整理客戶端配置 使用定時器的方式來解決手動重新整理 1、找到類org.

網路遊戲伺服器程式設計》——學習筆記(day1)

宣告 本人萌新一枚,以後想進入遊戲開發行業,so,開始自學《網路遊戲伺服器端程式設計》一書,在部落格上寫筆記以記錄提取一些書中我自認為有用的知識點,如有侵權或者一些別的問題,請私信我,謝謝! 網路程式設計基礎 網路遊戲伺服器端開發概述 Client/Serve

遊戲客戶面試(Unity)

推薦閱讀:  我的CSDN  我的部落格園  QQ群:704621321 一。最開始的兩家公司筆試面試題目       

gSoap開發 C/C++ 客戶 連線Web Service

轉載地址: http://blog.csdn.net/zhaiwenjuan/article/details/6590941 少了個安裝步驟 1、下載解壓gsoap檔案2、安裝所需的相關工具    sudo apt-get install g++&nb

《Unity 3D遊戲客戶基礎框架》概述

框架概述: 做了那麼久的業務開發,也做了一年多的核心戰鬥開發,最近想著自己倒騰一套遊戲框架,當然暫不涉及核心玩法型別和戰鬥框架,核心戰鬥的設計要根據具體的遊戲型別而定製,這裡只是一些通用的基礎系統的框架搭建,其中包括: UI框架(NGUI + MVC) 訊

ICE學習(九) 客戶自動重試

比如,假如一次呼叫,產生了多次重試,第一次嘗試的結果是ConnectionRefusedException,最後一次嘗試的結果是ConnectTimeoutException,那麼這次呼叫會產生ConnectTimeoutException異常。

go實現的kafka客戶,基於sarama和sarama-cluster

工作中需要將原先的訊息佇列替換成kafka,於是接觸了基於go實現的sarama,又因為sarama不支援consumer group,於是又使用了sarama cluster,同時又希望儘量保證消費一次的語義,說到這個exactly once,sarama從去年就立了issue要支援e

Android Asynchronous Http Client-Android非同步網路請求客戶介面

1.簡介Android中網路請求一般使用Apache HTTP Client或者採用HttpURLConnect,但是直接使用這兩個類庫需要寫大量的程式碼才能完成網路post和get請求,而使用android-async-http這個庫可以大大的簡化操作,它是基於Apach

《Unity 3D遊戲客戶基礎框架》protobuf 導excel表格資料

前言:        之前使用NPOI外掛編寫的導表工具,其實就是直接將資料進行序列化,解析時還需要進行反序列化,步驟比較繁複,最近看到Google的一個開源的專案protobuf,不僅可以用於進行ex