AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   [TUT] Compiling AMXX plugins with Sublime Text (https://forums.alliedmods.net/showthread.php?t=293376)

iceeedr 11-09-2021 08:27

Re: [TUT] Compiling AMXX plugins with Sublime Text
 
Quote:

Originally Posted by addons_zz (Post 2747912)
Are you using Sublime Text 4 ?

For Sublime Text 4, I think I would need to patch few things. But for now, I still using Sublime Text 3.

Any news?

Celena Luna 03-16-2022 23:07

Re: [TUT] Compiling AMXX plugins with Sublime Text
 
I reinstalled sublime 3 and installed AmxxEditor from Package Control
But for some reason, when I checked the Config and Setting, all 4 of them are blank

Console Log: https://pastebin.com/AbCUWBM8

addons_zz 03-17-2022 21:34

Re: [TUT] Compiling AMXX plugins with Sublime Text
 
Quote:

Originally Posted by Celena Luna (Post 2774395)
But for some reason, when I checked the Config and Setting, all 4 of them are blank

Can you edit this file and remove the `, errors="ignore"` from `text_file = open( target_file, "wb", errors="ignore" )`, i.e., let it like this:
HTML Code:

File: .../Packages/AmxxEditor/AmxxEditor.py
197:        text_file = open( target_file, "wb" )

Then, restart Sublime Text?

This should be fixed when I release the next version.

Celena Luna 03-17-2022 22:27

Re: [TUT] Compiling AMXX plugins with Sublime Text
 
Quote:

Originally Posted by addons_zz (Post 2774544)
Can you edit this file and remove the `, errors="ignore"` from `text_file = open( target_file, "wb", errors="ignore" )`, i.e., let it like this:
HTML Code:

File: .../Packages/AmxxEditor/AmxxEditor.py
197:        text_file = open( target_file, "wb" )

Then, restart Sublime Text?

This should be fixed when I release the next version.

Thank you, it is fixed :)

iceeedr 08-30-2022 17:39

Re: [TUT] Compiling AMXX plugins with Sublime Text
 
Quote:

Originally Posted by addons_zz (Post 2774544)
Can you edit this file and remove the `, errors="ignore"` from `text_file = open( target_file, "wb", errors="ignore" )`, i.e., let it like this:
HTML Code:

File: .../Packages/AmxxEditor/AmxxEditor.py
197:        text_file = open( target_file, "wb" )

Then, restart Sublime Text?

This should be fixed when I release the next version.

Any news, or possibility of upgrading to sublime 4?


All times are GMT -4. The time now is 06:39.

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