Git Product home page Git Product logo

trinitycore.gameclient.net.lib's Introduction

TrinityCore.GameClient.Net.Lib .NET

⚠️ Only supported version is TrinityCore branch 3.3.5 ⚠️

First of all, English is not my mother tongue, so sorry in advance for any mistakes.

The Dream

This library is the first step in a bigger dream.
One day, I thought to myself that there weren't enough people on my TrinityCore server (i was alone).
I could have invited my friends to join me, but I don't have many and they aren't as geeky as I am.
I could have invited strangers to join me, but I should have spent time administering the server, chatting, maybe even organizing events, in short, I didn't have the courage or the inclination.
So I decided to create the players for my server (mainly to have fun and see what I can do).
This library is therefore a piece of a bot system for TrinityCore, a system that will see the light of day in a long time or never.
Have a nice day

What can i do with the library ?

For the moment here are the things you can do

  • Authenticate with an existing account on authserver
  • Get the list of world servers
  • Connect to a world server
  • Get the list of existing characters
  • Enter the world with a character
  • Stay connected
  • Getting world properties
  • Realtime entities (players, npcs, creatures, world items, gameobjects) properties (name, stats, position) update
  • Facing an entity, a position or a specific angle
  • Sit and stand
  • Player chatting (say,group,shout,etc...)
  • Player doing emotes

How can i install the library ?

You can install the library by its nuget package : TrinityCore.GameClient.Net.Lib


What i am currently working on :

Working on moving the player :

  • Moving forward, backward, strafe, walking, running and sending movement heartbeats
  • Jumps

What will i do next :

  • Player melee attack.
  • Player joining a group.
  • Player casting spells
  • Player looting
  • Player interracting with npc
  • Player begging for some gold or an item

Connecting to a Trinity Core 3.3.5 Server

var gameClient = new GameClient();
var authServer = new AuthServerInfo("<serveur host>", 3724);
var credentials = new AuthServerCredentials("<login>", "<password>");

// Authenticating to the auth server
bool authAuthenticate = await gameClient.Authenticate(authServer, credentials);

// Retrieving realms list
List<WorldServerInfo> realms = await gameClient.GetRealms();

// Authenticating to the realm server
bool worldAuthenticate = await gameClient.ConnectToRealm(realms[0]);

// Retreiving the characters list
List<Character> characters = await gameClient.GetCharacters();

// Log the characters into the realm
bool characterLogin = await gameClient.EnterRealm(characters[0]);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.