Jump to content
  • 0

[Help]java code


vaggos909090

Question

pedia katebasa ena jet bike

kai eixe mesa 2 zip ena core kai ena dp

ta ekana extract kai ta files itan se .diff

download link:http://www.4shared.com/file/257820077/30e26a15/Jet_bike.html gia na dite ta files

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

ton plirwneis?ax0a0xa0

enoeis plhgwneis?an  nai oxi kai toso

to ekana post epeidh i8ela na to balw kai elege diff type

 

dn ine tpt duskolo

mono to anoigis me notepad

8es na rotisis tpt alo/

Link to comment
Share on other sites

  • 0

ok to anoi3a

min to kaneis lock mipos 8elw help sto na to balw java

an parousiastoun problimata 8a to post edw

oso gia auto re ventic http://www.maxcheaters.com/forum/index.php?topic=148153.0

exw problima

otan bazw auto to code m exei problima oti dn mporw na bgalw/balw items

kana help?

Link to comment
Share on other sites

  • 0

ok to anoi3a

min to kaneis lock mipos 8elw help sto na to balw java

an parousiastoun problimata 8a to post edw

oso gia auto re ventic http://www.maxcheaters.com/forum/index.php?topic=148153.0

exw problima

otan bazw auto to code m exei problima oti dn mporw na bgalw/balw items

kana help?

lipon se auto to topic rotas gia to code,dn 8a s apantiso gia to alo s topic

ama 8es perimene na s reply

oti alo 8es gia ton code reply edo

Link to comment
Share on other sites

  • 0

DP:

Index: data/scripts.cfg
===================================================================
--- data/scripts.cfg	(revision 7222)
+++ data/scripts.cfg	(working copy)
@@ -89,6 +89,7 @@
transformations/InquisitorBishop.java
transformations/InquisitorElvenElder.java
transformations/InquisitorShilienElder.java
+transformations/JetBike.java
transformations/Kadomas.java
transformations/Kamael.java
transformations/KamaelGuardCaptain.java
Index: data/html/admin/gm_menu.htm
===================================================================
--- data/html/admin/gm_menu.htm	(revision 7222)
+++ data/html/admin/gm_menu.htm	(working copy)
@@ -56,5 +56,8 @@
<td><button value="Strider" action="bypass -h admin_ride_strider" width=65 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Wyvern" action="bypass -h admin_ride_wyvern" width=65 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button value="Horse" action="bypass -h admin_ride_horse" width=65 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
-</tr></table><br>
-</center></body></html>
\ No newline at end of file
+</tr></table></center>
+<table width=65><tr>
+<td><button value="Bike" action="bypass -h admin_ride_bike" width=65 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
+</tr></table>
+</body></html>
\ No newline at end of file
Index: data/html/admin/transform3.htm
===================================================================
--- data/html/admin/transform3.htm	(revision 7222)
+++ data/html/admin/transform3.htm	(working copy)
@@ -67,6 +67,7 @@
</tr>
<tr>
<td><button value="Guardian Strider" action="bypass -h admin_transform_menu 123 $qbox" width=80 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
+<td><button value="Jet Bike" action="bypass -h admin_transform_menu 20001 $qbox" width=80 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
</table>
</center>
Index: data/scripts/handlers/admincommandhandlers/AdminRide.java
===================================================================
--- data/scripts/handlers/admincommandhandlers/AdminRide.java	(revision 7222)
+++ data/scripts/handlers/admincommandhandlers/AdminRide.java	(working copy)
@@ -28,6 +28,7 @@
	private static final String[] ADMIN_COMMANDS =
	{
		"admin_ride_horse",
+		"admin_ride_bike",
		"admin_ride_wyvern",
		"admin_ride_strider",
		"admin_unride_wyvern",
@@ -40,6 +41,8 @@

	private static final int PURPLE_MANED_HORSE_TRANSFORMATION_ID = 106;

+	private static final int JET_BIKE_TRANSFORMATION_ID = 20001;
+	
	public boolean useAdminCommand(String command, L2PcInstance activeChar)
	{

@@ -71,6 +74,15 @@

				return true;
			}
+			else if (command.startsWith("admin_ride_bike")) // handled using transformation
+			{
+				if (activeChar.isTransformed() || activeChar.isInStance())
+					activeChar.sendPacket(new SystemMessage (SystemMessageId.YOU_CANNOT_MOUNT_A_STEED_WHILE_TRANSFORMED));
+				else
+					TransformationManager.getInstance().transformPlayer(JET_BIKE_TRANSFORMATION_ID, activeChar);
+				
+				return true;
+			}
			else
			{
				activeChar.sendMessage("Command '" + command + "' not recognized");
@@ -85,6 +97,9 @@
		{
			if (activeChar.getTransformationId() == PURPLE_MANED_HORSE_TRANSFORMATION_ID)
				activeChar.untransform();
+
+			if (activeChar.getTransformationId() == JET_BIKE_TRANSFORMATION_ID)
+				activeChar.untransform();
			else
				activeChar.dismount();
		}
Index: data/scripts/transformations/JetBike.java
===================================================================
--- data/scripts/transformations/JetBike.java	(revision 0)
+++ data/scripts/transformations/JetBike.java	(revision 0)
@@ -0,0 +1,53 @@
+package transformations;
+
+import com.l2jserver.gameserver.datatables.SkillTable;
+import com.l2jserver.gameserver.instancemanager.TransformationManager;
+import com.l2jserver.gameserver.model.L2Transformation;
+
+public class JetBike extends L2Transformation
+{
+private static final int[] SKILLS = {5491,839};
+public JetBike()
+{
+ // id, colRadius, colHeight
+ super(20001, 25, 22.5);
+ }
+
+ public void onTransform()
+ {
+ if (getPlayer().getTransformationId() != 20001 || getPlayer().isCursedWeaponEquipped())
+ return;
+
+ transformedSkills();
+ }
+
+ public void transformedSkills()
+ {
+ // Decrease Bow/Crossbow Attack Speed
+ getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false);
+ // Dismount
+ getPlayer().addSkill(SkillTable.getInstance().getInfo(839, 1), false);
+
+ getPlayer().setTransformAllowedSkills(SKILLS);
+ }
+
+ public void onUntransform()
+ {
+ removeSkills();
+ }
+
+ public void removeSkills()
+ {
+ // Decrease Bow/Crossbow Attack Speed
+ getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false);
+ // Dismount
+ getPlayer().removeSkill(SkillTable.getInstance().getInfo(839, 1), false);
+
+ getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
+ }
+
+ public static void main(String[] args)
+ {
+ TransformationManager.getInstance().registerTransformation(new JetBike());
+ }
+}
\ No newline at end of file
Index: data/stats/armor/20900-20999.xml
===================================================================
--- data/stats/armor/20900-20999.xml	(revision 7222)
+++ data/stats/armor/20900-20999.xml	(working copy)
@@ -6,4 +6,10 @@
	<item id="20922" name="Adventurer Hat">
		<for />
	</item>
+	<item id="20938" name="Jet Bike Mounting Bracelet - 7 day Limited Period">
+		<for />
+	</item>
+	<item id="20939" name="Jet Bike Mounting Bracelet - 30 day Limited Period">
+		<for />
+	</item>
</list>
\ No newline at end of file
Index: data/stats/skills/21100-21199.xml
===================================================================
--- data/stats/skills/21100-21199.xml	(revision 7222)
+++ data/stats/skills/21100-21199.xml	(working copy)
@@ -488,4 +488,17 @@
		<set name="skillType" val="NOTDONE" />
		<set name="operateType" val="OP_PASSIVE" />
	</skill>
+	<skill id="21171" levels="1" name="Riding Jet Bike">
+		<set name="operateType" val="OP_ACTIVE" />
+		<set name="skillType" val="BUFF" />
+		<set name="transformId" val="20001" />
+		<cond msgId="1509">
+			<player olympiad="false" />
+		</cond>
+		<for>
+			<effect name="Transformation" time="1800" val="0">
+				<mul order="0x30" stat="runSpd" val="1.5" />
+			</effect>
+		</for>
+	</skill>
</list>
\ No newline at end of file
Index: sql/admin_command_access_rights.sql
===================================================================
--- sql/admin_command_access_rights.sql	(revision 7222)
+++ sql/admin_command_access_rights.sql	(working copy)
@@ -433,6 +433,7 @@
('admin_res_monster','1'),

-- RIDE
+('admin_ride_bike','1'),
('admin_ride_horse','1'),
('admin_ride_wyvern','1'),
('admin_ride_strider','1'),
Index: sql/armor.sql
===================================================================
--- sql/armor.sql	(revision 7222)
+++ sql/armor.sql	(working copy)
@@ -2965,6 +2965,8 @@
(20897,'Purple Paper Mask','Blessed Soul - 7 day limited period','face','false','none',10,'wood','none',0,-1,10080,0,0,0,0,0,'false','false','true','false','false','0-0','0-0;'),
(20900,'Santa Hat','14 day limited period','hairall','false','none',10,'wood','none',0,-1,20160,0,0,0,0,0,'false','false','true','false','false','0-0','0-0;'),
(20922,'Adventurer Hat','','hairall','false','none',10,'wood','none',0,-1,-1,0,0,0,0,0,'false','false','true','false','false','0-0','0-0;'),
+(20938,'Jet Bike Mounting Bracelet','7-day Limited Period','lbracelet','false','none',30,'wood','none',0,-1,10080,0,0,0,0,0,'false','false','true','false','true','0-0','21171-1;'),
+(20939,'Jet Bike Mounting Bracelet','30 day limited period','lbracelet','false','none',30,'wood','none',0,-1,43200,0,0,0,0,0,'false','false','true','false','true','0-0','21171-1;'),
(22154,'Shadow Weapon - Wolf Hat','Blessed Escape','hairall','false','none',10,'wood','none',0,1440,-1,0,0,0,0,0,'true','true','true','true','true','0-0','0-0;'),
(22155,'Shadow Weapon - Wolf Hat','Blessed Resurrection','hairall','false','none',10,'wood','none',0,1440,-1,0,0,0,0,0,'true','true','true','true','true','0-0','0-0;'),
(22156,'Daisy Hairpin','','hair','false','none',10,'wood','none',0,-1,-1,0,0,0,0,0,'false','false','true','false','true','0-0','0-0;'),
Index: sql/npc.sql
===================================================================
--- sql/npc.sql	(revision 7222)
+++ sql/npc.sql	(working copy)
@@ -77,6 +77,7 @@
(29,29,'Flame Box',0,'Flame Box',0,'LineageNPC2.br_fire_box',11.00,12.50,70,'male','L2Npc',40,3862,1494,0.00,0.00,40,43,30,21,20,20,0,0,1303,471,607,382,253,0,333,0,0,0,0,60,120,0,0,'LAST_HIT','false'),
(30,30,'Santa',0,'Merry Christmas',0,'LineageNPC2.br_xmas08_santa',9.00,16.00,70,'male','L2Npc',40,3862,1494,0.00,0.00,40,43,30,21,20,20,0,0,1303,471,607,382,253,0,333,0,0,0,0,60,120,0,0,'LAST_HIT','false'),
(31,31,'',0,'',0,'LineageNPC.clear_npc',0.10,0.10,70,'male','L2Npc',40,3862,1494,0.00,0.00,40,43,30,21,20,20,0,0,1303,471,607,382,253,0,333,0,0,0,0,60,120,0,0,'LAST_HIT','false'),
+(32,32,'Jet Bike',0,'',0,'LineageNPC2.br_z_bike',25,22,70,'male','L2Npc',40,2444,2444,0,0,10,10,10,10,10,10,0,0,500,500,500,500,278,0,333,0,0,0,0,60,120,0,0,'LAST_HIT','false'),
(1501,1501,'Majo Agathion',0,'',0,'LineageNPC2.br_agathion_mazu',0.01,5.50,55,'male','L2Npc',40,2643,988,0.00,0.00,40,43,30,21,20,25,0,0,665,322,311,262,253,0,333,0,0,0,0,24,125,0,0,'LAST_HIT','false'),
(1502,1502,'Gold Agathion',0,'',0,'LineageNPC2.br_agathion_mazu',0.01,5.50,55,'male','L2Npc',40,2643,988,0.00,0.00,40,43,30,21,20,25,0,0,665,322,311,262,253,0,333,0,0,0,0,24,125,0,0,'LAST_HIT','false'),
(1503,1503,'Black Agathion',0,'',0,'LineageNPC2.br_agathion_mazu',0.01,5.50,55,'male','L2Npc',40,2643,988,0.00,0.00,40,43,30,21,20,25,0,0,665,322,311,262,253,0,333,0,0,0,0,24,125,0,0,'LAST_HIT','false'),

Core:

Index: java/com/l2jserver/gameserver/network/serverpackets/Ride.java
===================================================================
--- java/com/l2jserver/gameserver/network/serverpackets/Ride.java	(revision 4046)
+++ java/com/l2jserver/gameserver/network/serverpackets/Ride.java	(working copy)
@@ -59,6 +59,7 @@
			case 16042: // White Fenrir Wolf
				_rideType = 3;
				break;
+			case 32:    //Jet Bike
			case 13130: // Light Purple Maned Horse
			case 13146: // Tawny-Maned Lion
			case 13147: // Steam Sledge

 

Ginetai na mou to kanete gia interlude?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • I can use this folder system for High Five offline server?   The folder does not have a l2.exe file.   Thank you very much if anyone can help me.   https://drive.google.com/file/d/13kU-g_4JJ-sP-kg2F7pqkUOVKmQdubFm/view
    • I know, but...every time I have problem with IP address setup 😞
    • ENGLISH As you know, we have always profiled in the development of Java emulators, we continue to do our favorite thing, and now we have the opportunity to provide you with services in the field of private development of L2 assemblies Essence, Classic and High Five, which we have been doing in recent years, we have not been working on basic builds for a long time and work only on contracts for the world's best projects. These are the best builds we can offer, we have test servers and we can show them to you on the test, and if you are very good at gameplay, you will see a big difference in the quality and detail of the official content compared to the basic builds. These are the best top solutions in the world, which are currently used to implement the largest projects in the world. We guarantee 100% implementation of all official content. If you have any questions about testing, discussions, etc., please contact our studio and we will discuss everything. At the moment, you can get acquainted with the preliminary information and prices for Private L2 contracts here: Private Server packs L2 Essence 464, 447, 388, 362, 286 protocols Private server packs L2Classic Private server pack High Five РУССКИЙ --------------------------------------------- Как вы знаете мы всегда профилировались на разработке в сфере Java эмуляторов, мы продолжаем заниматься своим любимым делом, и сейчас у нас появилась возможность предоставлять вам услуги в сфере приватных разработок L2 сборок Essence, Classic и High Five, которыми мы занимаемся последние годы, мы уже давно не работаем над базовыми сборками и работаем только на контрактах для лучших мировых проектов. Это лучшие сборки, которые мы можем предложить, у нас есть тестовые сервера, и мы можем показать их вам на тесте, и если вы очень хорошо разбираетесь в игровом процессе, вы увидите большую разницу в качестве и детализации официального контента по сравнению с базовыми сборками. Это лучшие топовые решения в мире, которые на данный момент используются для реализации крупнейших проектов в мире. Мы даем гарантии - 100% реализации всего официального контента. По вопросам тестирования, обсуждений и тд - пишите по контактам нашей студии и мы все обсудим. На данный момент вы можете ознакомиться с предварительной информацией и ценами на Приватные контракты L2 тут: Приватные Сборки L2 Essence 464, 447, 388, 362, 286 protocols Приватные Сборки L2Classic Приватная Сборка High Five -------------------------------------------------------------- Contacts: Telegram: https://t.me/L2scripts Whatsapp, Viber: +1 (916) 226 1910 С уважением, Администрация !
    • I can sell it. If you are interested just pm.
  • Topics

×
×
  • Create New...