Error 075 (the thing is trolling me)
#1

So I was scripting then this happened...

any help?
Reply
#2

the line 819 line is too long, you can use
pawn Код:
new Dialog[1000];
strcat(Dialog,"code here");
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,Dialog,"Yes","NO");
Reply
#3

Quote:
Originally Posted by Eth
Посмотреть сообщение
the line 819 line is too long, you can use
pawn Код:
new Dialog[1000];
strcat(Dialog,"code here");
ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,Dialog,"Yes","NO");
umm. it kind of helped but it kind of trolled me too
Reply
#4

PHP код:
ShowPlayerDialog(playeridDIALOG_STYLE_MSGBOX"Header"Dialog"Apply""Cancel"); 
Reply
#5

don't use strcat, it's a waste.

why not make use of whats already there by default, like escape sequences maybe? this one \ ?

example:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 123123, "title", "some dialog!!!! TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...... it's long... sooooooooooooooooo loooooooong....... causing errors??????Я ERRORRRRRRRRRRSSSSSSSSSS?!?!?!?!?!?!?!?!? nah...................... never EVERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR ;)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "ye", "nah");
will compile but throw an error: error 075: input line too long (after substitutions)


however,
pawn Код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 123123, "title",
    "some dialog!!!! TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT......\
    it's long... sooooooooooooooooo loooooooong.......\
    causing errors??????Я ERRORRRRRRRRRRSSSSSSSSSS?!?!?!?!?!?!?!?!?\
    nah......................\
    never EVERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR.....\
    RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR..\
    RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR..\
    RRRRRRRR ;)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
, "ye", "nah");
will combile without errors/warnings.

error 075 simply is a buffer overflow
of one of the parser's variables for parsing each line
seperately. So if you make the lines too long, it'll mess stuff up while compiling
Reply
#6

Quote:
Originally Posted by CutX
Посмотреть сообщение
don't use strcat, it's a waste.

why not make use of whats already there by default, like escape sequences maybe? this one \ ?

example:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 123123, "title", "some dialog!!!! TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...... it's long... sooooooooooooooooo loooooooong....... causing errors??????Я ERRORRRRRRRRRRSSSSSSSSSS?!?!?!?!?!?!?!?!? nah...................... never EVERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR ;)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "ye", "nah");
will compile but throw an error: error 075: input line too long (after substitutions)


however,
pawn Код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 123123, "title",
    "some dialog!!!! TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT......\
    it's long... sooooooooooooooooo loooooooong.......\
    causing errors??????Я ERRORRRRRRRRRRSSSSSSSSSS?!?!?!?!?!?!?!?!?\
    nah......................\
    never EVERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR.....\
    RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR..\
    RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR..\
    RRRRRRRR ;)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
, "ye", "nah");
will combile without errors/warnings.

error 075 simply is a buffer overflow
of one of the parser's variables for parsing each line
seperately. So if you make the lines too long, it'll mess stuff up while compiling
Thank you for help!
I hope you all have a wounderful day!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)