Ok, so i was thinking about making a server, but i didn't want the regular commands...does anyone know of a guide that i can look at that tells you how to create custom gm commands..
for ALL levels
Ok, so i was thinking about making a server, but i didn't want the regular commands...does anyone know of a guide that i can look at that tells you how to create custom gm commands..
for ALL levels
Im not sure there is a guide on this specific topic, but i can vaigly remember how to do it, what you need to do is get a core, and lookup under level3, 2, 1, or even 0, or you can look at commands and try to understand them, hope this helped!
It did a little bit, I will still try and search for a guide...if i find it i will post it on here.
Hehe, i wish you luck on finding that
level0.cpp is for normal users, level1.cpp is for gm, level2.cpp is for admins, as is level3.cpp
Custom commands would have to be made in a C++ script or you would need to change the code in the level.cpp's
ahhhh
Considering you have basic c++ knowledge:
Code:static string command = "Whatyouwantyourcommenttobe"; // For example #lolcommand void SomeVoid(Const char * SomeName) // and the other arguments { if(SomeName == command) { //add what is supposed to happen here, for example a teleport } } void SetupSomeOtherVoid(ScriptMgr * mgr) { mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, (void *) SomeVoid); }
Last edited by Aznex; 12-30-2008 at 07:16 PM.
I was wondering about this too. I am using Aspire Hearthstone Rev 722 and i am trying to make a .uninvisible command with a syntax like ".uninvisible %plrname%" and it would remove the .invisible command from the player specified. Anyone help w/ this?
Okay can anyone help me with making a command which increases reputation of any faction?
I do not know C++ so if anyone is willing to make it for me I would be thankful for that.
I am using ArcEmu Repack By Fearking.