Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Debian

#1
Support / Re: I can't run server on windows
Oct 01, 2015, 04:46 PM
check which ports are in use by netstat  in command prompt.  You can use taskmanager + details  in PID column

try opening a port which is not listed above.
try redownload server files .

Upload your server file and give us link and squirrelmaster( finchdon ) will test it.
#2
'foreach' '(' [index_id','] value_id 'in' exp ')' stat
Foreach is a loop executes a statement for every element contained in an array, table, class, string or generator.

local a=[10,23,33,41,589,56]
foreach(idx,val in a){
    print("index="+idx+" value="+val+"\n");
}
or
foreach(val in a){
    print("value="+val+"\n");
}

He made his script complex this makes it easy to understand

foreach(val in players){
    print("value="+val+"\n");
}

If you look closely there will be a players.push( players.id ) and players.remove( player.id ) which will add player id to array when he joins and remove player id when he leaves.
#3
Quote from: Wolf on Sep 29, 2015, 02:35 PM
Quote from: DeViL_JiN on Sep 29, 2015, 02:05 PMI think we should add an age restriction on vc-mp :P
So right @Stormeus need to add this now
You know your below 18  right?
For the sake of you I would advise against this idea.

Quote from: Wolf on Sep 29, 2015, 02:36 PM
Quote from: Kusanagi on Sep 29, 2015, 02:13 PMOr add some question about squirrel for identification :D
Ya you are right all vcmp develpers need to this
Not all vcmp members are scripters including you.
#4
Quote from: Kusanagi on Sep 22, 2015, 03:05 PMNothing happend to me neither in Chrome nor firefox
It is working in windows 7 and for  windows 10 it is not working in edge and chrome.
#5
Off-Topic General / Re: Temporary Free Host
Sep 23, 2015, 11:57 AM
*cough* winscp makes it easy and slc has already installed stuff needed.
#6
Update 1 : is it onplayerchat or onplayercommand , you had put cmd.slice so i guess it is onplayercommand , when a player types command it removes '/' from it . so player should type /!command or //command to make it work
#7
Off-Topic General / Re: PC specifications
Sep 21, 2015, 10:16 AM
i486DX2 (P24LM) 90Mhz

32mb Ram

500mb Harddrive
#8
anything  typed with ' / ' in the beginning is not recognized as chat . So you have to make it in on player command.
#9
Scripting and Server Management / Re: Array
Sep 18, 2015, 08:24 AM
did you add BMFE in player class?
#11
the index connect sql doesn't exit , i am using all plugins in along with sqlite




function onScriptLoad(){

stats <- array( GetMaxPlayers(), null );
sqliteDB <- ConnectSQL( "database.db" );

foreach (key, val in Commands) CommandsList.push( key);
foreach (key, val in Commands) PlayerCommands.push( key+" "+ val);

print( "VCDM - SQLite variant has successfully loaded..." );
}


#12
#13
Scripting and Server Management / Re: Array
Sep 18, 2015, 04:33 AM
fuzzie's account system updates player stats when player leaves
#15
Script Showroom / Re: Total War DM
Sep 17, 2015, 01:34 PM
Quote from: rwwpl on Sep 17, 2015, 12:31 PMWhen i saw the topic name, i think you stolen my server script...

Please, change topic name.

I have not seen your server anyways topic name changed