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

[TUT] Compiling AMXX plugins with Sublime Text


Post New Thread Reply   
 
Thread Tools Display Modes
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 10-19-2018 , 03:21   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #141

Thanks, it working fine now ^^
__________________
My plugin:
Celena Luna is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 10-29-2018 , 11:55   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #142

Sorry for asking again.
I was doing a clean install and after I check, the Amx Syntax and the Amx tab is missing so I can't set compiler dir and hightlight dir
__________________
My plugin:

Last edited by Celena Luna; 10-29-2018 at 12:04.
Celena Luna is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-13-2018 , 07:12   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #143

Hi addons, I noticed that the auto-complete doesn't work with stocks.
__________________








CrazY. is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-13-2018 , 17:55   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #144

Quote:
Originally Posted by Celena Luna View Post
Sorry for asking again.
I was doing a clean install and after I check, the Amx Syntax and the Amx tab is missing so I can't set compiler dir and hightlight dir
Sorry, I do not know how I missed your post. This my recent clean install from last week:


Do you still have this problem? Can you show your console output?


Quote:
Originally Posted by CrazY. View Post
Hi addons, I noticed that the auto-complete doesn't work with stocks.
Can you show an example? There is some time I do not work with Amxx or this package.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-14-2018 , 06:45   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #145

Of course. I used stocks of xs.inc (xs_vec_add and xs_vec_equal), in the following example.

Code:
stock bool:xs_vec_equal(const Float:vec1[], const Float:vec2[]) {     return (vec1[0] == vec2[0]) && (vec1[1] == vec2[1]) && (vec1[2] == vec2[2]); } stock xs_vec_add(const Float:in1[], const Float:in2[], Float:out[]) {     out[0] = in1[0] + in2[0];     out[1] = in1[1] + in2[1];     out[2] = in1[2] + in2[2]; }

1° Auto-complete works with xs_vec_add but not with xs_vec_equal



2° "Pop up" works with xs_vec_add but not with xs_vec_equal

__________________









Last edited by CrazY.; 12-14-2018 at 06:46.
CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-14-2018 , 06:57   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #146

They haven't been working for me either for quite some time. Here's what happens when I try to use my cromchat.inc stocks:



And when I click on the first one, I get this:

PHP Code:
CC_SendMessage(0"%L: %s"LANG_PLAYERszPrefixszMessage
It generates a wrong piece of the code.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 12-17-2018 , 06:34   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #147

Would you have an updated "how to"? I tried installing yesterday, however the application is totally different from the images, probably because of updates ...
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-21-2018 , 12:27   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #148

Quote:
Originally Posted by OciXCrom View Post
They haven't been working for me either for quite some time. Here's what happens when I try to use my ...
And when I click on the first one, I get this:
PHP Code:
CC_SendMessage(0"%L: %s"LANG_PLAYERszPrefixszMessage
It generates a wrong piece of the code.
Quote:
Originally Posted by CrazY. View Post
Of course. I used stocks of xs.inc (xs_vec_add and xs_vec_equal), in the following example.
1° Auto-complete works with xs_vec_add but not with xs_vec_equal
2° "Pop up" works with xs_vec_add but not with xs_vec_equal
I think I managed to fix these issues with the commit:
  1. c9538ea8f576743466753d5f6badd64758b6a639 Fixed stock functions with const parameters not being recognized
But, I cannot release a new version yet because I renamed a dependency used by AmxxEditor and its renaming still pending to be merged on the Package Control default channel:
  1. $7389 Fixed my dependencies URLs names not on lowercase convention
After it gets merged I should release a new version with the fixes. If you want to install it right now, you need to do it manually and install AmxxEditor and debugtools dependency directly with git.

Quote:
Originally Posted by iceeedr View Post
Would you have an updated "how to"? I tried installing yesterday, however the application is totally different from the images, probably because of updates ...
Sublime Text version changed and the new version as a very new theme, also, I updated the colors schemes used, then, the images became pretty different. But the text inside the images still the names, so you should be able to just ignore the colors/theme/fonts and just follow written the text.

I think you could not finish the installation because on the latest version of AmxxEditor, I do not add by default this menu anymore:
Spoiler


You need to enable it manually (selecting the option `Preferences -> Package Settings -> AmxxEditor -> Install AmxxEditor Menu`):
Spoiler


I just updated this part of the installation with these new instructions: https://forums.alliedmods.net/showthread.php?t=293376#Install

If you get stuck in some step of the installation, post which step you are in and what you cannot do/trying to do.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 12-21-2018 , 15:21   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #149

I was able to install, but it seems to me that something changed, before I wrote "(" and already put the 2 () automatically, just like the ("), already completed with the second ("). How to configure this again?
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-21-2018 , 15:42   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #150

It is a setting from Sublime Text. You can enable it by going on the menu: `Preferences -> Settings` and adding this the right side panel:
Code:
	"auto_match_enabled": true,
There is also this post on SuperUser asking about how to disable it, i.e., the opposite of your question: https://superuser.com/questions/392200/turn-off-parenthesis-matching-in-sublime-text-2
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Reply


Thread Tools
Display Modes

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 09:39.


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