Jump to content

Recommended Posts

Posted

loipon,egw 8elw ta kanw ta soulshots kai ta blessed spiritshots na einai automata. Diladi molis mpainei mesa sto game o player na tou ta vazei xwris kan na ta exei epanw tou i akoma kai otan allazei weapon. Kai 8elw sxetika me ta bows na mporoun na ta xrisimopioun oi players xwris arrows.

για τα soulshot νομίζω αυτό θα δουλέψει.

 

πήγαινε στο enterworld.java και βάλε αυτές τις γραμμές :

 

	activeChar.addAutoSoulShot(itemId);
	activeChar.addAutoSoulShot(itemId);

 

εκεί που λέει itemId βάλε το id από τα soulshot που θέλεις. τα arrows θα τα κοιτάξω αύριο!

Posted

για τα soulshot νομίζω αυτό θα δουλέψει.

 

πήγαινε στο enterworld.java και βάλε αυτές τις γραμμές :

 

	activeChar.addAutoSoulShot(itemId);
	activeChar.addAutoSoulShot(itemId);

 

εκεί που λέει itemId βάλε το id από τα soulshot που θέλεις. τα arrows θα τα κοιτάξω αύριο!

 

Ok euxaristw polu alla p akrivos na ta pros8esw? eimai new kai dn gnwrizw polla... :P

Posted

Ok euxaristw polu alla p akrivos na ta pros8esw? eimai new kai dn gnwrizw polla... :P

πήγαινε clientpackets/enterworld.java

 

και βρες την γραμμή :

 

activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

 

από κάτω και δοκίμασε να δεις αν δουλεύει.

Posted

πήγαινε clientpackets/enterworld.java

 

και βρες την γραμμή :

 

activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

 

από κάτω και δοκίμασε να δεις αν δουλεύει.

 

ok. Euxaristw kai pali. 8a to dokimasw aurio gt auti tin stigmi dn mporw kai 8a c pw ean douleuei :D

Posted

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: config/aCis.properties
===================================================================
--- config/aCis.properties	(revision 19)
+++ config/aCis.properties	(working copy)
@@ -208,4 +208,24 @@

+# Every member who reach 40 level and automatically gets dismissed from clan
+# takes an a-beep-t of adena for reward.
+AllowAcademyLeaveReward = True

Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 19)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -188,6 +188,18 @@

+	public static boolean ALLOW_ACADEMY_LEAVE_REWARD;
+	
	// --------------------------------------------------
	// Clans settings
	// --------------------------------------------------
@@ -1034,6 +1046,18 @@

+				ALLOW_ACADEMY_LEAVE_REWARD = Boolean.parseBoolean(aCis.getProperty("AllowAcademyLeaveReward", "True"));
			}
			catch (Exception e)
			{
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 19)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -1945,6 +1945,12 @@

				// receive graduation gift
				getInventory().addItem("Gift", 8181, 1, this, null); // give academy circlet
+			
+				if (Config.ALLOW_ACADEMY_LEAVE_REWARD)
+				{
+					getInventory().addItem("Adena", 57, 100000, this, null); // give adena
+					sendMessage("You got few adena for this journey, enjoy.");
+				}				
			}

			if (isSubClassActive())

 

αυτό είναι για το academy adena, το άλλο feature αύριο.

thanks boy

 

Tested and works perfect.

 

But i only earn the adena in my inventory ke to message katw sto chat ine san tou accademy pu sou leei euxaristoume ke vgikes k.l.p. (if it is possible) na to kaneis px me yellow letter (opws ta drop pou sikwneis) You have earned 1.000.000 from accademy complete. katalaves?

Posted

πήγαινε clientpackets/enterworld.java

 

και βρες την γραμμή :

 

activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

 

από κάτω και δοκίμασε να δεις αν δουλεύει.

 

Mia erwtisi. Mporw na to kanw copy paste oses fores 8elw gia na mporesw na valw ola ta grade apo ss kai bss?

Guest Elfocrash
Posted

Hi guys :)

Paidia thelw ean vevaia mporeite na sygkentrwsw ola ta voiced command se 1 html mporeite na ftiaksete kati tetoio gia frozen?

dld ti enow patas px .panel kai ekei na exei .online .pvp .pm ola ta command . eseis vazete 1 i 2 ta alla ta pernaw egw.

kai mprabo gia tin douleia pou kanete.

Ena html sto data/html/mods me name commands.htm me periexomeno to eksis:

<html><title>Voiced Commands</title>
<body>
<center>
<font color="LEVEL">Choose The Command</font>
<table>
<tr><td align=center><button action="bypass voiced_survey" value=".survey" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>
<tr><td align=center><button action="bypass voiced_menu" value=".menu" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>
</table>
<br><br>
</body>
</center></html>

 

kai ena core patchaki:

### Eclipse Workspace Patch 1.0
#P l2jesios_gameserver
Index: java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java
===================================================================
--- java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java	(revision 164)
+++ java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java	(working copy)
@@ -73,6 +73,8 @@

		registerVoicedCommandHandler(new VoiceInfo());

+		registerVoicedCommandHandler(new VoicedCommands());
+		
		registerVoicedCommandHandler(new StriderRaceCMD());

		registerVoicedCommandHandler(new Antibot());
Index: java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java
===================================================================
--- java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java	(revision 0)
+++ java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java	(working copy)
@@ -0,0 +1,54 @@
+/*
+ * 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 com.l2jesios.gameserver.handler.voicedcommandhandlers;
+
+import com.l2jesios.gameserver.handler.IVoicedCommandHandler;
+import com.l2jesios.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jesios.gameserver.network.serverpackets.NpcHtmlMessage;
+
+public class VoicedCommands implements IVoicedCommandHandler
+{
+	private static final String[] _voicedCommands =
+	{
+		"info"
+
+	};
+
+	@Override
+	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+	{
+		if (command.startsWith(_voicedCommands[0]))
+		{
+			sendHtml(activeChar);
+		}         
+
+		return true;
+	}
+	
+	private static void sendHtml(L2PcInstance activeChar)
+	{
+		String htmFile = "data/html/mods/commands.htm";
+		         
+		NpcHtmlMessage msg = new NpcHtmlMessage(5);
+		msg.setFile(htmFile);
+		activeChar.sendPacket(msg);
+	}
+
+	@Override
+	public String[] getVoicedCommandList()
+	{
+		return _voicedCommands;
+	}
+}
\ No newline at end of file

 

Den einai testarismeno alla fenetai ok. Den tha doulepsei se frozen. Thes to voiced command bypass system tou esios.

Guest Elfocrash
Posted

Kai 8elw sxetika me ta bows na mporoun na ta xrisimopioun oi players xwris arrows.

Ekseretika diskolo code:

### Eclipse Workspace Patch 1.0
#P l2jesios_gameserver
Index: java/com/l2jesios/gameserver/model/actor/L2Character.java
===================================================================
--- java/com/l2jesios/gameserver/model/actor/L2Character.java	(revision 164)
+++ java/com/l2jesios/gameserver/model/actor/L2Character.java	(working copy)
@@ -671,7 +671,7 @@
			if (this instanceof L2PcInstance)
			{
				// Equip arrows needed in left hand and send a Server->Client packet ItemList to the L2PcINstance then return True
-				if (!checkAndEquipArrows())
+				/*if (!checkAndEquipArrows())
				{
					// Cancel the action because the L2PcInstance have no arrow
					getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
@@ -679,7 +679,7 @@
					sendPacket(ActionFailed.STATIC_PACKET);
					sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NOT_ENOUGH_ARROWS));
					return;
-				}
+				}*/

				// Verify if the bow can be use
				if (_disableBowAttackEndTime <= GameTimeController.getGameTicks())

 

Not tested alla dixnei ok.

Guest Elfocrash
Posted

thanks boy

 

Tested and works perfect.

 

But i only earn the adena in my inventory ke to message katw sto chat ine san tou accademy pu sou leei euxaristoume ke vgikes k.l.p. (if it is possible) na to kaneis px me yellow letter (opws ta drop pou sikwneis) You have earned 1.000.000 from accademy complete. katalaves?

### Eclipse Workspace Patch 1.0
#P l2jesios_gameserver
Index: java/com/l2jesios/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jesios/gameserver/model/actor/instance/L2PcInstance.java	(revision 164)
+++ java/com/l2jesios/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -2389,6 +2389,9 @@

				// receive graduation gift
				getInventory().addItem("Gift", 8181, 1, this, null); // give academy circlet
+				
+				addAdena("Elfo is ill", 1000000, this, true);
+				
			}

			if (isSubClassActive())

Tha doulepsei pewpew

Guest Elfocrash
Posted

αγαπητέ Elfocrash, αφού κάνεις εσύ τα request μπορείς να κλειδώσεις το topic.

Den epitrepete na voh8ame? To topic einai gia genikh voh8eia twn users, oxi gia na mathete eseus l2j deving. Upotuthete oti gia na to anoigete kserete. Kai mhn mou peis oti kapoio apo auta ta request htan diskolo. Alla den mporeis na to anoigeis kai na afhneis autous pou sou kanoun request ksekremastous.

 

An exw kapou adiko diorthwse me.

Posted

Den epitrepete na voh8ame? To topic einai gia genikh voh8eia twn users, oxi gia na mathete eseus l2j deving. Upotuthete oti gia na to anoigete kserete. Kai mhn mou peis oti kapoio apo auta ta request htan diskolo. Alla den mporeis na to anoigeis kai na afhneis autous pou sou kanoun request ksekremastous.

 

An exw kapou adiko diorthwse me.

δεν αντιλέγω, αλλά όπως είπα τα πιο πολλά request θα αργήσουν γιατί είμαι απασχολημένος.

 

anyway, το topic ας μείνει ως έχει για να βοηθάμε όλοι μαζί όσο μπορούμε.

Posted

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: config/aCis.properties
===================================================================
--- config/aCis.properties	(revision 19)
+++ config/aCis.properties	(working copy)
@@ -208,4 +208,24 @@

+# Every member who reach 40 level and automatically gets dismissed from clan
+# takes an a-beep-t of adena for reward.
+AllowAcademyLeaveReward = True

Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 19)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -188,6 +188,18 @@

+	public static boolean ALLOW_ACADEMY_LEAVE_REWARD;
+	
	// --------------------------------------------------
	// Clans settings
	// --------------------------------------------------
@@ -1034,6 +1046,18 @@

+				ALLOW_ACADEMY_LEAVE_REWARD = Boolean.parseBoolean(aCis.getProperty("AllowAcademyLeaveReward", "True"));
			}
			catch (Exception e)
			{
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 19)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -1945,6 +1945,12 @@

				// receive graduation gift
				getInventory().addItem("Gift", 8181, 1, this, null); // give academy circlet
+			
+				if (Config.ALLOW_ACADEMY_LEAVE_REWARD)
+				{
+					getInventory().addItem("Adena", 57, 100000, this, null); // give adena
+					sendMessage("You got few adena for this journey, enjoy.");
+				}				
			}

			if (isSubClassActive())

 

αυτό είναι για το academy adena, το άλλο feature αύριο.

But i only earn the adena in my inventory ke to message katw sto chat ine san tou accademy pu sou leei euxaristoume ke vgikes k.l.p. (if it is possible) na to kaneis px me yellow letter (opws ta drop pou sikwneis) You have earned 1.000.000 from accademy complete. katalaves?

 

(To lew an den variese epeidh den fenete... ke me html tha itan omorfo.

Guest Elfocrash
Posted

But i only earn the adena in my inventory ke to message katw sto chat ine san tou accademy pu sou leei euxaristoume ke vgikes k.l.p. (if it is possible) na to kaneis px me yellow letter (opws ta drop pou sikwneis) You have earned 1.000.000 from accademy complete. katalaves?

 

(To lew an den variese epeidh den fenete... ke me html tha itan omorfo.

Des to reply mou sto reply sou pio panw

Posted

Ena html sto data/html/mods me name commands.htm me periexomeno to eksis:

<html><title>Voiced Commands</title>
<body>
<center>
<font color="LEVEL">Choose The Command</font>
<table>
<tr><td align=center><button action="bypass voiced_survey" value=".survey" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>
<tr><td align=center><button action="bypass voiced_menu" value=".menu" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>
</table>
<br><br>
</body>
</center></html>

 

kai ena core patchaki:

### Eclipse Workspace Patch 1.0
#P l2jesios_gameserver
Index: java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java
===================================================================
--- java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java	(revision 164)
+++ java/com/l2jesios/gameserver/handler/VoicedCommandHandler.java	(working copy)
@@ -73,6 +73,8 @@

		registerVoicedCommandHandler(new VoiceInfo());

+		registerVoicedCommandHandler(new VoicedCommands());
+		
		registerVoicedCommandHandler(new StriderRaceCMD());

		registerVoicedCommandHandler(new Antibot());
Index: java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java
===================================================================
--- java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java	(revision 0)
+++ java/com/l2jesios/gameserver/handler/voicedcommandhandlers/VoicedCommands.java	(working copy)
@@ -0,0 +1,54 @@
+/*
+ * 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 com.l2jesios.gameserver.handler.voicedcommandhandlers;
+
+import com.l2jesios.gameserver.handler.IVoicedCommandHandler;
+import com.l2jesios.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jesios.gameserver.network.serverpackets.NpcHtmlMessage;
+
+public class VoicedCommands implements IVoicedCommandHandler
+{
+	private static final String[] _voicedCommands =
+	{
+		"info"
+
+	};
+
+	@Override
+	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+	{
+		if (command.startsWith(_voicedCommands[0]))
+		{
+			sendHtml(activeChar);
+		}         
+
+		return true;
+	}
+	
+	private static void sendHtml(L2PcInstance activeChar)
+	{
+		String htmFile = "data/html/mods/commands.htm";
+		         
+		NpcHtmlMessage msg = new NpcHtmlMessage(5);
+		msg.setFile(htmFile);
+		activeChar.sendPacket(msg);
+	}
+
+	@Override
+	public String[] getVoicedCommandList()
+	{
+		return _voicedCommands;
+	}
+}
\ No newline at end of file

 

Den einai testarismeno alla fenetai ok. Den tha doulepsei se frozen. Thes to voiced command bypass system tou esios.

den ipirxe logos na to kaneis olo auto mono kai mono epeidi to atomo to exei pei 3eka8ara sto request tou

Hi guys :)

Paidia thelw ean vevaia mporeite na sygkentrwsw ola ta voiced command se 1 html mporeite na ftiaksete kati tetoio gia frozen?

kai efwson tou eipe o dεbian oti 8a to exei etoimo se liges meres den ipirxe kan logos...

Guest
This topic is now closed to further replies.



  • Posts

    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
    • guys it is probably a misunderstanding if it was windows he would have solve it since its not windows and from the paraphrasing of the developer who eventually fixed the server   the problem was from guessing the login server was not properly opening or already crashed, so the gameserver probably loaded because he was generating logs, and then stopped, my guess is still there was no login to connect and made exits, still this is a guess because i have only saw some logs and images   in one side nobody would destroy a server for this amount of money in the other side he had no experience with the operating system, and i find this logical, i am also still giving some tutorials in the topic owner so he can learn how to compile and not need the help of others, i still believe this can be solved for both parties if they behave   in the end nobody wants to cause bad to another so as i say in my starting point, it is probably a misunderstanding
    • Why you saying that when you have nothing to hide?
    • Keep posting prive messages like 15 years old kid and not answering actually like a grown up man. and yes ill try sue you for this. A chance to get money is always a chance if possible.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock