The online racing simulator
Problem with Drag Mod
(10 posts, started )
Problem with Drag Mod
Hello, i have own server (demo) on linux, server is working, but if i run Drag Mod i have this on server:
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
is it only the server that is linux?

sounds like either mono or wine doesn't have unicode support.
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...
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
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.
don't you have to recompile glibc when you do locale changes?
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...
What linux distro do you run? Debian and Ubuntu in particular tend to use non-standard config files.
I have Debian 5.0

Problem with Drag Mod
(10 posts, started )
FGED GREDG RDFGDR GSFDG