AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [RELEASE|SOURCE] BasicPawn - SourcePawn Editor (https://forums.alliedmods.net/showthread.php?t=289127)

Timocop 10-15-2016 07:17

[RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
http://i.imgur.com/cQHaqIU.png BasicPawn - SourcePawn Editor

BasicPawn is a very lightweight and basic SourcePawn Editor that uses dynamic Autocompletion and IntelliSense like any other IDE or Advanced Editor.
It supports SourcePawn, Transitional SourcePawn and even AMX Mod X. BasicPawn also has some special features like the simple debugger to debug your plugins and the plugin system to create your own BasicPawn plugins.

Last Supported SourcePawn Compiler
Due to major compiler changes, BasicPawn became incompatible with newer versions of the SourcePawn compiler.
Any version above 1.11-git6724 will not work with BasicPawn until i fix the issue.
Download the last supported compiler here: SourceMod 1.11-git6724



https://i.imgur.com/MfyeJHq.png Requirements

BasicPawn requires at least .NET Framework 3.5 to run.
Windows:
Download .NET Framework 3.5 (Windows)
Linux:
Use PlayOnLinux for beginners (recommended)
Download and Install .NET Framework 3.5 (Wine)
Download and Install .NET Framework (Wine)


https://i.imgur.com/6q8ABKD.png Pictures
https://i.imgur.com/Bf3zvFy.png

https://i.imgur.com/unVFTE4.png Features
  • Lightweight & Portable
    BasicPawn is a very lightweight editor with a size of a few megabytes.
    All settings are saved in its working directory so you can bring BasicPawn aynwhere!

  • Autocomplete & IntelliSense
    Like most IDE's and editors, BasicPawn supports autocompletion and IntelliSense too.
    (Including methodmap, enum struct and variable autocompletion support)

  • Plugins
    Missing a feature? Write your own plugins using .NET Framework to add more functionality to BasicPawn.
    Available official plugins:
    FTP Uploader
    Automatic Error Reporting
    Translation Editor
    Lysis Decompiler

  • Debugger
    (Possible design changes)
    To make sure your code is running as it should be, you can use the BasicPawn debugger to debug your code.
    Use breakpoints, watch values, set values, caught exceptions and more.

  • Configs
    Create your own configs for every situation.
    Set different compilers, input and output folders, build events and more.

  • Styles
    Customize BasicPawn's Editor syntax styles using the XSHD file format.
    You can find official syntax styles here.

https://i.imgur.com/EjxjAIG.png FAQ
  • Autocompletion/IntelliSense doenst work! What can i do?
    In order to use the Autocompletion and IntelliSense feature make sure you saved your source to disk and check if all config entries are valid. (e.g. valid include directory)
    Then set the config you want as active. Press F5 to update manualy.

  • Does BasicPawn support AMX Mod X?
    Yes, but not all original Pawn features are supported.

  • Does BasicPawn support Pawn?
    Yes but its very limited. You may want to use some other Pawn editor for it.

  • Does the BasicPawn Debugger work with AMX Mod X/Pawn?
    No, only SourceMod is currently supported.

  • I want to use BasicPawn on Linux how do i install it?
    Because BasicPawn is build for Windows you have to use Wine to use BasicPawn on Linux.
    You may also have to Download the Windows version of SourceMod since the compiler needs to be Win32 too if you want to compile your sources.
    The easiest method to install wine and configure everything is using PlayOnLinux. Because it has a nice GUI.
    First install 'wine-stable' and 'wine-stable-amd64' (If you are running 64 Bit) from the buildin 'Software Manager' to download all dependencies automatically. Because PlayOnLinux wont download Wine dependencies.
    Next install 'PlayOnLinux' the same way then go 'Tools > Manage Wine versions' and install a Wine x86 version (3.0 recommended). If the installation crashes choose a older Wine version.
    In the main window go 'Configure' and create a new configuration. Choose x86 application and select the Wine version we installed previously.
    Once done, go 'Install components' and install 'dotnet35' to install .NET Framework 3.5 which will take a while but its mostly automated.
    Done. You can do some fine tuning.
    (Tested on Linux Ubuntu x86 and Linux Mint x64)

  • Can i use BasicPawn with Mono?
    No, Mono is not supported. BasicPawn can could run with Mono but not for long until it crashes. It makes use of the Windows API and will be unstable if it can't access it.

  • Is 'https://getbasicpawn.spdns.org/' your website?
    Yes.

More comming soon


https://i.imgur.com/4B1KgWP.png Download

Get Source
Latest Release
https://ci.appveyor.com/api/projects...aster?svg=true





Sorry for the broken english, english isn't my native language. Grammar correction suggestions are appreciated. Thanks :).

Timocop 10-15-2016 07:18

Re: BasicPawn - SourcePawn Editor
 
So, since i cant use my homepage link and i dont know how to seperate 2 domains to 2 different subdirectorys on my server using 1 IP, im forced to create a thread here instead.
Does posting links to third party file sharing sites (e.g MEGA) to download the software conflict with "Do not advertise" in the rules?

Lux 10-15-2016 08:22

Re: BasicPawn - SourcePawn Editor
 
Quote:

Originally Posted by Timocop (Post 2462289)
So, since i cant use my homepage link and i dont know how to seperate 2 domains to 2 different subdirectorys on my server using 1 IP, im forced to create a thread here instead.
Does posting links to third party file sharing sites (e.g MEGA) to download the software conflict with "Do not advertise" in the rules?

My mega links are still here for this plugin
https://forums.alliedmods.net/showthread.php?p=2429012

I assume it is okay because the links are still there xD

Grey83 10-15-2016 09:12

Re: BasicPawn - SourcePawn Editor
 
It looks interesting
Is it possible to somehow make the highlight (and autocomplete) separately for the old and the new syntax?
More precisely if necessary that for old syntax the hint as well as in the compiler in the presence of a line "#pragma newdecls required" in plugin heading was issued.

Timocop 10-15-2016 10:05

Re: BasicPawn - SourcePawn Editor
 
For the autocomplete you can already select which syntrax you want to use (http://i.imgur.com/JUaYDta.png).
For the seperate syntrax highlight, i may add that to the Design feature todo list.
Maybe each config a custom style?

Do you mean BasicPawn should automatically switch to the new syntrax when "#pragma newdecls required" exist? Yea, seems legit, i'll add that too.
And i'm adding more compiler options later on. In the current version the only way to set arguments is to use shell. (http://i.imgur.com/uoMenCH.png)

Edit:
I've tested BasicPawn on Linux Ubuntu x86 using Wine (Installed .NET Framework 2.0 using Winetricks), it's actually working pretty well and stable.

http://i.imgur.com/ZkOMe17.png

wall57 11-01-2016 11:15

Re: [RELEASE] BasicPawn - SourcePawn Editor
 
i loved the backwards syntax compatibility, beign able to simply translate ancient plugins to mah mother lang is great, but i'm also looking foward for yer "skin" updates and such customizations. sure there are more functionalities to spawn with each new update, looking foward to that as well as a pawn newbie.

Grey83 11-02-2016 11:16

1 Attachment(s)
It looks good but lacks a few things:
  • transition by clicking on things in the Object Browser to the corresponding part of a plugin
  • highlighting of lines which have been changed
  • mark at the same time several things (in different colors), not just one
Types ConVar and Handle not highlighted. :cry:

It should be something more similar to what can be seen on the attached screenshot (green mark - saved change, orange mark - not saved change).

Timocop 11-02-2016 17:56

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
New Major Update! v0.6
  • Minor bug fixes.
  • Added a super basic debugger. (Uses unmanaged Windows API, untested in Wine)
Note:
BasicPawn saves now in *.ini files instead of *.cfg files!
You may need to re-config everything!



Quote:

Originally Posted by Grey83 (Post 2467076)
highlighting of lines which have been changed

Quote:

Originally Posted by Grey83 (Post 2467076)
mark at the same time several things (in different colors), not just one

I already have them on my todo list :wink:.

ConVar and Handle aint hardcoded in BasicPawn. BasicPawn will parse them from the includes.
But you'll need to save your source first and setup the include directory in your active config. Or if your source *.sp is next to the include directory use "Automatic" detection and let the Autocomplete update either from the DropDown menu or by hitting F5.
They should be colored then.

asherkin 11-02-2016 19:16

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
We do not feel comfortable with you distributing closed-source, obfuscated binaries to our community.

Perhaps you would consider joining forces with the author of SPEdit to build a single, awesome, open-source SourcePawn editor?

Timocop 11-02-2016 20:54

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
Quote:

Originally Posted by asherkin (Post 2467171)
We do not feel comfortable with you distributing closed-source, obfuscated binaries to our community.

I know obfuscated programs are suspicious but im only doing it to optimize and compress the program (and holding it closed until i know if im going commercial or not).
The only thing i want is to get a bit attention for what i do, so i dont feel like wasting my time on expensive projects and spreading malware through my software doenst help that at all. Its even the opposite.
Spoiler


I dont want to Open-Source it yet, well, unless im forced to (Please dont abuse) or maybe im going commercial so i can buy certificates (which are expensive btw), who knows.
If im going to Open-Source it, i still need take time to learn how to use Github :oops:, cleanup even more code and set comments everywhere.

Quote:

Originally Posted by asherkin (Post 2467171)
joining forces with the author of SPEdit to build a single, awesome, open-source SourcePawn editor?

Mhh, im not sure. AeonOne and i have probably different goals or tastes.
Im a bit proud of what i did with BasicPawn. At the beginning i didnt even know how to get on the same level like SPEdit did and scraping BasicPawn now, the only thing currently to get a bit attention for my projects, feels wasted...
We still could help each other tho.

Sorry for the bad english grammar, i hope you understand what i wrote and hopefully we solve this somehow. Do i fear a takedown?
This literally took me over 30 minutes to write this, i did my best xD

psychonic 11-02-2016 21:15

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
Quote:

Originally Posted by Timocop (Post 2467209)
Uff i knew this gonna come... I know obfuscated programs are suspicious but im only doing it to optimize and compress the program (and holding it closed until i know if im going commercial or not).
The only thing i want is to get a bit attention for what i do, so i dont feel like wasting my time on expensive projects and spreading malware through my software doenst help that at all. Its even the opposite.

It doesn't create any meaningful optimization. I suspect that the only real goal with the obfuscation is commercialization, which wouldn't be likely to be successful when the largest audience would be here, where advertising is not (and has never been) permitted.

Quote:

Originally Posted by Timocop (Post 2467209)
Btw. SEdirector here on AlliedModders is obfuscated too and noone realy said anything.
So i assumed its ok. If not, there should be a rule to clarify that.

Thanks! That one flew under my radar. We'll take a look.

Quote:

Originally Posted by Timocop (Post 2467209)
I dont want to Open-Source it yet, well, unless im forced to (Please dont abuse) or maybe im going commercial so i can buy certificates (which are expensive btw), who knows.
If im going to Open-Source it, i still need take time to learn how to use Github :oops:, cleanup even more code and set comments everywhere.

We can't (and wouldn't want to) force you to do anything, but we need to protect our users. You're obviously free to license your program as you wish, but if you want to post it here, we would like to be able to prove that it isn't a threat to our users, especially when there already exist open source alternatives to the program.

Quote:

Originally Posted by Timocop (Post 2467209)
Mhh, im not sure. AeonOne and i have probably different goals or tastes.
Im a bit proud of what i did with BasicPawn. At the beginning i didnt even know how to get on the same level like SPEdit did and scraping BasicPawn now, the only thing currently to get a bit attention for my projects, feels wasted...
We still could help each other tho.

You should be proud. It sounds pretty cool judging by the your first post. I haven't tried it yet myself, from not wanting to run untrusted binaries that I can inspect, posted by individuals.

Quote:

Originally Posted by Timocop (Post 2467209)
Sorry for the bad english grammar, i hope you understand what i wrote and hopefully we solve this somehow. Do i fear a takedown?
This literally took me over 30 minutes to write this, i did my best xD

Links/attachments may be removed. We (staff) will likely talk more on this tomorrow.

Dr!fter 11-02-2016 21:30

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
Here are my 2 cents, I think the obfuscation is kinda pointless, as mentioned the performance increase is minimal if any. If it is for possibly commercialization, even it not being obfuscated would require a decent amount of effort to reverse and doubt heavily anyone would commit lots of time into it.

It comes across more that you want to advertise yourself and everything you do (which some of it is already frowned upon) and if you do commercialize it you will look more like a dick than anything. You're getting users to use it and like using it, meaning free advertisement without breaking the rules just to get potential clients and then switching it to a commercial version.

Timocop 11-02-2016 23:37

Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
 
Thanks for the quick response guys!
Spoiler


Text Wall:
Spoiler


EDIT:

BasicPawn is on Github now!

Peace-Maker 11-08-2016 01:49

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Thanks for releasing the source.

It's "Syntax" by the way.

Timocop 11-08-2016 02:02

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
I'll be honest, Github is quite fun. With the Visual Studios Git extension its even easier.
And i though i need to do everything with the git commandline :shock:.
Thanks for pointing "Syntrax" out. I dont know where the R comes from xD.

EDIT:

Added commit builds in the #1 thread. So you guys can test all the new features without compiling it by yourself.
Those builds are automatically created each commit and may be unstable!

Quote:

Originally Posted by Grey83 (Post 2467076)
...

Finished some of your requests.

Timocop 01-01-2017 19:27

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
MAJOR UPDATE

Added plugin support!
You can now add plugins to BasicPawn using C# or VB.NET.
This is the first time i made an actual plugin system. Tips and suggestions are appreciated!
Can't wait to see some of your plugins. :)

It's probably the best to post them here and i'll link them in the #1 post for easy access.
Pack the plugin and the source into a *.zip (or seperate them) and post them here with title and description.

Desktop 06-18-2017 19:24

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Hi, very nice editor, i really like the minimalistic style, but (if you don't mind) i would like to see options to Expand/Collapse all on it!

Nice job mate.

Timocop 06-19-2017 08:09

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Thanks! But im not sure what you mean by "Expand/Collapse all". Do you mean expand/collapse Object Browser items or do you mean Drag&Drop and relocate controls?

Desktop 06-20-2017 19:16

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
To collapse or expand all plugin functions, because it's a little messy to re-open the plugins and see that all the functions you've collapsed are expanded again for default; so i think that option would be actually great for people like me who like to collapse what is not going to edit.

Timocop 06-20-2017 22:35

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Done. Look at the latest github commit build. You can download it from there if you dont want to wait for a public release.

Bacardi 09-05-2017 01:55

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
I started like this because Autocomplete is in different window block. Going to use this fow now....
Thanks!

Sithranduil 09-22-2017 09:20

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Hi, good work !

How to make the debugger work properly, it shows "target not responding", while another message tells the debugger is operating.

Timocop 09-22-2017 10:38

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Make sure your game is running and the debugger configs are setup properly.
"target not responding" means that there is no communication between debugger and the debug-plugin (Like when the debug-plugin is not loaded).
The plugins should be loaded when entering "sm plugins refresh" into the console or reloading the map.

RussianRonin 12-01-2017 02:59

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Is it possible to add some basic auto completion to where you type

public
{*cursor*[enter]

and it comes out to

public
{
{tab}*cursor*
}

Timocop 12-02-2017 21:10

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Yes thats doable.

Psyk0tik 12-15-2017 06:03

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Definitely going to try this out. Thanks for making this!



(tired of using sublime text 3...)

Desktop 01-10-2018 15:46

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Hi, i updated the program since that time you added first release of "expand/collapse all" and now it's working kinda weird, it's like i have to click the option from 3 to 4 times to get it working.

Timocop 01-10-2018 22:43

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
In what way "weird"? Slow? Also, what option you clicking on?
By default if you open a document the first time, it take like ~5 sec or more to generate the outlining.

Desktop 01-12-2018 15:49

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
I'm clicking on "Collapse all", but it takes more seconds to respond than some patches ago.
PD: Now that you say it, it's like 5 sec to respond, seems it's the outlining.

Timocop 04-09-2018 06:03

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Important!
Hey guys a new update has been released which fixed the auto updater.
People with version v0.741 or older need to update manually to version v0.750 or higher!
Also the custom syntax styles have been changed please update them too if you use them.

You can find more changes here: https://github.com/Timocop/BasicPawn/releases

Nickelony 07-19-2018 07:42

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
This is probably the most underrated editor every created. I love it! :D
Please keep up the amazing work!

Timocop 07-20-2018 05:34

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
@Nickelony <3

Hey guys!
After a while of inactivity, BasicPawn 0.8 has been finally released. Alot of bugs have been fixed, some things have been added and changed.
But more importantly: Ive released some optional plugins for BasicPawn that you can use. (And you can create your own plugins for BasicPawn using these references!)

https://i.imgur.com/L7bvMe4.png FTP Uploader
Upload files or binaries easy and quick to your servers using the FTP or SFTP protocol.

DOWNLOAD

https://i.imgur.com/smuRtog.png Automatic Error Reporting
Automatic Error Reporting allows you to automatically review all plugin exceptions that have occurred on your servers.
Which makes error tracking more comfortable.

DOWNLOAD

Thank you for using BasicPawn and i hope these new features are usefull to you guys! <3
If you have suggestions what i could improve or add, gimme gimme.
Its the best to just add an issue on my github.

Bara 07-20-2018 06:27

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Interesting, but dark theme looks weird (more terrible with the white bars). That's probaly the main reason why I wouldn't use this editor.

Timocop 07-20-2018 07:03

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Yea i know, thats why i dont realy call it "dark theme" more like "high contrast mode".
The most annoying ones are the scrollbars they are realy bad and unable to change the color the "normal way" i have todo it the hacky way escpecialy in thirdparty libs like the text editor.
Its all Windows Forms not WPF so some native form controls are hacky to change the color. I try to avoid custom drawing because its all going over CPU unlike WPF.
If you want to change the syntax color you can download the custom ones here.
For example the Visual Studio 2017 Dark theme.

Timocop 12-22-2018 13:45

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
New Update!
A new update has been released! Ive added support for 'enum struct's and fixed some minor but still annoying UI bugs. Happy holidays community!
https://i.imgur.com/tSzzXmD.gif

Dragokas 01-15-2019 02:35

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Nice, it looks very convenient!

1) How to setup compiler path?
2) How to change theme to dark?

Timocop 01-15-2019 16:34

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
1) BasicPawn should work out-of-the-box. As long your source is in the same folder with compiler and include folder. If you want to set everything up manualy, you have to create your own configs.
Go: Tools > Settings & Configs > Configs

2) You can find High contrast mode in the settings under the tab TextEditor.
If you dont like how the syntax color looks you can download custom syntax highlighting files here.
Go: Tools > Settings & Configs > Settings > TextEditor

Nexd 02-03-2019 11:17

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Is there dark theme for this?><

edit: found it, sry xd

Dragokas 04-25-2019 03:33

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Hi, Timocop!

Can you please, make "output directory" will be directory of currently opened .sp file, when I manually setup my config and leave this field empty?
Or better, if you could make it support relative paths, like:
Quote:

"..\plugins"
Quote:

".\plugins"
Quote:

".\"
I usually have my own source files dir with categories. And I prefer to compile smx next to the sp file (without subfolders and separately from compiler at all).
I also tried to use there "%inputfolder%" as pre-defined macro for your "Shell", but it doesn't accept it.

Is there something like "MS Visual Studio" F12 shortcut for "Go to definition" ? (without manually pressing "List references" and using the mouse).
Or maybe you could something do like that, it is very handy and time saving feature.

I don't quite understand how to use autocomplete feature. I like MS VS style / 3P N++ style. But, here is something completely different. I see "autocomplete tab" with a list, I also setup tooltip, but when I press "tab" nothing happen, how to choose and insert concrete variant from the list (without mouse of course).

Thanks.

Dragokas 04-25-2019 03:41

Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
 
Quote:

Originally Posted by Timocop (Post 2634934)
1) BasicPawn should work out-of-the-box. As long your source is in the same folder with compiler and include folder. If you want to set everything up manualy, you have to create your own configs.
Go: Tools > Settings & Configs > Configs

2) You can find High contrast mode in the settings under the tab TextEditor.
If you dont like how the syntax color looks you can download custom syntax highlighting files here.
Go: Tools > Settings & Configs > Settings > TextEditor

Nice, thanks )

I was a little bit confused, why I can't setup paths via "Default" config name.


All times are GMT -4. The time now is 13:20.

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