Jump to content

Recommended Posts

Posted

	// Shortcuts
	newChar.registerShortCut(new L2ShortCut(0, 0, 3, 2, -1, 1)); // Attack
	newChar.registerShortCut(new L2ShortCut(3, 0, 3, 5, -1, 1)); // Take
	newChar.registerShortCut(new L2ShortCut(10, 0, 3, 0, -1, 1)); // Sit

	ItemTable itemTable = ItemTable.getInstance();
	L2Item[] items = template.getItems();

	for (L2Item item2 : items)
	{
		L2ItemInstance item = newChar.getInventory().addItem("Init", item2.getItemId(), 1, newChar, null);

		if (item.getItemId() == 5588)
			newChar.registerShortCut(new L2ShortCut(11, 0, 1, item.getObjectId(), -1, 1)); // Tutorial Book shortcut

		if (item.isEquipable())
			if(newChar.getActiveWeaponItem() == null || !(item.getItem().getType2() != L2Item.TYPE2_WEAPON))
				newChar.getInventory().equipItemAndRecord(item);
	}

	L2SkillLearn[] startSkills = SkillTreeTable.getInstance().getAvailableSkills(newChar, newChar.getClassId());

	for(L2SkillLearn startSkill : startSkills)
	{
		newChar.addSkill(SkillTable.getInstance().getInfo(startSkill.getId(), startSkill.getLevel()), true);

		if(startSkill.getId() == 1001 || startSkill.getId() == 1177)
			newChar.registerShortCut(new L2ShortCut(1, 0, 2, startSkill.getId(), 1, 1));

		if(startSkill.getId() == 1216)
			newChar.registerShortCut(new L2ShortCut(10, 0, 2, startSkill.getId(), 1, 1));

		if(Config.DEBUG)
			_log.fine("DEBUG "+getType()+": Adding starter skill:" + startSkill.getId() + " / " + startSkill.getLevel());
	}

pos ginete na balo ena skill(id:7400) akoma se kathe new char p tha ginete create stin bar 3 k ston arithmo 12?

to skill ine custom k tha to exi kathe new char (anti buff protect)

Den einai anagh na to kaneis mono me java (eidika an dn 3ereis kai kala tn glwssa programatismou..)

Phgene epifaneia ergasias kane ena Neo egrafo keimenou..

kane copy paste auto

INSERT INTO `skill_trees` VALUES ('53', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('49', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('44', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('38', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('31', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('25', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('18', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('0', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('10', '7400', '1', 'Anti Buff Shield', '0', '1');

Meta pata Arxeio - Apo8hkeush Os kai sto onoma arxeiou grapse [skill_trees.sql] Kanto apo8hkeush kai perna to sto navicat

Posted

Den einai anagh na to kaneis mono me java (eidika an dn 3ereis kai kala tn glwssa programatismou..)

Phgene epifaneia ergasias kane ena Neo egrafo keimenou..

kane copy paste auto

INSERT INTO `skill_trees` VALUES ('53', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('49', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('44', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('38', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('31', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('25', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('18', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('0', '7400', '1', 'Anti Buff Shield', '0', '1');
INSERT INTO `skill_trees` VALUES ('10', '7400', '1', 'Anti Buff Shield', '0', '1');

Meta pata Arxeio - Apo8hkeush Os kai sto onoma arxeiou grapse [skill_trees.sql] Kanto apo8hkeush kai perna to sto navicat

afto to exo kano ego thelo na to balo afto to skill meta epano stin bara(shortcut) tou char

Posted

 

 

if(startSkill.getId() == 1001 || startSkill.getId() == 1177)

newChar.registerShortCut(new L2ShortCut(1, 0, 2, startSkill.getId(), 1, 1));

 

              +      if(startSkill.getId() == 7400) <- To ID Edw..

+ newChar.registerShortCut(new L2ShortCut(10 <- Kai edw dialegeis pou akribos na einai to skill stin mpara An exei 1 = f1 , an exei 2 = f2...., 0, 2, startSkill.getId(), 1, 1));

 

if(startSkill.getId() == 1216)

newChar.registerShortCut(new L2ShortCut(10, 0, 2, startSkill.getId(), 1, 1));


Kai Ghnete kapos etc


         if(startSkill.getId() == 1001 || startSkill.getId() == 1177)
            newChar.registerShortCut(new L2ShortCut(1, 0, 2, startSkill.getId(), 1, 1));

   +   if(startSkill.getId() == 7400) 
         +   newChar.registerShortCut(new L2ShortCut(2, 0, 2, startSkill.getId(), 1, 1));

         if(startSkill.getId() == 1216)
            newChar.registerShortCut(new L2ShortCut(10, 0, 2, startSkill.getId(), 1, 1));

Posted
[Nightwish" post=2174884" timestamp="1337942852]

Agorines. Mporei Kanenas Na Help? Kati Me to Version Einai Alla Den Poly katalaba :/ Proti fora to blepw auto to error.

skata.jpg

 

Λογικά θα εκανες διαγραφη τα αρχεια που ειναι μεσα στο φάκελο 'version' στα config...

Posted

geia se ola ta member tou MaxCheaters eimai new edw k einai to prwto mou post giauto an kanw kati la8os di3te katanoisi...eidai to topic k 8elw na kanw mia erwthsh...loipon douleuw panw sto frojen k otan kanw spawn thn class manager k meta kanw rr ton server exafanizete...sta config exw valei true to save gm spawn k exw perasei k ta custom spawn sth db...ti mporei na ftaiei??

Posted

geia se ola ta member tou MaxCheaters eimai new edw k einai to prwto mou post giauto an kanw kati la8os di3te katanoisi...eidai to topic k 8elw na kanw mia erwthsh...loipon douleuw panw sto frojen k otan kanw spawn thn class manager k meta kanw rr ton server exafanizete...sta config exw valei true to save gm spawn k exw perasei k ta custom spawn sth db...ti mporei na ftaiei??

Shgedrosu...

L2JFrozen\gameserver\config\head\altsettings.properties

# -----------------------

#  Class Master -

# -----------------------

# Allow Change Class with ClassMaster

AllowClassMasters = True

# Allow Upgrade Strider with ClassMaster

AllowClassMastersStriderUpdate = False

Posted

Δείξε μας ενα πριντ σκριν απο το ερρορ σου μιπως και καταλάβουμε κάτι παραπάνω... μόνο αυτό δεν μας λέει κάτι.. (γιατι παρπανω λογικα εχει βγαλει καποιο ερρορ ;) )

Guest
This topic is now closed to further replies.



  • Posts

    • That's exactly how it’s designed — everything important is handled on the API server side, for example, processing requests to the game server. Each website has its own token/key for authentication; without it, there will be no interaction with the game server. Some data can be stored both on my side and on the server side to avoid making frequent requests to the server, which is logical.   Yes, there’s a lot of old, unused code that just needs to be cleaned up. It was used before, but after major rewrites it was left lying around. It doesn’t interfere with anything — it’s just there and doesn’t affect the system's operation.   Beaver meme kurwa is my favorite. Unfortunately, you don't know Russian — otherwise, you would’ve spotted even more Easter eggs. 😂
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • i saw somewhere that: $var = (int) $_POST['some_id'] ?? string::error_class('text'); it was when i gave up and deleted the sources let him, he does not even understand what cross site or mitm means   still waiting for any client of yours so i can play with them     DUDE IM GONNA CALL YOU BoberKurwa FROM NOW ON!! rename your account aswell! BoberKurwa!   Note: what happend to your chatgpt answers boberkurwa did your subscription of $12.5/$20 ended?   it is PSR12 standard
    • if i was you i would check first argentinian developer team to learn and contribute then start my own project privatly and then practice in free coding for my self, then you would be ready to learn standards and code out of nothing, and if you fail means you are in good path, if you win you are in for higher level, whatever you do be persistent and focused, thats what i did when i had time.
  • Topics

×
×
  • Create New...