Raised This Month: $ Target: $400
 0% 

Same file on many servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-09-2009 , 13:40   Same file on many servers
Reply With Quote #1

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?
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-09-2009 , 14:21   Re: Same file on many servers
Reply With Quote #2

For any file or directory functions, they all exist inside the cstrike folder of that game.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-09-2009 , 15:18   Re: Same file on many servers
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
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?
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-09-2009 , 15:37   Re: Same file on many servers
Reply With Quote #4

Correct.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-09-2009 , 16:06   Re: Same file on many servers
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Correct.
Well, is there any other way to have the same banlist on many servers without using SQL then?
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
xlenonz
Member
Join Date: Jun 2007
Old 02-10-2009 , 04:04   Re: Same file on many servers
Reply With Quote #6

you must use same file with sembolic links.
xlenonz is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-10-2009 , 09:16   Re: Same file on many servers
Reply With Quote #7

How can I do that? Giva a example please
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
Speed!
BANNED
Join Date: Jan 2009
Old 02-10-2009 , 09:56   Re: Same file on many servers
Reply With Quote #8

what about socket, and creating .txt files?
Speed! is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-10-2009 , 10:05   Re: Same file on many servers
Reply With Quote #9

If you are running the servers in your Computer or dedicated you can use a Sync Program.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-10-2009 , 10:12   Re: Same file on many servers
Reply With Quote #10

Quote:
Originally Posted by Speed! View Post
what about socket, and creating .txt files?
How? I've never used sockets...

Quote:
Originally Posted by AntiBots View Post
If you are running the servers in your Computer or dedicated you can use a Sync Program.
How to do that? What Sync Program?
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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