L2JMobius

Recent Posts

3
Got it. I guess I could use latest source (if I could), I just need to replace related files and create a new diff. I'll try.
7
Work in Progress / Re: Database information web
« Last post by Pobi on June 30, 2022, 05:41:03 PM »
I would like to see your database. I have been playing for a while, and your database would serve as an example for me.
I tried to create mine to ease the playing process, but I didn't know how to do crm data enrichment. Probably, I need to gain more experience to know what data I will eventually need. At the moment, I have an abundance of information in my brain with no idea how to structure it properly.
Can you share the link with us, please?
8
Introductions / Hi all
« Last post by Pobi on June 30, 2022, 05:39:57 PM »
I think to make my own server. Where should I start?
9
General Discussion / Re: attack inside the city
« Last post by Susuy on June 30, 2022, 02:10:05 PM »
Try!!!

Player.java
Code: [Select]
public boolean isAutoAttackable(Creature attacker)
{
if (attacker == null)
{
return false;
}

// Check if the attacker isn't the Player Pet
if ((attacker == this) || (attacker == _summon))
{
return false;
}

+if (attacker.isInTownWarEvent())
+{
+ return true;
+}

Creature.java
Code: [Select]
public boolean isInsidePeaceZone(Player attacker)
{
+ if (attacker.isPlayer() && attacker.isInTownWarEvent())
+ {
+ return false;
+ }
return isInsidePeaceZone(attacker, this);
}
probably the chars will attack each other
it worked, thank you very much
10
General Discussion / Re: attack inside the city
« Last post by kinghanker on June 30, 2022, 05:32:20 AM »
Try!!!

Player.java
Code: [Select]
public boolean isAutoAttackable(Creature attacker)
{
if (attacker == null)
{
return false;
}

// Check if the attacker isn't the Player Pet
if ((attacker == this) || (attacker == _summon))
{
return false;
}

+if (attacker.isInTownWarEvent())
+{
+ return true;
+}

Creature.java
Code: [Select]
public boolean isInsidePeaceZone(Player attacker)
{
+ if (attacker.isPlayer() && attacker.isInTownWarEvent())
+ {
+ return false;
+ }
return isInsidePeaceZone(attacker, this);
}
probably the chars will attack each other