Total War DM

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

Previous topic - Next topic

Debian

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

DizzasTeR

Sorry but just get over with Warchiefs thing... Do something better.

FinchDon

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

SLC is a good scripter but he always use bad words for abusing players :P

rww

When i saw the topic name, i think you stolen my server script...

Please, change topic name.
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

KAKAN

oh no

Debian

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

luchgox

#7
 This tables is not working
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.
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

You have to run those SQL queries. Either using QuerySQL, or with an sqlite browser (Which you can find plenty of online).

luchgox

#9
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

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

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

luchgox

Quote from: mmujtaba24 on Dec 08, 2015, 12:48 AMThis tables is not working
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.
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

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.
oh no

RDXing_KR

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

Quote from: DeaTh_LighT on Jan 21, 2016, 04:23 PMMaybe 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

Quote from: Mashreq on Jan 21, 2016, 05:40 PM
Quote from: DeaTh_LighT on Jan 21, 2016, 04:23 PMMaybe 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