Jump to content

Recommended Posts

Posted

 

2day6ib.gif

 

 

1st κατεβαστε αυτο

 

Re-Share Skill Time Editor

 

Λοιπον για να το δουλεψετε

παρτε το προγραμμα και βαλτετο

 

C:\L2J Server\gameserver\data\stats\skills

 

Και μετα εκει που λεει skills id προσθεστε αυτα

 


264
265
266
267
268
269

270
271
272
273
274
275
276
277
304
305
306
307
308
309
310
311
349
363
364
365
366
529
530
1002
1006
1007
1009
1010
1033
1035
1036

1040
1043
1044
1045
1047
1048
1059
1062
1068
1073
1077
1078
1085
1086
1087
1182
1189
1191
1204
1229
1240
1242
1243
1251
1252
1253
1257
1259

1268
1284
1303
1304
1308
1309
1310
1323
1352
1353
1354
1355
1356
1357
1362
1363
1388
1389
1390
1391
1392
1393
1397
1413
1414
1460
4342
4343

4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4699
4700
4702
4703


Αμα δεν δουλευουν περνα αυτα!

349
363
364
365
366
529
530
1002
1006
1007
1009
1010
1033
1035
1036
1040
1043
1044
1045
1047
1048
1059
1062

1068
1073
1077
1078
1085
1086
1087
1182
1189
1191
1204
1240
1242
1243
1251
1252
1253
1257
1259
1268
1284
1303
1304
1308
1309
1310
1353
1354

1352
1355
1356
1357
1362
1363
1388
1389
1390
1391
1392
1393
1397
1460
1413
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354

4355
4356
4357
4358
4359
4360

 

εαν δεν σας δουλειει σε Gracia I/Gracia II/Gracia Final/Gracia Epilogue καντο το εξης!

Πρωτα παμε :

gameserver/config/Character's 
Βρητε αυτο 
EnableModifySkillDuration = False (καντε το True)
# Skill duration list
# Format: skillid,newtime;skillid2,newtime2...
# Example: 

 

και μετα καντε παστε αυτο :

# Skill duration list
# Format: skillid,newtime;skillid2,newtime2...
# Example:
#   This enable 1h(3600) duration for songs, the "\"indicates new line,
#   and is only set for formating purposes.
#   SkillDurationList = 825,14400;826,14400;827,14400;828,14400;829,14400;830,14400;271,14400;277,14400;274,14400;307,14400;\
#309,14400;310,14400;311,14400;272,14400;365,14400;276,14400;275,14400;264,14400;266,14400;\
#306,14400;308,14400;268,14400;363,14400;364,14400;349,14400;267,14400;304,14400;270,14400;\
#305,14400;269,14400;4342,14400;4343,14400;4351,14400;1087,14400;4345,14400;4344,14400;\
#4348,14400;4347,14400;4353,14400;4346,14400;4352,14400;4356,14400;4355,14400;1303,14400;\
#4358,14400;4359,14400;4357,14400;4354,14400;4360,14400;1392,14400;1393,14400;1354,14400;\
#1353,14400;1352,14400;4349,14400;4350,14400;1284,14400;1461,14400;1397,14400;1416,14400;\
#1085,14400;1304,14400;1087,14400;1062,14400;1243,14400;1045,14400;1048,14400;1397,14400;\
#1078,14400;1242,14400;1059,14400;1077,14400;1240,14400;1086,14400;1043,14400;1032,14400;\
#1036,14400;1460,14400;1035,14400;1068,14400;1044,14400;1182,14400;1191,14400;1033,14400;\
#1259,14400;1189,14400;1040,14400;1268,14400;1284,14400;764,60;765,60;1139,14400;\
#1140,14400;1141,14400;1144,14400;1145,14400;1146,14400;1497,14400;1388,14400;1389,14400;\
#1413,14400;1363,14400;1356,14400;1355,14400;1357,14400;1414,14400;4702,14400;4703,14400;\
#4699,14400;4700,14400;1349,14400;1346,14400;1347,14400;1348,14400;273,14400;530,14400;\
#1002,14400;1007,14400;1009,14400;1229,14400;1251,14400;1252,14400;1253,14400;1284,14400;\
#1308,14400;1309,14400;1310,14400;1362,14400;1363,14400;1390,14400;1391,14400;1413,14400;\
#1006,14400;1204,14400;1003,14400;1004,14400;1005,14400;1008,14400;1010,1400;1249,1400;\
#1250,14400;1256,14400;1260,14400;1261,14400;1282,14400;1364,14400;1365,14400;\
#1415,14400;1416,14400;529,14400;265,14400;1311,14400;;\

 

Credits για να  δουλειει σε Gracia I/Gracia II/Gracia Final/Gracia Epilogue

sakisd το υπολοιπο topic ειναι δικο μου !

 

 

το κάνω ρε-share επειδή το άλλο το link ήτανε πεθαμένο  :troll:

 

  • 2 weeks later...
Posted

Ευχαριστώ Romeo :) κάτι άλλο ξέρεις πως μπορώ να αλλάξω τα max slots για τα buff ;

 

enoeis na valis buff slots px 24 + 5 debuffs? px lew

Posted

egw p exw frozen to ruthmizw apo t configs ;p

 

Εγώ δεν έχω frozen όμως :( και έψαξα όλα τα configs και δεν έχουν τίποτα..

Posted

Εγώ δεν έχω frozen όμως :( και έψαξα όλα τα configs και δεν έχουν τίποτα..

 

tote me afto to programa mpwris na ta kaneis den einai kati to duskolo :)

  • 2 months later...
  • 3 weeks later...
  • 1 year later...
  • 2 months later...
Posted

afta einai, arki na min xanounte tetia Share

 

gj

This!

Το έψαχνα εδώ και πολύ καιρό μπορώ να πω!

Ty

 

Επίσης εδώ είναι και τα λεπτά σε sec,

60 min(1h) -> 3600sec

120 min(2h)-> 7200sec

Και πάει λέγοντας..

  • 1 year later...
  • 1 year later...
Posted (edited)

 

3 hours ago, MarGaZeaS said:

link dead :P

Νταξει ηξερα οτι δεν σου κοβει μια αλλα το να ποσταρεις σε 6 χρονων topic ειναι νταξει φευγα..

Edited by Kara`

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
Reply to this topic...

×   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

    • Verify if following is supposed to be the way to handle movement npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(point.getX(), point.getY(), point.getZ())); For me, it's not enough. And if it's the case, whole AI system is probably buggy.
    • hello, i want to wtt my charracter in l2elmorelab 1x harbor for 1.5kkk adena in l2reborn 10x new. Or if you interested tell me your offer. :)) Clean Mail 30 lvl Cleric Naked   Updated.
    • package ai.npc.NFWalker; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import l2r.gameserver.enums.CtrlIntention; import l2r.gameserver.model.Location; import l2r.gameserver.model.actor.L2Npc; import l2r.gameserver.model.quest.Quest; import l2r.gameserver.network.clientpackets.Say2; import l2r.gameserver.network.serverpackets.NpcSay; public class NFWalkerAI extends Quest { private static final int WALKER_NPC_ID = 20116; private final Map<String, Route> routes = new HashMap<>(); private final Map<Integer, Integer> npcIndexes = new HashMap<>(); private final Map<Integer, Boolean> npcReverse = new HashMap<>(); private final Map<Integer, String> npcCurrentRoute = new HashMap<>(); public NFWalkerAI() { super(-1, NFWalkerAI.class.getSimpleName(), "ai/npc/NFWalker"); loadRoutes(); addSpawnId(WALKER_NPC_ID); } private void loadRoutes() { // Route 1 Data Route route1 = new Route("route1"); route1.addPoint(new RoutePoint(0, 149363, 172341, -941, 0, false, "")); route1.addPoint(new RoutePoint(1, 148568, 172328, -980, 5, true, "Puff")); route1.addPoint(new RoutePoint(2, 148536, 172792, -980, 0, false, "")); // Route 2 Data Route route2 = new Route("route2"); route2.addPoint(new RoutePoint(0, 149363, 172341, -941, 0, false, "")); route2.addPoint(new RoutePoint(1, 150248, 172328, -980, 5, true, "Rise my children! Bring me the servants of the god! Let them be offered to our god Bifrons!")); route2.addPoint(new RoutePoint(2, 150248, 172776, -980, 0, false, "")); // Add routes to the map routes.put("route1", route1); routes.put("route2", route2); } @Override public String onSpawn(L2Npc npc) { if (npc.getId() == WALKER_NPC_ID) { selectInitialRouteForNpc(npc); } return super.onSpawn(npc); } @Override public String onAdvEvent(String event, L2Npc npc, l2r.gameserver.model.actor.instance.L2PcInstance player) { if (event.equalsIgnoreCase("move")) { moveNpc(npc); } else if (event.equalsIgnoreCase("check_reached")) { checkIfReached(npc); } return null; } private void moveNpc(L2Npc npc) { String routeName = npcCurrentRoute.get(npc.getObjectId()); Route route = routes.get(routeName); Integer pointIndex = npcIndexes.get(npc.getObjectId()); if (route != null && pointIndex != null) { RoutePoint point = route.getPoints().get(pointIndex); if (point.isRun()) { npc.setRunning(); } else { npc.setWalking(); } if (!point.getChat().isEmpty()) { npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getId(), point.getChat())); } npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(point.getX(), point.getY(), point.getZ())); // Log movement intention System.out.println("NPC " + npc.getObjectId() + " moving to " + point.getX() + ", " + point.getY() + ", " + point.getZ()); // Schedule a check to see if the NPC has reached its destination startQuestTimer("check_reached", 1000, npc, null); } } private void checkIfReached(L2Npc npc) { String routeName = npcCurrentRoute.get(npc.getObjectId()); Route route = routes.get(routeName); Integer pointIndex = npcIndexes.get(npc.getObjectId()); if (route != null && pointIndex != null) { RoutePoint point = route.getPoints().get(pointIndex); Location currentLocation = npc.getLocation(); Location targetLocation = new Location(point.getX(), point.getY(), point.getZ()); // Check if the NPC has reached the target location if (currentLocation.equals(targetLocation)) { // Log that the NPC has reached the target System.out.println("NPC " + npc.getObjectId() + " reached target " + targetLocation); // Schedule the next movement startQuestTimer("move", point.getDelay() * 1000, npc, null); if (!npcReverse.get(npc.getObjectId())) { pointIndex++; if (pointIndex >= route.getPoints().size()) { npcReverse.put(npc.getObjectId(), true); pointIndex = route.getPoints().size() - 1; } } else { pointIndex--; if (pointIndex < 0) { npcReverse.put(npc.getObjectId(), false); pointIndex = 0; // Choose a new route after completing the current one in both directions switchRouteForNpc(npc); return; } } npcIndexes.put(npc.getObjectId(), pointIndex); } else { // Check again after 1 second startQuestTimer("check_reached", 1000, npc, null); } } } private void selectInitialRouteForNpc(L2Npc npc) { // Randomly select either route1 or route2 String selectedRouteName = "route" + (new Random().nextInt(2) + 1); npcCurrentRoute.put(npc.getObjectId(), selectedRouteName); npcIndexes.put(npc.getObjectId(), 0); npcReverse.put(npc.getObjectId(), false); startQuestTimer("move", 5000, npc, null); // Log initial route selection System.out.println("NPC " + npc.getObjectId() + " selected initial route " + selectedRouteName); } private void switchRouteForNpc(L2Npc npc) { String currentRoute = npcCurrentRoute.get(npc.getObjectId()); String newRoute = currentRoute.equals("route1") ? "route2" : "route1"; npcCurrentRoute.put(npc.getObjectId(), newRoute); npcIndexes.put(npc.getObjectId(), 0); npcReverse.put(npc.getObjectId(), false); startQuestTimer("move", 5000, npc, null); // Log route switching System.out.println("NPC " + npc.getObjectId() + " switched to route " + newRoute); } private static class Route { private List<RoutePoint> points = new ArrayList<>(); public Route(String name) { } public void addPoint(RoutePoint point) { points.add(point); } public List<RoutePoint> getPoints() { return points; } } private static class RoutePoint { private int id; private int x, y, z, delay; private boolean run; private String chat; public RoutePoint(int id, int x, int y, int z, int delay, boolean run, String chat) { this.id = id; this.x = x; this.y = y; this.z = z; this.delay = delay; this.run = run; this.chat = chat; } public int getId() { return id; } public int getX() { return x; } public int getY() { return y; } public int getZ() { return z; } public int getDelay() { return delay; } public boolean isRun() { return run; } public String getChat() { return chat; } } } I looking for help, with this, the npc not start to move. Im trying to create, an NPC wich have multiple walk routes basic logic is  random pick a route complite the route  like Route 1 start form zero (0 -> 1 -> 2(or more) -> 1 -> 0) When the npc return to 0, the script should pic the other route and start again.  And if there is a message like point 1 here     "route1.addPoint(new RoutePoint(1, 148568, 172328, -980, 5, true, "Puff"));" The npc should display the chat message. Currently my problem is the npc not moving, but if I manage it to start moving its randomly move between the route 1 and 2 set of coordinates. Currently for me its  a nightmare. I hope anyone can help somhow.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • Create New...