Ahmed

Moving Target Gaming RP Script Release

Recommended Posts

1 minute ago, 67mi said:


Screenshot

inside  bin/debug/netcoreapp2.0 :

Screenshot

Hmm.. the binary could be inside debug folder itself ?? Search for mtgvrp.dll and let me know where is it.

Share this post


Link to post
Share on other sites
1 minute ago, Ahmed said:

Hmm.. the binary could be inside debug folder itself ?? Search for mtgvrp.dll and let me know where is it.

 i searched but nothing found

Share this post


Link to post
Share on other sites
Just now, 67mi said:

 i searched but nothing found

You probably haven't built the project then :/

Open Visual Studio -> Rebuild Solution

 

Share this post


Link to post
Share on other sites
1 minute ago, Ahmed said:

You probably haven't built the project then :/

Open Visual Studio -> Rebuild Solution

 

 

I've rebuilt it before

8 minutes ago, Ahmed said:

You probably haven't built the project then :/

Open Visual Studio -> Rebuild Solution

 

+ the output

 1>------ Rebuild All started: Project: mtgvrp, Configuration: Release Any CPU ------
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(14,12,14,54): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(15,12,15,60): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(16,12,16,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(18,12,18,54): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(19,12,19,52): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(20,12,20,54): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute
1>Done building project "mtgvrp.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

Share this post


Link to post
Share on other sites
43 minutes ago, 67mi said:

 

I've rebuilt it before

+ the output

 1>------ Rebuild All started: Project: mtgvrp, Configuration: Release Any CPU ------
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(14,12,14,54): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(15,12,15,60): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(16,12,16,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(18,12,18,54): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(19,12,19,52): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute
1>obj\Release\netcoreapp2.0\mtgvrp.AssemblyInfo.cs(20,12,20,54): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute
1>Done building project "mtgvrp.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

There was an issue with the code. I've fixed it now. Just pull the latest changes, rebuild and it should work now :)

Share this post


Link to post
Share on other sites
1 minute ago, Ahmed said:

There was an issue with the code. I've fixed it now. Just pull the latest changes, rebuild and it should work now :)

thanks :) 

Share this post


Link to post
Share on other sites

The server crashing when i start it

server_logs.txt :

Initializing Bootstrapper.dll (0.3.5.1)..
-> SERVER STARTED AT 10/23/2019 3:11:12 PM
Loaded 451 entries from vehicleData.json
Loading resources..
-> Starting mtgvrp resource..
mtgvrp: setting as Gamemode resource
mtgvrp: loading scripts.. found 1 script(s)
mtgvrp: instantiating mtgvrp.Init..
[INIT] Initalizing script...
[DebugM] Debug manager loaded... (Current Level: 10)
[DatabaseM] Initalizing database manager...
[DatabaseM] Database Manager initalized!
mtgvrp: instantiating mtgvrp.weapon_manager.WeaponManager..
[WeaponM] Weapon Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleManager..
[VehicleM] Initializing vehicle manager...
[VehicleM] Vehicle Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleMenu..
[VehicleMenu] Vehicle Menu initalized.
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleOwnership..
mtgvrp: instantiating mtgvrp.vehicle_manager.vehicle_editor.VehicleEditor..
mtgvrp: instantiating mtgvrp.vehicle_manager.modding.ModdingManager..
mtgvrp: instantiating mtgvrp.vehicle_dealership.BoatDealership..

 

Share this post


Link to post
Share on other sites
1 minute ago, 67mi said:

The server crashing when i start it

server_logs.txt :

Initializing Bootstrapper.dll (0.3.5.1)..
-> SERVER STARTED AT 10/23/2019 3:11:12 PM
Loaded 451 entries from vehicleData.json
Loading resources..
-> Starting mtgvrp resource..
mtgvrp: setting as Gamemode resource
mtgvrp: loading scripts.. found 1 script(s)
mtgvrp: instantiating mtgvrp.Init..
[INIT] Initalizing script...
[DebugM] Debug manager loaded... (Current Level: 10)
[DatabaseM] Initalizing database manager...
[DatabaseM] Database Manager initalized!
mtgvrp: instantiating mtgvrp.weapon_manager.WeaponManager..
[WeaponM] Weapon Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleManager..
[VehicleM] Initializing vehicle manager...
[VehicleM] Vehicle Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleMenu..
[VehicleMenu] Vehicle Menu initalized.
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleOwnership..
mtgvrp: instantiating mtgvrp.vehicle_manager.vehicle_editor.VehicleEditor..
mtgvrp: instantiating mtgvrp.vehicle_manager.modding.ModdingManager..
mtgvrp: instantiating mtgvrp.vehicle_dealership.BoatDealership..

 

Make sure you have MongoDB installed and running:https://www.mongodb.com/download-center/community

 Don't forget that the script is incomplete by the way. The server will run but it won't work when you join.

Share this post


Link to post
Share on other sites
3 hours ago, 67mi said:

The server crashing when i start it

server_logs.txt :

Initializing Bootstrapper.dll (0.3.5.1)..
-> SERVER STARTED AT 10/23/2019 3:11:12 PM
Loaded 451 entries from vehicleData.json
Loading resources..
-> Starting mtgvrp resource..
mtgvrp: setting as Gamemode resource
mtgvrp: loading scripts.. found 1 script(s)
mtgvrp: instantiating mtgvrp.Init..
[INIT] Initalizing script...
[DebugM] Debug manager loaded... (Current Level: 10)
[DatabaseM] Initalizing database manager...
[DatabaseM] Database Manager initalized!
mtgvrp: instantiating mtgvrp.weapon_manager.WeaponManager..
[WeaponM] Weapon Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleManager..
[VehicleM] Initializing vehicle manager...
[VehicleM] Vehicle Manager initalized!
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleMenu..
[VehicleMenu] Vehicle Menu initalized.
mtgvrp: instantiating mtgvrp.vehicle_manager.VehicleOwnership..
mtgvrp: instantiating mtgvrp.vehicle_manager.vehicle_editor.VehicleEditor..
mtgvrp: instantiating mtgvrp.vehicle_manager.modding.ModdingManager..
mtgvrp: instantiating mtgvrp.vehicle_dealership.BoatDealership..

 

Launch the updater.exe to update your server files to 0.3.7:

Initializing Bootstrapper.dll (0.3.5.1)..

Share this post


Link to post
Share on other sites
7 hours ago, Xabi said:

Use Visual Studio 2017 or 2019, not Visual Studio Code.

Thank you very much when first using Visual Studio 2017.

But I changed to Visual Studio 2019.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.