mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
49 lines
No EOL
1.8 KiB
Text
49 lines
No EOL
1.8 KiB
Text
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
|
||
{\colortbl ;\red255\green0\blue0;\red0\green176\blue80;}
|
||
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\lang1033\f0\fs22 Create a new folder `\cf1\\src\\server\\game\\Entities\\PREMIUM\\\cf0 `\par
|
||
copy and paste the 2 files \cf2 Premium_System.cpp\cf0 and \cf2 Premium_System.h\cf0 \par
|
||
to \cf1\\src\\server\\game\\Entities\\PREMIUM\\ \cf0 folder.\par
|
||
\cf1 ***************************************************\cf0\par
|
||
edit \cf1\\src\\server\\game\\CMakelists.txt\par
|
||
\cf0 Add this line with the rest like it:\par
|
||
[CODE]\par
|
||
$\{CMAKE_CURRENT_SOURCE_DIR\}/Entities/\cf1 PREMIUM\cf0\par
|
||
[/CODE]\par
|
||
\par
|
||
\cf1 ***************************************************\cf0\par
|
||
\par
|
||
Edit \cf1\\src\\server\\game\\Scripting\\\cf2 scriptloader.cpp\cf0\par
|
||
at the end of the file:\par
|
||
\par
|
||
[CODE]\par
|
||
#ifdef SCRIPTS\par
|
||
/* This is where custom scripts' loading functions should be declared. */\par
|
||
\cf1 void AddSC_Premium_System();\cf0\par
|
||
#endif\par
|
||
\par
|
||
void AddCustomScripts()\par
|
||
\{\par
|
||
#ifdef SCRIPTS\par
|
||
/* This is where custom scripts should be added. */\par
|
||
\tab\cf1 AddSC_Premium_System();\cf0\par
|
||
#endif\par
|
||
[/CODE]\par
|
||
\par
|
||
\cf1 ***************************************************\cf0\par
|
||
\par
|
||
edit your \cf1\\src\\server\\worldserver\\\cf2 worldserver.conf\cf0\par
|
||
and add the conf_edit.\par
|
||
adjust the settings as you want via the provided instructions.\par
|
||
\par
|
||
\cf1 ***************************************************\cf0\par
|
||
\par
|
||
Compile, \par
|
||
add the conf edits to your worldserver.conf file in your server folder.\par
|
||
add any misc edits for other features,\par
|
||
change the settings to how you want ,\par
|
||
startup server ,\par
|
||
enjoy ;)\par
|
||
\par
|
||
\cf1 ***************************************************\cf0\par
|
||
}
|
||
|