Recommended Posts

13 hours ago, GreenPepper said:

Still need help

I don't know. You must've missed a step. Check the paths you configured thoroughly.

Share this post


Link to post
Share on other sites

And what happen, if I don't have 'Advanced' menu point at the meta.xml setting? How I can get Advanced options? Thank y'all.

PS.: I got it. 😁

Edited by krekor

Share this post


Link to post
Share on other sites
21 minutes ago, krekor said:

And what happen, if I don't have 'Advanced' menu point at the meta.xml setting? How I can get Advanced options? Thank y'all.

PS.: I got it. 😁

You clicked right button in the meta.xml? I clicked and open a small box with advanced options.

Share this post


Link to post
Share on other sites
8 minutes ago, Eddye said:

You clicked right button in the meta.xml? I clicked and open a small box with advanced options.

Yes, i got it mate. Thank u! :)

Share this post


Link to post
Share on other sites

[FIXED] Read my message at the end of my post.

 

Hey,

Seems like something doesn't go right when I try to compile it and debug it. My resource is not being loaded at all.

Console window:

Spoiler

DW5brex.png

 

At first I was doing the tutorial step-by-step and I thought that I made a mistake somewhere, so I have downloaded files from the first post. That did not help either. Source is not being loaded.

Additionally, Visual Studio seems to not know properties of gtanetwork.api as long as Build Action is set to "Content" instead of "C# compiler"

C# compiler:

Spoiler

JVRrKXC.png

Content:

Spoiler

cLO4rm2.png

 

"C:\RAGEMP\server-files\bridge\settings.xml"

Spoiler
<?xml version="1.0"?>
		<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		    <resource src="ExampleResource" />
		</config>

 

I use Visual Studio Enterprise 2017 of version: 15.9.2

.NET Framework of version 4.7.03190

 

edit://

I needed bridge scripts from:

https://wiki.gtanet.work/index.php?title=Setting_up_the_Bridge_on_Linux/Windows

Edited by Riddick

Share this post


Link to post
Share on other sites

After all compiling and launching stuff server throws an exception:
 

Quote

System.AccessViolationException” in Bootstrapper.dll

Do you guys had similar problem?

Edit: deleting all resources from resource folder like "admin", "deatchmatch", "welcomemessages" helped.

Edited by Hantick

Share this post


Link to post
Share on other sites
Posted (edited)
On 8/23/2018 at 7:21 PM, GreenPepper said:

So now I have error MSB3073: THe Command "del C.\RAGEMP\server-files\bridge\resources\Pepper\*.*" /Q xcopy "bin\Debug\netcoreapp2.0\*" "C:\RAGEMP\server-files\bridge\resources\Pepper" /Y " was ended with code 4.

 

What now?

Try this for the second line in the post-build event
xcopy "$(ProjectDir)$(OutDir)*" "C:\Meh\Server\server-files\bridge\resources\meh" /Y

$(OutDir) alone is a relative path. Combined with $(ProjectDir) it is absolute and should work fine :)

Edited by ManselD

Share this post


Link to post
Share on other sites
Posted (edited)

I guys, I have a problem, looked in all the answers no one had the same as me :/

I put all my compiled files in a directory compiled/netcoreapp2.2/

when I add the lines in post-build events it deletes them but don't create new one, so I don't have any xxx.dll to load :/

my code

 

Quote

del "C:\RAGEMP\server-files\bridge\resources\firstresource\compiled\netcoreapp2.2\*.*" /Q
xcopy "$(OutDir)*" "C:\RAGEMP\server-files\bridge\resources\firstresource\compiled\netcoreapp2.2" /Y

I don't get any error, it just don't copy files

 

Thanks in advance

 

Edit: I'm really dumb :'), in Properties -> Build   -> Scroll Down to Output Path (here I just had compiled\) just add netcoreapp2.2

Edited by aspirio
Resolved

Share this post


Link to post
Share on other sites
Posted (edited)

Solved the problem with copying:

xcopy $(TargetDir)* E:\Programs\RAGE\server-files\bridge\resources\TakaRP /Y

Just change $(OutDir) to $(TargetDir).

Edited by GodOfPenguins

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.