So, people whining about scripts or something (idk, wasnt particularly paying attention) so I facepalmed a while, decided to toss together a VB program. So, while randomly coding awhile while not paying any attention to issues that could occur, I came out with a working script app (Silly teachers.. saying you need structure to have a program that doesn't crash)
So, the main frontend makes it seem fairly useless.
V0.8 image
(My internet is dying or something, it took a hour of trying to upload between photobucket and imageshack to finally get it successfully uploaded, rawr)
So, the core area is the script pad, right side is globals (Yes, when loading a file it will fish out all your globals) As you can see over there, you cannot delete globals lol. thats something planned for V1 (PS, this is V0.8)
The one big main feature, is the script template option. You can write a .hsc_template, and it will help the user fill it in. This way, the program doesn't go out of date in terms of scripts, it only goes out of date in terms of my lazy programming. If you have more template options you want to see in, post them here. Current ones are:
<\!multi!NUM!multi!\> </!multi!NUM!multi!/>
<+multi+>
<!replace!-ID->
<!replace+multi+!-ID->
;;!multi! COMMENT !multi!;;
;;!replace! COMMENT !replace!;;
;;!mul!rep! COMMENT !rep!mul!;;
in the future, im planning to add ones for player numbers (so it will create 16 copies with each player number inserted), and another number system. Probably add ones that force things into valid ints, and valid booleans, etc. Read the readme for more details on those.
Only templates I included in the release where Forge and some random sv_say example (basically showing you the formatting)
For the most part, can you guys try crashing it a lot so I can see where I actually need to clean up the code, add error protection, etc? Also, I know it has errors if you have invalid globals and template comments, find other things. If nobody shows any interest in it, I wont bother updating it, so actually state whether your using it, your issues, what you want to see, etc. (I would release the source, but its far far to messy lol. it would be easier for you to recreate your own than try to understand mine)
OUTDATED V0.8Current Version (V0.95)What script templates you want me to produce for the future? (if people actually start using this, all my future script releases will probably be as templates)
EDIT: Version up'd, 0.95 now (I am not making it V1 until people try to crash it and tell me if they could crash it and how hard they tried) Script Library function added along the bottom, aswell as current line count (wherever your typing cursor is at)
During first run, it will load the Script Library to registry (from that hs_doc.txt in the folder. its slightly modified from a normal one) It will take quite a while to load that (it took my PC 30 seconds, and I have 8GBs of ram and a quad core lol) If you dont want to wait, I included the registry that it generates from the file. As you should know, only trust the registry if you download from a reliable source, and not when random people pass the download along to you. The only registry area that should be changed is [HKEY_CURRENT_USER\Software\VB and VBA Program Settings\HSC Workshop\Script], if you see any other location mentioned in the file, dont trust it and let the program build its own.
Edited by kirby_422 on Feb 21, 2012 at 04:15 PM