AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Same file on many servers (https://forums.alliedmods.net/showthread.php?t=85377)

LaineN 02-09-2009 13:40

Same file on many servers
 
How to create a file in amxx that not is in the server folder?
I want to have same banlist on all my servers that are on the same computer, but I don't know how to create a file outside server folder :|

It don't works with:
PHP Code:

new banfile[64];
add(banfilesizeof(banfile) - 1"C:/Bans/banlist.txt"); 

Anyone knows how to do?

Exolent[jNr] 02-09-2009 14:21

Re: Same file on many servers
 
For any file or directory functions, they all exist inside the cstrike folder of that game.

LaineN 02-09-2009 15:18

Re: Same file on many servers
 
Quote:

Originally Posted by Exolent[jNr] (Post 758916)
For any file or directory functions, they all exist inside the cstrike folder of that game.

So you mean that it is impossible to create a file outside the cstrike folder?

Exolent[jNr] 02-09-2009 15:37

Re: Same file on many servers
 
Correct.

LaineN 02-09-2009 16:06

Re: Same file on many servers
 
Quote:

Originally Posted by Exolent[jNr] (Post 758955)
Correct.

Well, is there any other way to have the same banlist on many servers without using SQL then?

xlenonz 02-10-2009 04:04

Re: Same file on many servers
 
you must use same file with sembolic links.

LaineN 02-10-2009 09:16

Re: Same file on many servers
 
How can I do that? Giva a example please :)

Speed! 02-10-2009 09:56

Re: Same file on many servers
 
what about socket, and creating .txt files?

AntiBots 02-10-2009 10:05

Re: Same file on many servers
 
If you are running the servers in your Computer or dedicated you can use a Sync Program.

LaineN 02-10-2009 10:12

Re: Same file on many servers
 
Quote:

Originally Posted by Speed! (Post 759318)
what about socket, and creating .txt files?

How? I've never used sockets...

Quote:

Originally Posted by AntiBots (Post 759323)
If you are running the servers in your Computer or dedicated you can use a Sync Program.

How to do that? What Sync Program?


All times are GMT -4. The time now is 16:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.