Salja
Respected Member
Rules/Info System on Login
Last edited:
This looks really sweat! mind making it to 3.3.5?
Seems crashed whole server, when you accept the rules though
Seems crashed whole server, when you accept the rules though
in the line . 656{ "Resurrect Player", & Lua Player :: Resurrect Player},
done. save now.{ "PlaySoundToPlayer", &LuaPlayer:laySoundToPlayer },
int GossipClearMenu(Eluna* /*E*/, lua_State* /*L*/, Player* player)
{
player->PlayerTalkClass->ClearMenus();
return 0;
}
int PlaySoundToPlayer(Eluna* /*E*/, lua_State* L, Player* player)
{
uint32 soundId = Eluna::CHECKVAL<uint32>(L, 2);
SoundEntriesEntry const* soundEntry = sSoundEntriesStore.LookupEntry(soundId);
if (!soundEntry)
return 0;
player->PlayDirectSound(soundId, player);
return 0;
}
hello,
you need modify the source,
go to:
Source\src\server\game\LuaEngine
LuaFunctions.cpp
look,
in the line . 656
below this, paste :
done. save now.
step.2
now in the file. PlayerMethods.h
below t
just below this, enter the following.
ready, proceed with the compilation.
Any Idea why when I added this script most things worked, but i had to get rid of the Freeze, as a new player It never showed me rules upon creating a character, all i would do is enter game, and be rooted to the floor. Any idea why it dont show the rules when creating new character?