EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   .cpp files (https://www.eqemulator.org/forums/showthread.php?t=40500)

Slo1506 03-25-2016 09:44 PM

.cpp files
 
I did the automated process and have a server up and running got it edited to my liking other than the fact i can't mess with any source because i don't have any .cpp files that i can see at least, can someone help me with this? or tell me the general folder they are in?

Uleat 03-25-2016 10:03 PM

I'm assuming that you either used Akkadius's installer or repack.

If you used the repack, there are no code files to be modified.


I think, however, you should be able to download the source code and compile it yourself.


EDIT: https://github.com/EQEmu/Server

Slo1506 03-25-2016 10:07 PM

Thanks!
 
Thank you so much, i knew i wasn't crazy. was hoping anyways! thanks again!

Lane 01-07-2018 03:17 AM

I apologize for yet another necro...

Would I need to start from scratch if I used Akkadius' installer but want to edit source files such as Attack.cpp?

The Akkadius' installer, I assume, is basically just to get your feet wet in learning how to DB rather than a long term solution (in regards to editing source.)

Thank you

The_Beast 01-07-2018 05:38 AM

Yes, you would need to download the source files, do your editing and, as Uleat mentioned, compile the source. Of course with that, you
need software installed. (Cmake, VS, etc.)

Uleat 01-07-2018 01:08 PM

I think I just went over this in another thread fairly recently too..

http://www.eqemulator.org/forums/showthread.php?t=41668

in particular: http://www.eqemulator.org/forums/sho...47&postcount=7

Lane 01-18-2018 07:10 AM

Okay, the more I read/study and experiment, the more I comprehend how EQ operates. With the Akka installer having the core built files: e.g. world.exe, zone.exe, etc; am I able to do changes to the source (I pulled the source from git,) compile/build it in Visual Studio, then simply drag the new files and overwrite the old files? From there, the t_start_bat should pick up the new file and execute correct?

For some reason I was having major issues with XAMPP and tried setting up my server the old way 3-4 times with no luck (latest issue was having issues with the eqemu_server.pl encountering a world.exe error, in which I read a lot of people were having PATH issues with XAMPP.)

Anyway, I would like to make some changes to the attack.cpp which I see is within zone.exe. If I make changes to attack.cpp, compile the new zone.exe, then override the old file (in Akka's installer,) that should have the desired effect?

Thanks always

Uleat 01-18-2018 09:02 AM

You 'can' just copy the one project (zone)..but, you will need to copy all three zone files (zone.exe, zone.ilk and zone.pdb.)

I usually recommend re-compiling the entire solution and copying all newly created files to alleviate any 'hidden' headaches.


All times are GMT -4. The time now is 09:46 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.