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

ngocson389

  • Newbie
  • Posts: 13

!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380
Re: Total War DM
« Reply #31, on June 6th, 2016, 09:35 AM »
Quote from ngocson389 on June 5th, 2016, 06:01 AM
data is'nt save to database , help me plss
@ngocson389

Add this in Function OnScriptLoad;

Code: [Select]
//Add here...
//function onScriptLoad()
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Accounts ( Name VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT)" );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Bans ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255))"  );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))"  );

Discord: zeus#5155

ngocson389

  • Newbie
  • Posts: 13
Re: Total War DM
« Reply #32, on June 6th, 2016, 11:35 AM »Last edited on June 6th, 2016, 11:52 AM
Quote from zeus on June 6th, 2016, 09:35 AM
Quote from ngocson389 on June 5th, 2016, 06:01 AM
data is'nt save to database , help me plss
@ngocson389

Add this in Function OnScriptLoad;

Code: [Select]
//Add here...
//function onScriptLoad()
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Accounts ( Name VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT)" );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Bans ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255))"  );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))"  );
It's work :D Tks u for help...

Jagrit Vats

  • Newbie
  • Posts: 41

Eva

  • Full Member
  • Posts: 125
Re: Total War DM
« Reply #34, on April 15th, 2017, 09:55 PM »
Quote from zeus on June 6th, 2016, 09:35 AM
Quote from ngocson389 on June 5th, 2016, 06:01 AM
data is'nt save to database , help me plss
@ngocson389

Add this in Function OnScriptLoad;

Code: [Select]
//Add here...
//function onScriptLoad()
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Accounts ( Name VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT)" );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Bans ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255))"  );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))"  );

Jagrit Vats

  • Newbie
  • Posts: 41
Re: Total War DM
« Reply #35, on April 16th, 2017, 07:26 AM »
I have created tables in database. You can see in the file

luchgox

  • Full Member
  • Posts: 144
Strength does not come from wining.Your struggles develop your strengths.

KrooB

  • Full Member
  • BEN TÜRKÜM
  • Posts: 117
Re: Total War DM
« Reply #37, on June 24th, 2017, 03:54 PM »Last edited on June 24th, 2017, 03:56 PM
Good job
Re: Total War DM
« Reply #38, on June 24th, 2017, 03:56 PM »
Quote from Eva on April 15th, 2017, 09:55 PM
Quote from zeus on June 6th, 2016, 09:35 AM
Quote from ngocson389 on June 5th, 2016, 06:01 AM
data is'nt save to database , help me plss
Okey i did it thanks

@ngocson389

Add this in Function OnScriptLoad;

Code: [Select]
//Add here...
//function onScriptLoad()
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Accounts ( Name VARCHAR(255), Password VARCHAR(255), Cash INT, Bank INT, Kills INT, Deaths INT, Level INT, LastActive INT, LastUsedIP VARCHAR(255), DateRegistered INT)" );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Bans ( NameLower VARCHAR(255), UID VARCHAR(255), Reason VARCHAR(255))"  );
QuerySQL(sqliteDB, "CREATE TABLE IF NOT EXISTS Gotoloc ( Name VARCHAR(32), x INT, y INT, z INT, Creator VARCHAR(32))"  );
We are his people !
Who can challange us ?

ahmedzead

  • Jr. Member
  • Posts: 50
Re: Total War DM
« Reply #39,  »
Bro I Created The Tables But when i register it doesnt save any thing to database help me ?????

Mohamed

  • Full Member
  • Regards, We3da
  • Posts: 247
Feel Free To PM Me For Any Support, I'm Care.
Anyway u can Contact Me Ingame!
Ingame Name: [AFt]We3da^
My Own Server: ViceEvil Server

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Re: Total War DM
« Reply #41,  »
Table error

Plese you can Give me With Save This Him script
Try to UnderStand ME!

adeelpak

  • Newbie
  • Posts: 9
Re: Total War DM
« Reply #42,  »
Dear All

any good person would please tell me that how can i install it on my own pc.

we have 12 pcs in network and we would like to play on our own server.

I have download blank server but i dont know how to download or install this script into it.

It would be appreciated, if someone make an archive of whole script with server.exe ??

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,107
Re: Total War DM
« Reply #43,  »
You just have to download a released gamemode from the Script showroom. Read instructions how to set it up. Basically its including/changing the Script parameter in the .cfg file.

:edit: Didn't even realize this was off topic

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Re: Total War DM
« Reply #44,  »
Plese :

Agian release HIM WITH All Tables And Function ETC. Fixed
Try to UnderStand ME!

[ GameMode ] ADM Script v1.0 »