Hello, i like always with request help, i added Phoenix engine on l2jfrozen 1118rev, all good without errors, but when i spawn npc on click i get -> i have nothing to say to you
In previous l2jfrozens revs it's working. what can be bad?
@Override
public void onBypassFeedback(L2PcInstance player, String command)
{
if (command.startsWith("reg"))
{
EventManager.getInstance().registerPlayer(player);
}
if (command.startsWith("unreg"))
{
EventManager.getInstance().unregisterPlayer(player);
}
if (command.startsWith("list"))
{
NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
TextBuilder sb = new TextBuilder();
sb.append("<html><body><center>Select an event to vote for it:<br>");
int i = 0;
for(String name: EventManager.getInstance().getEventNames())
{
i++;
sb.append (" <a action=\"bypass -h npc_"+objectId+"_"+i+"\">- "+name+" -</a> <br>");
}
sb.append("</center></body></html>
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
martuxas1
Hello, i like always with request help, i added Phoenix engine on l2jfrozen 1118rev, all good without errors, but when i spawn npc on click i get -> i have nothing to say to you
In previous l2jfrozens revs it's working. what can be bad?
it's database custom_npc
50001 31822 Event Manager 1 qqq 1 LineageMonster5.br_wooldie 10 16 80 male L2EventManager 40 20000000 40 8.5 3 40 43 30 21 20 20 0 0 8 40 5 30 253 0 333 0 0 0 25 120 Null 0 0 0 LAST_HIT
it's L2EventManagerInstance.java ->
package com.l2jfrozen.gameserver.model.actor.instance;
import com.l2jfrozen.gameserver.templates.L2NpcTemplate;
import com.l2jfrozen.gameserver.event.EventManager;
import javolution.text.TextBuilder;
import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
public class L2EventManagerInstance extends L2FolkInstance
{
private int objectId;
public L2EventManagerInstance(int objectId, L2NpcTemplate template)
{
super(objectId, template);
this.objectId = objectId;
}
@Override
public void onBypassFeedback(L2PcInstance player, String command)
{
if (command.startsWith("reg"))
{
EventManager.getInstance().registerPlayer(player);
}
if (command.startsWith("unreg"))
{
EventManager.getInstance().unregisterPlayer(player);
}
if (command.startsWith("list"))
{
NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
TextBuilder sb = new TextBuilder();
sb.append("<html><body><center>Select an event to vote for it:<br>");
int i = 0;
for(String name: EventManager.getInstance().getEventNames())
{
i++;
sb.append (" <a action=\"bypass -h npc_"+objectId+"_"+i+"\">- "+name+" -</a> <br>");
}
sb.append("</center></body></html>
1 answer to this question
Recommended Posts