Total War DM

Started by Debian, Sep 17, 2015, 05:43 AM

Previous topic - Next topic

Thijn

If you can't put a file in a folder called plugins and add the name in your server.cfg and need a tutorial for that you should give up running a server and stick to playing.

RDXing_KR

i added sqlite to Server.cfg but still it comes
[Warning]onScriptLoad Failed To Execute .......check the console for more details ..
@Thijn

RDXing_KR

Quote from: Thijn on Jan 21, 2016, 05:56 PMIf you can't put a file in a folder called plugins and add the name in your server.cfg and need a tutorial for that you should give up running a server and stick to playing.
that is done but i have to ask how to be an admin in this server

MacTavish

Update plugins and server.exe and open server.cfg via notepad or any other text editor and check that plugin name is written there or not

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

RDXing_KR

#19
Quote from: Kusanagi on Jan 21, 2016, 06:43 PMUpdate plugins and server.exe and open server.cfg via notepad or any other text editor and check that plugin name is written there or not
Done
 BTW @Debian how do i register when i use Register nothing changes instead

[=vcmpschats.net=] Connecting To 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server Info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /set
[=vcmpschats.net=] Server : [Info]Please Register / Login to use Commands
[=vcmpschats.net=] Quit Server

or  when i used to change script was

[=vcmpschats.net=] Connecting to 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [ERROR]You Don't have access to use this command  <WTF ?>
[=vcmpschats.net=] Server Quit

And can u help me how to be a server owner when ever i change stats to 10 every body having 10 so plz help how do i use to be a server Owner
as i say @Thijn 

Quote[=vcmpschats.net=] Connecting To 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server Info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /set
[=vcmpschats.net=] Server : [Info]Please Register / Login to use Commands
[=vcmpschats.net=] Quit Server

WTF ?? Again And Again Happening??

[VM_U]Spectra.PhantoM^

Quote from: DeaTh_LighT on Jan 22, 2016, 10:28 AM
Quote from: Kusanagi on Jan 21, 2016, 06:43 PMUpdate plugins and server.exe and open server.cfg via notepad or any other text editor and check that plugin name is written there or not
Done
 BTW @Debian how do i register when i use Register nothing changes instead

[=vcmpschats.net=] Connecting To 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server Info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /set
[=vcmpschats.net=] Server : [Info]Please Register / Login to use Commands
[=vcmpschats.net=] Quit Server

or  when i used to change script was

[=vcmpschats.net=] Connecting to 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [ERROR]You Don't have access to use this command  <WTF ?>
[=vcmpschats.net=] Server Quit

And can u help me how to be a server owner when ever i change stats to 10 every body having 10 so plz help how do i use to be a server Owner
use /owner and change "const owner ip" line to your ip.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

RDXing_KR

[=vcmpschats.net=]Please Register to Play with /register <password>
[=vcmpschats.net=] User (me): /register 778899778899 <its a wrong password>
[=vcmpschats.net=] User (me): /owner 192.168.1.9
[=vcmpschats.net=] Server : Please Register / login to play
i can't Identify the problem so plz find it

[VM_U]Spectra.PhantoM^

Quote from: DeaTh_LighT on Jan 23, 2016, 07:16 AM[=vcmpschats.net=]Please Register to Play with /register <password>
[=vcmpschats.net=] User (me): /register 778899778899 <its a wrong password>
[=vcmpschats.net=] User (me): /owner 192.168.1.9
[=vcmpschats.net=] Server : Please Register / login to play
i can't Identify the problem so plz find it
im totally speechless here.....
 I said to replace the const owner ip IN SCRIPT with YOUR IP ADDRESS.
I REPEAT IN SCRIPT.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

Human

WoW nice Scripting I Like It!

RDXing_KR

WTF /set , can i get how to do it ?


MacTavish

Quote from: ProToza_RD on Mar 30, 2016, 07:50 AMWTF /set , can i get how to do it ?

/set kills ProToza_RD 500

you can set IP, Level, Cash, kills, deaths

else if (cmd == "set"){
if ( params.len() < 3) MessagePlayer(msg.C +"/"+ cmd +" <kills/deaths/cash/level/ip> <Nick/ID> <Number>", player );
else if ( !IsNum(params[2]) && (params[0].tolower() != "ip") ) MessagePlayer(msg.C +" /"+ cmd +" <kills/deaths/cash/level/ip> <Nick/ID> <Number>", player );
else {
local plr = GetPlayer( params[1] );
if( !plr ){
MessagePlayer("Error - Unknown player", player );
return 0;
}
if(params[0].tolower() == "kills"){
stats[ plr.ID ].Kills += params[2].tointeger();
Message( msg.I +" Admin "+ player.Name +" has set "+ plr.Name +" kills to:"+ params[2] );
}
else if (params[0].tolower() == "deaths"){
stats[ plr.ID ].Deaths += params[2].tointeger();
Message(msg.I + " Admin "+ player.Name +" has set "+ plr.Name +" deaths to:"+ params[2] );
}
else if (params[0].tolower() == "cash"){
stats[ plr.ID ].Cash += params[2].tointeger();
player.Cash = stats[ plr.ID ].Cash;
Message(msg.I + " Admin "+ player.Name +" has set "+ plr.Name +" cash to:"+ params[2] );
}
else if (params[0].tolower() == "level"){
stats[ plr.ID ].Level += params[2].tointeger();
Message(msg.I + " Admin "+ player.Name +" has set "+ plr.Name +" level to:"+ params[2] );
}
else if (params[0].tolower() == "ip"){
stats[ plr.ID ].LastUsedIP = params[2];
Message( msg.I + " Admin "+ player.Name +" has changed "+ plr.Name +"'s ip." );
}
else MessagePlayer(msg.C + " /"+ cmd +" <kills/deaths/cash/level/ip> <Nick/ID> <Number>", player );
}
    }

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

RDXing_KR


RDXing_KR

Quote from: Kusanagi on Jan 21, 2016, 06:43 PMUpdate plugins and server.exe and open server.cfg via notepad or any other text editor and check that plugin name is written there or not
Done
 BTW @Debian how do i register when i use Register nothing changes instead

[=vcmpschats.net=] Connecting To 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server Info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /set
[=vcmpschats.net=] Server : [Info]Please Register / Login to use Commands
[=vcmpschats.net=] Quit Server

or  when i used to change script was

[=vcmpschats.net=] Connecting to 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [ERROR]You Don't have access to use this command  <WTF ?>
[=vcmpschats.net=] Server Quit

And can u help me how to be a server owner when ever i change stats to 10 every body having 10 so plz help how do i use to be a server Owner
as i say @Thijn 

Quote[=vcmpschats.net=] Connecting To 192.168.1.2:8192
[=vcmpschats.net=] Connection Success. Loading Server Info
[=vcmpschats.net=] Server : [Info] Please Register to Play . Syntax : /register <password>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /register ************  <personal>
[=vcmpschats.net=] [DmC_R]DeaTh_LighT.^ : /set
[=vcmpschats.net=] Server : [Info]Please Register / Login to use Commands
[=vcmpschats.net=] Quit Server

WTF ?? Again And Again Happening??

Thijn

It's obviously broken and a horrible script. Have fun fixing it.

Coolkid

#29
The script is good I had used it and it's stats saving had prb but fixed it it don't use level for admin in commands instead see on top of your script it is specified what commands and how many spaces u can specify and if you want to be owner go in database and just check your name edit the level and give a 10 if u need any more help post here


Are your database made because it don't make database automatically you need to make database first to save the levels see the text file or see there Quetta are written use browser to  make tables and name the database and it will work