• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Mangos Eluna

Status
Not open for further replies.

Mathias

Exalted Member
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


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

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


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
 

Tommy

Founder
- 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.


http://www.wowhead.com/spell=33208

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

Mathias

Exalted Member
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")
end
end

RegisterServerHook(18, ChatSystem);
 
Last edited:

Foereaper

Founder
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?
 

Mathias

Exalted Member
ahha lol eluna was disabled i didnt even realzie to check since the console loaded the scripts xD
 
Status
Not open for further replies.
Top