SA-MP Forums Archive
Error 075 (the thing is trolling me) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 075 (the thing is trolling me) (/showthread.php?tid=535696)



Error 075 (the thing is trolling me) - SilverPortal - 05.09.2014

So I was scripting then this happened...

any help?


Re: Error 075 (the thing is trolling me) - Eth - 05.09.2014

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");



Re: Error 075 (the thing is trolling me) - SilverPortal - 05.09.2014

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



Re: Error 075 (the thing is trolling me) - memurt - 05.09.2014

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



Re: Error 075 (the thing is trolling me) - CutX - 05.09.2014

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


Re: Error 075 (the thing is trolling me) - SilverPortal - 05.09.2014

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!