Jump to content

melron

Legendary Member
  • Posts

    1,404
  • Credits

  • Joined

  • Last visited

  • Days Won

    32
  • Feedback

    0%

Everything posted by melron

  1. If you plan to create something based on this poll then don't. I'm expecting arround 10 votes. It will be terrible mistake if you go based on those votes because 10 votes (even 20) is not the thing you looking for. Just go arround at every l2 vote site and see the top servers, see rates, play some of them to get ideas (about custom equipment etc) and then create your plan with a common goal the logic. -Voted and good luck.
  2. There are plenty of questions that someone could ask you to understand what exactly you need. The explanation is not so detailed. Can you post your code to see how you get the data in your list? If you have a custom manager to handle this action, you probably need a Map and not an arraylist. If you need to use the ZoneManager which is the 'correct way' to handle this, you have to follow the Zake's example with some additions like: ZoneManager.getInstance().getZone(boss,BossZone.class).getRandomLocation();
  3. Best of luck
  4. So, it's 20 euro if someone already got a vip system implemented right?
  5. And the price is?
  6. use //social <id> to see them with live preview
  7. Did you compile after your last changes?
  8. Give to anyone the opportunity to have the ability to edit a topic/post of another member for various reasons. Based on a recent topic that i saw, the topic creator pasted a long code with bad spaces etc and it was really unreadable. So, i have two options. Reply with (my spam) 'move it to pastebin' Do not reply at all (because i wont open my ide, paste the code, format the spaces, find the solution for 1 topic. It would be nice if an option would be there to edit the content while when the 'save' action will take place, it would not save it directly, but the topic creator will get a notification that will inform him about a content change request from X (and a view panel with the changes) with 2 actions. Allow , Discard. Increase a value or something (that has to be visible like reputation) whenever a post is upvoted. I dont mean the reactions. I mean the up arrow just next to profile avatar icon in a topic. What's the purpose of that? I cant even remember the last time someone used that ability. its useless as it is right now, but with a few additions it could be very nice feature. Select best answer (suggestion for mods) and not locking the topic without a post is selected as best answer. Many of the topics have answers on that and instead of selecting one of them as a best answer, they just get what they want and close the broswer. Why not a moderator selecting that answer. @Maxtor
  9. I guess its possible. Νevertheless i'm not into client editing. Maybe some client devs could answer that @Asuki. The fact that all these years it hasn't be replaced with something else like discord, it means it will be pain in the ass. Edit: Actually @xdem could give you some directions
  10. Hi folks, some time has passed since my last share so, i decided to share with you a pretty basic communication between l2 and discord. Q&A Do i need to download external libraries? Yes, you need the JDA-4.3.0_310-withDependencies.jar library to be implemented at your sources What is currently implemented on this code? Well, there are 3 features that i have implemented: Whenever a player logs in, the discord bot will send him a Private Message containing the IP Address from which this action was performed . Whenever a grand boss dies, the bot will send a message in a channel (currently #raid-died) with some images,last hit,clan,respawn time etc. Currently, only Baium is implemented with images. You can add the rest at the ImageContent enum. Whenever a player is DiscordLegend (you have to think how a player would get that status) and says something in shout or trade, the bot will also write the same text at the shout, trade channels. (You can play with those channels and think of something smart) How will the bot recognize the discord profile of a member and send him a pm? Where is the profile id located in discord? You have to create your own method for that. In the previews, i have add manually MY id to do the tests. You can add custom html message that would be optional and request from users to enter their discord ID in order to get notifications etc. The ID is not the one that is after the hash (#) . You have to go at My Account tab, and click at the 3 dots that are located just after your name#id by pressing CopyID. (i would say that is a long value and not Integer.) How can i add my own image for a grand boss death feature? Just upload it somewhere (or even on your own website) and pass that url at the ImageContent enum which is located in GrandBossDeath class. Wont that spamming the whole discord with all those notifications? Well, actually no, its in your hand to handle WHEN the bot should say something. What is bot? And how can i create it? Well, you should go at youtube and watch some tutorials for that. If you dont know what is it just dont implement the code. I have my own bot, how can i make my bot do this job? Thats nice, all you have to do is to fill the BOT_TOKEN variable in Discord class with your bot token. What's the purpose of the channel messages of transactions? Well, plenty of discord servers have their own channels with trade transactions and many of them are using it to announce a transaction (wts,wtb). It's very convenient, players can see who is selling or buying what without even being ingame. Some previews: Login activity: Shout & Trade notification: Raid killed notification: Will you support that in the future? No. It took me about 2 weeks to create it while the whole code can be written in 2 days of 3 hours of work per day. My time is limited. In which acis rev can be implemented? Its java. a few adaptions and you're done. Can i add it to l2jfrozen? Read one bullet above. What else could be added to that one? I can't find any idea. Well your imagination sucks. Like mine . BUT! I'll give you an example that is not implemented in the source code. The result of This code is that one: Source code Also, be kind if you find mistakes in the code, as humans we make mistakes... Have fun!
  11. Ehm?
  12. Use directly Rnd.get(array) for a random element public static final <T> T get(T[] array)
  13. Thanks for sharing. If you wrote this code, could you explain your thought about this line? doCast(SkillTable.getInstance().getInfo(4143, Math.min(10, Math.round(4143 / 10)))); i mean the 2nd parameter of getInfo method. There isn't any dynamic data there and it will always return 10 as level. Whats its purpose?
  14. Thanks for sharing. You should also consider to update the whole code style with the new tools that java is offering.
  15. Every person can watch a 20 min video and create the MOST UNIQUE SERVER . Then, they facing the problem of 'too many servers' and they have to pay clans to join them. Then, the 2nd problem comes up! Another server also paid the paid clans and suddenly, the online count, from 250 is falling to 50 while the '50' users are saying "Server is dead go to next one". 2 Facts here: 1) What if the clan payment 'thing' just stop? What would happen? 2) What if the process of a server creation could have anti-noob system? What would happen?
  16. Τρολλαρω ρε relax
  17. Μου εμφανίζει Syntax error on token "instanceof", delete this token αφού γράψω αυτό if (instanceof activeChar != null) { } Γιατί???
  18. Do you have mental health problems? For real dude...
  19. Σου είπα... iText
  20. Are you promoting your server?
  21. This is exactly what you asked at your main post :D. try to import encodings import encodings if does not work too, you have two options. install python on your computer to have access at the encodings folder in order python will read them from your program files delete that script and do it via java
  22. change the encode() to encode('utf-8') and check it
  23. - elif nick.startswith("[ADM]") or nick.startswith("[GM]") or nick.startswith("[EGM]") or nick.startswith ("[HGM]") or nick.startswith("[DL]") or nick.startswith("-") or nick.startswith("<"): + elif nick.startswith("[ADM]") or nick.startswith("[GM]") or nick.startswith("[EGM]") or nick.startswith ("[HGM]") or nick.startswith("[DL]") or nick.startswith("-") or nick.startswith("<") or not nick.encode().isalpha():
  24. if not nick.encode().isalpha(): your code
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock