GM not Linux compitable?
#1

Help with Linux
Hello for a lot of time i was running my server under windows without any problem.Before a couple of weeks I changed the host due better price.Anyways the problem i've got is when i try to buy a car or enter a house/biz my server crashes,Also I know that linux is case-sensitive.Maybe the below must be changed?

pawn Код:
new File: file = fopen("bizz.cfg", io_read);
to
pawn Код:
new file: file = fopen("bizz.cfg", io_read);
^
|
(changed the "F' to "f")
Reply
#2

No, it's not that. File is TOTALLY different to file
Reply
#3

My server is using files to save some information (player stats, server logs, etc).I am using
Код:
fwrite
under
UTF-8.Maybe that isnt Linux compitable? If yes,could you help me>?
Reply
#4

Quote:
Originally Posted by Petes_Smith
My server is using files to save some information (player stats, server logs, etc).I am using
Код:
fwrite
under
UTF-8.Maybe that isnt Linux compitable? If yes,could you help me>?
My opinion: I think anything that you script in Pawno will work on Windows and Linux the same way.

I think it could be that Linux isn't compatable with the format you are writing the file in...
You might need to check out the differences between Linux and Windows text files are written in Pawno
Reply
#5

AH,here..I am using fwrite with utf_8 too
I got the same problem too.Any kind of help will be appreciated

Regards,
Souvlaki
Reply
#6

Try manually making a file, then see if it will read it, if it does, then the fwrite may not be compatible with Linux...
Reply
#7

Quote:
Originally Posted by Zinglish
Try manually making a file, then see if it will read it, if it does, then the fwrite may not be compatible with Linux...
I solved my problem.I moved to KingJ Server and i got it working!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)