View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-18-2018 , 15:32   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #83

Quote:
Originally Posted by addons_zz View Post
I checked the compiler script, and this seems to be a destructive action. On these lines:
Code:
105: :: Copy the include folder
106: :: https://stackoverflow.com/questions/...e-name-message
107: IF EXIST "%SOURCE_CODE_INCLUDE_FOLDER%" call echo d | xcopy /S /Y "%SOURCE_CODE_INCLUDE_FOLDER%" "%COMPILER_INCLUDE_FOLDER_PATH%" > nul
They are coping/overriding all the files from the first compiler include to the second compiler include folder.

When I first wrote this I had completely forgot to handle this case, i.e., when someone is compiling one plugin with multiple compilers.
  1. To fix this now you would have to restore the other compiler include files from a backup.
  2. And remove that whole line `IF EXIST ...` from all .bat scripts.
Oh, so that's why I had an "include" folder outside my server directory. I removed the "IF EXIST" lines from the scripts, but the same thing is still happening. Only this time I don't get a copy of the include folder. What do you mean by "restore the other include files from a backup"?

Quote:
Originally Posted by Celena Luna View Post
I am getting the same problem with him.
Only way to fix it is to reset the program.
Anyone know how to fix this?
Same here.

Also, .inc files don't use the AMXX syntax by default when opened.
__________________

Last edited by OciXCrom; 07-18-2018 at 15:32.
OciXCrom is offline
Send a message via Skype™ to OciXCrom