[7.4] TFS 1.2

Peonso

Godly Member
Joined
Jan 14, 2008
Messages
1,516
Best answers
24
Reaction score
1,012
I have compiled those sources and I have obtained these results

C++:
1>------ Compiled operation started: project: theforgottenserver, configuration: Debug x64 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: The Output directory does not end with a final slash. This compilation instance will add the slash because it is necessary so that the Output directory can be evaluated correctly.
1>otpch.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>beds.cpp
1>chat.cpp
1>combat.cpp
1>commands.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>depotchest.cpp
1>depotlocker.cpp
1>fileloader.cpp
1>game.cpp
1>globalevent.cpp
1>groups.cpp
1>guild.cpp
1>house.cpp
1>housetile.cpp
1>inbox.cpp
1>ioguild.cpp
1>iologindata.cpp
1>iomap.cpp
1>iomapserialize.cpp
1>iomarket.cpp
1>item.cpp
1>items.cpp
1>luascript.cpp
1>mailbox.cpp
1>map.cpp
1>monster.cpp
1>monsters.cpp
1>mounts.cpp
1>movement.cpp
1>networkmessage.cpp
1>npc.cpp
1>otserv.cpp
1>outfit.cpp
1>outputmessage.cpp
1>party.cpp
1>player.cpp
1>position.cpp
1>protocol.cpp
1>protocolgame.cpp
1>protocollogin.cpp
1>quests.cpp
1>\theforgottenserver-master\src\protocollogin.cpp(150): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\winsock2.h(1830): note: see the declaration of 'inet_addr'
1>raids.cpp
1>rsa.cpp
1>scheduler.cpp
1>scriptmanager.cpp
1>server.cpp
1>spawn.cpp
1>spells.cpp
1>protocolstatus.cpp
1>talkaction.cpp
1>tasks.cpp
1>teleport.cpp
1>thing.cpp
1>tile.cpp
1>tools.cpp
1>trashholder.cpp
1>vocation.cpp
1>waitlist.cpp
1>weapons.cpp
1>wildcardtree.cpp
1>LINK : fatal error LNK1104: can not open the file 'mpir_d.lib'
1>Project compilation "theforgottenserver.vcxproj" completed -- ERROR.
========== Compile: 0 correct, 1 incorrect, 0 updated, 0 omitted ==========
Someone knows how to solve this
>LINK : fatal error LNK1104: can not open the file 'mpir_d.lib'
 

Okke

Voidcore 7.4
Joined
Jul 19, 2015
Messages
926
Best answers
19
Reaction score
430
Location
germany
Hello @zinicox,

what about reading the output?

Code:
>\theforgottenserver-master\src\protocollogin.cpp(150): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
It says what you should do to compile it, I'd also suggest you to run this on Linux instead, it's really pointless to run a server on windows.

Best Wishes,
Okke
 

Okke

Voidcore 7.4
Joined
Jul 19, 2015
Messages
926
Best answers
19
Reaction score
430
Location
germany
Can't edit my post, I don't know why but I actually removed the line I said that from Peonso + my post will probably lead you into compiling it successfully and without any bloody warnings.
 

QuickLearner

New Member
Joined
Mar 20, 2018
Messages
9
Best answers
0
Reaction score
0

Hi, I`ve take this OTS and I was also able to start this on Debian 8 but I have problem about Tibia version.

In definitons.h is set Tibia 7.72, map for Tibia 7.4 is not working and the OTS itself is, I think, not 7.4 version. Can anyone confirm this? And if there is a possibility to downgrade this tfs from 7.72 into 7.4 then how?
 

Peonso

Godly Member
Joined
Jan 14, 2008
Messages
1,516
Best answers
24
Reaction score
1,012
Hi, I`ve take this OTS and I was also able to start this on Debian 8 but I have problem about Tibia version.

In definitons.h is set Tibia 7.72, map for Tibia 7.4 is not working and the OTS itself is, I think, not 7.4 version. Can anyone confirm this? And if there is a possibility to downgrade this tfs from 7.72 into 7.4 then how?
You need to use the client that comes with it.
 

kuhi

Premium User
Premium User
Joined
Aug 26, 2012
Messages
131
Best answers
1
Reaction score
34
Not sure what I need to write here but...

Note:
I have never used Github before, so if I made any mistakes you will know why.

About:
  • Based on a downgraded branch by ninjalulz, which according to the file 'definition.h' is TFS 1.2
  • Will load older otb/otbm(7.4 to 7.72) files
  • 7.4 items.otb/otbm follows, can be changed to 7.7. Just take the items folder from like OTHire or similar
  • Custom client included (7.72 client with 7.4 dat/spr/pic)
I don't know any bugs yet since I haven't tried it so hard. I only made it possible to login, change outfit, and all those other necessary things...

I have only stripped the code from functions/features to make the server work with older protocols, which means that all credits goes to the hard-working TFS developers + ninjalulz for downgrading it in the first place to 8.0

Download:
https://github.com/babymannen/theforgottenserver-7.4
Please upload again or close the post
 

Nedas

New Member
Joined
Sep 22, 2018
Messages
1
Best answers
0
Reaction score
0
Ty for TFS, but the download link is broken
 
Top