
delamis
Members-
Posts
102 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by delamis
-
Welcome to L2 Primer :) You have to edit java files.
-
Hi, I just want to learn. How can i make 2 different server in one db? For example; Sw 1 : 150x no customs, different drop rates, etc etc Sw 2: 150000x 5 custom sets, etc etc. Thnx. Edit: I'm using L2jFrozen (interlude) atm. but it is changin with projects? i think there is only one way to doin it, thats why i didnt wrote project :)
-
LF Enchant Configs For Acis.
delamis replied to DrenepiaWorld's question in Request Server Development Help [L2J]
Why you giving it with pm? Maybe someone looking for it too? Cant you just share in topic? .. -
But raid info manager see's only that spawn.. When i spawn new valakas and kill it, raid info manager still showing "live" . So what can i do for fixin this?
-
What you mean? And how can i fix the problem?
-
/** * Queen Ant, Core, Orfen, Zaken: MemberCount > 36<br> * Baium: MemberCount > 56<br> * Antharas: MemberCount > 225<br> * Valakas: MemberCount > 99<br> * normal RaidBoss: MemberCount > 18 * * @param obj * @return true if proper condition for RaidWar */ public boolean meetRaidWarCondition(L2Object obj) { if(!(obj instanceof L2RaidBossInstance) || !(obj instanceof L2GrandBossInstance)) return false; int npcId = ((L2Attackable) obj).getNpcId(); switch(npcId) { case 29001: // Queen Ant case 29006: // Core case 29014: // Orfen case 29022: // Zaken return getMemberCount() > 36; case 29020: // Baium return getMemberCount() > 56; case 29019: // Antharas return getMemberCount() > 225; case 29028: // Valakas return getMemberCount() > 99; default: // normal Raidboss return getMemberCount() > 18; } } } and is this about it ?
-
-105200, -253104, -15264 its not there :okey:
-
public class Valakas_l2j extends Quest implements Runnable { private int i_ai0 = 0; private int i_ai1 = 0; private int i_ai2 = 0; private int i_ai3 = 0; private int i_ai4 = 0; private int i_quest0 = 0; private long lastAttackTime = 0; // time to tracking valakas when was last time attacked private int i_quest2 = 0; // hate value for 1st player private int i_quest3 = 0; // hate value for 2nd player private int i_quest4 = 0; // hate value for 3rd player private L2Character c_quest2 = null; // 1st most hated target private L2Character c_quest3 = null; // 2nd most hated target private L2Character c_quest4 = null; // 3rd most hated target private static final int VALAKAS = 29028; //Valakas Status Tracking : private static final byte DORMANT = 0; //Valakas is spawned and no one has entered yet. Entry is unlocked private static final byte WAITING = 1; //Valakas is spawend and someone has entered, triggering a 30 minute window for additional people to enter //before he unleashes his attack. Entry is unlocked private static final byte FIGHTING = 2; //Valakas is engaged in battle, annihilating his foes. Entry is locked private static final byte DEAD = 3; //Valakas has been killed. Entry is locked private static L2BossZone _Zone; // Boss: Valakas public Valakas_l2j(int id, String name, String descr) { super(id, name, descr); int[] mob = { VALAKAS }; this.registerMobs(mob); i_ai0 = 0; i_ai1 = 0; i_ai2 = 0; i_ai3 = 0; i_ai4 = 0; i_quest0 = 0; lastAttackTime = System.currentTimeMillis(); _Zone = GrandBossManager.getInstance().getZone(212852, -114842, -1632); StatsSet info = GrandBossManager.getInstance().getStatsSet(VALAKAS); Integer status = GrandBossManager.getInstance().getBossStatus(VALAKAS); if (status == DEAD) { // load the unlock date and time for valakas from DB long temp = (info.getLong("respawn_time") - System.currentTimeMillis()); // if valakas is locked until a certain time, mark it so and start the unlock timer // the unlock time has not yet expired. Mark valakas as currently locked. Setup a timer // to fire at the correct time (calculate the time between now and the unlock time, // setup a timer to fire after that many msec) if (temp > 0) { this.startQuestTimer("valakas_unlock", temp, null, null); } else { // the time has already expired while the server was offline. // the status needs to be changed to DORMANT GrandBossManager.getInstance().setBossStatus(VALAKAS, DORMANT); } } else if(status == FIGHTING) { //respawn to original location int loc_x = 213004; int loc_y = -114890; int loc_z = -1595; int heading = 0; final int hp = info.getInteger("currentHP"); final int mp = info.getInteger("currentMP"); L2GrandBossInstance valakas = (L2GrandBossInstance) addSpawn(VALAKAS, loc_x, loc_y, loc_z, heading, false, 0); GrandBossManager.getInstance().addBoss(valakas); final L2NpcInstance _valakas = valakas; ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { @Override public void run() { try { _valakas.setCurrentHpMp(hp, mp); _valakas.setRunning(); } catch (Throwable e) {} } }, 100L); startQuestTimer("launch_random_skill", 60000, valakas, null, true); // Start repeating timer to check for inactivity startQuestTimer("check_activity_and_do_actions", 60000, valakas, null, true); }else if(status == WAITING){ // Start timer to lock entry after 30 minutes and spawn valakas startQuestTimer("lock_entry_and_spawn_valakas", (Config.VALAKAS_WAIT_TIME*60000), null, null); }//if it was dormant, just leave it as it was: //the valakas NPC is not spawned yet and his instance is not loaded } @Override public String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance player) { if (npc != null) { long temp = 0; if (event.equalsIgnoreCase("check_activity_and_do_actions")) { int lvl = 0; int sk_4691 = 0; L2Effect[] effects = npc.getAllEffects(); if (effects != null && effects.length != 0) { for (L2Effect e : effects) { if (e.getSkill().getId() == 4629) { sk_4691 = 1; lvl = e.getSkill().getLevel(); break; } } } Integer status = GrandBossManager.getInstance().getBossStatus(VALAKAS); temp = (System.currentTimeMillis() - lastAttackTime); if (status == FIGHTING && !npc.getSpawn().is_customBossInstance() //if it's a custom spawn, dnt despawn it for inactivity && (temp > (Config.VALAKAS_DESPAWN_TIME*60000))) //15 mins by default { npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); //delete the actual boss L2GrandBossInstance _boss_instance = GrandBossManager.getInstance().deleteBoss(VALAKAS); _boss_instance.decayMe(); GrandBossManager.getInstance().setBossStatus(VALAKAS, DORMANT); //npc.setCurrentHpMp(npc.getMaxHp(), npc.getMaxMp()); _Zone.oustAllPlayers(); cancelQuestTimer("check_activity_and_do_actions", npc, null); i_quest2 = 0; i_quest3 = 0; i_quest4 = 0; How this codes working? What's the guide of using this codes? So zaken wasnt in location too, but i find it and fixed. is it have script too?
-
Hi, Boss Manager Listing Valakas Alive and i cant find valakas :alone: . I think so, its spawned random loc. and new spawns not workin on boss manager. Spawn location is true, if i can kill it 1 time it will be start to spawning at true loc. I did check spawnlist on navicat ( for finding random loc ) but it isn't there. Now question is, how can i find and kill random spawned valakas? :happyforever:
-
Help L2J Frozen Works
delamis replied to delamis's question in Request Server Development Help [L2J]
i view topics without register and register isnt working. i mean its not sending verification mail Edit: it didnt send mail to my gmail adress, but then i changed it with hotmail now succes. -
Help L2J Frozen Edit ( Eclipse )
delamis replied to delamis's question in Request Server Development Help [L2J]
y i was have no idea about eclipse and source files and im not stupit i just wasnt know to basic things. But i did click every file, i did search for every java programs and i was know that's builded on codes but i wasnt know where are they. After a few days finally i found true file for codes. Then i look for " how can i edit this files " . After i did check codes, so i can acces codes now and i can change them. as i say in main message " i just want to first steps " . Now i know this, i have to learn a lot of thing but that true file and codes enough for me to start doin something. Already no one helped me here, i get a lot of pm " pay me for help " . Now i can train myself, cuz i get the basic thing. Yes i have to learn it, cuz now as you say i can edit only line by line. I gonna start java lessons. i think i can do something in a few weeks. But if u know good guide videos or links that could be awesome if u share. -
Help L2J Frozen Edit ( Eclipse )
delamis replied to delamis's question in Request Server Development Help [L2J]
I did try them.. u think im lazy fat spammer? i didnt sit and wait for reply here.. i just write here for maybe one helper can see my problems.. So i cant get any answer from here.. that was hard because i was have no idea about sources, eclipse, import, zimport, pomport and anything.. NO IDEA. But anway, before this useless answers i find my way.. Without using eclipse, without source files, without compile.. Now im ok. Thanks for your reply. I write this topic because i cant find basically guide and i wasnt know where i have to start. So you guys have to understand firstly i was have NO IDEA about this work. But i resolved my problem, with my own way. -
Help L2J Frozen Edit ( Eclipse )
delamis replied to delamis's question in Request Server Development Help [L2J]
Ty, pmed. - can i edit live server's java codes ? is this possible? -
Help L2J Frozen Edit ( Eclipse )
delamis replied to delamis's question in Request Server Development Help [L2J]
as i asked, this videos showing importing with website url's. I have pack in my computer as i show in screen shot.. Just can't you tell me how can i import it eclipse? There is 250 option in import section... For example for excel; File>open>"select excel file">L2j Frozen source.excl thats all.. -
Hi there, i did download L2j Frozen source and db from here and i want to edit it with eclipse. I have no idea about it but i did search and find something. Firstly, in which i watched video they inserting it with " add svn repository " so this needing link. But i have folders in my computer. I havent idea which folder for which commands, which work but i want to try and learn. Just can you help me for starting? How can i imput it and how can i edit files, after how can i insert it in my live db? Please just help me for starting, i can learn it by try. I just want to learn, just help me with finding way.I just i want to first fire, i will burn galaxy C: Which i watched videos : 1-) 2-) Thnx.
-
Help L2J Frozen Works
delamis replied to delamis's question in Request Server Development Help [L2J]
Im workin on frozen, why u think its dead? It seems good pack -
Help Modify File With Eclipse (Core Change)
delamis replied to seby12345's question in Request Server Development Help [L2J]
i have similiar problem in l2j frozen, how can i fix it? There is no way like gameserver/handler/voicedcommandhandlers/ -
Hi everyone, Does anyone workin on l2j frozen? im workin on it and cant resolve some little problems.. Pm me anyone workin on frozen we can help each other for different things.. ( Vote system, pincode system etc.. )
-
Yes but i want to learn, which option is making that sword's more upper angle
-
-
Created
-
Hello everyone, I did search all forums, but can't find anything about fixin dusk sword's angle. Does anyone can help me ?
-
Eline sağlık çok işime yaradı (:
-
[Download] All Itens Vesper to Interlude
delamis replied to mend3's topic in Client Development Discussion
For example For exampLe ; 60055 is Long ? -
[Download] All Itens Vesper to Interlude
delamis replied to mend3's topic in Client Development Discussion
Look dude. Everything normal in idventory i can see all of them. cant see only in gmshop :S i was asked my 218378291 Friend but no body knows it. Really i need help.. ---> black in gmshop ---> but i can buy them ---> when its come idventory everything is normal.