---My own Server Compiler(Built on VMWARE 16):
This VM contains both v305 & v306 default Server Sources from shenmo.7z and I have used skills source from december 3rd 2015 from wskill_gen.2015-12-04.tgz that @Fyyre has shared.
*FW_Server_Compiler(2022):
https://drive.google.com/file/d/1gIJHud3mV5Olo4xgeyTjNWM5YVcOGTNr/view?usp=sharing
VM login:
username=root
password=123456
I had to update my server compiler because the First Server Compiler had bugs preventing from compiling skills & gdeliveryd properly.
---Useful links:
*This is the fedora archive website to download Fedora old operating systems and much more!
https://archives.fedoraproject.org/p.../fedora/linux/
*As stated by Fyyre,you need Fedora core 2 (i386):
https://forum.ragezone.com/f783/fedo...lease-1195783/
->In the same link datcom has uploaded a server compiler built on Virtualbox for us to have fun with!
*Make sure source code is in unix formatting & Download Fyyre's wnet_build script:
https://forum.ragezone.com/f967/mana...260-a-1196062/
*Look at the steps to disable the mole explained by Fyyre:
https://forum.ragezone.com/f967/mana...62/index2.html
*In this thread Fyyre gives information about FW Exploitation in a post:
https://forum.ragezone.com/f967/shar...74/index2.html
*How to make in-game mail sent instantly:
https://forum.ragezone.com/f784/inst...veryd-1197851/
->Overall, the delay does prevent cheating as stated by Bola.
*This thread hold insights and basics about skills that are helpful for beginners:
https://forum.ragezone.com/f784/skil...earch-1200219/
---Tips to make your own compiler?
*When you use the VMware Machine wizard,use the option "I will install the operating system later"
*It's advised to use Host-only networking or internal network.
->It's risky to connect to internet with Fedora Core 2.
*After you mount the FC2-i386-DVD.iso ,It's a waste of time to test the CD before installing the Operating System.
*It's necessary to use Server Workstation on Chinese Simplified languaged and install Development tools which are necessary to compile the binaries!
Otherwise you will have issues with encoding and chinese characters and other bugs.
---How to set permissions recursively using winscp?
1)select all files or folder and set permissions to 0755 and right click on the folder.
2)Click on Properties.
3)Set the permission to 0755 like this:
---Server Binaries:
There are multiple binaries that can be obtained depending on the folder:
I-Wnet:
*logservice
*toplist
*backdbd
*gamedbd.wdb
*gdeliveryd[game delivery daemon]
*glinkd[game link daemon]
*gqueryd[It's used for world era,bid guild base rifts and auction house]
*unamed or uniquenamed[uniquename daemon it manage names for toons guilds etc..]
II-wskill:
->it helps you compile libskill.so which is necessary to be able to compile the gs.
III-wgame:
*libtask.so
*gs[game server?]
---Server Libs:
I-wnet: {iowlibs & qtoplist}
II-wgame{collision & pathfinding}
->It's all thanks to Gothic and his generosity before he quit.
Libs necessary to compile FW server source:
https://drive.google.com/drive/folde...Zd?usp=sharing
---How to fix and compile gqueryd[Milos,Mistigri,Gothic]:
can_auction.h lists the structures that contains items that can be put in auction house.
1)Download can_auction.h for v305 from here:
https://drive.google.com/file/d/1V3G...ew?usp=sharing
2)You could just edit the makefile in wnet/gqueryd by:
*Removing the use of the gen_can_auction.
*Making sure the file doesn't get deleted with "make clean"
->In order to use on earlier version just remove structures that don't exist in that version.
---Useful Commands for server Compiler:
->We copy libtask.so from the following directory /root/FW/wgame/gs into /root/FW/outputCode:#change keyboard type[It only works if multiple languages are installed]: system-config-keyboard #Directory Commands: cd root cd /root/FW/wnet #Go previous directory: cd .. #Run a file or script: ./rpcgen #Compile: make clean make #Clear the screen: clear #Create logs: make >& /root/FW/logs/gdeliveryd.log #Change CVS address to 127.0.0.1 [Milos's fix]: grep -Iirl ":.*@.*[0-9]/" . | xargs sed -i 's/10.68.20.56:/127.0.0.1:/g' #Copy files: cp /root/FW/wgame/gs/libtask.so /root/FW/output #install package name yum install pcre-devel #Search for a package yum search pcre
->You can use comand to copy libskill from wskil to wgame/gs as you will eventually need libskill to be in that folder to compile gs.
--Cert patch in gdeliveryd[Friend's fix]:
Gdeliveryd wont work without that cert editing Because the auth we use is mysql db.
->just edit certanswer.hpp and comment the following lines
---Fix gdeliveryd error due to Pcre:Code:virtual void Process(Manager *manager, Manager::Session::ID sid) { LOG_TRACE("receive CertAnswer from au ok,zoneid=%d,aid=%d",GDeliveryServer::GetInstance()->zoneid,GDeliveryServer::GetInstance()->aid); GAuthClient *acm = GAuthClient::GetInstance(); //if(acm->bl_keepalive) return; gdeliverd::Cert cert((unsigned char*)authd_cert.begin(), authd_cert.size()); // if (cert.VerifyCert() == 0){ // GNET::Log::log(LOG_ERR,"Error to verify the cert"); // exit(-1); // } // if (cert.VerifyCertByCA() == 0){ // GNET::Log::log(LOG_ERR,"Error to verify the cert by CA"); // exit(-1); // }
Method 1:
upload pcre-4.5-2.src.rpm from FC2-i386-SRPMS-disc1 into /usr/src/redhat/SRPMS
You will use the following commands
Don't forget to copy pcre.h and pcreposix.h from /usr/src/redhat/BUILD/pcre-4.5 to /usr/include/pcreCode:cd /usr/src/redhat/SRPMS rpm -vv -Uvh pcre-4.5-2.src.rpm cd /usr/src/redhat/SPECS rpmbuild -ba pcre.spec cd /usr/src/redhat/BUILD ./configure make make install
This method isn't a good choice.It's the first method I came up with.
Method 2:
1)Modify yum repository and make it use the Fedora archive website
Source ->https://forums.fedoraforum.org/showthread.php?221471-Repository-configuration-for-older-Fedora-releases
2)Make sure your FC2 is connected to network until you install the needed packages then go back to host-only network.
3)Make sure all pcre packages are installed properly for gdeliveryd to compile.
Code:yum install pcre yum install pcre-devel
This is the best method I have came up with to install packages properly while ensuring the right dependencies are installed in this old FC2 Operating system.
I have to thank the people who helped me advance in my work this summer and gave me support.







Reply With Quote

