Jump to content

Does not load client side || Не загружает Client side


SkyWake

Recommended Posts

I'm using version 1.1 (c #)
Click packages are located in the folder "client_packages\cs_packages"

Server logs: 

[INFO] Starting RAGE Multiplayer server...

[============================================================]
||
||      MaxPlayers              100
||      Sync rate               40ms
||      Name                    RAGE:MP Unofficial server
||      Gamemode                freeroam
||      Streaming distance      500
||      Announcement            disabled
||      Voice chat              disabled
||      Address                 127.0.0.1:11
||      Connection limits       disabled
||      Encryption              enabled
||      NodeJS                  enabled
||      C#                      enabled
||
[============================================================]


[INFO] Loading NodeJS packages...
[INFO] Starting packages...
[DONE] Server packages have been started.
Initializing Bootstrapper.dll (1.1.0.0)..
-> SERVER STARTED AT 03.03.2021 10:15:52
Unable to load acl.xml
ACLEnabled: False
Loaded 667 entries from vehicleData.json
Loading resources..
-> Starting DriftProject/DriftProject resource..
DriftProject/DriftProject: loading scripts.. found 1 script(s)
DriftProject/DriftProject: instantiating DriftProject.ServerSideMain..
DriftProject/DriftProject: loading server events.. found 1 server event(s)
DriftProject/DriftProject: loaded 1 server events(s)
DriftProject/DriftProject: loading commands.. found 2 command(s)
DriftProject/DriftProject: loaded 2 commands(s)
Gamemode started!
-> Resource DriftProject/DriftProject started!
Started! Waiting for connections..
[DONE] Started resource transfer server at 12 port.
[DONE] Client-side packages weight: 0.000259 MB (uncompressed: 0.000580 MB).
[INFO] Initializing networking...
[DONE] Networking has been started: (IPv4-only) at 127.0.0.1:11
[DONE] The server is ready to accept connections.
[N] Incoming connection from 127.0.0.1

 

Client script:

using System;
using RAGE;

namespace ClientSide
{
    public class Class1 : Events.Script
    {
        public Class1()
        {
            RAGE.Events.OnPlayerSpawn += OnPlayerSpawn;
        }

        void OnPlayerSpawn(Events.CancelEventArgs cancel)
        {
            Chat.Output("Hello");
        }

    }
}

 

 

Link to comment
Share on other sites

  • SkyWake changed the title to Does not load client side || Не загружает Client side

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.
×
×
  • Create New...