Total War DM
[ GameMode ] ADM Script v1.0 »

Debian

  • Jr. Member
  • Posts: 62
Total War DM
« on September 17th, 2015, 06:43 AM »Last edited on September 17th, 2015, 02:33 PM
Hello,

I have seen many people that could not set up a 0.4 Warchiefs Death Match server, so I made a VCMP DM server that could help some of them.

Download Link : File Dropper
Mediafire : https://www.mediafire.com/?k5b138d25839m3h

Antivirus tested

Tables :

CREATE TABLE Accounts ( Name VARCHAR(255), NameLower VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT )

CREATE TABLE Bans ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255) )

CREATE TABLE Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))


Any bugs , report below

Update 1 : Previous topic deleted
Update 2 : Warchiefs to DM

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,107
Re: VCDM Script
« Reply #1, on September 17th, 2015, 10:22 AM »
Sorry but just get over with Warchiefs thing... Do something better.

FinchDon

  • Sr. Member
  • Posts: 252
Re: VCDM Script
« Reply #2, on September 17th, 2015, 10:47 AM »
Thats Good @Debian You Release a script i check your script Your scripting way is very difficult i can't understand Please Next Time Release Something In easy way so newbies will learn Something Anyway Nice Work
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

:P

  • Full Member
  • Posts: 155
Re: VCDM Script
« Reply #3, on September 17th, 2015, 12:29 PM »
FacePlam
SLC is a good scripter but he always use bad words for abusing players :P

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 390
Re: VCDM Script
« Reply #4, on September 17th, 2015, 01:31 PM »
When i saw the topic name, i think you stolen my server script...

Please, change topic name.

KAKAN

  • Wiki Contributor
  • Posts: 3,346
Re: VCDM Script
« Reply #5, on September 17th, 2015, 01:41 PM »
LOL! :P
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

Debian

  • Jr. Member
  • Posts: 62
Re: Total War DM
« Reply #6, on September 17th, 2015, 02:34 PM »
Quote from rwwpl on September 17th, 2015, 01:31 PM
When 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

luchgox

  • Full Member
  • Posts: 144
Re: Total War DM
« Reply #7, on December 8th, 2015, 12:48 AM »Last edited on December 8th, 2015, 02:15 AM
 This tables is not working
Code: [Select]
Tables :

CREATE TABLE Accounts ( Name VARCHAR(255), NameLower VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT )

CREATE TABLE Ban ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255) )

CREATE TABLE Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))

I change this into  this.
Code: [Select]
Tables();

CREATE TABLEAccounts(Name VARCHAR(255), NameLower VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT );

CREATE TABLEBans(NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255));

CREATE TABLEGotoloc(Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32));

But still not working.

Any solution?

Strength does not come from wining.Your struggles develop your strengths.

Thijn

  • VC:MP Beta Tester
  • Posts: 1,689
Re: Total War DM
« Reply #8, on December 8th, 2015, 07:15 AM »
You have to run those SQL queries. Either using QuerySQL, or with an sqlite browser (Which you can find plenty of online).

luchgox

  • Full Member
  • Posts: 144
Re: Total War DM
« Reply #9, on December 8th, 2015, 10:51 AM »Last edited on December 8th, 2015, 11:02 AM
I  make this cmd and use  in this script but its not working why can you tell me what mistake i  make i this code

Code: [Select]
else if (cmd == "reward"){
if ( params.len() < 3) MessagePlayer( msg.C +" /" + cmd + " <All/Nick/ID> <amount>", player );
else if (params[1].tolower() == "all"){
    foreach(i, val in playerson){
    RewardPlayer( FindPlayer(i) );
}
            Message( msg.I +"Admin "+ player.Name +" has reward everyone in the server. Reason : "+ params[1] );
}
        else if ( !GetPlayer(params[1]) ) MessagePlayer( msg.E +" Unknown Player",player );
else {
        RewardPlayer(GetPlayer(paramas[1]) );
Message(msg.I + "Admin "+ player.Name +" has rewarded "+GetPlayer(params[1])+" <amount>.Reason: " + params[1] );

 this error showing

Re: Total War DM
« Reply #10, on December 8th, 2015, 10:53 AM »
Quote from mmujtaba24 on December 8th, 2015, 12:48 AM
This tables is not working
Code: [Select]
Tables :

CREATE TABLE Accounts ( Name VARCHAR(255), NameLower VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT )

CREATE TABLE Ban ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255) )

CREATE TABLE Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))

I change this into  this.
Code: [Select]
Tables();

CREATE TABLEAccounts(Name VARCHAR(255), NameLower VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT );

CREATE TABLEBans(NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255));

CREATE TABLEGotoloc(Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32));

But still not working.

Any solution?
And this code is still not fixed i using this table in  this script but why its not working please make a code for me of this table please.
Strength does not come from wining.Your struggles develop your strengths.

KAKAN

  • Wiki Contributor
  • Posts: 3,346
Re: Total War DM
« Reply #11, on December 8th, 2015, 01:37 PM »
Show your rewardplayer function. And what about the amount? You don't reward him actually xD.
It's better to post is Squirrel Scripting board instead of posting here.
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

RDXing_KR

  • Jr. Member
  • Don't Look here. ah U did ..
  • Posts: 72
Re: Total War DM
« Reply #12, on January 21st, 2016, 04:23 PM »
Maybe What Happens to it
[Warning]onScriptLoad Failed To Execute .......check the console for more details ..
So Maybe iam doing something wrong , it also says
An Error Occured [Index "ConnectSQL" Doesn't Exists
So What should i do , if not so send me the server through my email : [email protected]
i wish i will get solution

Mashreq

  • Full Member
  • Posts: 126
Re: Total War DM
« Reply #13, on January 21st, 2016, 05:40 PM »
Quote from DeaTh_LighT on January 21st, 2016, 04:23 PM
Maybe What Happens to it
[Warning]onScriptLoad Failed To Execute .......check the console for more details ..
So Maybe iam doing something wrong , it also says
An Error Occured [Index "ConnectSQL" Doesn't Exists
So What should i do , if not so send me the server through my email : [email protected]
i wish i will get solutions
The error shows because you haven't loaded the sqlite plugin, keep the plugin in the folder and load it in your server.cfg and you're done!

RDXing_KR

  • Jr. Member
  • Don't Look here. ah U did ..
  • Posts: 72
Re: Total War DM
« Reply #14, on January 21st, 2016, 05:53 PM »
Quote from Mashreq on January 21st, 2016, 05:40 PM
Quote from DeaTh_LighT on January 21st, 2016, 04:23 PM
Maybe What Happens to it
[Warning]onScriptLoad Failed To Execute .......check the console for more details ..
So Maybe iam doing something wrong , it also says
An Error Occured [Index "ConnectSQL" Doesn't Exists
So What should i do , if not so send me the server through my email : [email protected]
i wish i will get solutions
The error shows because you haven't loaded the sqlite plugin, keep the plugin in the folder and load it in your server.cfg and you're done!
Any Totutrial Link @Mashreq

[ GameMode ] ADM Script v1.0 »