Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
dEROZA
@dEROZA
how to hook when character equipped something?
dEROZA
@dEROZA
how to hook exp or esp gain?
wtf , where the reference to the engine features?
dEROZA
@dEROZA

I found a way to do my own listener, and tried to listen characters' lvlup

/**
 * Listener for characters' level up
 * @param event
 */
@RegisterEvent(EventType.ON_PLAYER_LEVEL_CHANGED)
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
{
    L2PcInstance player = null;

    if(event.getActiveChar().isPlayer())
    {
        player = event.getActiveChar();

        _log.log(Level.INFO, getClass().getSimpleName() + ": Player: " + player + " got a new level: "+ player.getLevel() +"!");
    }
}

But something wrong.. it writes twice to the log

dEROZA
@dEROZA
[INFO ] 2019-09-21 20:42:45 AbstractScript: OnPlayerLevelChanged_Listener: Player: aaaa [268480733] got a new level: 2!
[INFO ] 2019-09-21 20:42:45 AbstractScript: OnPlayerLevelChanged_Listener: Player: aaaa [268480733] got a new level: 2!
dEROZA
@dEROZA
omg wtf with this wrong JAVA
int ench = jawel_lvlenchdata[lvl][0];
ench returned as lvl:D
dEROZA
@dEROZA
you have a bug with memory or I not understand, but in eclipse my code works, in listener not works correctly :\
Windex-
@Windex-
-.-
dEROZA
@dEROZA
how to add additional data for the weapon changing to mammon NPC?
Reynald0
@Reynald0
I guess in the XML
Marduk13
@Marduk13
@dEROZA what do you mean? can you specify?
dEROZA
@dEROZA
@Marduk13 thx, I done it in Java =) Multisell not fit
HBSNET
@HBSNET
Hi peple of L2J :)
People*
Where is merchant_buylists and merchant_shopids ?! In .xml files? There are not in MySQL DB anymore.. :P
Another important thing.. CLOUDFLARE has now a button for "Bot Fighting" and Firewall Rules for banning countries like "Russian Federation, United States and China" lol :))
HBSNET
@HBSNET
and that's a very good feature.. banning those garbage countries from one single place :)
dEROZA
@dEROZA
glhf, there're not a support
Marduk13
@Marduk13
@HBSNET game/data/buylists
they are no longer in the db
HBSNET
@HBSNET
Thanks. Fixed already from yesterday 👈👍😁
Mantas Smilinskas
@Mantosh
Is the site down?
n3xusddos
@n3xusddos
@Reynald0 why not moving to acis?
HBSNET
@HBSNET
Sell Buff as Offline Shop for H5? Is that possible and how to set up?
similar to L2JUnity..
btw, what the Hell is this in L2J forum? Hacked?
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
?!
Debug function: ON?
n3xusddos
@n3xusddos
yes it's possible
Access denied for user 'l2jserversql1'@'localhost' (using password: YES) [1045]
Reynald0
@Reynald0
@n3xusddos What do you mean?
n3xusddos
@n3xusddos
@Reynald0 since l2jfrozen have bugs go to other project
Dantes-Eduard
@Dantes92_gitlab
hi guys , can someone, ANYWAY give me a short help with the making of this L2J SERVER? please? I have done all the steps on the instruction page but something isn't working
anyone?
please????? as far as i can tell just 2 steps seemed like not working properly
Dantes-Eduard
@Dantes92_gitlab
i think the mysql step didn't work
and the l2jcli.bat file not working. says something about a newer version of java 55.0 and the fact that the other is 52.0 or something like that. can i please get a quick help?
HBSNET
@HBSNET
Java 55.0? WTH version of Java is that? :)
It is Java 6, 7, 8, 9, 10, 11, 12,13 and so on...
https://en.wikipedia.org/wiki/Java_version_history
@Dantes92_gitlab What you mean with Java 52.0 and 55.0?
n3xusddos
@n3xusddos
53 = Java 9; 54 = Java 10; 55 = Java 11; 56 = Java 12; 57 = Java 13
n3xusddos
@n3xusddos
cli is optional tho i think
HBSNET
@HBSNET
Class runtime version.. htmmm..
n3xusddos
@n3xusddos
yeah i think it's caused of wrong java version
HBSNET
@HBSNET
One question pls
Buff Offline Store is implemented in H5 L2J o rit is a separate (custom) feature/mod?
If I want to sell buffs in an offline shop /vendor in town
n3xusddos
@n3xusddos
is it ?
HBSNET
@HBSNET
?
n3xusddos
@n3xusddos
i don't know