SA-MP, Wine, & Dialogs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: SA-MP, Wine, & Dialogs (
/showthread.php?tid=383292)
SA-MP, Wine, & Dialogs -
AustinJ - 07.10.2012
I am running the latest version of Debian along with the latest Wine. When I am playing SA-MP with dialogs, '\n' do not display correctly. They appear as a unknown character as shown. How do I go about solving this issue?
Re: SA-MP, Wine, & Dialogs - Emmet_ - 07.10.2012
Try using \r\n instead of \n in dialogs. Using \n in Linux can give problems.
Re: SA-MP, Wine, & Dialogs -
AustinJ - 07.10.2012
Same thing happens, I have tried it before. When a \r character, it is recognized as a unknown character also.
Re: SA-MP, Wine, & Dialogs -
Kalcor - 08.10.2012
Does the same problem happen without colour embedding?
Re: SA-MP, Wine, & Dialogs -
ViruZz - 08.10.2012
Quote:
Originally Posted by Emmet_
Try using \r\n instead of \n in dialogs. Using \n in Linux can give problems.
|
I realize that also, when running a script with \n on linux, it doesn't actually work, just gives a unknown character.
Re: SA-MP, Wine, & Dialogs -
Kalcor - 08.10.2012
If it's caused by colour embedding, it may be an SA-MP problem. Otherwise it's a wine problem and you'll need to submit the report to the wine developers.
It's just ID3DXFont::DrawText with the DT_NOCLIP flag.
Re: SA-MP, Wine, & Dialogs -
AustinJ - 09.10.2012
SA-MP's color embedding doesn't seem to be the issue here. I removed that and the error still persists. So I'd assume it to be a wine bug then.