Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Marduk13
@Marduk13
does anyone know how to make a time limited item that counts downwards only when the player is logged in? the one i found counts down in real life time regardless if you are online or not
eriaxy
@eriaxy
That's how shadow item works
josellyto
@josellyto
Hello everyone!
can someone help me modify my code so that my pvp and pk ad show in which region the battle took place? Here an example: https://i.imgur.com/0IV8ChX.png
Reynald0
@Reynald0
@josellyto use the official forum of L2jServer
Someone may help you
n3xusddos
@n3xusddos
@josellyto it shouldn't be hard to get the location of the player
Mantas Smilinskas
@Mantosh
He already got an answer on maxcheaters. :)
josellyto
@josellyto
@Mantosh not really yet!
Mantas Smilinskas
@Mantosh
Oh wow, that topic became a flame war :D
@josellyto did You figure it out yet?
Reynald0
@Reynald0
A guy gave the answer, the problem is @josellyto who dont know how to implement it
Gabriel Magri
@gabrielmagri

Hello People.
Just starting today, I followed www.l2jserver.com/windows.html, got some deviations to make it work but still one issue I could not solve.
When starting the server ^\opt\l2j\server\game\startGameServer.bat an exception is thrown because the DB called l2jgs does not exists.
The sentence above is right, I connect into DB and there is no l2jgs just l2jls. None of the dbinstall commands on tutorial create this specific database.
Does someone knows how can I deviate from it? Is there any SQL for me to create it manually?

Thanks in advance.

Gabriel Magri
@gabrielmagri
[SOLVED]
Not really solved, but managed: Executed l2jcli commands on the following order:
db install -l C:\opt\l2j\server\game\sql -u l2j -pw l2jserver2019 -m FULL -t GAME
And then executed scripts to create l2jls tables manually, so they can be created on the l2jls database and not into l2jgs.
Reynald0
@Reynald0
Well done
Reynald0
@Reynald0
If anyone can solve the problem in L2jFrozen about mobs getting stuck in walls or tiny rocks. Im interested on pay for it
Same for fix the GeoEngine, L2jFrozen is Interlude
Marduk13
@Marduk13
@eriaxy thank you :)
Reynald0
@Reynald0
How to install Maven (ez): https://youtu.be/J6yeuluYkYE
dEROZA
@dEROZA
Where I can found in the core the tasks for buffs? For example I need to know how I can to get access to buffs timers.
dEROZA
@dEROZA
or i want to dispatch specific active skill..
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]