I'll upload the fixed version ASAP.Done. Please download the file attached to the first post, and don't forget to set the Script object version in AdvancedScriptEditor.ini (you can find out the Script object version by opening a script in 3D Rad and looking at the title: if the title is "Script v1.36" then "1.36" is the version).
This forum is now archived!
- Welcome to the archive!
News:
The 3DRad community can be found at classdev.net.
- 3D Rad - Free 3D game maker - Forum >
- General Category >
- 3D Rad - Technical Discussion >
- Script Editor with Autocomplete/Intellisense (v3.0.2)
Author Topic: Script Editor with Autocomplete/Intellisense (v3.0.2) (Read 15409 times)
the same error of PlayDasher when I start v3.02 on 3drad 7.21(with correction of script=1.42)
what we can do???
2.9 goes right
3.0 3.01 3.02 have this bug
what we can do???
2.9 goes right
3.0 3.01 3.02 have this bug
No errors came up when i set debug to false but nothing changed in the script object in 3d rad.
But when i set debug to true the frameless script editor error message shows again, and when i go on 3d rad no errors appear but nothing has changed in 3d rad script object.
please look into this because i need your wonderful piece of tech as i am really BAD at scripts.
Thanks!
But when i set debug to true the frameless script editor error message shows again, and when i go on 3d rad no errors appear but nothing has changed in 3d rad script object.
please look into this because i need your wonderful piece of tech as i am really BAD at scripts.
Thanks!
Do you have the .NET Framework 3.5 runtime installed (http://www.microsoft.com/download/en/details.aspx?id=21)?
What happens if you run "AdvancedScriptEditor_bin\FramelessScriptEditor.exe" instead?
I do some more testing to see if I can find the problem.
What happens if you run "AdvancedScriptEditor_bin\FramelessScriptEditor.exe" instead?
I do some more testing to see if I can find the problem.
Replace AdvancedScriptEditor.exe with the program in the attached zip file and set Debug=True in the .ini file. When you run it you should get a dialog box that says something like:
If that doesn't work, click Start->Run and type in cmd.exe. In the window that opens, type:
That might give a useful error message which could help.
Also, what version of Windows are you using and is it 32bit or 64bit? I suspect the problem may be with the ScintillaNET .dll file, since v2.9 (which didn't use ScintillaNET) works. I'm going to try to find another PC to test it on.
Quote
$path = "C:\My Files\ScriptEditor\AdvancedScriptEditor_bin\FramelessScriptEditor.exe" "C:\My Files\ScriptEditor\AdvancedScriptEditor_bin\blankscript.txt" "800,600" "10,10"Check that both files exist (FramelessScriptEditor.exe and blankscript.txt) and that the paths in the dialog box point to the proper location.
If that doesn't work, click Start->Run and type in cmd.exe. In the window that opens, type:
Code: [Select]
cd C:\Path\To\ScriptEditor\AdvancedScriptEditor_bin
FramelessScriptEditor.exe blankscript.txt 800,600 10,10
(Replace C:\Path\To\ScriptEditor\ with the actual path of the program.)That might give a useful error message which could help.
Also, what version of Windows are you using and is it 32bit or 64bit? I suspect the problem may be with the ScintillaNET .dll file, since v2.9 (which didn't use ScintillaNET) works. I'm going to try to find another PC to test it on.
I know 2.9 works because i tried it before but it isn't within the 3d rad script object.
I tried your first suggestion, it still came up with the frameless script error, and when i got onto the script object in 3d rad, it says:
Starting Script Loop.
Starting $doonce Loop.
Writing text to file: void main()
{
Your script goes here
}
Reading text from file.
Comparing $newtext: void Main()
{
//you script goes here...
}
and $text: void Main()
{
//you script goes here...
}
And then finally it says
, and starts those dialog boxes all over again.
I tried your first suggestion, it still came up with the frameless script error, and when i got onto the script object in 3d rad, it says:
Starting Script Loop.
Starting $doonce Loop.
Writing text to file: void main()
{
Your script goes here
}
Reading text from file.
Comparing $newtext: void Main()
{
//you script goes here...
}
and $text: void Main()
{
//you script goes here...
}
And then finally it says
No change |
Thanks for the info PlayDasher; I have a better idea of what's going on now. What I'm going to do is add a debug option to FramelessScriptEditor.exe that will hopefully tell us exactly where the problem is. Unfortunately, I'm not at my Windows PC at the moment, but I'll start working on it as soon as possible.
Okay, here it is. Sorry it took so long, but I've been really busy lately
Anyway, download it, run it, and a series of dialog boxes should come up. Make a note of which was the last dialog to appear before it crashes (or if it crashes before any dialog boxes appear). I think I may have found the problem, but I want to be absolutely sure first.
Anyway, download it, run it, and a series of dialog boxes should come up. Make a note of which was the last dialog to appear before it crashes (or if it crashes before any dialog boxes appear). I think I may have found the problem, but I want to be absolutely sure first.
I'm sorry i had to change my os but the other broke down completely!
With my new os no error message apears but still nothing changes in the script object.
With my new os no error message apears but still nothing changes in the script object.
With my new os no error message apears but still nothing changes in the script object.Is this with the v31_debug file I posted? Does anything happen when you start FramelessScriptEditor.exe directly (either by double-clicking it or starting it with cmd.exe as per my previous post)?
Sorry to hear about your PC