DCMD to ZCMD causing PAWN compiler to stop working.
#1

Hello,

I manage a huge gamemode (17,000+ lines) and I recently converted it to ZCMD from the old DCMD format. However after doing so the pawn compiler library is stopping working each time I try to compile, and I am unable to find the source of the problem due to how large the GM is.

What I've done so far:

- Replace all mentions of dcmd_ with COMMAND:
- Remove the list of dcmd command indexes
- Start PAWN as an administrator

Thanks, unfortunately I can not under any circumstances share the script as it is private.
Reply
#2

If you are not willing to share your script, what do you expect us to do!? Are we supposed to just 'guess' what the problem in your script is, without seeing it? If you're not going to THINK of how things work first, don't post.
Reply
#3

Post your script.
No one gonna still it.
Reply
#4

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
If you are not willing to share your script, what do you expect us to do!? Are we supposed to just 'guess' what the problem in your script is, without seeing it? If you're not going to THINK of how things work first, don't post.
Because I am hoping someone can point me in the right direction of where these crashes start from.

Don't be so grabby. :P

Quote:
Originally Posted by Romel
Посмотреть сообщение
Post your script.
No one gonna still it.
No-can-do. I only need to know what causes these.
Reply
#5

There are countless things that might cause this. I have fixed about 4 of these in the past 2 days, 1 cause was a stock function that didn't agree with the script, which included updating an Experience bar. One was missing a brace on an enum. One was not finishing OnDialogResponse with a return and a brace, and the other was also a bad stock function. I had to scan the 20k line script for about 30 minutes before I found the error, so it shouldn't take you too long either.
Reply
#6

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
There are countless things that might cause this. I have fixed about 4 of these in the past 2 days, 1 cause was a stock function that didn't agree with the script, which included updating an Experience bar. One was missing a brace on an enum. One was not finishing OnDialogResponse with a return and a brace, and the other was also a bad stock function. I had to scan the 20k line script for about 30 minutes before I found the error, so it shouldn't take you too long either.
Thanks. I'll have a look.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)