Re: Scripting Machine -
[HLF]Southclaw - 10.07.2012
I have finally got round to using this and it's great! The tab feature is great because I usually work with multiple scripts (all compiled to the main script) it'll be much easier to have one single window that have about 3 or 4 on the screen at once!
Thanks for the great release! I'll write some more about it after I use it more
Edit:
You should add support for the other types of including, in the "current" include list it only shows the files included with < and > I have some scripted included with " (Which loads scripts in the same folder as the main script) I keep some scripts in a folder called 'scripts' which is one folder level above my gamemodes folder ("../scripts/*.pwn") that would be great!
Respuesta: Re: Scripting Machine -
TheChaoz - 10.07.2012
Quote:
Originally Posted by [HLF]Southclaw
I have finally got round to using this and it's great! The tab feature is great because I usually work with multiple scripts (all compiled to the main script) it'll be much easier to have one single window that have about 3 or 4 on the screen at once!
Thanks for the great release! I'll write some more about it after I use it more
Edit:
You should add support for the other types of including, in the "current" include list it only shows the files included with < and > I have some scripted included with " (Which loads scripts in the same folder as the main script) I keep some scripts in a folder called 'scripts' which is one folder level above my gamemodes folder ("../scripts/*.pwn") that would be great!
|
I'll check that for the next version, and I'm glad that u find this app useful.
Re: Scripting Machine -
FUNExtreme - 10.07.2012
Quote:
Originally Posted by FUNExtreme
I've made a screenshot for you.. The errors are from the include file (it gives the correct file but not the line)
|
The bug is still present in the new version but instaid of "Scripting" it just shows an empty field
Respuesta: Re: Scripting Machine -
TheChaoz - 10.07.2012
Quote:
Originally Posted by FUNExtreme
The bug is still present in the new version but instaid of "Scripting" it just shows an empty field
|
Could you please send me a the path of that inc file? As the problem must be there, and to fix this bug I need to see where the code is failing.
Re: Scripting Machine pawn IDE v2.2.0 -
stormchaser206 - 10.07.2012
Quote:
Originally Posted by the_chaoz
Scripting Machine pawn IDE
v 2.2.0
їWhat is it?
This is a new full user integrated IDE.
їWhat can it do?- Smart IDE (Designed for SA-MP pawn scripters)(See v2.0 and higher)
- Teleports
- Dialogs (with an advanced previewer)
- Color Picker
- Create Areas
- Convert Objects & vehicles
- A list with all skins and information about each one of them
- A list with all vehicles and information about each one of them
- A list with all sounds and it's IDs
- A list with all anims stored by libraries
- A list with all weapons stored by categories
- A list with all map icons and some information about each one them
- A list with all sprites stored by files.
- Avaliable Languajes: English, Espaсol, Portuguкse, Deutsch
- To see a full description of Scripting Machine, visit the project web page.
See changelog
Changelog:
v1.0 - v1.0.3- First release.
- Fixed some bugs.
v1.1- Added YCMK & HSL format (main color picker).
- Added support for multiple colors for areas.
- New format to export areas (now suport diferent colors).
- Added zoom to areas.
- 0.3d MoveObject support.
- Added 0.3d skins.
- Added 0.3d sprites.
- Added command prossesor selection to 'Gates' tab.
- Deutsch support.
- Improved memory usage.
- Fixed some bugs on the dialog's previewer.
- Added a color picker for dialogs.
- Fixed some script generated bugs.
- SetPlayerWorldBounds support. (Idea by AdonisxD)
- Now Find works as a Find Next too.
- The program load faster now.
v1.1.1- Fixed a bug related to object converter.
v2.0- Gate Maker removed
- Pickup Maker removed
- Resources folder removed
- Fixed many bugs from old version
- Multiple files on diferent's tab with context menu
- Full list of all avaliable includes
- Smart includes detection (just the ones u include on the file, detect commented lines)
- Syntax highlight (even custom functions)
- Folding
- Smart Autocomplete:
- Detect:
- Colors
- Embedded colors (declared between "", with or with out brackets)
- Menus
- Textdraws
- 3DTextlabels
- Files
- Native defined types (dialogs, weapons, etc)
- Types for native and some custom functions
- Does not show up on commented lines
- Autocomplete callbacks
- Smart indentation
- Color picker:
- Embedded & common format
- Export color direct to current doc
- Dialog previewer & maker:
- Real embedded color support (RGB hex & defined colors)
- Export code direct to current doc
- Teleport maker:
- Export generated code direct to current doc
- Area maker:
- Export generated code direct to current doc
- Object & Vehicle converter:
- Option to put objects into an array
- Option to put vehicles into an array
- Convert interior (only MTA 1.1 for Incognito's streamer)
- Posible to use AddStaticVehicleEx or AddStaticVehicle
- Compiler:
- Use pawncc.exe
- Manage errors in a detalied list
- Output is separated from the Error List
- Goto line on error/warn selection
- Info with exporting format(Skins, Vehicles, Weapons, Sprites, Map icons)
- Image icon on "SetPlayerSkin" function
- Show selection length on text selection
- If the file is not saved the tab will display a " #" after the file's name
- File association
- Unlimited Tabs
- Single Instance Application
- Option to restore all unsaved open files on crash
- Help params box of the current function
- Hot key "Ctrl+Space" to show help params box of the current function
- Current param on help box will be blue
- Possibility to re-order tabs
- Smart help box
- Almost all menu function with Hotkeys
- Intagrated defined colors on secondary color picker (common or embedded)
- XML config file (not INI like old version)
- Detect when a include can't be read (warn icon for "#tryinclude" & error icon for "#include")
v2.0.1- Fixed a bug that randomly crash the application on start
- Fixed a bug related to special chars
- Fixed a bug related to files opening
- Fixed a bug that display a wrong image on map icons images
v2.1.0- Fixed a bug related to crash during color exporting from tools.
- Fixed a bug that crash the app when an error was selected.
- Fixed a small bug that define a color when it was supposed to export the color only.
- Fixed copy, cut, paste functions from the toolbar, now they work as expected.
- Fixed Undo/Redo functions, now they work as expected.
- Fixed lost forms when they lost focus.
- Fixed a bug that saves/compile a file when "Cancel" was pressed.
- Fixed a bug that didn't allow to search vehicles by it's names.
- Fixed a bug that mess up tabs ids when a tab was closed.
- Unused code removed.
- Added support for custom syntax highlight, now you can select colors for each style.
- Added support for custom input format for the object converter.
- Added option to convert objetct's world (if posible).
- Added support to select images from system (You can now pick between: default images, from url, from file). When an Image (from skins, vehicle, etc) can't be loaded, the app will try to load the default one.
- Optimized Object/vehicle conversion code.
- Updated ScintillaNet to a new version.
v2.1.1- Fixed a crash related to "Ctrl+Space" hotkey.
- Fixed a crash related to Prediction system.
- Improved GetCurrentFunction and GetCurrentParamIndex.
- Added support to open multiple files at same time.
- Added help box to see selected function header (only for "Includes" and "Current" lists).
- Fixed a bug that creates a .xml file when the script was compiled.
v2.1.2- Fixed a crash related to Prediction system.
- Added ".IPL" as input format for object convertions.
- Fixed a bug that didn't fix custom objects model ids.
v2.2.0- Fixed a little bug with the zoom on the Areas.
- Fixed tabs size (now it's 4) and it should mess pawno indents.
- Fixed a small bug that crash the app while closing options form.
- Fixed several and major bugs from Areas tab, now it should be working as expected.
- Fixed a bug related with 'MultiF.vb' form.
- Fixed several crash bugs related to Prediction system.
- Fixed a small bug related to the auxiliar color picker.
- Fixed a small bug related to custom syntax colors.
- Now Syntax colors load from start.
- Added contact info and 'Report bug' link to google project's web.
- Added Gate Maker, now with player team support.
- Added Encoding types (UTF-8(default), ASCII, Big Endian Unicode and Unicode).
- Added custom color for comments and background color.
Requirements:
v1.0, v1.1.0 & v1.1.1
Net Framework 3.5
v2.0, v2.2.0
Net Framework 2.0
Bugs:
You can report and see the bugs here or u can send an email to ScriptingMachine@gmail.com
Download:
v1.1.1
Binary(if you already have the resources, just replace the old binary with this one)
Resources only
Binary+Resources(Download for first time)
Source
v2.0.0 - v2.2.0
binary
source
Extra:
If you have any suggestions, please pm me or write them here, if i find it useful, it will be added in future versions.
Note: Please note that 'Gates' tab is in a kind of beta version.
|
I get an error:
Re: Scripting Machine -
[HLF]Southclaw - 10.07.2012
Try not to quote
massive posts like that, it's quite unneeded! Also your image link is broken, try Imgur.
Re: Scripting Machine -
stormchaser206 - 10.07.2012
Sorry, for double posts, but
Updated the image.
Re: Scripting Machine -
M3mPHi$_S3 - 11.07.2012
that's awsome pal i was looking for this thanks pal +
Re: Scripting Machine -
stormchaser206 - 11.07.2012
I got it working,
But how the hell do you use the teams with the gates?
Re : Scripting Machine -
vardanega - 11.07.2012
Hi, i have an error to starting :
Thx !
Re: Respuesta: Re: Scripting Machine -
stormchaser206 - 16.07.2012
Quote:
Originally Posted by the_chaoz
Can you send me the code please as I didn't have problems with this, in old versions areas Y axis was wrong but i never had crashes.
|
Heres a few codes i am using:
For the zone:
pawn Код:
new Z_DOCK;
Z_DOCK = GangZoneCreate(2228.381375, -2228.381375, 2866.962306, -2813.747228);
GangZoneShowForAll(Z_DOCK, 0x0098007C);
(I did put those in different spots)
I also have a capture system.
For AreaCheck:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
gTeam = GetPlayerTeam(i);
if(IsPlayerConnected(i))
{
if(IsPlayerInArea(i, 2228.381375, -2228.381375, 2866.962306, -2813.747228))
{
if(EnteredArea3[i] == 0)
{
if(gTeam == TEAM_DELTA && CapturedBy3 == 1 || gTeam == TEAM_SPETSNAZ && CapturedBy3 == 2 || gTeam == TEAM_GIGN && CapturedBy3 == 3 || gTeam == TEAM_IA && CapturedBy3 == 4 || gTeam == TEAM_JSDF && CapturedBy3 == 5)
{
SendClientMessage(i, COLOR_RED, "This area is already controlled by your team!");
EnteredArea3[i] = 1;
return 0;
}
else
{
SendClientMessage(i, COLOR_GREEN, "Stay in the zone for 20 seconds to capture it.");
GangZoneFlashForAll(Z_DOCK, TeamColor(i));
EnteredArea3[i] = 1;
SendClientMessageToAll(COLOR_RED, "Ocean Docks is being taken over!");
T3[i] = SetTimer("TakeOver", 20000, 0);
return 0;
}
}
}
else
{
KillTimer(T3[i]);
EnteredArea3[i] = 0;
}
}
}
For TakeOver:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
new gTeam;
gTeam = GetPlayerTeam(i);
if(IsPlayerConnected(i))
{
if(IsPlayerInArea(i, 2228.381375, -2228.381375, 2866.962306, -2813.747228))
{
GangZoneStopFlashForAll(Z_DOCK);
SetPlayerScore(i, GetPlayerScore(i) + 15);
GangZoneHideForAll(Z_DOCK);
PlayerInfo[i][Xp] += 15;
GivePlayerMoney(i, 3500);
SendClientMessage(i, COLOR_GREEN, "You have recieved 15 XP and $3500 from the captured zone.");
if(gTeam == TEAM_DELTA)
{
GangZoneShowForAll(Z_DOCK, 0x0000FF7D);
SendClientMessageToAll(-1, "Delta Force has captured Ocean Docks!");
CapturedBy3 = 1;
return 0;
}
else if(gTeam == TEAM_SPETSNAZ)
{
GangZoneShowForAll(Z_DOCK, 0xFF00008E);
SendClientMessageToAll(-1, "Spetsnaz has captured Ocean Docks!");
CapturedBy3 = 2;
return 0;
}
else if(gTeam == TEAM_GIGN)
{
GangZoneShowForAll(Z_DOCK, 0x00FF007D);
SendClientMessageToAll(-1, "GIGN has captured Ocean Docks!");
CapturedBy3 = 3;
return 0;
}
else if(gTeam == TEAM_IA)
{
GangZoneShowForAll(Z_DOCK, 0x00FFFF55);
SendClientMessageToAll(-1, "Italian Army has captured Ocean Docks!");
CapturedBy3 = 4;
return 0;
}
else if(gTeam == TEAM_JSDF)
{
GangZoneShowForAll(Z_DOCK, 0xFF840055);
SendClientMessageToAll(-1, "Japan Self Defense Forces has captured Ocean Docks!");
CapturedBy3 = 5;
}
}
}
}
Re: Scripting Machine -
Jimmy_Carters - 19.07.2012
Trouble when trying to download 2.2.1 .. anyone got a mirror?
Respuesta: Scripting Machine -
TheChaoz - 19.07.2012
Quote:
Originally Posted by stormchaser206
Heres a few codes i am using:
For the zone:
...
|
Sorry for de delay to answer your question. The code sems to be ok, I did some test creating areas and going inside of them and my game did never crash (allways with area's showing/creating code only, not with extra code), the error must be in an other place.
Quote:
Originally Posted by Jimmy_Carters
Trouble when trying to download 2.2.1 .. anyone got a mirror?
|
Which is the problem?
Re: Respuesta: Scripting Machine -
Jimmy_Carters - 19.07.2012
Quote:
Originally Posted by the_chaoz
Which is the problem?
|
Can you upload 2.2.1 to another hosting site because ****** code wont let me download
Respuesta: Scripting Machine -
TheChaoz - 20.07.2012
Here's an alternative
link for v2.2.1 .
Re: Scripting Machine -
kurzagfx - 22.07.2012
WOW Man this is amazing, especially for a noob scriptor such as myself. Thank you good sir
Re: Scripting Machine -
L.Hudson - 23.07.2012
When I try to open it, it says that an it was unable to load due to an error (Options --> Defualt) to fix the error what should I do?
Respuesta: Re: Scripting Machine -
TheChaoz - 23.07.2012
Quote:
Originally Posted by L.Hudson
When I try to open it, it says that an it was unable to load due to an error (Options --> Defualt) to fix the error what should I do?
|
Try with this.
1є Open "Documents and Settings\{Your User}\Local Settings\Applcation Data\Scripting Machine".
2є Delete all folders located there.
3є Run the Scripting Machine
4є If the warning still is showed up, close the App and a new folder should be created, inside it there should be an other folder called "2.2.1" and inside it the config file, please send it to me, so i can run the app with it and find the exact point then the app fail to load the config and fix the bug.
Re: Respuesta: Scripting Machine -
stormchaser206 - 25.07.2012
Quote:
Originally Posted by the_chaoz
Sorry for de delay to answer your question. The code sems to be ok, I did some test creating areas and going inside of them and my game did never crash (allways with area's showing/creating code only, not with extra code), the error must be in an other place.
Which is the problem?
|
Also sorry for the late reply,
But i changed the code to create and show the area using a different tool, and the same code for the capture code, and it didn't crash
Respuesta: Re: Respuesta: Scripting Machine -
TheChaoz - 26.07.2012
Quote:
Originally Posted by stormchaser206
Also sorry for the late reply,
But i changed the code to create and show the area using a different tool, and the same code for the capture code, and it didn't crash
|
I think I got the error, and if it's that, it's been fixed for next version.