Skip to content

Featured Replies


 

Thanks Sweet

 

Edited by Andrey™

Solved by SweeTs

In that case ARE YOU DUMB and you cannot change l2s.gameserver to net.sf.l2j.gameserver ?

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

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

  • Author
Thanks Sweet!

 

Edited by Andrey™

There is only one error.

Warn method is undefined.


Also .. this should be in data/scripts not in gameserver.

  • Author
Thanks Sweet!

 

Edited by Andrey™

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".

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...

  • Author

Thanks Sweet!

Edited by Andrey™

  • Author
Thanks Sweet!

 

Edited by Andrey™

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.