-
Posts
5,360 -
Credits
0 -
Joined
-
Last visited
-
Days Won
62 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Tryskell
-
Don't use translator (if you did), or use it (if you didn't). I barely understood it was about respawn delay of mobs, the problem itself... I didn't understand at all. Depending of the problem, there can different solutions. If it's a localized problem use a mySQL query, if the problem is general to all mobs, there is surely something messed in core.
-
Checkout a project and analyze it. There is no guide or book to know how L2J is made. If you got 0 logic, reading Java lessons is your best luck to understand mecanisms, if you don't like books and got a certain amount of logic, do like me, open and explore. Try to understand what you do, add some little customs, ameliorate them or change them for another use, etc etc. Don't copy/paste things without knowing what you do. Knowledge will come with time, and you will know a bigger range of files and possibilities. There aren't many possibilities : - learn to get fundamental mecanisms, and understand the code - be curious to know "what do what" and explore the project experimenting changing values or parts of code - delete your L2J stuff and go play your favorite MMO :)
-
about the restriction of multi-clients...
Tryskell replied to Apocalypses's question in Request Server Development Help [L2J]
You're talking about the AntiFeedManager, can be found on instancemanager. The different part of code is spread over the project, but you should find what you talk about in configs. It's not client issue at all, even if it's possible (but considered as exploit then by server admins). And it's pretty old stuff :P. -
How to automate this event?
Tryskell replied to rubix123's question in Request Server Development Help [L2J]
Check how others global tasks are handled (gameserver.taskmanager.tasks). And don't forget to add your new task in the TaskManager, else it won't load. You successfully load it when you see a new entry in your global_task table. Well, if you didn't focked another part ofc haha. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
Rev 73 is out. Here is the changeset review : -
No, you're right saying monsters and NPCs take a certain % of memory, CPU and inet connection (AIs, packet send,...). If you don't need them, I invite you to delete at least the spawnlist table content, and avoid to load all quests, except some are needed, like clan creation. About the npcs table, you have to spawn all needed npcs, then delete only not used occurences. It's pretty restrictive, so not really helpful in term of administration. You can make too a big clean on config to hunt all not used customs. From a heavy custom pack (4700 lines) you can go to 1600 lines. Guess what, in terme of variables deletion, it removes to the memory usage. ---- To give you a concrete exemple, my custom faction server loads using 150mo for 10-12 seconds on a dev computer. The pack was an archid 1792 revision, loading 320mo for 35 seconds. ---- To short the answer, mobs/npcs is a PART of a ALL. Alone, the impact is low.
-
I don't get what you talk by "cheat engine", but basically it can't send "faster" packets, whatever you put between a server and a client can only slow the process. It can give you the illusion to have better performance. Well, correct me if I'm wrong, and give more infos about your "miracle" :). It's like killing a sheep and it popups another... That will solve food problems, but that just can't happen :P.
-
[Help] Captcha Antibot system
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
A generated number / suit of letters/number will show the asked code on the html ("To play enter following code : blablabla"), so it's exploitable as the answer is shown. The only real way would be to call an image. The other solution is as the topic owner made, but once the guy got all possible questions/answers, it's bypassed. ---- I gave all codes and what you had to do, so now go work and come if you got issues compiling/ingame :P. -
Special Options for PvP Consecutives
Tryskell replied to crazyshock's question in Request Server Development Help [L2J]
If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's. About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires. The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up). -
Special Options for PvP Consecutives
Tryskell replied to crazyshock's question in Request Server Development Help [L2J]
If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's. About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires. The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up). -
[Help] Captcha Antibot system
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
Well, it totally depends of the "idea" of your mod. A captcha system have more reasons to exist on the entrance of any player (enterWorld.java) than in the DoDie method of any L2Attackable monster/summon/player. Considering your captcha thing is *CURRENTLY* : - generating correctly a random code, and make the association code/input text (well your code is primitive, but it seems to work); - sending a window at the death of a player (killing anything other than a player show a NPE atm, from what I think); - punishing the player if the code is wrong; The only thing you have to do is to remove all the code from L2Attackable and edit it for EnterWorld. Basically your code fits for EnterWorld, as it misses all good instances checks, and enterWorld is "made" for players only. ------ Revert back your code in L2Attackable then /** * Kill the L2Attackable (the corpse disappeared after 7 seconds), distribute rewards (EXP, SP, Drops...) and notify Quest Engine. * * Actions: * Distribute Exp and SP rewards to L2PcInstance (including Summon owner) that hit the L2Attackable and to their Party members * Notify the Quest Engine of the L2Attackable death if necessary * Kill the L2NpcInstance (the corpse disappeared after 7 seconds) * * Caution: This method DOESN'T GIVE rewards to L2PetInstance * * @param killer The L2Character that has killed the L2Attackable */ @Override public boolean doDie(L2Character killer) { // Kill the L2NpcInstance (the corpse disappeared after 7 seconds) if (!super.doDie(killer)) return false; // Notify the Quest Engine of the L2Attackable death if necessary try { L2PcInstance player = null; if (killer != null) player = killer.getActingPlayer(); if (player != null) { if (getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL) != null) for (Quest quest: getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL)) ThreadPoolManager.getInstance().scheduleEffect(new OnKillNotifyTask(this, quest, player, killer instanceof L2Summon), _onKillDelay); } } catch (Exception e) { _log.log(Level.SEVERE, "", e); } return true; } And in enterworld.java, find the good place to put (around the end, as enterWorld initializes many things) - I perhaps made errors, I just edited with notepad and didn't check synthax/logic : if (Config.ENABLE_ANTIBOT_SYSTEM) { private static int AntiBotKills = 0; private static int Change = 0; int AntiBotKillsCheck = (Config.ANTIBOT_KILLS_CHECK); NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(0); Change = Rnd.get(8); AntiBotKills++; if (AntiBotKills >= AntiBotKillsCheck) { killer.setIsParalyzed(true); AntiBotKills = 0; switch(Change) { case 0: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 3 + 9 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 12\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 1: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 21 - 7 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 14\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 2: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 9 + 7 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 16\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 3: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 36 - 18 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 18\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 4: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 10 + 0 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 10\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 5: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 6: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 7: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 8: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; default: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 1 + 8 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 9\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); } } } I didn't test your mechanism, so don't tell it doesn't works (this is your system if I didn't fock the c/p :D), and I don't know how the player isn't supposed to be de-paralized, I guess the voiced command got it. killer have to be replaced to activeChar, imports have surely to be corrected, and such. -
[Help] Captcha Antibot system
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
Well, it totally depends of the "idea" of your mod. A captcha system have more reasons to exist on the entrance of any player (enterWorld.java) than in the DoDie method of any L2Attackable monster/summon/player. Considering your captcha thing is *CURRENTLY* : - generating correctly a random code, and make the association code/input text (well your code is primitive, but it seems to work); - sending a window at the death of a player (killing anything other than a player show a NPE atm, from what I think); - punishing the player if the code is wrong; The only thing you have to do is to remove all the code from L2Attackable and edit it for EnterWorld. Basically your code fits for EnterWorld, as it misses all good instances checks, and enterWorld is "made" for players only. ------ Revert back your code in L2Attackable then /** * Kill the L2Attackable (the corpse disappeared after 7 seconds), distribute rewards (EXP, SP, Drops...) and notify Quest Engine. * * Actions: * Distribute Exp and SP rewards to L2PcInstance (including Summon owner) that hit the L2Attackable and to their Party members * Notify the Quest Engine of the L2Attackable death if necessary * Kill the L2NpcInstance (the corpse disappeared after 7 seconds) * * Caution: This method DOESN'T GIVE rewards to L2PetInstance * * @param killer The L2Character that has killed the L2Attackable */ @Override public boolean doDie(L2Character killer) { // Kill the L2NpcInstance (the corpse disappeared after 7 seconds) if (!super.doDie(killer)) return false; // Notify the Quest Engine of the L2Attackable death if necessary try { L2PcInstance player = null; if (killer != null) player = killer.getActingPlayer(); if (player != null) { if (getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL) != null) for (Quest quest: getTemplate().getEventQuests(Quest.QuestEventType.ON_KILL)) ThreadPoolManager.getInstance().scheduleEffect(new OnKillNotifyTask(this, quest, player, killer instanceof L2Summon), _onKillDelay); } } catch (Exception e) { _log.log(Level.SEVERE, "", e); } return true; } And in enterworld.java, find the good place to put (around the end, as enterWorld initializes many things) - I perhaps made errors, I just edited with notepad and didn't check synthax/logic : if (Config.ENABLE_ANTIBOT_SYSTEM) { private static int AntiBotKills = 0; private static int Change = 0; int AntiBotKillsCheck = (Config.ANTIBOT_KILLS_CHECK); NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(0); Change = Rnd.get(8); AntiBotKills++; if (AntiBotKills >= AntiBotKillsCheck) { killer.setIsParalyzed(true); AntiBotKills = 0; switch(Change) { case 0: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 3 + 9 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 12\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 1: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 21 - 7 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 14\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 2: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 9 + 7 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 16\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 3: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 36 - 18 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 18\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 4: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 10 + 0 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 10\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 5: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 6: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 7: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; case 8: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 7 + 6 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 13\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); break; default: npcHtmlMessage.setHtml("<html><title>Antibot System</title><body><center>Enter a code below and click CONFIRM<br><br>Question: <font color=\"66FF00\"> 1 + 8 </font> = ?<br><edit var=\"antibot\" width=110><br><br><button value=\"Confirm\" action=\"bypass -h voice .antibot $antibot 9\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"><font color=\"FFFFFF\"> If your Type is Incorrect you will be Punished !</font></center></body></html>"); killer.sendPacket(npcHtmlMessage); } } } I didn't test your mechanism, so don't tell it doesn't works (this is your system if I didn't fock the c/p :D), and I don't know how the player isn't supposed to be de-paralized, I guess the voiced command got it. killer have to be replaced to activeChar, imports have surely to be corrected, and such. -
Special Options for PvP Consecutives
Tryskell replied to crazyshock's question in Request Server Development Help [L2J]
This system is already shared : - basic idea is the "quake system" thing shared over MxC, - a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P. -
Special Options for PvP Consecutives
Tryskell replied to crazyshock's question in Request Server Development Help [L2J]
This system is already shared : - basic idea is the "quake system" thing shared over MxC, - a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P. -
Use your words clearly, you want it works with fists (aka unnarmed) or with dual fists (aka tyrant normal weapon). Currently it's work for both, right ? And what chronicle you use ? Well the fact to use count=1 and the weaponAllowed=number made it "Interlude", but the "using kind" on each effect made it... Interlude custom :P. So explain better. ---- You have to edit : <set name="weaponsAllowed" val="1024"/> <!-- Fist, Dual Fist --> And each line with using : <using kind="Fist, Dual Fist"/> if you don't want the effect works with this weapon.
-
Use your words clearly, you want it works with fists (aka unnarmed) or with dual fists (aka tyrant normal weapon). Currently it's work for both, right ? And what chronicle you use ? Well the fact to use count=1 and the weaponAllowed=number made it "Interlude", but the "using kind" on each effect made it... Interlude custom :P. So explain better. ---- You have to edit : <set name="weaponsAllowed" val="1024"/> <!-- Fist, Dual Fist --> And each line with using : <using kind="Fist, Dual Fist"/> if you don't want the effect works with this weapon.
-
[Help]few bugs / question
Tryskell replied to tolkien's question in Request Server Development Help [L2J]
Info / pack / screenshot / code / size of your... no, not this one. About balance server... I'm screaming in a corner of my dark room. Need someone else to explain because my tears flood my room. ---- As a moderator / section admin could update rules once and for all, to litterally delete such topics with non-consistant infos ? We lose our time reading crap, and answering the same over and over. -
[Help]few bugs / question
Tryskell replied to tolkien's question in Request Server Development Help [L2J]
Info / pack / screenshot / code / size of your... no, not this one. About balance server... I'm screaming in a corner of my dark room. Need someone else to explain because my tears flood my room. ---- As a moderator / section admin could update rules once and for all, to litterally delete such topics with non-consistant infos ? We lose our time reading crap, and answering the same over and over. -
[HELP]Vote reward system plz help!
Tryskell replied to demianhu's question in Request Server Development Help [L2J]
addItem() exists whatever chronicle is, the only difference is the number/type of parameters entered. So find occurences of addItem through the code, count the number/type of parameter inside, and verify if it matches. ------------------------------------------------------ Here are the 2 possibilities on Freya : public void addItem(String process, L2ItemInstance item, L2Object reference, boolean sendMessage) public L2ItemInstance addItem(String process, int itemId, long count, L2Object reference, boolean sendMessage) The itemCount is wrong then, as in your vote system it's an array which is given, and it's a simple number which is asked in Freya. Update your vote system, or edit/add a new method in L2PcInstance to match with an array. -
[HELP]Vote reward system plz help!
Tryskell replied to demianhu's question in Request Server Development Help [L2J]
addItem() exists whatever chronicle is, the only difference is the number/type of parameters entered. So find occurences of addItem through the code, count the number/type of parameter inside, and verify if it matches. ------------------------------------------------------ Here are the 2 possibilities on Freya : public void addItem(String process, L2ItemInstance item, L2Object reference, boolean sendMessage) public L2ItemInstance addItem(String process, int itemId, long count, L2Object reference, boolean sendMessage) The itemCount is wrong then, as in your vote system it's an array which is given, and it's a simple number which is asked in Freya. Update your vote system, or edit/add a new method in L2PcInstance to match with an array. -
[Help] Captcha Antibot system
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
I don't think this is the best place to put such code... It should be placed at enterworld.java, imagine on a pvp server you die often and each time you die you have to enter a code :P. Anyway, just my 50 cents. ---- And even if you want your system, L2Attackable is still a bad place... L2PcInstance will fit better. Except if I missed a part, your system will work with any L2Attackable... In your log info, I think you killed a mob, so the code became crazy at each mob kill. Move your code in L2PcInstance then, that will avoid you many many checks. ---- For people who doesn't understand, it's a catpcha system... You think monsters, summons and such are enough clever to enter godamn codes ? :P. This is not Blade Runner, a robot is a robot, not a living form which got emotions. -
[Help] Captcha Antibot system
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
I don't think this is the best place to put such code... It should be placed at enterworld.java, imagine on a pvp server you die often and each time you die you have to enter a code :P. Anyway, just my 50 cents. ---- And even if you want your system, L2Attackable is still a bad place... L2PcInstance will fit better. Except if I missed a part, your system will work with any L2Attackable... In your log info, I think you killed a mob, so the code became crazy at each mob kill. Move your code in L2PcInstance then, that will avoid you many many checks. ---- For people who doesn't understand, it's a catpcha system... You think monsters, summons and such are enough clever to enter godamn codes ? :P. This is not Blade Runner, a robot is a robot, not a living form which got emotions. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
Assembla is used by over 300k people (well, it's what they say), and many projects are hosted on it, so turn off your antivirus and stop offtopic. If you don't know what is Assembla, just google it and see. It has nothing to be involved about aCis, Frozen and many other L2 projects use it. It's a 3rd software tool, developped by a company. ------ Rev 72 near to be up. -
Source aCis - another CRAPPY interlude server
Tryskell replied to Tryskell's topic in Server Shares & Files [L2J]
Assembla is used by over 300k people (well, it's what they say), and many projects are hosted on it, so turn off your antivirus and stop offtopic. If you don't know what is Assembla, just google it and see. It has nothing to be involved about aCis, Frozen and many other L2 projects use it. It's a 3rd software tool, developped by a company. ------ Rev 72 near to be up.