since it is to get started with on VS 2019 I decided to release my "upgraded" version of his release.
On top of the already introduced changes by him I have changed the following things:
Upgrade to the v142 Platform Toolset
Change Neuz "NoGameguard" config to "Release" (functionality remains the same)
Introduced for all projects and the solution a Debug and Release config with accordingly optimized compiler options (Of a standard new C++ Project). You can now use _DEBUG and NDEBUG preprocessor definitions. (For example for (debug) output)
Changed output path to a more convenient folder structure. ("Output" Folder is no more. New Output is "Source/bin/[...]"
Adapted paths in "Copy Files.bat" to the new output structure.
Deleted file individualized compiling options so it doesn't overwrite the project config
Deleted many many unused files from the source directories such as *.log files or old project files.
It really isn't complex stuff but I hope I can save you some time when setting up new files.
What do you want a VersionCommon for? This is just an upgraded version of a clean source that will compile on VS2019. I doubt there are any other changes besides the ones listed.
8>action.cpp
8>actionmover.cpp
8>ActionMoverCollision.cpp
8>ActionMoverDmg.cpp
8>ActionMoverMsg.cpp
8>ActionMoverMsg2.cpp
8>ActionMoverState.cpp
8>ActionMoverState2.cpp
8>ActionShip.cpp
8>Compilation en cours...
8>scanner.cpp
8>script.cpp
8>scriptdialog.cpp
8>ScriptHelper.cpp
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Common\ScriptHelper.cpp(601,9): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Common\ScriptHelper.cpp(631,10): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
8>scriptlib.cpp
8>AIBear.cpp
8>AIBigMuscle.cpp
8>AIClockWorks.cpp
8>AIGuard.cpp
8>aiinterface.cpp
8>AIKrrr.cpp
8>aimeteonyker.cpp
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_AIInterface\aimeteonyker.cpp(609,28): warning C4244: '='*: conversion de 'double' en 'float', perte possible de données
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_AIInterface\aimeteonyker.cpp(610,29): warning C4244: '='*: conversion de 'double' en 'float', perte possible de données
8>aimonster.cpp
8>AIMonster2.cpp
8>AIPet.cpp
8>FSM.cpp
8>FSMstate.cpp
7>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Interface\WndControl.cpp(3959): warning C4700: variable locale 'i' non initialisée utilisée
8>Génération de code en cours
8>Previous IPDB not found, fall back to full compilation.
7>All 21825 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
7>Fin de la génération du code
7>Neuz.vcxproj -> C:\Users\Ryan\Desktop\FlyFF-VS19\Source\bin\Release\Neuz\Neuz.exe
7>Génération du projet "Neuz.vcxproj" terminée.
8>All 19661 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
8>Fin de la génération du code
8>WorldServer.vcxproj -> C:\Users\Ryan\Desktop\FlyFF-VS19\Source\bin\Release\WorldServer\WorldServer.ex e
8>Génération du projet "WorldServer.vcxproj" terminée.
========== Regénération globale : 9 a réussi, 0 a échoué, 0 a été ignoré ==========
8>action.cpp
8>actionmover.cpp
8>ActionMoverCollision.cpp
8>ActionMoverDmg.cpp
8>ActionMoverMsg.cpp
8>ActionMoverMsg2.cpp
8>ActionMoverState.cpp
8>ActionMoverState2.cpp
8>ActionShip.cpp
8>Compilation en cours...
8>scanner.cpp
8>script.cpp
8>scriptdialog.cpp
8>ScriptHelper.cpp
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Common\ScriptHelper.cpp(601,9): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Common\ScriptHelper.cpp(631,10): warning C4996: 'strcmpi': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strcmpi. See online help for details.
8>scriptlib.cpp
8>AIBear.cpp
8>AIBigMuscle.cpp
8>AIClockWorks.cpp
8>AIGuard.cpp
8>aiinterface.cpp
8>AIKrrr.cpp
8>aimeteonyker.cpp
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_AIInterface\aimeteonyker.cpp(609,28): warning C4244: '='*: conversion de 'double' en 'float', perte possible de données
8>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_AIInterface\aimeteonyker.cpp(610,29): warning C4244: '='*: conversion de 'double' en 'float', perte possible de données
8>aimonster.cpp
8>AIMonster2.cpp
8>AIPet.cpp
8>FSM.cpp
8>FSMstate.cpp
7>C:\Users\Ryan\Desktop\FlyFF-VS19\Source\_Interface\WndControl.cpp(3959): warning C4700: variable locale 'i' non initialisée utilisée
8>Génération de code en cours
8>Previous IPDB not found, fall back to full compilation.
7>All 21825 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
7>Fin de la génération du code
7>Neuz.vcxproj -> C:\Users\Ryan\Desktop\FlyFF-VS19\Source\bin\Release\Neuz\Neuz.exe
7>Génération du projet "Neuz.vcxproj" terminée.
8>All 19661 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
8>Fin de la génération du code
8>WorldServer.vcxproj -> C:\Users\Ryan\Desktop\FlyFF-VS19\Source\bin\Release\WorldServer\WorldServer.ex e
8>Génération du projet "WorldServer.vcxproj" terminée.
========== Regénération globale : 9 a réussi, 0 a échoué, 0 a été ignoré ==========
Where is the problem? Flyff is old code.. You need to update everything to handle all warnings. But its not important! So ignore this warnings.
since it is to get started with on VS 2019 I decided to release my "upgraded" version of his release.
On top of the already introduced changes by him I have changed the following things:
Upgrade to the v142 Platform Toolset
Change Neuz "NoGameguard" config to "Release" (functionality remains the same)
Introduced for all projects and the solution a Debug and Release config with accordingly optimized compiler options (Of a standard new C++ Project). You can now use _DEBUG and NDEBUG preprocessor definitions. (For example for (debug) output)
Changed output path to a more convenient folder structure. ("Output" Folder is no more. New Output is "Source/bin/[...]"
Adapted paths in "Copy Files.bat" to the new output structure.
Deleted file individualized compiling options so it doesn't overwrite the project config
Deleted many many unused files from the source directories such as *.log files or old project files.
It really isn't complex stuff but I hope I can save you some time when setting up new files.
Happy new year and good luck.
newbie question can i use this with vs2022 v143 Platform Toolset ?
EDIT: I successfully compile and try'd to run and test the server it works well but on the compilation in VS2022 i got a lot of warnings is that fine for the server to make it stable? or i need to downgrade ng compiler right away to run a server online?
newbie question can i use this with vs2022 v143 Platform Toolset ?
EDIT: I successfully compile and try'd to run and test the server it works well but on the compilation in VS2022 i got a lot of warnings is that fine for the server to make it stable? or i need to downgrade ng compiler right away to run a server online?
When you compile, there is a tab labelled "Errors". You can show the warnings there and there is this fancy tool: you can click on the Error / Warning code and that will bring you to Microsoft documentation.
When you compile, there is a tab labelled "Errors". You can show the warnings there and there is this fancy tool: you can click on the Error / Warning code and that will bring you to Microsoft documentation.
ebuild started...
1>------ Rebuild All started: Project: WorldDialog, Configuration: Release Win32 ------
2>------ Rebuild All started: Project: WorldServer, Configuration: Release Win32 ------
3>------ Rebuild All started: Project: Neuz, Configuration: Release Win32 ------
4>------ Rebuild All started: Project: LoginServer, Configuration: Release Win32 ------
1>StdAfx.cpp
4>StdAfx.cpp
2>StdAfx.cpp
3>StdAfx.cpp
1>NpcScript.cpp
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(149,13): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(158,33): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(267,2): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(276,3): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(288,2): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>NpcScriptHelper.cpp
1>WorldDialog.cpp
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\file.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\file.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
1> Creating library C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. lib and object C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. exp
1>Generating code
1>Previous IPDB not found, fall back to full compilation.
1>All 3170 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
1>Finished generating code
2>AttackArbiter.cpp
3>accessory.cpp
2>auction.cpp
2>Campus.cpp
3>CampusHelper.cpp
3>clord.cpp
1>WorldDialog.vcxproj -> C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. dll
1>Done building project "WorldDialog.vcxproj".
4>DPCoreClient.cpp
ebuild started...
1>------ Rebuild All started: Project: WorldDialog, Configuration: Release Win32 ------
2>------ Rebuild All started: Project: WorldServer, Configuration: Release Win32 ------
3>------ Rebuild All started: Project: Neuz, Configuration: Release Win32 ------
4>------ Rebuild All started: Project: LoginServer, Configuration: Release Win32 ------
1>StdAfx.cpp
4>StdAfx.cpp
2>StdAfx.cpp
3>StdAfx.cpp
1>NpcScript.cpp
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(149,13): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(158,33): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(267,2): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(276,3): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>C:\Users\MakVee\Desktop\V15 VS2019\Source\WORLDDIALOG\NpcScript.cpp(288,2): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>NpcScriptHelper.cpp
1>WorldDialog.cpp
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
2>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\file.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_network\CmnHdr.h(230,2): warning C4996: 'GetVersionExA': was declared deprecated
4>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\file.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(30,25): warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. See online help for details.
3>C:\Users\MakVee\Desktop\V15 VS2019\Source\_Common\File.h(34,31): warning C4996: 'putw': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _putw. See online help for details.
1> Creating library C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. lib and object C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. exp
1>Generating code
1>Previous IPDB not found, fall back to full compilation.
1>All 3170 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
1>Finished generating code
2>AttackArbiter.cpp
3>accessory.cpp
2>auction.cpp
2>Campus.cpp
3>CampusHelper.cpp
3>clord.cpp
1>WorldDialog.vcxproj -> C:\Users\MakVee\Desktop\V15 VS2019\Source\bin\Release\WorldDialog\WorldDialog. dll
1>Done building project "WorldDialog.vcxproj".
4>DPCoreClient.cpp
the Warning code will bring you to microsoft documentation
If that is not helpful, you're able to just google the error/warning
Conclude what to do with it: fix / ignore.
For instance, in the image above, I just need to static_cast<int>(warning).
Quote:
Originally Posted by IFlyffMc
NpcScript.cpp(149,13): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
One of the warnings you've got was "Consider using x". Daunting task, I suppose.
9>Previous IPDB not found, fall back to full compilation.
Incremental linking. Should compile and generate an ipdb file in your output directory.
As mentioned previously in the topic by major to ryandiff, "You need to update everything to handle all warnings" or "ignore them". You can do one of them. Nightmare even mentioned that it's possible to disable warnings in the IDE for the compiler(simply doesn't show any warnings). Could do that? Choice is yours.
It's not hard to disable warnings with the compiler lol.
yes i know but what i mean is or my question is. Are those warnings is harmful for the server to make it stable on the long run.
Quote:
Originally Posted by SandIsWater
That's the output window. View -> Error List.
the Warning code will bring you to microsoft documentation
If that is not helpful, you're able to just google the error/warning
Conclude what to do with it: fix / ignore.
For instance, in the image above, I just need to static_cast<int>(warning).
One of the warnings you've got was "Consider using x". Daunting task, I suppose.
Incremental linking. Should compile and generate an ipdb file in your output directory.
As mentioned previously in the topic by major to ryandiff, "You need to update everything to handle all warnings" or "ignore them". You can do one of them. Nightmare even mentioned that it's possible to disable warnings in the IDE for the compiler(simply doesn't show any warnings). Could do that? Choice is yours.
Thank you very much for the wonderful explanaition
Hello!
I'm new to flyff development and downloaded this source to start learning from it
Does anybody know why do I need to put ip to launch it?
I mean, I'm running a test server on my work computer (different IP) but I can't set the ip to read it from neuz.ini. It works only if I use a launch.bat and use something like "Neuz.exe 177.67.112.238"
Launching the neuz without it wont let me connect the server. Is there a way to make it read from Neuz.ini?
Visual Studio 2017 Source + Files 08/15/2024 - Flyff PServer Guides & Releases - 304 Replies Short Information
As we already live in 2017 and a lot of people are still using Visual Studio 2003 so I decided to release my "clean" Visual Studio 2017 Source (including database and serverfiles). I suggest using the resource that is included in this release because most of the *.lua files required changes to be compatible with the latest Lua version.
What do i need to run this?
ExpressAndTools 64BIT\SQLEXPRWT_x64_ENG
Visual Studio Enterprise 2017
DirectX 9.0c
Source + Files +...