• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cannot configure an event in CreatureScripts

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Error:

Code:
[21:19:57.610] > Loading creaturescripts... [Error - CreatureEvent::configureEvent] No valid type for creature event: joinchannel.
[21:19:57.618] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[21:19:57.622] [Error - CreatureEvent::configureEvent] No valid type for creature event: receivemail.
[21:19:57.628] [Warning - BaseEvents::loadFromXml] Cannot configure an event

XML:
	<event type="joinchannel" name="GuildEvents" event="script" value="guild.lua"/> 
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>

How I fix that? I have no idea
 
Lua:
<event type="join" name="GuildEvents" event="script" value="guild.lua"/> 
	<event type="receive" name="Mail" event="script" value="mail.lua"/>
maybe

^_^
 
Error:

Code:
[21:19:57.610] > Loading creaturescripts... [Error - CreatureEvent::configureEvent] No valid type for creature event: joinchannel.
[21:19:57.618] [Warning - BaseEvents::loadFromXml] Cannot configure an event
[21:19:57.622] [Error - CreatureEvent::configureEvent] No valid type for creature event: receivemail.
[21:19:57.628] [Warning - BaseEvents::loadFromXml] Cannot configure an event

XML:
	<event type="joinchannel" name="GuildEvents" event="script" value="guild.lua"/> 
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>

How I fix that? I have no idea

as far as I can tell, that is happening because there is no creature event called "joinchannel" or "receivemail" in your server. it would have to be added in your sources (c++) and I don't know how to make those functions.

As far as I know, the only creature event types are: "login" "logout" "look" "kill" "advance" and "die" I think there is also one called "none" but I don't know if it does anything.

Sorry I couldn't be of more help.
 
Lua:
<event type="join" name="GuildEvents" event="script" value="guild.lua"/> 
	<event type="receive" name="Mail" event="script" value="mail.lua"/>
maybe

^_^

Same shit..


as far as I can tell, that is happening because there is no creature event called "joinchannel" or "receivemail" in your server. it would have to be added in your sources (c++) and I don't know how to make those functions.

As far as I know, the only creature event types are: "login" "logout" "look" "kill" "advance" and "die" I think there is also one called "none" but I don't know if it does anything.

Sorry I couldn't be of more help.

I'm using the last rev(0.3) and lib, and still getting this error.
 
If you're using latest 0.3:

XML:
<event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/> 
<event type="mailreceive" name="Mail" event="script" value="mail.lua"/>
 
Back
Top