[HELP] y_ini problems on Windows Server 2003
#1

Right, since my question in the y_ini thread has not been answered by ****** or any other people, I'll try here.

I've been making a gamemode with y_ini, and it works well in my localhost computer in Windows 7 32-bit. Then I tried running it samp4free (thanks exora!) which I sure is a Linux Debian Lenny or something and it works also.

Then, here's the issue. I tried running the gamemode in a Windows Server 2003 64-bit, and y_ini won't work. It can't make any .ini files. I tried using fcreate to create the .ini file first, and y_ini also can't write anything to the .ini file. I suppose it won't read also even though I haven't tested this.

So, am I missing something? I'm sure it isn't the code (or is it?), so perhaps it's the server causing this. I'm running the Windows 2003 Server as another standard user not an admin, so is it the user permissions causing this problem, or is there any other configurations needed for y_ini to work?

Thanks in advance.
Reply
#2

I don't know much about windows server 2003 but i would put my money on the guess that it is some file permission issue? I haven't had any problems with Y_ini on windows xp but id be willing to Re-Install my Windows Server 2008 on an old pc and see if anything goes screwy.
Reply
#3

Quote:
Originally Posted by dowster
Посмотреть сообщение
I don't know much about windows server 2003 but i would put my money on the guess that it is some file permission issue? I haven't had any problems with Y_ini on windows xp but id be willing to Re-Install my Windows Server 2008 on an old pc and see if anything goes screwy.
Funny thing is, when I switched to another gamemode with Dini usage on making .ini files, it worked.
.. yeah I forgot to mention this.
Reply
#4

are you opening the file, then writing to it? feel free to PM me about it, if you want i can connect with teamviewer and look over your code with you and help find this problem.
Reply
#5

Quote:
Originally Posted by dowster
Посмотреть сообщение
are you opening the file, then writing to it? feel free to PM me about it, if you want i can connect with teamviewer and look over your code with you and help find this problem.
I open, write, and close it as it is done. It reads and writes without any single problem in samp4free and my own computer.
Reply
#6

Are you using .dll plugins? If not go get them. Also don't forget to configure server.cfg
Reply
#7

Are all the required folders there?
Reply
#8

Quote:
Originally Posted by expertprogrammer
Посмотреть сообщение
Are you using .dll plugins? If not go get them. Also don't forget to configure server.cfg
Already done that.
Anyway that's just pointless. y_ini doesn't use plugins AFAIK and my server wouldn't run properly if those haven't been set. No offense anyway, thanks for trying to help.

Quote:
Originally Posted by dowster
Посмотреть сообщение
Are all the required folders there?
Yes, if not I also use FileManager to create the folders if they're missing.
Reply
#9

hmm.. can i see the code?
Reply
#10

Quote:
Originally Posted by dowster
Посмотреть сообщение
hmm.. can i see the code?
I'm not being all secretive on the code, but would that help? All the y_ini codes can't function properly but could function in a Linux or my Windows 7.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)