Raised This Month: $51 Target: $400
 12% 

Any good editor?


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-08-2016 , 10:27   Re: Any good editor?
Reply With Quote #11

It's already uploaded by BlackRose: https://forums.alliedmods.net/showpo...&postcount=278
Maybe you find this useful too: https://forums.alliedmods.net/showpo...&postcount=291

indraraj striker, go to Plugin -> Plugins Manager -> Show Plugins Manager -> Installed -> Select Notepad# -> Remove.
__________________

Last edited by HamletEagle; 07-08-2016 at 10:28.
HamletEagle is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-08-2016 , 10:33   Re: Any good editor?
Reply With Quote #12

How do i compile with it lol... i do run and i select either compile.exe or amxxpc.exe but i doesn't work, either file not found or it just opens the compiler but doesn't do anything
__________________

Last edited by Depresie; 07-08-2016 at 10:42.
Depresie is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-08-2016 , 10:40   Re: Any good editor?
Reply With Quote #13

If you use Arkshine version(first link), it's easy:

When you open it and press F6(compile) first time you get a window called "Execute". Bottom left is a drop down list, select "compile2.sma" from it and make your changes. Mine looks like this:
Code:
SET compiler = D:\Scripting\Compiler\amxxpc.exe
SET include = $(NPP_DIRECTORY)\pawn.compiler\include
SET output =D:\Scripting\Plugins\untitled.amxx

NPP_SAVE
"$(compiler)" -i"$(include)" -o"$(output)" "$(FULL_CURRENT_PATH)"

UNSET compiler
UNSET include
UNSET output
The box appears every time when you start np++ and press F6.

For setting "PAWN" language as default, Settings -> Preferences -> New Document -> Default Language and select Pawn.
__________________

Last edited by HamletEagle; 07-08-2016 at 10:42.
HamletEagle is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-08-2016 , 10:43   Re: Any good editor?
Reply With Quote #14

Nvm, thanks... got it working

Edit:

It doesn't want to save the output file (.amxx) to the plugins folder

Also the highlighting ( colored text ) doesn't show on other themes T.T

Code:
SET compiler = C:\Users\PC\Desktop\TESTER\cstrike\addons\amxmodx\scripting\amxxpc.exe
SET include = C:\Users\PC\Desktop\TESTER\cstrike\addons\amxmodx\scripting\include\
SET output = C:\Users\PC\Desktop\TESTER\cstrike\addons\amxmodx\plugins\
__________________

Last edited by Depresie; 07-08-2016 at 11:00.
Depresie is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-08-2016 , 11:18   Re: Any good editor?
Reply With Quote #15

If you're using NppExec, it's what I'm using:

Code:
SET compiler = E:\HLDS\games\cstrike\addons\amxmodx\scripting\amxxpc.exe
SET include = E:\HLDS\games\cstrike\addons\amxmodx\scripting\include
SET output =E:\HLDS\games\cstrike\addons\amxmodx\plugins\$(NAME_PART).amxx

NPP_SAVE
"$(compiler)" -i"$(include)" -o"$(output)" "$(FULL_CURRENT_PATH)"

UNSET compiler
UNSET include
UNSET output
There are others environment variables (can't find the official list).
Your problem is likely output doesn't contain an output name.
__________________

Last edited by Arkshine; 07-08-2016 at 11:19.
Arkshine is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-08-2016 , 11:40   Re: Any good editor?
Reply With Quote #16

Code:
WORK\blood-letssee.sma(0) : fatal error 100: cannot read from file: "WORK\blood-letssee.sma"

Compilation aborted.
1 Error.
Could not locate output file blood-letssee.amx (compile failed).
__________________

Last edited by Depresie; 07-08-2016 at 11:43.
Depresie is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-08-2016 , 18:24   Re: Any good editor?
Reply With Quote #17

None of the path hard coding is required with my method (the first one listed on my tips and tricks thread), it simply uses the local AMX Mod X installation (local to the file that you are compiling).
__________________
fysiks is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 07-08-2016 , 23:38   Re: Any good editor?
Reply With Quote #18

Quote:
Originally Posted by HamletEagle View Post
indraraj striker, go to Plugin -> Plugins Manager -> Show Plugins Manager -> Installed -> Select Notepad# -> Remove.
Thanks it works
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode