Page 9 of 15

Re: GTA2 ScriptPad

Posted: 30 Apr 2011, 09:51
by elypter
ok thanks

Re: GTA2 ScriptPad

Posted: 30 Apr 2011, 11:34
by B-$hep
Ok, got it to work. but this tyty file is incomplete and miss2 throws some errors
but anyway, it works:

Instead of

Code: Select all

//{ // Header
You could just type:

Code: Select all

//{ Header
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.

Re: GTA2 ScriptPad

Posted: 30 Apr 2011, 12:46
by elypter
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.

Re: GTA2 ScriptPad

Posted: 30 Apr 2011, 12:59
by B-$hep
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:

Code: Select all

apcbots:
// ...
RETURN

Code: Select all

[+] apcbots
Will try to post some screenshot with tyty_army and all that folding.

Re: GTA2 ScriptPad

Posted: 30 Apr 2011, 13:44
by elypter
very nice. thanks

Re: GTA2 ScriptPad

Posted: 10 May 2011, 21:55
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 11 May 2011, 13:19
by Cuban-Pete
hey, no hurry, no push. you should only do it for fun and learning and we are not your customers. :)

Re: GTA2 ScriptPad

Posted: 12 May 2011, 21:04
by B-$hep
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).

Re: GTA2 ScriptPad

Posted: 13 May 2011, 14:15
by T.M.
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 :D
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 ?

Re: GTA2 ScriptPad

Posted: 13 May 2011, 17:05
by Cuban-Pete
Cuban-Pete is also wondering were 'wife' fits in this story...

Re: GTA2 ScriptPad

Posted: 13 May 2011, 20:58
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 13 May 2011, 22:46
by T.M.
B-$hep wrote:I knew somebody will mention this.
You take this lecturer chick story too seriously guys, come on.
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 it ;) also one bad thing is that if you write something here, it will never get deleted from the internet... so you might end up in situation where your wife reads some stuff you said even when you were just "joking", but she wouldnt believe you etc... not to mention that i've been reading news lately and many people are getting fired from their jobs when they talk "bad" stuff about their bosses on the facebook... and i've heard many bosses actually search stuff from their employees on the internet just to check what kind of people they are hiring. of course this wont affect you, but its a good reminder that you dont really need to talk about personal life on the public internet, it serves no function at all (as you already got a bit annoyed that we replied to those parts of your messages). so, i prefer to put those in private conversations. its a bit weird to read people's personal life stuff on public boards (especially when nobody actually asked them about it), because it gives the impression the person wants to talk about his personal life, but as you reacted, you dont want to talk about it. so, its easier for us all to not talk about it :) oh and i hope you dont take this offensive or anything, just trying to give (bad?) advices :D

Re: GTA2 ScriptPad

Posted: 13 May 2011, 22:49
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 28 May 2011, 14:49
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 28 May 2011, 17:41
by BenMillard
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.

Re: GTA2 ScriptPad

Posted: 28 May 2011, 21:08
by Sektor
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

Posted: 28 May 2011, 21:21
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 29 May 2011, 14:16
by BenMillard
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. :oops:

More thoughts:
  1. Don't package a folder in the archive. Just put the files directly into the archive.
  2. Don't set the light-on-dark theme as the default. Default is dark-on-light in Windows.
  3. Text is illegible in the light-on-dark theme.
  4. Seriously. Especially the comments. Can hardly even see where they are, let alone read them!
  5. Window size and position is saved. Yay!
  6. Crashed when setting setting "Active Color Scheme" to MisPad Theme. Reached this setting by clicking Tools > Options menu, then Colors tab.
    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.
    There is a MisPad.syn file but no .lcf files in there.
  7. XP themes are applied thoroughly and sensibly throughout. Nice work!
  8. Icons in the toolbar are a bit jagged. Are they being stretched due to incorrect sizing? They should be 16 pixels high, most likely.
  9. 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!
  10. A few things in MisPad Theme are set to White so they are literally invisible! D'oh...
  11. Cannot close the program by clicking the 'red X'. Error message says "Access Violation [...]" but clicking OK does not close the program.
  12. File menu has an empty item after Exit, so maybe a Recent Files issue?
  13. Couldn't find dark.lcf.
I have a big CRT screen, so black is truly black and dark colours are truly dark. Most flatscreen monitors make black look like grey and dark colours aren't properly dark.

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

Re: GTA2 ScriptPad

Posted: 29 May 2011, 17:35
by B-$hep
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.

Re: GTA2 ScriptPad

Posted: 29 May 2011, 19:15
by Gustavob
Cannot open file "[...]\GTA2\data\mis2.lcf". The system cannot find the file specified
Says that when I try to open a .mis file with ScriptPad using Open With. Confirmed by BenMillard via GH

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