Jump to content

Xabi

Moderators
  • Posts

    1444
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Xabi

  1. You don't have the .dll which is asking for, which is uploaded into the repository.

    Surely you downloaded first the gamemode and, after that, copied the bridge, ovewriting that .dll so, you didn't follow the steps and that's the reason you have an outdated version of that .dll library.

  2. 1 hour ago, FieteGM said:

    Get some Help pls:

    Console Log:

    SyntaxError: Unexpected token )
        at new Script (vm.js:79:7)
        at createScript (vm.js:251:10)
        at Proxy.runInThisContext (vm.js:303:10)
        at Module._compile (internal/modules/cjs/loader.js:657:28)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
        at Module.load (internal/modules/cjs/loader.js:599:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
        at Function.Module._load (internal/modules/cjs/loader.js:530:3)
        at Module.require (internal/modules/cjs/loader.js:637:17)
        at require (internal/modules/cjs/helpers.js:20:18)

     

    My Script what do the Error: (it is in ./packages/YY/)

    let mysql = require("mysql");

    let connection = mysql.createConnection( {
        host: "localhost",
        user: "root",
        passwort: "",
        database: "login"
    });

    connection.connect(function(e) {
        if(e) {
            console.log("Es konnte keine datenbank verbindung hergestellt werden. SYCA BLJAD RUSH B" + e);
        }
        else
        {
            console.log("Es konnt eine Datenbank verbindung hergestellt werden. OMG JAAAAAAAAA");
        }
    )};

                    mp.events.addCommand("registrieren",(player,fullText,username,passwort) => {
                        if (username && passwort) {
                            connection.query("SELECT * FROM userdata WHERE name = ?",[username],function(ess,res) {
                                if (res.length > 0) {
                                    player.outputChatBox("Der angegebene Name ist bereits vergeben!");
                                }
                                else
                                {
                            connection.query("SELECT * FROM userdata WHERE socialClub = ?",[player.socialClub],function(ess,res) {
                                if (res.length > 0) {
                                    player.outputChatBox("Du hast bereits einen Account bei uns!");
                                }
                                else
                                {
                            connection.query("INSERT INTO userdata SET name = ?, passwort = ?, socialClub = ?",[username,passwort,player.socialClub],function(ess,res) {
                                if (!err) {
                                    player.outputChatBox("Du hast dich erfolgreich Registriert!!! HYPE.");
                                    setPlayerDataAfterLogin(player);
                                };
                            });
                        };
                    });
                };
            });
        }
        else
        {
            player.outputChatBox("");
        };
    });

        mp.events.addCommand("einloggen",(player,fullText,username,passwort) => {
            if (username && passwort) {
                connection.query("SELECT * FROM userdata WHERE name = ?, passwort = ?",[username,passwort],function(ess,res) {
                    if (res.length > 0) {
                        player.outputChatBox("Du hast dich erfolgreich Eingeloggt, viel Spaß.");
                        setPlayerDataAfterLogin(player);
                    }
                    else
                    {
                        player.outputCharBox("Die angegebene User/Passwort Kombination existiert nicht!");
                    };
                });
            }
            else
            {
                player.outputChatBox("");
            };
    });

    function setPlayerDataAfterLogin(player) {
        connection.query("SELECT * FROM userdata WHERE socialClub = ?",[player.socialClub],function(err,res) {
            player.outputChatBox("ID: " + res[0].id);
        };
    }):

     

    And my Index.js : (also in ./packages/yy/)

    require('./register_login.js')

     

    ... So i think i have no problems here but can anyone help me pls

    This isn't even related to the gamemode, what's wrong with you?

  3. 7 minutes ago, FieteGM said:
    
    Hello, 
    I have a problem, 
    I do everything step by step,
    but if I want to play, 
    I just load all files and then I can not move anymore and nothing comes to log in or register. 
    just looks like nothing ):

    Said multiple times on this thread, enable client-side C#

  4. 1 hour ago, bills said:

    Hello 

     

    
    I have a problem that I do not understand you could help me

     

    Starting RAGE Multiplayer server...

    [=========================================================]

        MaxPlayers:        60
        Sync rate:        40
        Name:            Monaco RP
        Gamemode:        WP-RP v1.1.0
        Streaming distance:    500
        Announcement:        enabled
        Address:        127.0.0.1:22005
        Connection limits:    disabled
        Encryption:        disabled
        NodeJS:            enabled
        C#:            true

    [=========================================================]


    [N] Starting network... - OK: (IPv4-only) at 127.0.0.1:22005
    (node:51444) ExperimentalWarning: The ESM module loader is experimental.
    [M] Announcing into master server...
    Loading packages
    Initializing bridge (0.3.7.0)..
    Initializing Bootstrapper.dll (0.3.7.0)..
    -> SERVER STARTED AT 1/7/2019 8:16:34 PM
    [M] Connected to master list.
    ACLEnabled: False
    Loaded 498 entries from vehicleData.json
    Loading resources..
    -> Starting WiredPlayers resource..
    WiredPlayers: setting as Gamemode resource
    WiredPlayers: loading scripts.. found 1 script(s)
    WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
    WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
    WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
    WiredPlayers: instantiating WiredPlayers.parking.Parking..
    WiredPlayers: instantiating WiredPlayers.model.SkinModel..
    WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
    WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
    WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
    WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
    WiredPlayers: instantiating WiredPlayers.jobs.Job..
    WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
    WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
    WiredPlayers: instantiating WiredPlayers.jobs.Thief..
    WiredPlayers: instantiating WiredPlayers.house.Furniture..
    WiredPlayers: instantiating WiredPlayers.house.House..
    WiredPlayers: instantiating WiredPlayers.globals.Globals..
    WiredPlayers: instantiating WiredPlayers.factions.Emergency..
    WiredPlayers: instantiating WiredPlayers.factions.Faction..
    WiredPlayers: instantiating WiredPlayers.factions.Police..
    WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
    WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
    WiredPlayers: instantiating WiredPlayers.database.Database..
    WiredPlayers: instantiating WiredPlayers.chat.Chat..
    WiredPlayers: instantiating WiredPlayers.character.Animations..
    WiredPlayers: instantiating WiredPlayers.character.Customization..
    WiredPlayers: instantiating WiredPlayers.character.Login..
    WiredPlayers: instantiating WiredPlayers.character.Telephone..
    WiredPlayers: instantiating WiredPlayers.business.Business..
    WiredPlayers: instantiating WiredPlayers.business.CarShop..
    WiredPlayers: instantiating WiredPlayers.bank.Bank..
    WiredPlayers: instantiating WiredPlayers.admin.Admin..
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 4 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loaded 37 server events(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 9 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 18 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 13 command(s)
    WiredPlayers: loading commands.. found 12 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 10 command(s)
    WiredPlayers: loading commands.. found 56 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 29 command(s)
    WiredPlayers: loaded 185 commands(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 8 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loaded 53 remote event(s)
    -> Resource WiredPlayers started!
    Started! Waiting for connections..
    [P] Plugin bridge.dll loaded!
    Started HTTP server at 22006 port.

     

     

    https://www.casimages.com/i/190106095303554671.png.html

     

    
    When I connect I have the message connection lost?

     

     

    thanks to you

    Seems not to be an issue with the gamemode with that info provided, nothing I can help with.

  5. 4 hours ago, bills said:
    
    Hello always the same problem I followed the faq
    
    Starting RAGE Multiplayer server...
    
    
     
    
    [=========================================================]
    
    
     
    
    	MaxPlayers:		60
    
    	Sync rate:		40
    
    	Name:			Monaco RP
    
    	Gamemode:		freeroam
    
    	Streaming distance:	500
    
    	Announcement:		enabled
    
    	Address:		151.80.27.157:22005
    
    	Connection limits:	disabled
    
    	Encryption:		disabled
    
    	NodeJS:			enabled
    
    	C#:			true
    
    
     
    
    [=========================================================]
    
    
     
    
    
     
    
    [N] Starting network... - OK: (IPv4-only) at 151.80.27.157:22005
    
    (node:87216) ExperimentalWarning: The ESM module loader is experimental.
    
    [M] Announcing into master server...
    
    Loading packages
    
    WARNING: bridge.dll not initialized, in order to use the C#-API, make sure 'bridge/runtime/coreclr.dll' is accessible.
    
    INFO: this warning can be disabled by adding '"csharp" : disabled' in the conf.json file
    
    [P] Plugin bridge.dll loaded!
    
    Started HTTP server at 22006 port.
    
    [M] Connected to master list.
    
    [N] 78.198.180.229:50273 has been disconnected.

    You didn't follow the guide, as you're missing the most basic step, which is on that guide.

  6. 13 minutes ago, bills said:

    hello help 

     

    
    Starting RAGE Multiplayer server...
    
    
     
    
    [=========================================================]
    
    
     
    
    	MaxPlayers:		60
    
    	Sync rate:		40
    
    	Name:			Monaco RP
    
    	Gamemode:		freeroam
    
    	Streaming distance:	500
    
    	Announcement:		enabled
    
    	Address:		151.80.27.157:22005
    
    	Connection limits:	disabled
    
    	Encryption:		disabled
    
    	NodeJS:			enabled
    
    	C#:			true
    
    
     
    
    [=========================================================]
    
    
     
    
    
     
    
    [N] Starting network... - OK: (IPv4-only) at 151.80.27.157:22005
    
    (node:87216) ExperimentalWarning: The ESM module loader is experimental.
    
    [M] Announcing into master server...
    
    Loading packages
    
    WARNING: bridge.dll not initialized, in order to use the C#-API, make sure 'bridge/runtime/coreclr.dll' is accessible.
    
    INFO: this warning can be disabled by adding '"csharp" : disabled' in the conf.json file
    
    [P] Plugin bridge.dll loaded!
    
    Started HTTP server at 22006 port.
    
    [M] Connected to master list.
    
    [N] 78.198.180.229:50273 has been disconnected.
    
    
     

    Hello, read the guide on GitHub.

  7. 15 hours ago, clems206fr said:

    all good and when i click "F" nothing happened 

     

    
    {
    	"maxplayers" : 60,
    	"name" : "clems206", 
    	"gamemode" : "roleplay",
    	"stream-distance" : 500.0,
    	"announce" : true,
    	"language" : "fr",
        "csharp": true,
    	"port": 22005
    }

     

    Answered on the post above, read for similar problems before reposting.

×
×
  • Create New...