View previous topic :: View next topic |
Author |
Message |
dl748 Advanced Cheater
Reputation: 0
Joined: 05 Mar 2016 Posts: 75
|
Posted: Sun Sep 26, 2021 10:23 am Post subject: CE 7.3 Script Editor No Syntax Error |
|
|
If script has a syntax error, it errors with "Not all code is injectable (Access violation)" instead of showing the line number and error reported as in CE 7.2
|
|
Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Sun Sep 26, 2021 10:52 am Post subject: |
|
|
Perhaps you have illegal instructions in the script. Without seeing the script no one can tell you what is causing the problem.
|
|
Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3321
|
Posted: Sun Sep 26, 2021 11:34 am Post subject: |
|
|
I got that message when I tried writing into unallocated memory (I commented out alloc() accidentally).
|
|
Back to top |
|
 |
dl748 Advanced Cheater
Reputation: 0
Joined: 05 Mar 2016 Posts: 75
|
Posted: Sun Sep 26, 2021 11:37 am Post subject: |
|
|
LeFiXER wrote: | Perhaps you have illegal instructions in the script. Without seeing the script no one can tell you what is causing the problem. |
Doesn't matter, I can find out the error, its just that it doesn't tell you what the error is anymore. CE 7.2 says "Error on line x", CE 7.3 says "Access violation".
Its just a pain for a 12,000 line script with a syntax error.
Note: I'm not looking to FIX the script, I'm just reporting that CE 7.2 told you what the error was, CE 7.3 does not.
Description: |
|
Filesize: |
22.59 KB |
Viewed: |
2318 Time(s) |

|
Description: |
|
Filesize: |
23.54 KB |
Viewed: |
2318 Time(s) |

|
|
|
Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Sun Sep 26, 2021 11:58 am Post subject: |
|
|
dl748 wrote: |
Doesn't matter, I can find out the error, its just that it doesn't tell you what the error is anymore. CE 7.2 says "Error on line x", CE 7.3 says "Access violation".
Its just a pain for a 12,000 line script with a syntax error.
Note: I'm not looking to FIX the script, I'm just reporting that CE 7.2 told you what the error was, CE 7.3 does not. |
This clarifies better. Maybe DB will do something about this.
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8585 Location: 127.0.0.1
|
Posted: Sun Sep 26, 2021 1:42 pm Post subject: |
|
|
Your {$lua} block is blocking CE from seeing the [ENABLE]/[DISABLE] tags properly. You need to do something like this:
Code: |
[ENABLE]
{$lua}
if (syntaxcheck) then return end
print('hello');
{$asm}
[DISABLE]
|
_________________
- Retired. |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Sun Sep 26, 2021 1:55 pm Post subject: |
|
|
it's actually a more annoying issue. it's fixed on github, but there might be a chance for random issues when enabling scripts with lua errors
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
|