Raised This Month: $52 Target: $400
 13% 

[RELEASE|SOURCE] BasicPawn - SourcePawn Editor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Timocop
Senior Member
Join Date: Mar 2013
Location: Germany
Old 10-15-2016 , 08:17   [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
Reply With Quote #1

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.


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)


Pictures

Spoiler


Features

Lightweight & Portable
BasicPawn is a very lightweight editor with a size of a few megabytes.

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

Toolbox
(Not yet implemented / Planned)
You can use the toolbox to access stuff even faster.
Generate code (e.g menus, panels, hooks, etc.), view game hooks, view netprops, and more.

Plugins
Write your own plugins using .NET Framework to add more functionality to BasicPawn.
Available official plugins:
FTP Uploader
Automatic Error Reporting

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 and more.

Designs
(Possible design changes)
Customize BasicPawn's design using the XSHD file format.


FAQ

Q: Autocompletion/IntelliSense doenst work! What can i do?
A: 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.

Q: Does BasicPawn support AMX Mod X?
A: Yes, but not all Pawn features are supported.

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

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

Q: I want to use BasicPawn on Linux how do i install it?
A: 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)

Q: Can i use BasicPawn with Mono?
A: 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.

More comming soon


Download

Get Source
Latest Release





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

Last edited by Timocop; 08-02-2019 at 09:30. Reason: New update and new images
Timocop is offline
Timocop
Senior Member
Join Date: Mar 2013
Location: Germany
Old 10-15-2016 , 08:18   Re: BasicPawn - SourcePawn Editor
Reply With Quote #2

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?

Last edited by Timocop; 10-15-2016 at 08:34.
Timocop is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 10-15-2016 , 09:22   Re: BasicPawn - SourcePawn Editor
Reply With Quote #3

Quote:
Originally Posted by Timocop View Post
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
__________________
Lux is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 10-15-2016 , 10:12   Re: BasicPawn - SourcePawn Editor
Reply With Quote #4

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.
__________________
Grey83 is offline
Timocop
Senior Member
Join Date: Mar 2013
Location: Germany
Old 10-15-2016 , 11:05   Re: BasicPawn - SourcePawn Editor
Reply With Quote #5

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.


Last edited by Timocop; 10-16-2016 at 10:00.
Timocop is offline
wall57
New Member
Join Date: Aug 2016
Old 11-01-2016 , 12:15   Re: [RELEASE] BasicPawn - SourcePawn Editor
Reply With Quote #6

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.
wall57 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 11-02-2016 , 12:16  
Reply With Quote #7

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.

It should be something more similar to what can be seen on the attached screenshot (green mark - saved change, orange mark - not saved change).
Attached Images
File Type: jpg screenshot.jpg (94.5 KB, 393 views)
__________________

Last edited by Grey83; 11-02-2016 at 12:22.
Grey83 is offline
Timocop
Senior Member
Join Date: Mar 2013
Location: Germany
Old 11-02-2016 , 18:56   Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
Reply With Quote #8

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 View Post
highlighting of lines which have been changed
Quote:
Originally Posted by Grey83 View Post
mark at the same time several things (in different colors), not just one
I already have them on my todo list .

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.

Last edited by Timocop; 11-02-2016 at 19:04.
Timocop is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-02-2016 , 20:16   Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
Reply With Quote #9

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?
__________________
asherkin is online now
Timocop
Senior Member
Join Date: Mar 2013
Location: Germany
Old 11-02-2016 , 21:54   Re: [RELEASE] BasicPawn - SourcePawn Editor v0.6
Reply With Quote #10

Quote:
Originally Posted by asherkin View Post
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 , cleanup even more code and set comments everywhere.

Quote:
Originally Posted by asherkin View Post
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

Last edited by Timocop; 04-19-2019 at 19:19.
Timocop 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 21:12.


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