[Release] Visual Studio 2019 Source + Files

01/05/2021 03:27 .S0ulSeller#1
Hello,

since it is [Only registered and activated users can see links. Click Here To Register...] to get started with [Only registered and activated users can see links. Click Here To Register...] 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.

[Only registered and activated users can see links. Click Here To Register...]
01/05/2021 03:57 johnmichael123#2
Versioncommon pls?
01/05/2021 07:36 Naltalah#3
Quote:
Originally Posted by johnmichael123 View Post
Versioncommon pls?
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.
05/15/2021 01:45 deltadroop#4
What is the Version of Flyff and these Resources?
05/15/2021 07:42 Tamus#5
Quote:
Originally Posted by deltadroop View Post
What is the Version of Flyff and these Resources?
v15 clean
10/02/2021 09:33 ryandif#6
All lib ?
10/08/2021 07:56 ryandif#7
how to fix this please ?

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é ==========
10/08/2021 15:20 - DK#8
Quote:
Originally Posted by ryandif View Post
how to fix this please ?

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.
03/15/2022 21:36 IFlyffMc#9
Quote:
Originally Posted by .S0ulSeller View Post
Hello,

since it is [Only registered and activated users can see links. Click Here To Register...] to get started with [Only registered and activated users can see links. Click Here To Register...] 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.

[Only registered and activated users can see links. Click Here To Register...]

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?
03/15/2022 22:38 SandIsWater#10
Quote:
Originally Posted by IFlyffMc View Post
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.
03/15/2022 23:12 IFlyffMc#11
Quote:
Originally Posted by SandIsWater View Post
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.
There's no error at all just warnings

Just like these:

And what is the meaning of this:
03/16/2022 00:39 Nιgнтмαяε#12
Quote:
Originally Posted by IFlyffMc View Post
There's no error at all just warnings

Just like these:

And what is the meaning of this:
It's not hard to disable warnings with the compiler lol.
03/16/2022 04:10 SandIsWater#13
Quote:
Originally Posted by IFlyffMc View Post
There's no error at all just warnings
  1. That's the output window. View -> Error List.
  2. the Warning code will bring you to microsoft documentation
  3. If that is not helpful, you're able to just google the error/warning
  4. Conclude what to do with it: fix / ignore.
[Only registered and activated users can see links. Click Here To Register...]
For instance, in the image above, I just need to static_cast<int>(warning).


Quote:
Originally Posted by IFlyffMc View Post
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.


Quote:
Originally Posted by IFlyffMc View Post
And what is the meaning of this:
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.
03/16/2022 10:54 IFlyffMc#14
Quote:
Originally Posted by Nιgнтмαяε View Post
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 View Post
  1. That's the output window. View -> Error List.
  2. the Warning code will bring you to microsoft documentation
  3. If that is not helpful, you're able to just google the error/warning
  4. Conclude what to do with it: fix / ignore.
[Only registered and activated users can see links. Click Here To Register...]
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 :handsdown:
03/31/2022 15:39 Beekk#15
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?