GTA2 ScriptPad
Re: GTA2 ScriptPad
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?
Can you make compile & run button use the last "run" options, so it's a one click button?
Re: GTA2 ScriptPad
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.
Replace compiler.exe in scriptpad\compiler folder.
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
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).
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).
My GTA2 related projects:
Re: GTA2 ScriptPad
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.
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.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
Changed to "GTA2 ScriptPad - GTA2 mission editor and compiler. Created by B-$hep (partially based on mispad)".
Re: GTA2 ScriptPad
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.
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.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
Reminder.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?
Re: GTA2 ScriptPad
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?
Concerning Sektor's request, maybe allowing users opening mmp files so it extract the run options from it?
-
- Immortal
- Posts: 890
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: GTA2 ScriptPad
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.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 allowed the scan to remove the affected file because the new version seems fine.
Microsoft's description of Virus: Win32/Induc.A.
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
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.
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.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
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.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.
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!
My GTA2 related projects:
Re: GTA2 ScriptPad
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.
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.
Always wear safety glasses while programming.
Re: GTA2 ScriptPad
No one said that.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?
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.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.
Re: GTA2 ScriptPad
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.Sektor wrote:If virus scanners show infected, false or not, people should and will report it, so something can be done about it.
My GTA2 related projects:
Re: GTA2 ScriptPad
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
He is not the only oneB-$hep wrote:Galactic Boy
Thank you very much, for using my ScriptPad.
At least somebody uses that.

Re: Illegal Objects
I will.
Let me find the sourcecode.
I have big mess on my HDD, not easy to find everything quickly.
Let me find the sourcecode.
I have big mess on my HDD, not easy to find everything quickly.
Always wear safety glasses while programming.
-
- Hitman
- Posts: 108
- Joined: 19 May 2012, 18:12
- GH nick: CarThief
- Location: Holland, AKA The Netherlands
Re: Illegal Objects
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.
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
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.
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.
Always wear safety glasses while programming.