Jump to content
Christian-SDM

L2J Mega Corrigido

Recommended Posts


Proteja seu servidor de ataques DDoS massivos!

VPS EPIC

Boa noite pessoal estou testado a rev porem  os sets e acessorios e tattos estao sem texturas por favor alguem pode posta 

 ou manda lik dos acessorio e sets  da rev para eu adiciona na system .


Carlinhos l2 Fortaleza-Ceara

Share this post


Link to post
Share on other sites
12 horas atrás, bullraider disse:

encontrei nesta pasta o arquivo CustomNPC.xml, nele encontrei um dos NPCs que queria, no caso a GK Global, dizendo que a GK global tem o ID 100. Eu consegui colocar ela no servidor, porem quando fui editar ela me deparei com o seguinte:

na pasta: data/html/teleporter/100.html

<button value="Raid Zone" action="bypass -h npc_%objectId%_Chat 3"...

ou seja, esse butao leva ao arquivo 100-3.html correto?

no arquivo 100-3html:

eu simplesmente adicionei uma tabela, que sera o teleporte para meu boss custom, da seguinte forma:

<img src="Sek.cbui371" width=300 height=1>
<table width=320 bgcolor="000000">
<tr>
<td width=35></td>
<td><font color="CD6839">Ancient Boss</font></a></td>
</tr>
<tr>
<td height=1></td>
</tr>
</table>
<img src="Sek.cbui371" width=300 height=1>
<table width=320 bgcolor="000000">
<center>
<tr><td><font color="#ff6961">-> </font><font color="0099CC"><a action="bypass -h npc_%objectId%_goto 50028" msg="811;Doc Brok">Doc Brok</a></td></tr><br1>
</table>
<img src="Sek.cbui371" width=300 height=1>

tal codigo praticamente copiado das outras tabela de raid boss, diz me levar ao arquivo 50028. Que é onde esta minha duvida....

esse arquivo : action="bypass -h npc_%objectId%_goto 50028", eu nao consigo encontrar de forma alguma, nem mesmo pesquisando o nome dele na pasta do servidor, nenhum dos demais arquivos html mencionados no 100-3 tbm nao sao encontrados. 

Como encontrar esse arquivo para que eu possa adicionar o teleport para esse outro local?

 

vai em \gameserver\data\xml\teleportLocations.xml
aqui vc encontrará todos os teleportes do jogo

  • Like 1

Share this post


Link to post
Share on other sites
18 minutos atrás, SCRASH0 disse:

vai em \gameserver\data\xml\teleportLocations.xml
aqui vc encontrará todos os teleportes do jogo

valeu mano.

sabe me informar sobre isso:

Onde encontrar o ID no NPCSHOP, achei alguns arquivos sobre ele, mas nenhum tem o ID dele.

Edited by bullraider

Share this post


Link to post
Share on other sites

Pessoal, venho aqui reportar um bug no Repair, quando você da .menu e clica no repair char, ele não encontra na tabela por que esta procurando por "charId", eu fiz as mudanças corretas e aqui esta, basta alterar o arquivo Repair.java e substituir por esse abaixo:

 

TESTADO E FUNCIONANDO, ESTA MANDANDO PARA FLORAN VILLAGE

 

Remova tudo e cole este por cima:

/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Logger;

import net.sf.l2j.L2DatabaseFactory;
import net.sf.l2j.gameserver.cache.HtmCache;
import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;



/**
 * <B><U>User Character .repair voicecommand - SL2 L2JEmu</U></B><BR><BR>
 *
 * 
 * <U>NOTICE:</U> Voice command .repair that when used, allows player to
 * try to repair any of characters on his account, by setting spawn
 * to Floran, removing all shortcuts and moving everything equipped to
 * that char warehouse.<BR><BR>
 *
 *
 * (solving client crashes on character entering world)<BR><BR>
 *
 *
 * @author szponiasty
 * @version $Revision: 0.17.2.95.2.9 $ $Date: 2010/03/03 9:07:11 $
 */

public class Repair implements IVoicedCommandHandler
{
	static final Logger _log = Logger.getLogger(Repair.class.getName());
	
	private static final String[]	 _voicedCommands	=
		{ 
		"repair", 
		"startrepair"
		};
	
	@Override
	public boolean useVoicedCommand(String command, Player activeChar, String target)
	{		
		if (activeChar==null)
			return false;
		
		String repairChar=null;
		
		try		
		{
			if(target != null)
				if(target.length() > 1)
				  {
				   String[] cmdParams = target.split(" ");
				   repairChar=cmdParams[0];
				  }
		}
		catch (Exception e)
		{
			repairChar = null;
		}		
				
		// Send activeChar HTML page
		if (command.startsWith("repair"))
		{
			String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair.htm");
			NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
			npcHtmlMessage.setHtml(htmContent);		
			npcHtmlMessage.replace("%acc_chars%", getCharList(activeChar));
			activeChar.sendPacket(npcHtmlMessage);	
			return true;
		}
		// Command for enter repairFunction from html
		if (command.startsWith("startrepair") && (repairChar != null))
		{
			//_log.warning("Repair Attempt: Character " + repairChar);
				if (checkAcc(activeChar,repairChar))
				{
					if (checkChar(activeChar,repairChar))
					{
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-self.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);
						return false;
					}
					else if (checkJail(activeChar,repairChar))
					{
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-jail.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);	
						return false;
					}
					else
					{
						repairBadCharacter(repairChar);
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-done.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);
						return true;
					}
				}
				String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-error.htm");
				NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
				npcHtmlMessage.setHtml(htmContent);
				activeChar.sendPacket(npcHtmlMessage);
				return false;
		}
		//_log.warning("Repair Attempt: Failed. ");
		return false;
	}
	
	public static String getCharList(Player activeChar)
	{
		String result="";
		String repCharAcc=activeChar.getAccountName();
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT char_name FROM characters WHERE account_name=?");
			statement.setString(1, repCharAcc);
			ResultSet rset = statement.executeQuery();
			while (rset.next())
			{
				if (activeChar.getName().compareTo(rset.getString(1)) != 0)
					result += rset.getString(1)+";";
			}
			//_log.warning("Repair Attempt: Output Result for searching characters on account:"+result);
			rset.close();
			statement.close();
		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		return result;	
	}
	
	public static boolean checkAcc(Player activeChar,String repairChar)
	{
		boolean result=false;
		String repCharAcc="";
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT account_name FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharAcc = rset.getString(1);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		if (activeChar.getAccountName().compareTo(repCharAcc)==0)
			result=true;
		return result;
	}

	private static boolean checkJail(Player activeChar,String repairChar)
	{
		boolean result=false;
		int repCharJail = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT punish_level FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharJail = rset.getInt(1);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		if (repCharJail > 1) // 0 norm, 1 chat ban, 2 jail, 3....
			result=true;
		return result;
	}

	public static boolean checkChar(Player activeChar,String repairChar)
	{
		boolean result=false;
		if (activeChar.getName().compareTo(repairChar)==0)
			result=true;
		return result;
	}

	public static void repairBadCharacter(String charName)
	{
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();

			PreparedStatement statement;
			statement = con.prepareStatement("SELECT obj_Id FROM characters WHERE char_name=?");
			statement.setString(1, charName);
			ResultSet rset = statement.executeQuery();

			int objId = 0;
			if (rset.next())
			{
				objId = rset.getInt(1);
			}
			rset.close();
			statement.close();
			if (objId == 0)
			{
				con.close();
				return;
			}
			statement = con.prepareStatement("UPDATE characters SET x=17867, y=170259, z=-3503 WHERE obj_Id=?");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
			statement = con.prepareStatement("DELETE FROM character_shortcuts WHERE char_obj_id=?");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
			statement = con.prepareStatement("UPDATE items SET loc=\"WAREHOUSE\" WHERE owner_id=? AND loc=\"PAPERDOLL\"");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
		}
		catch (Exception e)
		{
			_log.warning("GameServer: could not repair character:" + e);
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
	}
	public static boolean checkKarma(Player activeChar, String repairChar)
	{
		boolean result = false;
		int repCharKarma = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT karma FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharKarma = rset.getInt(1);
			}
			rset.close();
			statement.close();
		}
		catch (SQLException e)
		{
			e.printStackTrace();
		}
		finally
		{
			
		}
		if (repCharKarma > 0)
			result = true;
		return result;
	}
	public static boolean checkPunish(Player activeChar, String repairChar)
	{
		boolean result = false;
		int accessLevel = 0;
		int repCharJail = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();

			PreparedStatement statement = con.prepareStatement("SELECT accesslevel,punish_level FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				accessLevel = rset.getInt(1);
				repCharJail = rset.getInt(2);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
		}
		finally
		{
			
		}
		if (repCharJail == 1 || accessLevel < 0) // 0 norm, 1 chat ban, 2 jail, 3....
			result = true;
		return result;
	}
	
	@Override
	public String[] getVoicedCommandList()
	{
		return _voicedCommands;
	}

	
}

 

Share this post


Link to post
Share on other sites
18 minutos atrás, Marlon Carvalho disse:

Pessoal, venho aqui reportar um bug no Repair, quando você da .menu e clica no repair char, ele não encontra na tabela por que esta procurando por "charId", eu fiz as mudanças corretas e aqui esta, basta alterar o arquivo Repair.java e substituir por esse abaixo:

 

TESTADO E FUNCIONANDO, ESTA MANDANDO PARA FLORAN VILLAGE

 

Remova tudo e cole este por cima:

/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Logger;

import net.sf.l2j.L2DatabaseFactory;
import net.sf.l2j.gameserver.cache.HtmCache;
import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;



/**
 * <B><U>User Character .repair voicecommand - SL2 L2JEmu</U></B><BR><BR>
 *
 * 
 * <U>NOTICE:</U> Voice command .repair that when used, allows player to
 * try to repair any of characters on his account, by setting spawn
 * to Floran, removing all shortcuts and moving everything equipped to
 * that char warehouse.<BR><BR>
 *
 *
 * (solving client crashes on character entering world)<BR><BR>
 *
 *
 * @author szponiasty
 * @version $Revision: 0.17.2.95.2.9 $ $Date: 2010/03/03 9:07:11 $
 */

public class Repair implements IVoicedCommandHandler
{
	static final Logger _log = Logger.getLogger(Repair.class.getName());
	
	private static final String[]	 _voicedCommands	=
		{ 
		"repair", 
		"startrepair"
		};
	
	@Override
	public boolean useVoicedCommand(String command, Player activeChar, String target)
	{		
		if (activeChar==null)
			return false;
		
		String repairChar=null;
		
		try		
		{
			if(target != null)
				if(target.length() > 1)
				  {
				   String[] cmdParams = target.split(" ");
				   repairChar=cmdParams[0];
				  }
		}
		catch (Exception e)
		{
			repairChar = null;
		}		
				
		// Send activeChar HTML page
		if (command.startsWith("repair"))
		{
			String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair.htm");
			NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
			npcHtmlMessage.setHtml(htmContent);		
			npcHtmlMessage.replace("%acc_chars%", getCharList(activeChar));
			activeChar.sendPacket(npcHtmlMessage);	
			return true;
		}
		// Command for enter repairFunction from html
		if (command.startsWith("startrepair") && (repairChar != null))
		{
			//_log.warning("Repair Attempt: Character " + repairChar);
				if (checkAcc(activeChar,repairChar))
				{
					if (checkChar(activeChar,repairChar))
					{
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-self.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);
						return false;
					}
					else if (checkJail(activeChar,repairChar))
					{
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-jail.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);	
						return false;
					}
					else
					{
						repairBadCharacter(repairChar);
						String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-done.htm");
						NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
						npcHtmlMessage.setHtml(htmContent);
						activeChar.sendPacket(npcHtmlMessage);
						return true;
					}
				}
				String htmContent = HtmCache.getInstance().getHtm("data/html/mods/repair/repair-error.htm");
				NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(5);
				npcHtmlMessage.setHtml(htmContent);
				activeChar.sendPacket(npcHtmlMessage);
				return false;
		}
		//_log.warning("Repair Attempt: Failed. ");
		return false;
	}
	
	public static String getCharList(Player activeChar)
	{
		String result="";
		String repCharAcc=activeChar.getAccountName();
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT char_name FROM characters WHERE account_name=?");
			statement.setString(1, repCharAcc);
			ResultSet rset = statement.executeQuery();
			while (rset.next())
			{
				if (activeChar.getName().compareTo(rset.getString(1)) != 0)
					result += rset.getString(1)+";";
			}
			//_log.warning("Repair Attempt: Output Result for searching characters on account:"+result);
			rset.close();
			statement.close();
		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		return result;	
	}
	
	public static boolean checkAcc(Player activeChar,String repairChar)
	{
		boolean result=false;
		String repCharAcc="";
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT account_name FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharAcc = rset.getString(1);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		if (activeChar.getAccountName().compareTo(repCharAcc)==0)
			result=true;
		return result;
	}

	private static boolean checkJail(Player activeChar,String repairChar)
	{
		boolean result=false;
		int repCharJail = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT punish_level FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharJail = rset.getInt(1);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
			return result;
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
		if (repCharJail > 1) // 0 norm, 1 chat ban, 2 jail, 3....
			result=true;
		return result;
	}

	public static boolean checkChar(Player activeChar,String repairChar)
	{
		boolean result=false;
		if (activeChar.getName().compareTo(repairChar)==0)
			result=true;
		return result;
	}

	public static void repairBadCharacter(String charName)
	{
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();

			PreparedStatement statement;
			statement = con.prepareStatement("SELECT obj_Id FROM characters WHERE char_name=?");
			statement.setString(1, charName);
			ResultSet rset = statement.executeQuery();

			int objId = 0;
			if (rset.next())
			{
				objId = rset.getInt(1);
			}
			rset.close();
			statement.close();
			if (objId == 0)
			{
				con.close();
				return;
			}
			statement = con.prepareStatement("UPDATE characters SET x=17867, y=170259, z=-3503 WHERE obj_Id=?");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
			statement = con.prepareStatement("DELETE FROM character_shortcuts WHERE char_obj_id=?");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
			statement = con.prepareStatement("UPDATE items SET loc=\"WAREHOUSE\" WHERE owner_id=? AND loc=\"PAPERDOLL\"");
			statement.setInt(1, objId);
			statement.execute();
			statement.close();
		}
		catch (Exception e)
		{
			_log.warning("GameServer: could not repair character:" + e);
		}
		finally
		{
			try
			{
				if (con != null)
					con.close();
			}
			catch (SQLException e)
			{
				e.printStackTrace();
			}
		}
	}
	public static boolean checkKarma(Player activeChar, String repairChar)
	{
		boolean result = false;
		int repCharKarma = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();
			PreparedStatement statement = con.prepareStatement("SELECT karma FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				repCharKarma = rset.getInt(1);
			}
			rset.close();
			statement.close();
		}
		catch (SQLException e)
		{
			e.printStackTrace();
		}
		finally
		{
			
		}
		if (repCharKarma > 0)
			result = true;
		return result;
	}
	public static boolean checkPunish(Player activeChar, String repairChar)
	{
		boolean result = false;
		int accessLevel = 0;
		int repCharJail = 0;
		Connection con = null;
		try
		{
			con = L2DatabaseFactory.getInstance().getConnection();

			PreparedStatement statement = con.prepareStatement("SELECT accesslevel,punish_level FROM characters WHERE char_name=?");
			statement.setString(1, repairChar);
			ResultSet rset = statement.executeQuery();
			if (rset.next())
			{
				accessLevel = rset.getInt(1);
				repCharJail = rset.getInt(2);
			}
			rset.close();
			statement.close();

		}
		catch (SQLException e)
		{
			e.printStackTrace();
		}
		finally
		{
			
		}
		if (repCharJail == 1 || accessLevel < 0) // 0 norm, 1 chat ban, 2 jail, 3....
			result = true;
		return result;
	}
	
	@Override
	public String[] getVoicedCommandList()
	{
		return _voicedCommands;
	}

	
}

 

mano me fala o ID do NPCShop 

Share this post


Link to post
Share on other sites
4 minutos atrás, Marlon Carvalho disse:

cara, eu não uso nada que vem no pack, sempre adiciono, checa ai se é 20705

nao é, deu Applicant information is incorrect, o arquivo NPCSHOP envia para outro arquivo 131313.xml q nem existe. nao sei como encontrar

 

4 minutos atrás, Marlon Carvalho disse:

cara, eu não uso nada que vem no pack, sempre adiciono, checa ai se é 20705

mais expecificamente gameserver/data/html/merchant

arquivo npcshop.html:

<html>
<body>

<center>

<br><center><font color="LEVEL">Shop Geral</font></center>

<br><img src="L2.Sparta" width=260 height=1>

<br><center><font color="LEVEL">Bem vindo!</font></center>

<br><button value="ARMAS" action="bypass -h npc_%objectId%_multisell 121212" width=168 height=25 back="sek.cbui36" fore="sek.cbui72">
<br><button value="ARMADURAS" action="bypass -h npc_%objectId%_multisell 121213" width=168 height=25 back="sek.cbui36" fore="sek.cbui72">
<br><button value="CONSUMIVEIS" action="bypass -h npc_%objectId%_multisell 121214" width=168 height=25 back="sek.cbui36" fore="sek.cbui72">
<br><button value="DYES" action="bypass -h npc_%objectId%_multisell 121215" width=168 height=25 back="sek.cbui36" fore="sek.cbui72">

<center>

</body>

</html>

 

Edited by bullraider

Share this post


Link to post
Share on other sites

Galera, adicionem um GM SHOP de fora. tem varios aqui na jbrasil.

Share this post


Link to post
Share on other sites
Agora, Mr.Delício disse:

Galera, adicionem um GM SHOP de fora. tem varios aqui na jbrasil.

A dificuldade do iniciante aqui é que, no banco de dados nao existe a tabela NPC nem NPC Custom e todos os tutoriais que encontrei ensinando a adicionar um GM Shop, usam essas tabelas. Como é diferente essa REV nao sei oque fazer.

Share this post


Link to post
Share on other sites

baixa o gm shop que quiser e manda o id dele aqui, eu te mando a xml pronta. o restante só add normal

Share this post


Link to post
Share on other sites
17 minutos atrás, Mr.Delício disse:

baixa o gm shop que quiser e manda o id dele aqui, eu te mando a xml pronta. o restante só add normal

nao sei se entendi direito mas vc quer o IDTemplate do npc que eu quero por como SHOP? Se for isto pode ser o 22129.

Share this post


Link to post
Share on other sites

pessoal boa noite  estou com problema na de loga no servido  nao passa da tela de long.

vou passa as configuração do longserve e gamer serve

longserve

#=============================================================
#                         Loginserver
#=============================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname
Hostname = 25.128.249.2

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106

# The Loginserver host and port.
LoginHostname = 192.168.1.5
LoginPort = 9014

# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan = 3

 

 

gamerserve

 

# ================================================================
#                          Gameserver setting
# ================================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave *
Hostname = 25.128.249.2

# Bind ip of the gameserver, use * to bind on all available IPs.
GameserverHostname = *
GameserverPort = 7777

# The Loginserver host and port.
LoginHost = 192.168.1.5
LoginPort = 9014

# This is the server id that the gameserver will request.
RequestServerID = 1

# If set to true, the login will give an other id to the server (if the requested id is already reserved).
AcceptAlternateID = True

 

por favor me ajuda estou com 4 horas tentado resolve e nao consigo .

 

estou usado  hamachi .


Carlinhos l2 Fortaleza-Ceara

Share this post


Link to post
Share on other sites

Esquece, peguei o link do fórum, lá tá funcionando perfeitamente! Valeu!

"alguém tem o link de download atualizado? O da primeira página está dando erro... obrigado."

Edited by Gryphon
correção

Share this post


Link to post
Share on other sites

Estou tento alguns erros na texture do itens.

 

Já tentei várias e estou levando critical erro. Até mesmo se eu clicar no item do pet, alguém poderia ajudar??

Share this post


Link to post
Share on other sites

Estou com problema  na textura do npc gm shop se alguen tive manda por favor pois ja procurá no fórum não encontrei!

Weapon  TOP

SET TOP

ACESSORIOS E TATTOS


Carlinhos l2 Fortaleza-Ceara

Share this post


Link to post
Share on other sites
3 minutos atrás, L2carlinhos2020 disse:

Estou com problema  na textura do npc gm shop se alguen tive manda por favor pois ja procurá no fórum não encontrei!

Weapon  TOP

SET TOP

ACESSORIOS E TATTOS

mano vc tem qui add esses custom pow ate pq a pack ta limpa e n posui isso tem la mais n adianta vc so pegar a textura e animation n e melhor vc add por sua vontade a não ser qui vc ache os o mesmo e add armorgrp e intename e weapongrp e skillgrp e skillname

Edited by VirusBlack S2

Share this post


Link to post
Share on other sites

Ok! Tava pensado nisso mesmo  vou adiciona novo um shoop!

 


Carlinhos l2 Fortaleza-Ceara

Share this post


Link to post
Share on other sites

Olá pessoal.

Li todo o tópico porem fiquei confuso.

Os Links do tópico principal já estão atualizados?

Se não, alguém poderia postar os links corretos.

Obrigado!    🎮

Edited by Gabrieljdb

Em breve novidades...

Share this post


Link to post
Share on other sites


Proteção Oficial L2JBrasil







  • Recently Browsing

    No registered users viewing this page.

  • Similar Content

    • By Cardoso
      Alguém poderia me dizer porque os farm da party Farm só vai pro líder da pt, mesmo mudando pra by turn ?
    • By ILMosTriky
      Experience: 500x Cliente Interlude PvP Server Dificuldade farm: Médio Status Noblesse: Quest / Last Hit / Farm Comandos: .menu / .info / .raidinfo Máximo Slots de Buffs: 32+4 (Divine Inspiration free) Tempo dos Buffs: 4 Horas Scheme Buffs: Yes Todos os buffs no NPC: Yes Siege System: 7 in 7 days Only registered clans can join the siege  
       
      Safe: +5 Máximo: +16 Blessed Scroll - Fácil de obter Chance de sucesso: 65% Encante Máximo +12 Caso falhe retorna pro +3 Golden Scroll - Médio de obter Chance de sucesso até +12: 100% Chance de sucesso até +16: 40% (diminuindo 5% em cada enchante) Encante Máximo +16 Caso falhe retorna pro +12  
      • Raid Boss Zone Limite: (27) 3 Partys por Clan/Ally. • Raid Boss Zone Limite: (27) 3 Partys por Clan/Ally. • Grand Boss Zone Limite: (27) 3 Partys por Clan/Ally. • Party Zone Limite: (36) 4 Partys por Clan/Ally. • Você só pode ir para o farm com 1 cliente por (PC). • Número máximo de 2 janelas do cliente em execução (PC). • Proteção contra ataques DDOS. • Proteção contra L2Tower / L2Adrenaline / L2Walker / L2Net.  
      Período: 7 em 7 Dias Tempo de Batalha: 17:00 - 23:00 (GMT -3) Lutas separadas por classe base: Desativado Mínimo de lutas para se tornar HERO: 9 Lutas Mínimo de pontos para se tornar HERO: 4 Pontos Olimpíadas Grade: A/S Grade Max Enchant Status: +6 EVENTOS
      Team vs Team 3 em 3 Horas Tournament 1x1 2x2 5x5 9x9 12:00 / 21:00 (1Hora de Duração)  
       
       
    • By Gabriel_Ch
      Galera, estou com uma Acis, nao é das mais atuais, não sei qual a versão, sei que ela é de 2017/18.
      Não encontrei por nada, a config responsavel por Mudar o local de nacimento do chars.
      tem apenas o "Start Adena = xxx", e na Db tamb não tem a tabela "char_template".
      virifiquei algumas configs no java, e tamb nao encontrei nada.
      Todoas as contas, nascem em Giran, quero alterar para suas respectivas cidades !!!
      alguém tem alguma opinião de como posso resolver isso ???
    • By Gabriel_Ch
      Pessoal, estou com esse problema no Baium.
      após sumonar, logo em seguida os anjos começam a bater nele, então a briga fica só entre eles.
      ja tentei de tudo, com outras contas, add os Arcangel como minions, deletar. e nada !!!!

      Estou usando a Acis (L2j mega Corrigido), ultimos ajustes feito por nosso amigo @Christian-SDM
      Vlw ae, des de já !!!!

    • By UndergrOund cOdes
      Creditos: Vanglorious
       
      Eu compartilho aqui porque na seção Downloads não me dá a opção

      Link: Click here :)


       


       



       
  • Posts

×
×
  • Create New...