Jump to content

Recommended Posts

Posted

sorry about that then :)

dont spam if you think that i dont have it..i got it after i replied here

fsdfsdfsj.png

I think that's enough

sorry about that then :)

Posted

EventManager.java

+ // Add the events to the list

+ events.put(1, new DM());

+ events.put(2, new Domination());

+ events.put(3, new DoubleDomination());

+ events.put(4, new LMS());

+ events.put(5, new Lucky());

+ events.put(6, new Simon());

+ events.put(7, new TvT());

+ events.put(8, new VIPTvT());

+ events.put(9, new Zombie());

+ events.put(10, new CTF());

+ events.put(11, new Russian());

+ events.put(12, new Bomb());

+ events.put(13, new Mutant());

+ events.put(14, new Battlefield());

 

Events.xml

<!-- Core settings -->

<event id="0">

<property name="registerTime" value="60" />

<property name="betweenEventsTime" value="60" />

<property name="firstAfterStartTime" value="60" />

<property name="managerNpcId" value="90001" />

<property name="showVotePopupAt" value="30" />

<property name="votePopupEnabled" value="true" />

<property name="debug" value="true" />

<property name="statTrackingEnabled" value="true" />

<property name="eventBufferEnabled" value="true" />

<property name="allowedBuffsList" value="1068,1085,1086,1087" />

<property name="maxBuffNum" value="2" />

<property name="friendlyFireEnabled" value="false" />

<property name="restartAllowed" value="false" />

<restriction type="item" ids="" />

<restriction type="skill" ids="" />

</event>

 

I think the problem is with event ID:0

Posted

cofigsaftercompile.png

 

I add them manually in the config folder can that be the problem? :S I dont think so but I dont know i just mention that . This thing is keeping me back from my work please help.

 

 

Posted

halffixederror.png

 

replaced the event's names inside events.xml with

 

// Add the events to the list
	events.put(1, new DM());
	events.put(2, new Domination());
	events.put(3, new DoubleDomination());
	events.put(4, new LMS());
	events.put(5, new Lucky());
	events.put(6, new Simon());
	events.put(7, new TvT());
	events.put(8, new VIPTvT());
	events.put(9, new Zombie());
	events.put(10, new CTF());
	events.put(11, new Russian());
	events.put(12, new Bomb());
	events.put(13, new Mutant());
	events.put(14, new Battlefield());

The npc ingame still doesnt work but events run automatically but can't register.

Guest
This topic is now closed to further replies.



×
×
  • Create New...