PDA

View Full Version : Problem with Drag Mod


ShaunBoswell
9th July 2010, 19:02
Hello, i have own server (demo) on linux, server is working, but if i run Drag Mod i have this on server: http://img715.imageshack.us/img715/5844/11543825.png
Maybe you know how to fix this, please help :P

P.S. On Windows script is working, but how to run it good on linux ? I use "mono" for this, but you see result isnt good

bunder9999
9th July 2010, 21:05
is it only the server that is linux?

sounds like either mono or wine doesn't have unicode support. :shrug:

MadCatX
9th July 2010, 21:07
Could it be that you have a misconfigured locales and thus the server is recieving data in the wrong codepage? What does "locale" command tell you?

Anyway, you have to use WINE to get the server running, so why not just install the .NET to WINE and run the InSim mod through WINE too? I guess it could save you some trouble...

ShaunBoswell
10th July 2010, 13:15
root@shaun:~# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


i have installed .NET for wine, and it isnt working too :shrug:

MadCatX
10th July 2010, 20:22
Well, don't take it for granted, but this doesn't seem like a proper config to me. First, open the "locale.gen" file which should be in "/etc" and make sure you have following lines uncommented.

en_US.UTF-8 UTF-8
en_US ISO-8859-1
pl_PL.UTF-8 UTF-8
pl_PL ISO-8859-2

Save any changes you made and run "locale-gen" as root. Next step would be setting the locales to the correct value. Open ".bashrc" file in /home/shaun (or whatever username you log in as) (create the file if there is none) and add a line like this there: "export LC_ALL=pl_PL.UTF-8". Log out and back in and now the "locales" output should all say "pl_PL.UTF-8".

Also note that there might be some cleaner way of setting up the locales in your distribution. For example, in Arch Linux adjusting LOCALE="xx_XX.UTF-8" in "/etc/rc.conf" is usually sufficient.

BTW, I've noticed that you ran the "locale" command as root, so the locales set for your user might differ.

bunder9999
10th July 2010, 21:46
don't you have to recompile glibc when you do locale changes? :shrug:

MadCatX
10th July 2010, 22:40
I don't think so. As I understand it glibc will just use whatever locales that are available. They are usually generated during glibc compilation or with the "locale-gen" tool. Install script for glibc in my distro (Arch) runs "locale-gen" after every glibc installation or update...

ShaunBoswell
14th July 2010, 18:30
open the "locale.gen"
i dont have that file in my all system

MadCatX
15th July 2010, 10:42
What linux distro do you run? Debian and Ubuntu in particular tend to use non-standard config files.

ShaunBoswell
15th July 2010, 10:44
I have Debian 5.0