GTA2 ScriptPad
Re: GTA2 ScriptPad
Ok, got it to work. but this tyty file is incomplete and miss2 throws some errors
but anyway, it works:
Instead of
You could just type:
It will look like:
[+] Header
Now i will try to add subs with ":".
Btw: i could add autocompletion for //{, ie, if you type //{ it will automatically add the ending //}
It will close any open //{ you have there.
So you don't have to worry about them. it will close them where your cursor is and when you hit enter.
but anyway, it works:
Instead of
Code: Select all
//{ // Header
Code: Select all
//{ Header
[+] Header
Now i will try to add subs with ":".
Btw: i could add autocompletion for //{, ie, if you type //{ it will automatically add the ending //}
It will close any open //{ you have there.
So you don't have to worry about them. it will close them where your cursor is and when you hit enter.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
oh, that would be nice
btw: what is the menue option "insert from template" for?
is that some kind of scriptlet including? i also had an idea about a feature that could auto add some small script pieces. for example: give rocketlauncher on respawn, autodelete mines and oil, respawning cars or some of the powerups from tyfo army lite or bc ac.
btw: what is the menue option "insert from template" for?
is that some kind of scriptlet including? i also had an idea about a feature that could auto add some small script pieces. for example: give rocketlauncher on respawn, autodelete mines and oil, respawning cars or some of the powerups from tyfo army lite or bc ac.
yur sa'nok ngeyä
Re: GTA2 ScriptPad
Well yes, it could be modified to add snippets, but atm it just inserts the template
Ben or Pyro suggested here.
So you don't have to start with empty sheet.
I don't even remember if it works in the version i released.
I got the subs with return's working.
Now it folds the subs also.
Ex:
Will try to post some screenshot with tyty_army and all that folding.
Ben or Pyro suggested here.
So you don't have to start with empty sheet.
I don't even remember if it works in the version i released.
I got the subs with return's working.
Now it folds the subs also.
Ex:
Code: Select all
apcbots:
// ...
RETURN
Code: Select all
[+] apcbots
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
Just to let you know.
I was on holidays 9 days. Then i went back to work and now slowly making my way up again.
What i mean is that after such break from work, i get very tired first days on work and i just don't want to do anything on my pc.
Im just too tired.
Now, 2 days i will have first aid training (7 hours in a row), after that i must go to the work for 6 hours, and in total my day will be 13 hours long these two days.
After that i probably can continue my work on ScriptPad.
If i feel better, i can continue even before that.
Im still maybe lurking on forums, watching any updates in different threads, but i probably wont code.
Hopefully you guys understand me.
All the best to you.
I was on holidays 9 days. Then i went back to work and now slowly making my way up again.
What i mean is that after such break from work, i get very tired first days on work and i just don't want to do anything on my pc.
Im just too tired.
Now, 2 days i will have first aid training (7 hours in a row), after that i must go to the work for 6 hours, and in total my day will be 13 hours long these two days.
After that i probably can continue my work on ScriptPad.
If i feel better, i can continue even before that.
Im still maybe lurking on forums, watching any updates in different threads, but i probably wont code.
Hopefully you guys understand me.
All the best to you.
Always wear safety glasses while programming.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 ScriptPad
hey, no hurry, no push. you should only do it for fun and learning and we are not your customers. 

"Mmmm, your eyes are so beautiful."
Re: GTA2 ScriptPad
Training is over and i got my new big First Aid Certificate :)
My old one expired, it was from driving school, from 2007 or something.
The lecturer was very hot chick. I feel like i miss her now, lol.
I must check my papers, maybe i have her phone number :D
Tomorrow is last day of work, then i can rest.
But now i will look where i left the ScriptPad.
Will read my textfiles (read: logs).
My old one expired, it was from driving school, from 2007 or something.
The lecturer was very hot chick. I feel like i miss her now, lol.
I must check my papers, maybe i have her phone number :D
Tomorrow is last day of work, then i can rest.
But now i will look where i left the ScriptPad.
Will read my textfiles (read: logs).
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
not that im interested in your personal life in any way, nor that this should be the place to talk about these things, but as you took this on topic... didnt you have a wife ?B-$hep wrote:The lecturer was very hot chick. I feel like i miss her now, lol.
I must check my papers, maybe i have her phone number![]()
My GTA2 related projects:
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 ScriptPad
Cuban-Pete is also wondering were 'wife' fits in this story...
"Mmmm, your eyes are so beautiful."
Re: GTA2 ScriptPad
I knew somebody will mention this.
You take this lecturer chick story too seriously guys, come on.
She is beautiful, thats all. But anyway most of our womens are beautiful in Estonia.
Even Google says that, lol.
Of course i have my own wife and i never would think about replacing her, there isn't anywhere woman like she is, in the world. Just one.
So don't worry guys.
I will try to work on ScriptPad now.
So i could release a better beta soon. The first released one was pretty bad.
Sorry about that. But as i said, i was coding mostly at night, after work, when i am pretty tired.
You take this lecturer chick story too seriously guys, come on.
She is beautiful, thats all. But anyway most of our womens are beautiful in Estonia.
Even Google says that, lol.
Of course i have my own wife and i never would think about replacing her, there isn't anywhere woman like she is, in the world. Just one.
So don't worry guys.
I will try to work on ScriptPad now.
So i could release a better beta soon. The first released one was pretty bad.
Sorry about that. But as i said, i was coding mostly at night, after work, when i am pretty tired.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
i wasnt "serious" but just found it weird... anyways, i prefer to not talk about personal life on the public internet boards if you dont want people to talk about itB-$hep wrote:I knew somebody will mention this.
You take this lecturer chick story too seriously guys, come on.



My GTA2 related projects:
Re: GTA2 ScriptPad
No problems. I will keep that in mind.
Actually it's good that you talked about bosses sniffing around on the net.
A bit scary thing :D
I must remember that. He doesn't know my email yet, so probably i wont give him the one i have atm, if he asks.
Thanks T.M.
Actually it's good that you talked about bosses sniffing around on the net.
A bit scary thing :D
I must remember that. He doesn't know my email yet, so probably i wont give him the one i have atm, if he asks.
Thanks T.M.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
I attached new version to my first post in this topic.
Also small homepage for it:
http://e36v4.co.cc/gta2scriptpad/
The server may be busy sometimes, so check it later again.
Download, run, test, as much you can the ScriptPad.
And report any bugs you may find.
I had a long break from this project, so i don't remember all the bugs.
I looked the previous bug reports here and fixed what i have found.
But i don't think that all of them got fixed. So please test it.
Also small homepage for it:
http://e36v4.co.cc/gta2scriptpad/
The server may be busy sometimes, so check it later again.
Download, run, test, as much you can the ScriptPad.
And report any bugs you may find.
I had a long break from this project, so i don't remember all the bugs.
I looked the previous bug reports here and fixed what i have found.
But i don't think that all of them got fixed. So please test it.
Always wear safety glasses while programming.
-
- Immortal
- Posts: 890
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GTA2 ScriptPad
I disagree with "outdated MisPad". It's a great tool and still the current one, unless yours suddenly got much more reliable. 
Maybe I can test this tomorrow.

Maybe I can test this tomorrow.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Re: GTA2 ScriptPad
This has the classic Delphi Induc virus. I cleaned it and attached cleaned file. There were 10 downloads before that. It is a harmless virus that just adds 5kB to the exe. It can only spread if you have Delphi 4 or 7 installed and you compile with it.
Re: GTA2 ScriptPad
Damn, i must have checked it.
But forgot.
I will do it next time.
Thanks Sektor.
EDIT: i updated the version with your 7z on my homepage.
I will triple test my files in future before uploading.
Sorry.
But forgot.
I will do it next time.
Thanks Sektor.
EDIT: i updated the version with your 7z on my homepage.
I will triple test my files in future before uploading.
Sorry.
Always wear safety glasses while programming.
-
- Immortal
- Posts: 890
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GTA2 ScriptPad
LOL, please put the download link in the main content of the homepage! Only takes one line on the screen. Took me 5 minutes to figure out how to actually download the darn thing. 
More thoughts:
(EDIT) Aha, I found a mis2.lcf file next to EXE. Moved it to Themes folder and renamed to MisPad.lcf and now I have dark-on-light theme. Added a couple more bugs to that list.
Will test it some more next time I do some scripting.
(EDIT2) Added a couple more bugs after testing with Gustavob. It's tantalizing to see all these features but not be able to use them. Will take a lot of boring reliability work to make this a viable tool, from what I've seen today.

More thoughts:
- Don't package a folder in the archive. Just put the files directly into the archive.
- Don't set the light-on-dark theme as the default. Default is dark-on-light in Windows.
- Text is illegible in the light-on-dark theme.
- Seriously. Especially the comments. Can hardly even see where they are, let alone read them!
- Window size and position is saved. Yay!
- Crashed when setting setting "Active Color Scheme" to MisPad Theme. Reached this setting by clicking Tools > Options menu, then Colors tab.
There is a MisPad.syn file but no .lcf files in there.ScriptPad wrote:Cannot open file "C:\Program Files\Rockstar Games\GTA2\tools\Script Editor (B-Shep)\Themes\MisPad.lcf". The system cannot file the file specified. - XP themes are applied thoroughly and sensibly throughout. Nice work!
- Icons in the toolbar are a bit jagged. Are they being stretched due to incorrect sizing? They should be 16 pixels high, most likely.
- Oh, really stupid and annoying bug: I just spent some time in the custom Syntax Highlighting interface. Clicked OK on it but when I clicked OK on Preferences window, all my changes were lost! I hate that!
- A few things in MisPad Theme are set to White so they are literally invisible! D'oh...
- Cannot close the program by clicking the 'red X'. Error message says "Access Violation [...]" but clicking OK does not close the program.
- File menu has an empty item after Exit, so maybe a Recent Files issue?
- Couldn't find dark.lcf.
(EDIT) Aha, I found a mis2.lcf file next to EXE. Moved it to Themes folder and renamed to MisPad.lcf and now I have dark-on-light theme. Added a couple more bugs to that list.
Will test it some more next time I do some scripting.
(EDIT2) Added a couple more bugs after testing with Gustavob. It's tantalizing to see all these features but not be able to use them. Will take a lot of boring reliability work to make this a viable tool, from what I've seen today.
Last edited by BenMillard on 29 May 2011, 19:23, edited 2 times in total.
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Re: GTA2 ScriptPad
Thanks alot Ben for all the info.
And the neverending problem with mis2.xxx file.
I guess i was too tired when i coded this.
I thought i fixed it in this release.
EDIT:
Also please test, the saving, loading, closing, "new" menu item work.
Does it closes correctly, saves it changes, asks the questions as it should, etc.
It should work fine, but im not sure 100%.
EDIT2: download link added to scriptpad main page.
And main homepage now redirects to scriptpad page.
And the neverending problem with mis2.xxx file.
I guess i was too tired when i coded this.
I thought i fixed it in this release.
EDIT:
Also please test, the saving, loading, closing, "new" menu item work.
Does it closes correctly, saves it changes, asks the questions as it should, etc.
It should work fine, but im not sure 100%.
EDIT2: download link added to scriptpad main page.
And main homepage now redirects to scriptpad page.
Always wear safety glasses while programming.
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: GTA2 ScriptPad
Says that when I try to open a .mis file with ScriptPad using Open With. Confirmed by BenMillard via GHCannot open file "[...]\GTA2\data\mis2.lcf". The system cannot find the file specified
EDIT: also this:
"Access violation at address 00539331 in module 'GTA2 ScriptPad.exe'. Read of address 00000000"
when closing it using any methods: red X, task manager etc. Task manager will close it but clicking OK won't. Also in Ben's message, point 11
You just lost the game.