[Release][C#][NOT WORKING] Military Team DeathMatch Mode

Just Join Run The Server With Compiled.rar And Join the server . You will have your Steam hex in WhiteList.txt
DONT WRITE ANYTHING in whitelist.txt

ok,i known. thank you for your help.
and what is
Database Columns : SteamHex,SteamName,Team,Division,TemporaryServerID

mean?

it means when you look at database its like this
each row is like this
First Steamhex, second Theyr Steam name , Third theyr team , Fourth division , and last Is Temp server id for some scripts to use

Well I still don’t understand. Can I send the whole server file to me for reference? Including all contents in the server folder. My email is 2563411574@qq.com Thank you very much.

In The Github Link Use
Compiled.rar
its Full Server File|
Just Copy it In Your Server Folder

  1. Download Compiled.rar
  2. Copy the following to server.cfg
    #adds A pubg like compass to screen
    ensure Compass
    #Gamemode: Capture Point Base
    ensure PointSystem
    #Supply System Ammo
    ensure SupplySystem
    #Radar System FOr Brickade
    ensure radarsystem
    #Add Team Blips
    ensure blips
    #Progress Bar
    ensure progressBars

Vmenu

ensure vMenu

Hide EveryPed

ensure hidepeds
#whitelist
ensure whitelist
#Usa TEam Markers And Blips And Menus
ensure usa
#Russia Team Markers And Blips And Menu
ensure russia
#Weather
ensure Weather
#Doesnt Let client To Fly/Move With Vehicle That he shouldnt move with
ensure DriversOnly
#Force First Person And Add Recoil System And Hide Aim dot
ensure FirstPerson
#Russian Peds
ensure russiapeds
#Usa Peds
ensure usapeds
#Russian Base
ensure russiabase
#Compiled version has Custom Peds Installed and Custom Base For Russia.

Like a picture?

After that WhiteList.txt Copy to server\server-data (and server.cfg In the same level directory)

Is that so?I’m a little stupid…

Why didn’t I choose the team when I entered the game? By the way, is there a BOT in this game? Can we fight with BOT?


I need help, I will be on this screen after I select the team

After few seconds from join, please Help

Log Console

Failed to run a tick for Server: System.IO.FileNotFoundException: Could not find file “/home/srv807366/.\WhiteList.txt”
File name: ‘/home/srv807366/.\WhiteList.txt’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string)
at System.IO.File.OpenText (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at WhiteList.Server.net.Server.CheckPlayerTeam () [0x00013] in <8a23ef4273c845cc87511964d6fbd1ea>:0

Failed to run a tick for Server: System.IO.FileNotFoundException: Could not find file “/home/srv807366/.\WhiteList.txt”
File name: ‘/home/srv807366/.\WhiteList.txt’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string)
at System.IO.File.OpenText (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at Blips.Server.net.Server.SendDataList () [0x0001d] in :0

Failed to run a tick for Server: System.IO.FileNotFoundException: Could not find file “/home/srv807366/.\WhiteList.txt”
File name: ‘/home/srv807366/.\WhiteList.txt’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string)
at System.IO.File.OpenText (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at WhiteList.Server.net.Server.CheckPlayerTeam () [0x00013] in <8a23ef4273c845cc87511964d6fbd1ea>:0

Failed to run a tick for Server: System.IO.FileNotFoundException: Could not find file “/home/srv807366/.\WhiteList.txt”
File name: ‘/home/srv807366/.\WhiteList.txt’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string)
at System.IO.File.OpenText (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at Blips.Server.net.Server.SendDataList () [0x0001d] in :0

Failed to run a tick for Server: System.IO.FileNotFoundException: Could not find file “/home/srv807366/.\WhiteList.txt”
File name: ‘/home/srv807366/.\WhiteList.txt’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.StreamReader…ctor (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string)
at System.IO.File.OpenText (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at System.IO.File.ReadAllLines (System.String path) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0
at WhiteList.Server.net.Server.CheckPlayerTeam () [0x00013] in <8a23ef4273c845cc87511964d6fbd1ea>:0

WhiteList is in folder with resources folder

Make a Folder with name “.” and move WhiteList.txt to there.
Or Edit all Reosurces that has “.//WhiteLst.txt” to “./WhiteList.txt” and compile them again. First option is easier

Look At My Reply To _lit

Thanks, I will test this tomorrow.

I fix previous error by renaming file to .\\WhiteList.txt
But there are more errors.

Then I connecting I have blips error and kicked. Server console is empty.

Screenshot of error

After disabling blips, nothing changed. I still kicking. But I fonded another error, in FirstPerson.

Screenshot of error

Okey, I disabled FirstPerson, but nothing changed, I still kicking. Client and Server console is empty.

Client console

Please help.

P.S. I fouded something in server console - e[91mSCRIPT ERROR: @chat/sv_chat.lua:42: attempt to concatenate a nil value

This is disappearing then I set

onesync_enabled

to false

You are getting kicked without any reason!? Weird!!
First error image is normal and it will happen first time you enter the server . i will fix that later
FirstPerson is not a necessary script if you disable it it wont effect other scripts
But i don’t know why you are getting kicked at all

and keep in mind that its my “first” script that i wrote for fivem . it has a lot of things to improve but currently i dont have time to work on it. its just a basic resource . main reason that i published it is just showing newbies how you can made a gamemode without any complexity. C# is overall a good resource to make a custom framework and system like this but if you want to use things on the forum you can use ESX framework . the good thing about it is you can use ESX in C# and lua at same time. i wrote a guide for it

are you running the server on local host?

No, hosting. I can give IP.

Link to the working and optimized version in lua :
Click Me

1 Like

awliiiiiiiiiiiiiiiiii