Jump to content

Recommended Posts

Posted (edited)

You should keep javadoc and forums in english, I doubt there is THAT MUCH spanishes using L2J (like if I would write all aCis javadoc in french while I maybe met... 4 other frenchies in L2J world). I don't have troube with spanish, but not everyone made it as second langage at school.

 

If you can create multiple instances in same time, you should edit following for concurrent version (CopyOn...) :

private static final List<InstanceWorld> _instancesWorlds = new ArrayList<>();

Otherwise good job, it's clean.

Edited by Tryskell
Posted (edited)

You should keep javadoc and forums in english, I doubt there is THAT MUCH spanishes using L2J (like if I would write all aCis javadoc in french while I maybe met... 4 other frenchies in L2J world). I don't have troube with spanish, but not everyone made it as second langage at school.

 

If you can create multiple instances in same time, you should edit following for concurrent version (CopyOn...) :

private static final List<InstanceWorld> _instancesWorlds = new ArrayList<>();

Otherwise good job, it's clean.

I agree about the lang.

 

About the suggestion, i don't know why we have a list if the engine only supports one event at the same time (for now). Whatever, thank you.

Edited by Zephyr92
  • 2 weeks later...
Posted

luego de unas vacaciones vuelvo para intentar mejorar y terminar este hermoso motor de eventos.

---------------------------------------------------------------

then a holiday I go back to try to improve and complete this beautiful event engine.

 

 

Tryskell, on 03 Jul 2015 - 07:16 AM, said:
You should keep javadoc and forums in english, I doubt there is THAT MUCH spanishes using L2J (like if I would write all aCis javadoc in french while I maybe met... 4 other frenchies in L2J world). I don't have troube with spanish, but not everyone made it as second langage at school.

If you can create multiple instances in same time, you should edit following for concurrent version (CopyOn...) :
private static final List<InstanceWorld> _instancesWorlds = new ArrayList<>();
Otherwise good job, it's clean.

 

Gracias por tu comentario, valoró mucho tu opinión.

---------------------------------------------------------------

Thanks for your comment, appreciated very much your opinion. 

Posted (edited)

You should keep javadoc and forums in english, I doubt there is THAT MUCH spanishes using L2J (like if I would write all aCis javadoc in french while I maybe met... 4 other frenchies in L2J world). I don't have troube with spanish, but not everyone made it as second langage at school.

 

If you can create multiple instances in same time, you should edit following for concurrent version (CopyOn...) :

private static final List<InstanceWorld> _instancesWorlds = new ArrayList<>();

Otherwise good job, it's clean.

Sweet Tryskell you need to read more for java and stop spam all time ...... see your job and stop speak for another job

l2jaCis 345 SpawnTable 

private final Set<L2Spawn> _spawntable = new CopyOnWriteArraySet<>();

are you sure for that ? 

plz and don't tell ... ( i create it at last update ) why you wait months for fix it ?
you create fail for more revision 
this is shit job bro :)
and i tell you again stop spam and i don't tell more for your job :)
 
and ty for share again :)
Edited by pirama
Posted (edited)

 

Shit and more shit...

 

Dude, I don't speak with someone which takes the job of another team, use it for its own shit and say after it's shitty. Just shut the fuck out.

 

_spawntable is ok like it was, what do you want to fix about it ?

 

Latest aCis is 

private final Set<L2Spawn> _spawntable = ConcurrentHashMap.newKeySet();

but you probably will say I'm a copy-paster, because L2J did it and I did it after I verified there was a performance boost ? Finally, why are you speaking about SpawnManager, while it gonna soon dissapear ? And prove me I'm wrong about both that _spawntable and my answer to that topic.

 

You explain nothing. You only know how to bark ?

 

Finally rev 345 is leaked, so basically you say you are using a leaked project for your own Pirama crap ? You're worst than a dog, dude.

Edited by Tryskell
Posted
/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.l2event.mainevents;

import net.sf.l2j.gameserver.l2event.AbstractEvent;
import net.sf.l2j.gameserver.l2event.EventSchemas;
import net.sf.l2j.gameserver.l2event.EventSchemas.TeamTemplate;
import net.sf.l2j.gameserver.l2event.EventTeam;
import net.sf.l2j.gameserver.model.Location;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

/**
 * @author Drake2wow
 */
public class TeamVsTeam extends AbstractEvent
{
	public TeamVsTeam()
	{	super("TvT Event(TvT)", "TvT", EventSchemas.tvtLoc[0], EventSchemas.tvtLoc[1], EventSchemas.tvtLoc[2]);
		for (TeamTemplate teamTemplate : EventSchemas.getRandomTvTSchema().getTeamTemplates())
			addTeam(new EventTeam(teamTemplate));
	}
	
	@Override
	public void run()
	{	ScheduleAfterMinutes(() -> initEvent(),  EventSchemas.tvtRegTask[0]);
		startRegistrationTask( EventSchemas.tvtRegTask);
	}
	
	@Override
	public void startEventTask()
	{	ScheduleAfterSeconds(() -> startMainAndFinishTask(EventSchemas.tvtRunTask), 25);
		ScheduleAfterMinutes(() -> end(), EventSchemas.tvtRunTask[0]);
	}
	
	@Override
	public void end()
	{	broadCastTopPlayers(5);
		calculateWinnerTeams();
		super.end();
	}
	
	@Override
	public boolean isSameTeam(final L2PcInstance player, final L2PcInstance target)
	{	return player != target && getTeam(player) != null && getTeam(player) == getTeam(target);
	}
	
	@Override
	public boolean isInSpawnProtection(final L2PcInstance player)
	{	if (!isEventParticipant(player))
			return false;
		final EventTeam team = getTeam(player);
		if (team == null)
			return false;
		final Location loc = team.getSpawnLocation();
		return player.isInsideRadius(loc.getX(), loc.getY(), loc.getZ(), 400, false, false);
	}
	
	@Override
	public void onDie(final L2PcInstance killer, final L2PcInstance victim)
	{	final EventTeam killerTeam = getTeam(killer), victimTeam = getTeam(victim);
		if (killerTeam != null && victimTeam != null && killerTeam != victimTeam)
			killerTeam.increaseScore();
		super.onDie(killer, victim);
	}
	
	@Override
	public void respawn(final L2PcInstance player)
	{	if (state == State.FINISHED || state == State.INACTIVE)
			player.teleToLocation(leaveLoc, 250);
		else
		{	final EventTeam team = getTeam(player);
			if (team != null)
			player.teleToLocation(team.getSpawnLocation(), 100);
		}
		super.respawn(player);
	}
}

Cleanest TvT 2015-2016, supports N teams N locations  :-[

  • 2 weeks later...
Posted (edited)

I'm working on a system to define the properties from the amount of equipment you prefer, but show us the work is not much since much different from ours.

The project greatly improved ah and continue working in order to achieve a system in which everyone can trust.

Edited by fissban
  • 3 weeks later...
  • 2 weeks later...
  • 3 weeks later...
Posted

Lock this, he hasnt update the source 1 month now, is dead... and 100000 bugs.. dont use it even events doesnt work..

the most easy event (ctf) has 3 bugs

 

ctf is a complex event as far as you want good, clean and efficient code

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • buenas no puedo poner el server On para que entren mis amigos   LoginServer # ================================================= # Settings authorization server # ================================================= # Host and port for client connections LoginserverHostname = 127.0.0.1 LoginserverPort = 2106 # Host and port for game servers LoginHost = 192.168.100.25 ( mi Ip interna) LoginPort = 9014     GameServer   # =============================== # Network Configuration Server  # # =============================== # IP which Bind Game server, * - all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 186.158.144.71 ( Ip externa ovbio) # This is transmitted to the client from the same network, so it has to be a local IP or resolvable host name InternalHostname = 192.168.100.25 # AdvIpSystem Make more GameServerIDs. Every Ip should be Protected by a DDoS Guard. # Your Server will have Success with this system Online. AdvIPSystem = False # Address \ port LS LoginPort = 9014 LoginHost = 192.168.100.25 LoginUseCrypt = true # How to request ID of LS RequestServerID = 4 # Permission to take a different id, if requested busy AcceptAlternateID = False     en que estaria fallando ?    
    • mporeis na valeis l2jaCis i kapoio etimo project  free sources gia aCis edw https://acis.i-live.eu/index.php?topic=1974.0 server install ktl edw https://acis.i-live.eu/index.php?topic=10190.0 an dn vgaleis akrh steile mou discord margazeas2
    • Hello! I am new to l2 server creation and i need your help please!!! I want to make my own l2 interlude c6 server with custom thing in it.  I need help with where to start. What source pack to pick to start and what to do. Please if you can help me i would appreciate it very much !!!
    • Need Discord with rare badge? VISIT US AND SHOP WITH US! NEW STOCK   Aged, Early Supporter Discord Accounts I sell HQ Aged and Early, Discord Accounts that are inactive and not flagged by discord at cheap prices   If you want to contact me, you can add me on discord: worldcoldwar Features: Format - age : email : pass : token Not flagged and undetected by discord HQ % With OGE Emails, password etc can be changed Unverified Early Supporter 24M Boost Badge HypeSquad Events Early Verified Bot Developer Early Supporters SHOP LINK: disvault1.mypaylix.gg/ For PayPal payments, please open a ticket. If you experience any problems with cryptocurrency payments, please open a ticket as well.
  • 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..