[Tool/Web/Other] Scripting Machine
#61

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!
Reply
#62

Quote:
Originally Posted by [HLF]Southclaw
View Post
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.
Reply
#63

Quote:
Originally Posted by FUNExtreme
View Post
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
Reply
#64

Quote:
Originally Posted by FUNExtreme
View Post
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.
Reply
#65

Quote:
Originally Posted by the_chaoz
View Post
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:
    1. Detect:
      1. Colors
      2. Embedded colors (declared between "", with or with out brackets)
      3. Menus
      4. Textdraws
      5. 3DTextlabels
      6. Files
      7. Native defined types (dialogs, weapons, etc)
    2. Types for native and some custom functions
    3. Does not show up on commented lines
    4. Autocomplete callbacks
  • Smart indentation
  • Color picker:
    1. Embedded & common format
    2. Export color direct to current doc
  • Dialog previewer & maker:
    1. Real embedded color support (RGB hex & defined colors)
    2. Export code direct to current doc
  • Teleport maker:
    1. Export generated code direct to current doc
  • Area maker:
    1. Export generated code direct to current doc
  • Object & Vehicle converter:
    1. Option to put objects into an array
    2. Option to put vehicles into an array
    3. Convert interior (only MTA 1.1 for Incognito's streamer)
    4. Posible to use AddStaticVehicleEx or AddStaticVehicle
  • Compiler:
    1. Use pawncc.exe
    2. Manage errors in a detalied list
    3. Output is separated from the Error List
    4. 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:
Reply
#66

Try not to quote massive posts like that, it's quite unneeded! Also your image link is broken, try Imgur.
Reply
#67

Sorry, for double posts, but
Updated the image.
Reply
#68

that's awsome pal i was looking for this thanks pal +
Reply
#69

I got it working,
But how the hell do you use the teams with the gates?
Reply
#70

Hi, i have an error to starting :



Thx !
Reply
#71

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;
                }
            }
        }
    }
Reply
#72

Trouble when trying to download 2.2.1 .. anyone got a mirror?
Reply
#73

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?
Reply
#74

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
Reply
#75

Here's an alternative link for v2.2.1 .
Reply
#76

WOW Man this is amazing, especially for a noob scriptor such as myself. Thank you good sir
Reply
#77

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?
Reply
#78

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.
Reply
#79

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
Reply
#80

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)