-
Posts
1444 -
Joined
-
Last visited
-
Days Won
83
Content Type
Profiles
Forums
Downloads
Posts posted by Xabi
-
-
1 hour ago, RiddiK said:
thats in the settings.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<acl_enabled>false</acl_enabled>
<log_console>true</log_console>
<log_chat>true</log_chat>
<resource src="WiredPlayers" />
</config>Try using the conf.json comming on the resource, because it seems to be trying to load Node packages instead of Bridge resources.
-
3 minutes ago, RiddiK said:
Starting RAGE Multiplayer server...
[=========================================================]
MaxPlayers: 102
Sync rate: 40
Name: [GER][TEST SERVER]
Gamemode: WP-RP v1.1.0
Streaming distance: 500
Announcement: enabled
Voice chat: enabled
Address:
Connection limits: disabled
Encryption: disabled
NodeJS: enabled
C#: enabled[=========================================================]
[N] Starting network... - OK: (IPv4-only) at 185.249.199.95:22148
(node:12967) ExperimentalWarning: The ESM module loader is experimental.
[M] Announcing into master server...
Loading packages
Started HTTP server at 22149 port.
[M] Connected to master list.
[M] Masterlist: connection lost...
[M] Connected to master list.Do you have anything inside settings.xml?
-
1 hour ago, RiddiK said:
hm okay the bridge.dll is in the plugin folder but it wont start...
Show the full log.
-
14 minutes ago, RiddiK said:
hmm so in the plugin folder must be the bridge.dll or something?😅
Yes, as it's said on the guide.
-
6 hours ago, junior_xarp said:
I did what you asked and gave me this error.===========================================================================[02/12/2018 01:45:59]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) =========================================================It's a common error, it doesn't affect to the server at all.
-
1 minute ago, junior_xarp said:
I have same problem that this guy, how i can get a solution ?
Same we said before, copy the Bootstrapper located on runtime folder to the path your 0.3.7 Nuget is installed.
-
7 hours ago, bendeguzbagi said:
I tried to add a vehicle to the server but i cant spawn it with the /vehicle create command. Where i need to add the mod's name hash?
You will need to reimplement the vehicle create function in order to take any hash.
-
4 minutes ago, bendeguzbagi said:
Working
How can i change the language?
Should work changing the culture value on meta.xml file.
-
4 minutes ago, Atesh said:
Nope, wait for @Xabi to respond, I dont have any ideea .
I'm helping him on Discord, it's the problem with copying Bootstrapper into 0.3.6 Nuget's path.
-
36 minutes ago, DJ_Synergy said:
oh, i missed a warning at building the project. dont know why i havent read this the first time .....
"rage-sharp"-Assembly was not found. That should be the problem, if it is used in the code.
@Xabi - do you know how to get it and where it has to be placed in the folder structure?
it is the rage-sharp.dll in dotnet ... i think it must be a rage-sharp.so in linux then but i'm sadly not that good in dot net, because im a linux fan boy
It's the first dotnet project for me ...Better to skip this part and stay on 0.3.6 version, as I'm currently developing the C# client-side scritps.
As it's said on the guide, remove cs_packages and statics folders from client_packages folder and it should work.
-
9 hours ago, bendeguzbagi said:
Can u make a "tutorial" for how to setup to a linux server?
As said on the guide, didn't try it and I'm not good at Linux, so not the best for making the tutorial.
-
4 minutes ago, Rafikus said:
I thought i did replace it. I did now. Rebuilded my gamemode and now it works.
Thank you very much.
Is that written somewhere in wiki? If no, how do you know that you need to do this?
It's the solution George gave on Discord, seems that there were some issues with 0.3.6 Nuget package.
-
3
-
-
You may need .so assemblies like MySql.Data, I don't really know as I didn't try to upload to a Linux based server.
-
6 minutes ago, Rafikus said:
By runtimes you mean RAGEMP\server-files\bridge\runtime\runtimes or RAGEMP\server-files\bridge\runtime ?
The only Bootstrapper i have is located at RAGEMP\server-files\bridge\runtime, and it's weight is the same as in Nuget package.I replaced it and nothing changed.
Yes, that's the one i mean. You replaced the one located on the Nuget package's path, right? And after doing that, did you compile your gamemode?
-
3
-
-
If you're using 0.3.6 Nuget, make sure to copy the Bootstrapper from runtimes folder into the path where the Nuget package is installed.
-
3
-
-
5 hours ago, kushbymrgreen said:
-> Error starting 'WiredPlayers'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Det går inte att hitta filen.
at void WiredPlayers.database.Database.OnResourceStart()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)What do i do to fix this issue?
Follow the steps and install the bridge before copying the gamemode.
-
As i said, it isn't tested on Linux so I don't know what errors it has under that platform.
-
20 minutes ago, Antiskill said:
Still the Problem. When anybody Joins the server is crashing. No Error log. Eben in cmd.
@Xabi
Screen:

And when it crashes, it doesn't show any error on the console? I mean, you opened first the console window and launched the server.exe by command, right?
-
43 minutes ago, Stefan Todorovski said:
I've followed the instructions and i have connected the MySQL Database with the server without any problems, but there is one issue which i can't solve.
Here is my server window and it looks fine (No errors):
http://prntscr.com/lm0idnThe problem is when i log in. The register window never shows up, i can't move and whenever i type something it says "You can't use the chat in the lobby.":
https://imgur.com/ycCCTVoI've seen the code and I found out that when i connect to the server it should start the event showRegisterWindow, but it never does. I added NAPI.ConsoleOutputs also, but they don't show up, too.
http://prntscr.com/lm0ktkSome information about what i've done:
- Installed WAMP, so that i can use phpMyAdmin with the MySQL server.
- Created and imported the provided database
- Changed the settings in the meta file
- Compiled the script with netcore 2.0 (I tried it with 2.1 but the problem is still present)
- I banged my head in the wall 20 times
I can't figure out what am i missing 😞
Did you upgrade the Nuget to 0.3.6? If so, you should copy the Bootstrapper located under "runtimes" folder to the path where the GTAN Nuget is located.
-
1 minute ago, OVER said:
Okay @Xabi, found the coordinates, edited the doors.js and it's not working.
Here's what I've changed:
let sheriffBlaineDoors = undefined; mp.events.add('guiReady', () => { //Sheriff Blaine sheriffBlaineDoorsDoors = mp.colshapes.newSphere(1855.685, 3683.93, 34.5928, 5.0); }); mp.events.add('playerEnterColshape', (shape) => { switch(shape.id) { case sheriffBlaineDoorsDoors.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_shrfdoor'), 1855.685, 3683.93, 34.5928, true, 0, false); break; } });
The true stands for "locked" state, so you're closing it.
-
1 minute ago, Soranno said:
@Xabi Is it possible to translate this gamemode? I can not understand the Spanish.
It's already translated in fact.
-
3 minutes ago, Soranno said:
Even using the unmodified Database.cs file, I still get the MySQL error. I created the database and I also changed the credentials in meta.xml
<!-- Database connection settings -->
<settings>
<setting name="host" value="localhost"/>
<setting name="username" value="root"/>
<setting name="password" value=""/>
<setting name="database" value="gtav"/>
</settings>Then if you can't access the database without changing anything, the problem comes with credentials.
-
Just now, Soranno said:
Database.cs I modified it by entering the database credentials, but even if I did not modify it, it gave me the same error
Now I would like to know if I'm wrong to connect it to xampp with phpmyadmin, to connect to the database use localhost/phpmyadmmin
Again... You DON'T have to modify anything on Database.cs, can you please read to the previous messages and follow the guide? Don't do anything that isn't there.
About the credentials, you created the database, you should know which ones you used, they are the same.
-
2 minutes ago, Soranno said:
Nope, always. But I wanted to ask you, can not it be a database problem? I connect the database to phpmyadmin using xampp.
I mean, you didn't edit Database.cs right? If you can connect to that database and the credentials are correct, the gamemode should be able to connect also.


[GAMEMODE] WiredPlayers Roleplay Server
in Resources
Posted
If you made it in the same order as the guide says, you'd have the correct version for that .dll library. You need the one on Github, not the one comming with the bridge.