Everything posted by Tryskell
-
[Problem] If RB dead, create a zone that teleports player
A simpliest way to do it without using zones is to use a radius formula, and for all players found on this radius, you do whatever you want. isInsideRadius() method, there are some applications of this. DoDie () method of the instance you want to add that. I invite you to do a new instance, else it will change behavior of existing instance, which isn't perhaps what you want to do. Well it depends exactly you want to do, if your goal was simply that, it's a far simpliest way.
-
[Problem]SubClass
Common problem, people think private are better than free, and only because they can't see how bad it is, they must buy it in order to see all defaults. Snake eats his tail. Imagine I put aCis private, and I say all skills work 100% and such impossible things... Guess what, people will buy the pack in order to see if it's real or wrong haha. GG about paying fork and no support haha. ---- About main question, check L2VillageMasterInstance, and copy parts of Freya.
-
[WTS] MMORPG Vote Sites - Votes & Votebot
Serious guy, so trusted seller :).
-
[INFO]How to respawn in an area after death
Well I wanted to answer but Matim got 4 hands :P. You have to understand how works the Zone system. Basically you got 2 possibilities : - You can create TownZones and put respawn areas "not peace zone". It depends of chronicle, this feature isn't implemented on IL from what I rem. - You can create a whole new ZoneType, where each leveling zone got its own self number. Those special areas can be improved with time. Check L2TownZone. In both cases, you will have to create a zone in zone.xml, depending if it is already existing or not.
-
aCis - another CRAPPY interlude server
When Sido said it to me, I was laughing... Ty to read in my mind, I had this idea some days ago, but was risky to put in place (forum wipe with backup and such) :). You made at least one victim haha.
-
aCis - another CRAPPY interlude server
I must steal your brain, then build a machine to read memories in order to know them ?
-
[INFO]How to respawn in an area after death
RequestRestartPoint clientpacket, located in gameserver / network / clientpackets for postIL or gameserver / serverpackets in IL and before.
-
[Help] Big Problem With Files
Right click on the dp_installer and edit mySQL path, password and login of your database, and database name if you don't use a normal one. The database have to be created first, use a tool such as navicat to create one first. I invite you to read tutorials, they're pretty explicit.
-
[HELP] Castle Control Announce During Siege
I gave you the whole solution, the only thing I was talking about being lazy was the diff patch.As I like to say, giving you a fish won't help you, when a fishrod could stop your hungry :). All is supposed to work, just use CTRL+H (search function) in order to find good places. You know already 1 place, you have to search for the 2 last (must be siegemanager, siege and castle). You can c/p the code I make, it works whatever is your chronicle/pack normally. I removed sentence in last post which could make think it wasn't complete code. Regards, Tk.
-
aCis - another CRAPPY interlude server
Ahah, ty for your comment :). I'm happy when people talked about timeline ^^. Rev 70 corrects some minor things (correction of 30 warnings, like cleaning variables, and such). It adds back the .jar deleted on rev 69 too :<
-
[HELP] Castle Control Announce During Siege
When you did your tests there were 3 ppls online, then 2 in second test. Spoiler of this awesome logic : Why I can say that ? Basically, for each online player, it sends an announce. You know the next... ------- You didn't say you had error - well I didn't check well the image - but what I said was true :P. You have to make the player/clan variable "fly" from one method to another. public void midVictory(String clanName) { if (getIsInProgress()) // Siege still in progress { // Announce Announcements.getInstance().announceToAll(clanName+" has taken "+getCastle().getName()+" Castle."); if (getCastle().getOwnerId() > 0) _siegeGuardManager.removeMercs(); // Remove all merc entry from db // If defender doesn't exist (Pc vs Npc) and only 1 attacker And considering the use of this method (only 2) : getSiege().midVictory(clan.getName()); Dunno if it's the best solution, but it's the easiest for sure, considering what you want to do.
-
aCis - another CRAPPY interlude server
Rev 69, ty Intrepid for the clean spring and DarthVader for 2 XMLS skills :).
-
[SHARE] PornoGenerator VoicedCommand for L2EmuProject
Only you, helped of Intrepid for the precious data could save (rape) us from innocence.
-
[Poll] Interlude Project
Hey FB, I finally managed to understand your massive critical errors on teleport ^^. It wasn't teleports, nor core related :). But I couldn't figure it without a client error. Come back fast with your new computer :P.
-
[Request] NPC Crests
So you know the answer :P. AbstractNpcInfo > NpcInfo, all other is fine. In your diff patch, it misses the principal information in NpcInfo. Anyway on IL your patch can't work like that.
-
[Poll] Interlude Project
I voted for Frozen, because I can't vote for myself and the 2 others projects are dead (no update since 2 months). And it's "aCis", not "L2JaCis" :).
-
[SHARE] PornoGenerator VoicedCommand for L2EmuProject
I think I prefer to stay in darkness concerning the "how" of the idea to make a PornoGenerator command. But that won't surprise me if you're the angular stone of this masterpiece, uhahaha. Pervert hungarians for sure :).
-
[HELP] Castle Control Announce During Siege
First you can use this code, it's just cleaner. Announcements.getInstance().announceToAll(player.getClan().getName()+" has taken "+getCastle().getName()+" Castle."); Second, your code can work only if the castle was to another clan. It can't work if the castle was to NPCs. if (getCastle().getOwnerId() > 0) means "if the castle got an owner". You surely made your test on a siege where NPCs were defenders. Your code work, but only on sieges where there is a clan owner, or if someone retake the castle during the siege period (and if only the clan was stored, i'm not even sure it works like that). if (getIsInProgress()) // Siege still in progress { // Announce Announcements.getInstance().announceToAll(player.getClan().getName()+" has taken "+getCastle().getName()+" Castle."); if (getCastle().getOwnerId() > 0) _siegeGuardManager.removeMercs(); // Remove all merc entry from db // If defender doesn't exist (Pc vs Npc) and only 1 attacker
-
[Request] NPC Crests
On IL, the packet is named NpcInfo, and even if there is the right slots (4 missings infos), I don't think you can activate it, as this packet update came from C2 (from what I rem of remarks). Still you can try. 1 - Create a clan with clan crest, note the clanID and crestID. 2 - Edit packet NpcInfo and put fixed infos where they supposed to be, writing in core directly the values. 3 - Then compile and test ingame if you focked it or no. I can't really say it won't work if no one tested it before :).
-
[SHARE] PornoGenerator VoicedCommand for L2EmuProject
Rofl code. Update code, there are not only 2 websites ! :) And do another one for hentai.
-
[Discussion] L2J "Projects"
Only 2 IL publics projects exist, mine (aCis) and L2JFrozen. L2JTeon/L2JBrasil seem to haven't updates anymore since around 2 months. You can too search on private side, but /care about their marketing. Just don't trust people selling a "all working" thing for 20€. It can only be a mess. If you begin on L2J, I invite you to launch a server which ask less corrections than IL chronicle. Well, a PvP server asks a lot less retail support/features :).
-
aCis - another CRAPPY interlude server
It's a normal error, as skills aren't finished. You will have some "armorlistener skill missing" using a set, and depending of your race/class some "skills missing" at each character loading.
-
aCis - another CRAPPY interlude server
Rev 67 soon finished. Retail doors messages to open/close it, some fixes, some refactors... The normal way :). Edit : http://trac.assembla.com/acis_project/changeset/67
-
if and else
The first script should work. You surely forget to update the .jar. if (activeChar.isGM()) activeChar.sendMessage("Hallo GM!"); else activeChar.sendMessage("Hallo Spieler"); ---- Now if you want to add the name of the player, as it's currently static in your code: activeChar.sendMessage("Hello "+ activeChar.getName() + ", welcome in our server !"); ---- You can too add a static message value: String test = "This is a test." activeChar.sendMessage(test); which equals to : activeChar.sendMessage("This is a test."); Prefer to use second option for readability.
-
[Question] Pack suggestion for an Interlude Server?
When you got the role of the black raven saying only catastrophic things, I play the white dove's one and spread happiness, youth and erm... that's already good. :). The fact there is currently no live server is because I refactor skills. It's a long work, and no one will dare to make a live server without SAs / armor sets bonus. Even if it equals to c/p an XML and write "//reload skills". Still, we got now a test server thanks to BoDiE. Okay, I stop to offtopic now :). ---- As I can't vote for myself, cause it's stupid to promote itself, I suggest Frozen. After all, they got some parts of my work :P.