Jump to content

dpbBryan

Members
  • Posts

    370
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by dpbBryan

  1. My guess would be L2PcInstance.doDie(); /** * Kill the L2Character, Apply Death Penalty, Manage gain/loss Karma and Item Drop.<BR><BR> * * <B><U> Actions</U> :</B><BR><BR> * <li>Reduce the Experience of the L2PcInstance in function of the calculated Death Penalty </li> * <li>If necessary, unsummon the Pet of the killed L2PcInstance </li> * <li>Manage Karma gain for attacker and Karam loss for the killed L2PcInstance </li> * <li>If the killed L2PcInstance has Karma, manage Drop Item</li> * <li>Kill the L2PcInstance </li><BR><BR> * * * @param i The HP decrease value * @param attacker The L2Character who attacks * */ @Override public boolean doDie(L2Character killer) As for the code, I'm not going to do it :c
  2. Well I'm not a fan of closed-source projects that fork from free open-source ones. l2acis is a fork of L2j. I've never used L2DC either so I can't say which is better. I guess it depends on how L2DC handles quests. What you can do is look at the HTML of other NPC's that have a Quest link and see what it looks like there, that may provide answers.
  3. What exactly do you want this code to do?
  4. I'm using l2acis, but my html looks like: <a action="bypass -h npc_%objectId%_Quest Buffer">Buffer</a><br>
  5. "We'll do the shit that takes a normal literate person 5 minutes to do in 2 days, and charge you for it." Fuck off.
  6. If it's an easy question, why don't do you do the research yourself to figure out so you can solve other problems in the future? I really don't know what you're trying to say. I don't know how L2DC works. Also according to L2DC it's a closed source project. That makes it difficult from my point of view because I'm not fimilar with L2DC. Perhaps they use different packages or their code is slightly different. Unless somebody who has the l2dc source steps up, I think you're on your own. First try to make it work yourself then ask for help.
  7. Yes. I'm not going to search through the code there because I hate python. But how it works is your connection is created like: Connection connection = L2DatabaseFactory.getInstance().getConnection(); The name won't be exactly the same, but after you're done with your query and you have your results, you need to: connection.close(); How good is your understanding of java/python?
  8. Perhaps you should post the HTML from the npc buffer instead. Also next time put code tags around your code, or use something like pastebin.
  9. How much will you pay? Also, how do you expect people to work if you don't have the source? And why should I help you when I can probably just develop it myself and get all the donation money?
  10. [variable_name_of_sql_connection].close();
  11. I don't know off the top of my head but I assume somewhere in or around the client packets package. If you still can't find it, CTRL + F.
  12. 1. Why the fuck do you alternate the colors in your text? I'm not sure what build you're using, or which NPC buffers your using. They may or may not be hard, it depends on if the locations of anything moved, or if theres a difference in handling quests. For example, are include locations still the same? Are the functions avaliable in the imported locations still the same?
  13. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/NullPointerException.html Are you trying to build this in Eclipse or is this just output from the gameserver console window?
  14. If you don't know what he means you shouldn't be attempting this stuff then. Open the file 'RequestEnchantItem.java' and see if theres anything sending a packet of information, if not you can make it do so.
  15. I feel like that NPC is custom completely.
  16. You should have basic knowledge of networking before trying to run a server. The externel and internal IP's it asks you to fill in are your local IP from your router and your world IP from your router. To get your local IP open up a command prompt and type in inconfig, and you'll see something like: For your external ip, just use whatismyip.com
  17. Your error isn't l2j specific. http://java.syntaxerrors.info/index.php?title=Foo_cannot_be_resolved_to_a_type
  18. disregardless, it's still client modification.
  19. I lol'd so hard. I wish there was like, a minimum knowledge required requirement.
  20. Why does it suck? Generally anything on the client like music should be handled only by the client. Any less stress you can take off the server, the much much much better. But, you can just distrbute your content folders as a patch.
  21. Music is pure client side, the server has nothing to do with it. A good way to figure out next time ask what is happening is ask yourself do you see it or do you calculate it? If you see it, it's mostly like client (also hear too), if it's calculated then it's most likely the server.
  22. You have to decrypt the l2.ini file, check the client modification section.
  23. Show the code, I don't see an import for the database factory.
  24. I'm not sure I haven't tried it myself, but try to see if you can locate the code where you change your own title (the nick command). Trace and see through the debugger what's going on and perhaps you can replace this also for NPCs.
×
×
  • 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