Jump to content

Question

Recommended Posts

  • 0
Posted (edited)

You should be more polite if you want to get asnwer. We are not some kind of robots to answer to your questions like instant..

 

Also, we're providing tips/hints so you can LEARN, if you rly want.. If you just came here and want to get READY file(s) like most of this 'meh' community, then.. Well..

 

 

@Devlin

Shame on you, if you does something, make it properly or do not do it at all :P

 

@Andrey

If you would be a lil bit smart, you would open ANY file and use SEARCH for L2DatabaseFactory and see how that Connection con should looks like, is that so hard to TRY to manage it on your own - no offense, it's just the way you should follow.. Searching for ready codes / examples to fix your error..

Connection con = L2DatabaseFactory.getConnection()

should be

Connection con = L2DatabaseFactory.getInstance().getConnection()
Edited by SweeTs
  • 0
Posted (edited)

There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done.

Edited by Tryskell
  • 0
Posted

There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done.

 

So simple answers from this guy.

 

*

Tryskell,

Thank God of Rats :D

  • 0
Posted

How!?

 

24xgvv7.png

 

These imports are 'cause lack of imports. As SweeTs says, use

 

Ctrl + shift + o to fix imports..

 

 

As about "_log.warn", rename it to "_log.warning".

  • 0
Posted

Here you can replace

_log.warn("[SuperMonster] addHero(days) error: ", e);

to

_log.log(Level.WARNING, "[SuperMonster] addHero(days) error: ", e);

The other problems are just imports to be fixed.

Also DatabaseFactory should be renamed to L2DatabaseFactory...

Guest
This topic is now closed to further replies.


  • Posts

    • SSAO was in the game but was removed due to performance. I will revisit it. We have god rays and volumetric fog already (mind you, the god rays are a low-resolution screen-space radial effect, and fog volumes are unshadowed). It is something else I want to revisit, but I need to balance performance and quality. The only thing we haven't added is depth of field, which I might look into.    
    • Put your NC Soft rules in the Ass and shut da fak up! Nobody cares what theres money grabers think or write or claim! If not people like Elfo and other fans this game will be not known, NC Soft must suck the dicks to Everyone coz olif not people this will be another garbage.
    • the problem isnt the tech, its what you build on top of it. running a live server on a closed binary you didnt compile is risky by default. you cant audit it, you cant patch it, and when something breaks you dont have the source to know why.   the usual “but everyone uses the ncsoft client” is exactly the point. that binary isnt safe because its third party, its safe DESPITE being third party, for one reason only: 20 years of thousands of ppl tearing it apart byte by byte. whole protocol is documented, no surprises left. if it had anything weird in it we would have found it a decade ago.   this client is the opposite. its a fresh binary that a couple ppl looked at for a few days. and who made it matters. ncsoft is a dead corp that couldnt care less about your private server. this one is from a project thats alive, from someone who most likely doesnt want his client running someone elses server. im not saying it has anything in it. im saying you cant audit it and the author is not a neutral party. add that this same thread shows it gets reversed in days, so it gives you zero protection and full dependency.   for a weekend project who cares. for something with real players i wouldnt build my server on that.
    • Can I suggest some things. I'm not experienced with 3D graphics but I have the belief that they are easily implemented with high impact: Screen-Space Ambient Occlusion : Can this be added for mesh/objects (not npc/players cause it might be too tough on performance). Volumetric Fog / Gods Rays : Going through trees or local structures / meshes such as ruins, this will look amazing.   Depth of Field : I'm not sure if this is going to look good, but when you target a player, make the game focus on that layer of distance ? 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..