-
Posts
3,947 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Versus
-
-
Source -> gameserver/handler/voicedcommandhandlers/OnlinePlayers.java (το αρχείο μπορεί να έχει διαφορετική ονομασία, προφανώς)
-
Open TvT.java and search for addItem(), below that, add another addItem() method with whatever you wish.
-
Here you go:
ThreadPoolManager.getInstance().scheduleGeneral(new Task(), 7200000);
You can change the time here, in milliseconds.
-
There shouldn't be an issue there, obviously the original authors of this pack knew about this and added the catch (StackOverflowError). The only way to resolve this, is by checking all the calls of this method (infinite recursive calls are most likely the issue to this problem).
-
This is an outstanding work, kudos to the developers! I hope you'll get the balance right and no worries, nobody expects it to be balanced since day one.
L2Pride should be terrified by your arrival.
-
Post the error maybe?
-
if you followed versus method well obviously the fix you applied it was not a fix but you prevent from see it on log files readd old code back.. the error isnt the exception message log, you wont fix it buy deleting the message on logs on console.. if you even delete the log of gs console you will still got the lag and the error .. it is obviously a failure of a code inside the characteraitask
Yeah, i was at work this morning, without looking at source and seeing this thoroughly, i remembered that at old L2J revs Throwable was used everywhere, so i recommended him to change that (which he should nevertheless).
Stack overflows are usually caused by bad recursive calls. Most likely, a recursive call without a proper termination condition.
@OP we can't help you much here, we'd need sources in order to provide further help.
-
At the moment its like this
public void run() { try { getAI().notifyEvent(_evt, null); } catch (StackOverflowError e) { if(Config.DEBUG) // safer _log.log(Level.WARNING, "", e); } catch (Throwable t) { _log.log(Level.WARNING, "", t); } }
but i think that stackoverflowerror is useless should i change to:
public void run() { try { getAI().notifyEvent(_evt, null); } catch (Exception e) { _log.log(Level.WARNING, "NotifyAITask failed. " + e.getMessage() + " Actor " + L2Character.this, e); }
Yes, you should change to that.
-
Sorry to let you down and everybody else who comes to this section in order to make money. Dota section in mxc is completely dead, nobody even visits it anymore.
-
private int getVotes() { URL url = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(http); URLConnection con = url.openConnection(); con.addRequestProperty("User-Agent", "Mozilla/4.76"); isr = new InputStreamReader(con.getInputStream()); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { // for top-zone if (inputLine.contains("Votes:")) { return Integer.parseInt(inputLine.split(">")[3].replace("</div", "")); } } }
worked , thank you :)
may i ask you something else? How i can make one item , to change the acces lvl of a player , i need this to give auto acces on the VIP buffer. or how can i make vip buffer , check for items on players invetory and after give acces? :)
No problem.
Didn't notice you asked something else till today, the answer is rather simple, i can't access source right now, so i'll post an example:
if (player.getInventory().getItemById(1234) != null) player.setAccessLvl(1);
PS: This is merely an example, without checking source, methods should exist, at least, almost like that, don't forget you also need to check count and delete the item from player's inventory (not sure if you need this).
If you need more help let me know.
-
I'm not familiar with esios pack, but seems to me you are getting an error, you don't necessarily need. Most likely this is due to L2J's outdated way of using catch(Throwable t), that's almost never wanted, you want to catch specific exceptions and not generally everything - that should be the case only to the very top of a thread.
Go to L2Character.java at NotifyAiTask class and replace
catch (Throwable t) { _log.log(Level.WARNING, "", t); }
with
catch (Exception e) { _log.log(Level.WARNING, "", e); }
-
I've provided the solution before. Simply, go top getVotes() method and replace the code below //for top-zone with mine.
Note: remove try {} and replace 'votes' with 'return'.
-
Check 177 line, you have a mistake there.
Nice try, but like people already mentioned, a pretty simple L2Net script can disable your captcha in seconds.. you need to find a better way for the images.
-
Hi, sorry for post, but I need to bypass that server.
Server have security for all bot's, like l2tower, l2net.
When I turn on l2net, game off :(
Yeah, lameguard can do that :D
Just pm anath3ma, with a small paysafe, i'm sure he'll be able to assist you.
-
Το φιλαράκι λέει την gevey, η οποία δούλευε τέλεια σε ένα αγγλικό 4αρι που είχα παλιά, τώρα τι παίζει με τα 4s και τις νέες εκδόσεις iOS δε ξέρω.. αλλά γιατί δε ψάχνεις λίγο στο ίντερνετ πρωτού κάνεις την αγορά;
-
Just noticed this.. to inform you, there's no invitation required, since dota2 is out of beta. Create a steam account and download dota2.
-
Εγώ στη θέση σου θα περίμενα το 5s. Το 5s με διπύρηνο επεξεργαστή, είναι πιο γρήγορο από το s4 που έχει τετραπύρηνο! Μόνο αυτό θα έπρεπε να σου λέει πολλά. Η samsung έχει προσπαθήσει αρκετές φορές να κλέψει στα benchmarks και πάλι το 5s βγαίνει πιο γρήγορο..
Γενικά όπως και να το δεις, το iPhone δε γίνεται να συγκριθεί με κανένα άλλο smartphone. Καταρχάς σκέψου ότι το iOS είναι σχεδιασμένο ειδικά για το iPhone, ενώ το Android είναι σχεδιασμένο για να τρέχει σε ένας Θεός ξέρει πόσες συσκευές. Μόνο αυτό ξέρεις τι λέει από άποψη αξιοπιστίας, ταχύτητας και απόδοση μπαταρίας;
Ψάξε λίγο τι ισχύει πραγματικά, γιατί υπάρχουν πολλοί apple haters γιατί την έχουν δει όλοι να μισούν το mainstream, τι να κάνουμε ρε παιδιά αν το mainstream είναι καλύτερο;
Όλα αυτά από κάποιον που έχει περάσει αρκετό καιρό και με galaxy και με iPhone.
-
Hmm.. ok.. dw files were never sold, project was abandoned 4 years ago, can you imagine how many bugs there would be to 4 year old files? Jesus, your server is not even remotely the same as dw, you think ppl are that retarded and won't even notice it? Stop trying to steal what other people worked for and start doing your own.
I also contacted Frank, he never sold the files to you and it's pretty obvious if you check your server features. -> Dw never had a voting system and even if we actually reopened it, we'd never use one.
I seriously don't like making threats but i'm fed up with people trying to steal my server's name just for publicity, without even doing a decent job. Please rename your project or you won't even see it started.
-
A really cool introduction!
But we need a seperate board for dota 2 since this one is full of dota 1 stuff.
Thanks :)
Many dead boards require some attention, hopefully they'll get it soon.
-
Μου έβγαλε και ένα άλλο θέμα :/ ενώ βάζω να δίνει κάθε 1 vote reward για να το τεσταρω αλλά λέει ότι θα δώσει στα 21 ενώ ο σέρβερ έχει 3 votes :/ είδα στην database (απο navicat) στο table votes που αποθηκεύει τα votes ότι έχει μείνει στα 20 που ήταν τα votes στο Topzone τον προηγούμενο μήνα ! Εγώ όμως άλλαξα να δίνει reward με τους ψήφους του Hopzone, παρατήρησα ότι δεν αποθηκεύονται του hopzone τα votes.
Ελπίζω να το περιέγραψα καλά και να καταλάβετε το πρόβλημά μου !
Ευχαριστώ !
το vote table είναι :
id vote 1 20
Μπορείς να παρέχεις το AutoVoteRewardHandler.java να του ρίξω μια ματιά;
-
Μα δεν του βγάζει ούτε το μήνυμα "Hopzone/Topzone is offline" άρα πρέπει να γίνεται κάτι άλλο εκτός από αυτό.
Πιθανότατα να είναι απενεργοποιημένο από τα configs.
Με μια γρήγορη ματιά που έριξα στον κώδικα βρήκα αυτό το λάθος και του το είπα, πέρα από αυτό αν έχει κι άλλα προβλήματα μετά τη διόρθωση αυτού, εδώ είμαστε να τα φτιάξουμε κι αυτά. Τώρα αν έχει κλειστά τα configs.. τι να πω :P
-
Γραμμή 279 "votes = Integer.valueOf(votesLine.split(">")[5].replace("</font", ""));"
αφαίρεσε το εντελώς.
-
Ευχαριστώ πολύ για τη βοήθεια ! έψαχνα για l2jgs εγώ ! χεχ
Παρακαλώ, αν χρειαστείς περαιτέρω βοήθεια εδώ είμαστε :)
-
den katalava omos.. epidi kai egw exw etimo pack ti prepi na kanw?
Απαιτείται τροποποίηση πηγαίου κώδικα, σε έτοιμο πακ δε μπορείς να κάνεις τίποτα. Θα σου συνιστούσα να κατεβάσεις τα sources του πακ σου και να ψαχτείς λίγο.. η λύση έχει δοθεί παραπάνω και είναι μικρο αλλαγές.
Lag Issue
in Request Server Development Help [L2J]
Posted
I think it's bad implementation of latest L2J mmocore to esios pack or acis, not so sure, since i never got really into these packs.
With default settings there shouldn't be absolutely any problem, i was running my Interlude server for years using the exact same setup.