Jump to content

Recommended Posts

Posted (edited)
В 06.12.2018 в 18:05, Xabi сказал:

Here is your problem, you'll have to move your Bootstrapper from runtime folder to the path you have the 0.3.6 gtanetwork.api Nuget installed:

System.IO.FileNotFoundException: Could not load the specified file.

File name: 'Bootstrapper'

at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)

I don't understand where to put the Bootstrapper? Help me please

Edited by andymoriarty
Posted
vor 15 Stunden schrieb Vize1610:

i have server and game at 037 testing nop same problems server close after connect


==================[10.12.2018 14:06:08]==================
System.EntryPointNotFoundException: Unable to find an entry point named 'PushEventInt' in DLL 'bridge'.
   at void Bootstrapper.Rage.PushEventInt(int value)
   at void GTANetworkMethods.EventPusher.PushOne(object obj) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\API\Methods\Data.cs:line 69
=========================================================

==================[10.12.2018 14:06:08]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'PushEventInt' in DLL 'bridge'.
   at void Bootstrapper.Rage.PushEventInt(int value)
   at void GTANetworkMethods.EventPusher.PushOne(object obj) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\API\Methods\Data.cs:line 69
   at void GTANetworkMethods.Data.SetEntitySharedData(NetHandle entity, string key, object value) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\API\Methods\Entity.cs:line 44
   at void WiredPlayers.character.Login.InitializePlayerData(Client player) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\character\Login.cs:line 27
   at void WiredPlayers.character.Login.OnPlayerConnected(Client player) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\character\Login.cs:line 116
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
   at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================


 now this ?!

Posted (edited)
6 hours ago, andymoriarty said:

I don't understand where to put the Bootstrapper? Help me please

As Xabi said just open your Visual Studio up, in the "Solution Explorer" click on the "Dependencies", then click on "NuGet" and click on the GTANetwork API, then in the properties tab you'd see a field named "Path" go towards there!

Open up the folder and get the 0.3.6 version then put it in your "bridge/runtime" folder, you should be good.

@RogersXO

Edited by Original
  • Like 1
Posted

Hey @Xabi, after all setup, to get this script work properply, i would like to say thank you :) this is a very awesome script you made. But i got some questions about the commands: Sometimes it says "Command is not implemented", where do i find the file to get my hands on  to add these(especially /welcome & /help) and how do i manage to get some fuel for my car? :D
Thank you for your time you spend with and for us to teach us with this script :)

(Sorry for my wierd english)

 

Greets McWulf :)

Posted

@McWulf1991 Thanks dude, I mean join on the server and see npcs on the streets, cars, like we have on other servers, mine is working very good but no npcs on the streets and no cars. I can see icons on the map with jobs, rent bike, rent cars, all working but I mean the AI npcs. 

Posted

@Novato i could send you some of my clientside scripts, nothing special, just basics for some NPCs and cars. But I am at work right now so i could give you some code later. I would like to notice that these npcs and cars are fixed to a point, so just standing there. Interaction has to be scripted by yourself :)

Posted
17 hours ago, McWulf1991 said:

Hey @Xabi, after all setup, to get this script work properply, i would like to say thank you :) this is a very awesome script you made. But i got some questions about the commands: Sometimes it says "Command is not implemented", where do i find the file to get my hands on  to add these(especially /welcome & /help) and how do i manage to get some fuel for my car? :D
Thank you for your time you spend with and for us to teach us with this script :)

(Sorry for my wierd english)

 

Greets McWulf :)

You have to make a new file clientside for each of those commands, as they're not created.

About the fuel, just create a gas station with /business create and you'll be able to /refuel your vehicle.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...