-
Posts
5,365 -
Credits
0 -
Joined
-
Last visited
-
Days Won
68 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Tryskell
-
Critical Error In game
Tryskell replied to ChaoticLegend's question in Request Server Development Help [L2J]
First = this is english section (in "[Request] Dev Help [L2J] En", it's why there is a "En"), second = what do you want we do with a client error, we're not Mary Poppins, post gameserver errors only third = post pack/chronicle/buffer, personally it's the last time I say that fourth = I understood gatekeeper, navicat, spawn... So wtf it goes with client error ? fifth = everybody lies. -
[Help] GameServer error
Tryskell replied to pcalin's question in Request Server Development Help [L2J]
I just pickuped the content and copypasted it on a clean IL L2J SiegeManager.java, and the files are 100% the same except imports. Anyway I'm stupid as this file can't in fault, as sieges tasks are launched from Siege.java. ---- PS : as I tought they focked up code. Ask them to correct Siege.java, at the "coded" line. Search public class ScheduleStartSiegeTask implements Runnable and replace the whole method by the ancient method (pick it from L2J IL pack). Why the heck they changed that, only Mulder & Scully know. There are like 0 reason to change this part of code, as it works since many years without problem lol. I got the L2J clean method under the hand, so enjoy... C/p the name of the method and when you found it, c/p the whole method below on the L2JBr one. public class ScheduleStartSiegeTask implements Runnable { private Castle _castleInst; public ScheduleStartSiegeTask(Castle pCastle) { _castleInst = pCastle; } public void run() { if (getIsInProgress()) return; try { long timeRemaining = getSiegeDate().getTimeInMillis() - Calendar.getInstance().getTimeInMillis(); if (timeRemaining > 86400000) { ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining - 86400000); // Prepare task for 24 before siege start to end registration } else if ((timeRemaining <= 86400000) && (timeRemaining > 13600000)) { announceToPlayer("The registration term for " + getCastle().getName() + " has ended.", false); _isRegistrationOver = true; clearSiegeWaitingClan(); ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining - 13600000); // Prepare task for 1 hr left before siege start. } else if ((timeRemaining <= 13600000) && (timeRemaining > 600000)) { announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until " + getCastle().getName() + " siege begin.", false); ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining - 600000); // Prepare task for 10 minute left. } else if ((timeRemaining <= 600000) && (timeRemaining > 300000)) { announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until " + getCastle().getName() + " siege begin.", false); ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining - 300000); // Prepare task for 5 minute left. } else if ((timeRemaining <= 300000) && (timeRemaining > 10000)) { announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until " + getCastle().getName() + " siege begin.", false); ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining - 10000); // Prepare task for 10 seconds count down } else if ((timeRemaining <= 10000) && (timeRemaining > 0)) { announceToPlayer(getCastle().getName() + " siege " + Math.round(timeRemaining / 1000) + " second(s) to start!", false); ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst), timeRemaining); // Prepare task for second count down } else { _castleInst.getSiege().startSiege(); } } catch (Throwable t) { } } } -
[solved]Save problem
Tryskell replied to kostantinosftw's question in Request Server Development Help [L2J]
Open an new topic instead of spam a resolved case. You surely got a problem in your gameserver logs, give more infos about pack too, what you tried, etc. It should be write in the damn rules, it's boring to ask the same thing over and over. -
DEDICATED MACHINE LOOK AND HELP...
Tryskell replied to ntelis1's question in Request Server Development Help [L2J]
I didn't understand one word, but yeah I think it's enough for 500-600 players. And the ram is really fine, even if you uses geodata. It depends of your distribution too. But I would be scared, because except if you pay really hard, I don't think this hoster can be trusted. Too many features. (I'm pro or not ?) -
[Help] GameServer error
Tryskell replied to pcalin's question in Request Server Development Help [L2J]
o_o You're welcomed, even if I haven't help lol. If that comes back, post on their forum to report, because I'm not far of the truth if I say they add as much bugs as good commits. You can too search about SiegeManager.java, comparing L2J one with your. -
[Help] GameServer error
Tryskell replied to pcalin's question in Request Server Development Help [L2J]
What did you do to correct it finally ? -
DEDICATED MACHINE LOOK AND HELP...
Tryskell replied to ntelis1's question in Request Server Development Help [L2J]
English perhaps after russian and greek ? What's the price of such host ? There's too much features lol, as a bad IL greek x5000 server. -
You can create a code inspired from flood protectors, but don't use them for this sort of purpose. Flood protectors are general, means even if he got a useItem flood protectors, it will be use for ANY use of item (soe, potion, etc). And if he put kick, all his players will be kicked one day or another lol :). So better inspire from floodprotectors than use to delay action.
-
You have to create an empty database named "l2jdb" before installing tables. The script install tables, but database must be created before.
-
[Help] Make Mask EXP
Tryskell replied to [Geo]Sky's question in Request Server Development Help [L2J]
And if you have problems I can help, but don't wait for a code-to-patch solution, because this isn't the goal of this section. -
Define it, your code is long and boring to read.
-
What is supposed to be the error ? Any translator plox...
-
redsky just in town on little event.
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
Lol ? Have you read the totality of my message ? A boolean will have to return true/false, and why create a method about it ? Just add custom code in an existing zone, or create your own custom zone from a clean template. BTW if you want to add it on an exisiting event, give more infos, because adding it to an existing zone wouldn't be the best solution. Solutions are multiple, and the best one depends of what you need. So explain your case in totality. -
[HELP] NO Mobs on the map
Tryskell replied to Aktaban's question in Request Server Development Help [L2J]
SQL part : http://www.maxcheaters.com/forum/index.php?topic=98212.0 More accurate about monster part (avoid to read the first topic) : http://www.maxcheaters.com/forum/index.php?topic=187184.0 ---- Custom mob instances part (perhaps you just want to change drops but else it's fine for any adanced idea you could have) : http://www.maxcheaters.com/forum/index.php?topic=186576.0 -
[Help] L2J Java Problem
Tryskell replied to Soulmaster's question in Request Server Development Help [L2J]
From the moment you got BUILD SUCCESSFUL There are no real error, just warnings. BTW to fail a DP compilation you have to be pro, because there is nothing to compile, it's more a organization than a compilation. Yes about Pentium II, it was a joke :). 55 secs is more normal than 5min ^^. About svnversion, see my first post, search on google :P. But you haven't to busy as it doesn't influence the build. -
[Help] Make Mask EXP
Tryskell replied to [Geo]Sky's question in Request Server Development Help [L2J]
If it's an item which supposed to give a boost in xp rate, I guess you have to create an itemhandler with an onEquip method and using itemIDs and ItemType you need. Analyze others itemhandlers from datapack (after IL) or in core (before IL). -
Reading stickied topics on this board : http://www.maxcheaters.com/forum/index.php?board=37.0 If you're lazy just forget develop a server.
-
redsky just in town on little event.
Tryskell replied to l2redkiller's question in Request Server Development Help [L2J]
You include a onEnter / onExit code in a given zone, or create a custom area. Basically it could be : protected void onEnter(L2Character character) { if (character instanceof L2PcInstance) { //register yourself in a town zone character.setInsideZone(L2Character.ZONE_TOWN, true); // if event up, make the sky red for all people in this area if eventIsInProgress put redsky } } protected void onExit(L2Character character) { if (character instanceof L2PcInstance) { //register yourself in a town zone character.setInsideZone(L2Character.ZONE_TOWN, false); // if event up, make the sky red for all people in this area if eventIsInProgress remove redsky } } Of course you have to code, as I take only exemple : // if event up, make the sky red for all people in this area if eventIsInProgress remove redsky -
[Help] L2J Java Problem
Tryskell replied to Soulmaster's question in Request Server Development Help [L2J]
Means what it means, build is successful. If you're really bothered with your error, type "svnversion" in google or edit your build.xml. I would be more bored about compiling time (5min to "compile" DP, you do it on Pentium II or what ?). -
It's between 4 and 6 lines fix. With configs, 10. PS : Dunno your chronicle, but I hope I will never find a server like your lol. Like if tanks were imba in pvp servers...
-
[Request] Sum Damage effect on mobs
Tryskell replied to lamle1112's question in Request Server Development Help [L2J]
Haha, funny : http://forum.ragezone.com/f325/damage-gets-drops-635769/ I didn't analyze this one, but if this is the same thing, you have to study the way of shared XP (when you kill a mob). The mob give xxxxx XP amount, but XP is shared equally to damage inflicted. Must be something similar, except instead cutting total damages in little portions, you have to pick up the biggest little portion and put the drop true for him. Dunno if it's really clear, but anyway House code was experience, and it still isn't implemented on regular L2J (anyway, it isn't on DropProtection.java). Search on L2J forum, because if you think House posts here, you're wrong :P. -
[Request] Sum Damage effect on mobs
Tryskell replied to lamle1112's question in Request Server Development Help [L2J]
Try to find if there isn't another fresh update, this one is around 6 months ago. BTW, code is from Dr House, the guy just reshared it. -
[share]Stazis' geodata interlude
Tryskell replied to 3JI0's topic in Server Development Discussion [L2J]
Link 1 download an "archive.exe", which isn't the expected file (surely a virus). Link 2 is broken link. Enjoy. -
Server login problem...
Tryskell replied to ChaoticLegend's question in Request Server Development Help [L2J]
AutoAccount off ? You try to login, but have you first created your account ? Verify if your account is created first (accounts table), else you have perhaps entered a wrong password in creation and thought you entered another. I suggest you to delete your account and recreate another. If it was a bad chronicle client, it would says than the revision protocol is wrong.