Page 11 of 15

Re: GTA2 ScriptPad

Posted: 30 Oct 2011, 01:17
by Sektor
Ctrl+c (copy) and Ctrl+x (cut) hotkeys don't work in v2.0.3.19. I really miss them.
Can you make compile & run button use the last "run" options, so it's a one click button?

Re: GTA2 ScriptPad

Posted: 09 Nov 2011, 12:29
by Sektor
This version of the compiler can compile main scripts that are around 55k instead of 45k. That's at least 400 extra of the largest commands.
compiler.7z
This version of the compiler supports slightly larger mis files.
(142.39 KiB) Downloaded 894 times
Thanks to T.M. for figuring out that GTA2 worked with larger scripts and only missed the magic number by 8. Thanks to Vike for finding the magic number. Thanks to Jernej for mispad. Thanks to B-$hep for Scriptpad. Thanks to DAFE for making a really massive script (DDV) that wasn't just a test script. Thanks to DMA Design for making GTA2.

Replace compiler.exe in scriptpad\compiler folder.

Re: GTA2 ScriptPad

Posted: 09 Nov 2011, 14:10
by T.M.
Epic.

The bad thing is that you cant have more than 6000 (-1) commands used, and the compiler wont tell you this! i managed to create over 6000 commands, but the exceeding commands will be lost: therefore the script will not have LEVELEND code in reach at all (it can still be in the script data, but gta2 cant execute the command since pointers are missing).

Re: GTA2 ScriptPad

Posted: 03 Jan 2012, 00:35
by B-$hep
Sektor, in your homepage you say that it's modified version of Jernejs mispad.

It's not. I rewrote it from scratch, because i didn't like the coding style and many things in there.
It worked but was pretty ugly.

So it's basically new product. Even if i used some code pieces, it's not modification.
I rewrote it from 0, very very few pieces of code are borrowed from mispad src.
Biggest one was handling of jernejs modified miss2.exe or whatever the compiler name was.

I don't like that word in there: modified.

Partially based on Mispad is better.

Re: GTA2 ScriptPad

Posted: 03 Jan 2012, 00:42
by Sektor
Changed to "GTA2 ScriptPad - GTA2 mission editor and compiler. Created by B-$hep (partially based on mispad)".

Re: GTA2 ScriptPad

Posted: 03 Jan 2012, 21:25
by B-$hep
Fine.

You saw yourself probably, that i included lot's of stuff: syntax colors, code completion, parameters hints etc. I didn't rewrote them from anybody.

Re: GTA2 ScriptPad

Posted: 01 Oct 2012, 22:18
by Sektor
Sektor wrote:Ctrl+c (copy) and Ctrl+x (cut) hotkeys don't work in v2.0.3.19. I really miss them.

Can you make compile & run button use the last "run" options, so it's a one click button?
Reminder.

Re: GTA2 ScriptPad

Posted: 01 Oct 2012, 22:27
by Jones
Would be nice if File->Open remembers the last used path or you could set a default path.
Concerning Sektor's request, maybe allowing users opening mmp files so it extract the run options from it?

Re: GTA2 ScriptPad

Posted: 02 Dec 2012, 01:52
by BenMillard
Sektor wrote: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.
I ran a full scan using Microsoft Security Essentials this evening. Turns out I had an archived copy of ScriptPad and it contained the virus. AVG hadn't picked this up before.

I allowed the scan to remove the affected file because the new version seems fine.

Microsoft's description of Virus: Win32/Induc.A.

Re: GTA2 ScriptPad

Posted: 12 Dec 2012, 12:50
by T.M.
I cant even download this, i get this warning:
epic.png
epic.png (14.94 KiB) Viewed 37835 times

Re: GTA2 ScriptPad

Posted: 28 Jan 2013, 23:28
by B-$hep
There are no viruses. I never send or attach viruses to my exes.
But i very often pack my exes with UPX to make them smaller. But it seems that today nobody cares about size so i will stop UPXing my exes and DLL's.
This should stop these damn virus alerts.

Re: GTA2 ScriptPad

Posted: 29 Jan 2013, 13:37
by T.M.
B-$hep wrote:There are no viruses. I never send or attach viruses to my exes.
But i very often pack my exes with UPX to make them smaller. But it seems that today nobody cares about size so i will stop UPXing my exes and DLL's.
This should stop these damn virus alerts.
If you watch the screenshot i sent, it shows it has unpacked the file, (see the .dll file it reports). So it wont help at all even if you dont use UPX.

You never send or attach viruses, isnt a valid point. We have seen before you sharing infected files because you got a virus on your computer. So, saying you dont share them intentionally, doesnt mean your files cannot contain viruses!

Re: GTA2 ScriptPad

Posted: 29 Jan 2013, 22:12
by B-$hep
Basically you are saying that i know my files are infected and im spreading viruses to guys here.
Is this what you are trying to say here?

I wont post anything here anyway anymore. Sektor can delete all the attached files and topics if he wants.
But im not spreading anything, if the files are indeed infected either Induc.A or anything, i didn't know about that and im sorry.

Re: GTA2 ScriptPad

Posted: 30 Jan 2013, 01:16
by Sektor
B-$hep wrote:Basically you are saying that i know my files are infected and im spreading viruses to guys here.
Is this what you are trying to say here?
No one said that.
B-$hep wrote:I wont post anything here anyway anymore. Sektor can delete all the attached files and topics if he wants.
But im not spreading anything, if the files are indeed infected either Induc.A or anything, i didn't know about that and im sorry.
Why is your first reaction to anything slightly negative to quit and take all your files with you? Your work is used and appreciated but if you release any software, you are going to get some requests and constructive criticism. If virus scanners show infected, false or not, people should and will report it, so something can be done about it.

Re: GTA2 ScriptPad

Posted: 30 Jan 2013, 17:08
by T.M.
Sektor wrote:If virus scanners show infected, false or not, people should and will report it, so something can be done about it.
Yes. And i am not going to download or execute any file which my antivirus says is infected! In fact, i cant even download it, because Avast! is blocking the download. Most probably i wouldnt even be able to run them either.

Re: GTA2 ScriptPad

Posted: 30 Jan 2013, 17:29
by Sektor
I removed Delphi.Induc from the GTA2ScriptPad-28-05-2011.7z attachment in first post and reuploaded. I think it was really infected but fortunately it can only spread if you have Delphi installed and compile with it.

Re: Illegal Objects

Posted: 11 Feb 2013, 23:34
by Jones
B-$hep wrote:Galactic Boy

Thank you very much, for using my ScriptPad.
At least somebody uses that.
He is not the only one ;) Do you have any plans on doing a upgrade? At least fixing critical bugs like the missing Ctrl+c functionality?

Re: Illegal Objects

Posted: 12 Feb 2013, 21:32
by B-$hep
I will.
Let me find the sourcecode.
I have big mess on my HDD, not easy to find everything quickly.

Re: Illegal Objects

Posted: 12 Feb 2013, 21:41
by CarThief
if its any usefull feedback: As far as i remember i never really gotten to like the scriptpad, as both the white and black(or atleast white) background themes somehow clash with the color-coded lines of code, like yellow is AWFUL when used in conjunction with white, and other combinations of both light text and background color. Or so that was the pretty long-ago last time i tried to use it.

That and i'm just not quite used to a black background for scripts, almost all things i worked with use white, perhaps it helps to have white-friendly colors for the keywords and such if white background is enabled? Or maybe even let people choose their own color for specific types of keywords in the code?
Think i'll stick to good ol mispad in the end but this might help others alot more, if the issue is still there. Coding's all about observation after all, if that part does badly coding's a big pain in the ass.

Re: Illegal Objects

Posted: 12 Feb 2013, 21:54
by B-$hep
Pardon me, but doesn't this include a possibility to change color theme?
I don't remember if that version has options dialog, where you can choose color theme.
One is black and white and one is colormode (with lots of colors).

I really don't remember, maybe the older version has this.