Giter Club home page Giter Club logo

npc_arena1v1's Introduction

npc_arena1v1

1v1 for TrinityCore 3.3.5 - Updated for the latest TC (10-March-2019)

Original Mod written by Quadral can be found here: https://github.com/Quadral/335source/tree/master/src/server/scripts/Custom/1V1

UPDATE: Tested in-game and seems to be working for me. Reload config command is working as well.

How to install

1. Navigate to your TrinityCore\src\server\scripts\Custom and make a new folder called Arena1v1. Copy npc_arena1v1.cpp and npc_arena1v1.h to your Arena1v1 folder you just created. (this is optional but I recommend it just to keep things organized)


2. Add 1v1 arena script to TrinityCore\src\server\scripts\Custom\ custom_script_loader.cpp

alt tag


3. Use CMake (configure and generate)


4. Open TrinityCore.sln and Build the solution. Click on Build and then Build Solution or press (Ctrl+Shift+B)

alt_tag


5. Add the following at the end of your worldserver.conf file

###################################################################################################
#  1v1
#        Arena.1v1.Enable
#	     Description: Defines is the world chat enabled or disabled, default : Enabled
#		 Usage: 0 = Disabled, 1 = Enabled

Arena.1v1.Enable = 1

#
#
#  1v1
#        Arena.1v1.Enable
#	     Description: Gives value cost; 400000 is 40g
#		 Usage: 0-400000 // 400k is 40g

Arena.1v1.Costs = 400000

#
#  1v1
#        Arena.1v1.MinLevel
#	     Description: Change player level requirement to join 1v1 arena
#		 Usage: 1-255

Arena.1v1.MinLevel = 80

#
###################################################################################################

6. Execute create_npc_world_database.sql to your database.

npc_arena1v1's People

Contributors

mindsear avatar

Watchers

 avatar

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.