View Full Version : Mangos Eluna

12-07-2013, 06:09 PM
yeah ofc when i am done with all the shit to get the core compiled i see that the eluna engine seems to not work

i can do .reload eluna etc and it works but if i make a simple chat command or a gossip script nothing happens

here is the gossip script i made just to test

function OnHello(event, plr, itm)
plr:GossipMenuAddItem(1, "Test", 0, 100)
plr:GossipSendMenu(1, item)

function OnSelect(event, plr, itm, sender, intid, code)
if intid == 100 then
plr:GossipMenuAddItem(1, "Test2", 0, 101)
plr:GossipSendMenu(1, item)

RegisterItemGossipEvent(6948, 1, OnHello)
RegisterItemGossipEvent(6948, 2, OnSelect)

when i use the HS witch is the item i assigned it to it just start teleporting...
same with the example scripts

12-07-2013, 06:27 PM
- Moved to Eluna support.

Assuming there's no errors in the console? Script looks fine.

Make sure you're using a gossip trigger to trigger the item.


Change your item flags to 64
Put it in spellid1 column and make your spellcharges -1 and spellcooldown -1

12-07-2013, 06:38 PM
yeah but as i said nothing works not even
local ChatPrefix = "#example";

function ChatSystem(event, player, msg, _, lang)
if (msg:sub(1, ChatPrefix:len()) == ChatPrefix) then
player:SendNotification("Example Chat Command Works")

RegisterServerHook(18, ChatSystem);

12-07-2013, 06:55 PM
What OS? What version of Eluna?
Did you enable Eluna in the config?
If Linux, are you using a restarter/shortcut to run the world from a different directory?
Do you have any messages related to Eluna in your console?

12-07-2013, 07:04 PM
ahha lol eluna was disabled i didnt even realzie to check since the console loaded the scripts xD