Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 13:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Visual Studio 2019 Source + Files

Discussion on [Release] Visual Studio 2019 Source + Files within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 227
Received Thanks: 99
[Release] Visual Studio 2019 Source + Files

Hello,

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.

.S0ulSeller is offline  
Thanks
21 Users
Old 01/05/2021, 03:57   #2
 
elite*gold: 0
Join Date: May 2018
Posts: 5
Received Thanks: 0
Versioncommon pls?
johnmichael123 is offline  
Old 01/05/2021, 07:36   #3
 
Naltalah's Avatar
 
elite*gold: 0
Join Date: Aug 2016
Posts: 308
Received Thanks: 372
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.
Naltalah is offline  
Thanks
2 Users
Old 05/15/2021, 01:45   #4
 
elite*gold: 0
Join Date: Aug 2010
Posts: 6
Received Thanks: 0
What is the Version of Flyff and these Resources?
deltadroop is offline  
Old 05/15/2021, 07:42   #5
 
Tamus's Avatar
 
elite*gold: 0
Join Date: Aug 2020
Posts: 102
Received Thanks: 8
Quote:
Originally Posted by deltadroop View Post
What is the Version of Flyff and these Resources?
v15 clean
Tamus is offline  
Old 10/02/2021, 09:33   #6
 
elite*gold: 0
Join Date: Sep 2021
Posts: 27
Received Thanks: 3
All lib ?
ryandif is offline  
Old 10/08/2021, 07:56   #7
 
elite*gold: 0
Join Date: Sep 2021
Posts: 27
Received Thanks: 3
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é ==========
ryandif is offline  
Old 10/08/2021, 15:20   #8



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,218
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.
- DK is offline  
Thanks
1 User
Old 03/15/2022, 21:36   #9
 
elite*gold: 0
Join Date: Apr 2019
Posts: 81
Received Thanks: 7
Quote:
Originally Posted by .S0ulSeller View Post
Hello,

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?
IFlyffMc is offline  
Old 03/15/2022, 22:38   #10
 
elite*gold: 0
Join Date: Nov 2021
Posts: 14
Received Thanks: 4
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.
SandIsWater is offline  
Old 03/15/2022, 23:12   #11
 
elite*gold: 0
Join Date: Apr 2019
Posts: 81
Received Thanks: 7
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:
IFlyffMc is offline  
Old 03/16/2022, 00:39   #12
 
Nιgнтмαяε's Avatar
 
elite*gold: 0
Join Date: Jul 2018
Posts: 434
Received Thanks: 310
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.
Nιgнтмαяε is offline  
Old 03/16/2022, 04:10   #13
 
elite*gold: 0
Join Date: Nov 2021
Posts: 14
Received Thanks: 4
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.

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.
SandIsWater is offline  
Thanks
1 User
Old 03/16/2022, 10:54   #14
 
elite*gold: 0
Join Date: Apr 2019
Posts: 81
Received Thanks: 7
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.

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
IFlyffMc is offline  
Old 03/31/2022, 15:39   #15
 
elite*gold: 0
Join Date: Mar 2022
Posts: 2
Received Thanks: 0
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?
Beekk is offline  
Reply


Similar Threads Similar Threads
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 +...
Visual Studio - Rad Studio ASM Function Return
04/21/2014 - C/C++ - 4 Replies
#Solved.



All times are GMT +1. The time now is 13:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.