Jump to content

Recommended Posts

  • 2 weeks later...
  • 1 month later...
  • 3 weeks later...
  • 2 months later...
Posted (edited)
On 6/18/2020 at 7:01 PM, Elfocrash said:

Olá

 

De vez em quando, gosto de escolher uma das coisas que estão sendo vendidas, mas são realmente fáceis de codificar e gosto de codificá-las bem rápido e compartilhá-las.

A participação de hoje é o recurso Autofarm do lado do servidor da L2Warland.

 

Como funciona

 

Você define algumas habilidades na barra de habilidades de 10º atalho

Cada seção representa um tipo de habilidade

DanYtk4.png

 

  • O uso da habilidade é priorizado (sinta-se à vontade para alterar a ordem para o que funcionar para você)
    • Chance
    • Vida baixa
    • Habilidades pessoais
    • Ataques
  • Você pode alternar ou ativar e desativar com os comandos de voz .farm, .farmon, .farmoff
  • Se os potenciômetros HP ou MP estiverem presentes, eles serão usados após os limites configuráveis serem atendidos
  • Eles só terão como alvo os monstros para os quais eles podem se mover para atacar
  • Os jogadores irão atacar automaticamente se a ação "Ataque" estiver em qualquer barra. Do contrário, eles só usarão habilidades
  • Classes de spoiler vão estragar e varrer
  • Feitiços próprios serão usados se o efeito não estiver presente e o cooldown não for alcançado
  • Feitiços próprios irão desencadear habilidades de alternância

 

Testei apenas o básico e parece que está funcionando bem. Se você encontrar algum problema, por favor, relate-o.

 

Visualização do vídeo:

 

Codificado para ACIS 382

Código-fonte:  https://gist.github.com/Elfocrash/2afaa14089dfba2d2199c9d22f06d0d5

 

Isenção de responsabilidade: isso não compartilha absolutamente nenhum código com o motor Autobots

 

Obrigada elfo

Hello Elf, could you tell me how to get this private void in ACC 398.

	private void physicalAttack()
	{
		
		if (!(player.getTarget() instanceof Monster))
		{
			return;
		}
		
		var target = (Monster) player.getTarget();
		
		if (target.getCast().isCastingNow(player))
		{
			if (GeoEngine.getInstance().canSeeTarget(player, target))
			{
				
				if (player.getAI().getCurrentIntention().getType() != IntentionType.ACTIVE)
					player.getCast().isCastingNow();
			}
		}
		else
		{
			player.sendPacket(ActionFailed.STATIC_PACKET);
			if (GeoEngine.getInstance().canSeeTarget(player, target))
				player.getAI().tryToAttack(target);
			
		}
	}

only Fight is working

Edited by L2VANPER
  • 5 months later...
Posted
17 hours ago, L2VANPER said:

Yes! algumas coisas muda o nome mesmo isso e normal.

Abre o arquivo que faz o use de alguma skill que voce encontra a referencia pra trabalhar!

You could post the AutoFarmPlayerRoutine.java class because I'm just having an error in it to try to compile and test the mod.

  • 5 weeks later...
Posted
15 minutes ago, hermesito said:

Hi Community!

im trying to add this code in my Acis 382 and get 1 this error: 

 

seens like the "var" cannot be resolved to a type.image.png.9666fa3d22f2fb22414b7ee7efbe72c4.png

 

Any Idea which is the best way to resolve this? 

Thanks

var is varriable type of JavaScript, java doesn't work like that 😄

Posted
5 minutes ago, Ugleethyn said:

var is varriable type of JavaScript, java doesn't work like that <font style=😄">

 

Java 10 introduced the "var" keyword which works similarly to the c++'s keyword "auto" for compile-time variable declaration

 

So the answer is to either upgrade Java version to 10 or above or adapt the code

  • Thanks 1
  • Upvote 1
Posted (edited)
5 minutes ago, xdem said:

 

Java 10 introduced the "var" keyword which works similarly to the c++'s keyword "auto" for compile-time variable declaration

 

So the answer is to either upgrade Java version to 10 or above or adapt the code

Thanks for the info.. I have never saw that before
edit : tested and working ❤️

Edited by Ugleethyn
Posted (edited)

Thanks for the answer. Dont know, if this is the right section for that. I just updated my Java to 11.

 

Maybe someone can give me a hand? I can pay a bit for the time.

 

But i get this errors trying to compile the gameserver: 

 compile:
    [javac] Compiling 1736 source files to C:\Users\herme\git\l2server\acis_public_server\aCis_gameserver\build\classes
    [javac] C:\Users\herme\git\l2server\acis_public_server\aCis_gameserver\java\net\sf\l2j\gameserver\autofarm\AutofarmPlayerRoutine.java:36: error: package org.jetbrains.annotations does not exist
    [javac] import org.jetbrains.annotations.NotNull;
    [javac]                                 ^
    [javac] C:\Users\herme\git\l2server\acis_public_server\aCis_gameserver\java\net\sf\l2j\gameserver\autofarm\AutofarmPlayerRoutine.java:207: error: cannot find symbol
    [javac]     @NotNull
    [javac]      ^
    [javac]   symbol:   class NotNull
    [javac]   location: class AutofarmPlayerRoutine
    [javac] 2 errors

Update: solved. Just took out "import org.jetbrains.annotations.NotNull" and "@NotNull". It works fine. Thanks for sharing

Edited by hermesito
error update
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Good evening, gentlemen. After many requests and after seeing half a dozen people using the project name with buggy acis sources that make no sense, I decided to bring some content that is truly worthy of carrying the name of our project L2JDREAM. I come through this topic to share the source code of our old L2JDream 2.0 revision This project was active from December/2012 to December/2019, being discontinued in 2019 as we now use alucera based source-code in L2JDream V3.0   That said, there is also the content of our VIP customer review, already embedded in this source, fully functional, and FREE.. WITH THE ONLY EXCEPTION OF ANTIBOT PROTECTION, which requires a valid license to work, THAT IS, a 100% free project with open source, but my protection will only work for customers who had a project license. I found this to be a fair way for customers of the private project.       The VIP revision has all the features of the free revision , plus other exclusive features. Check out more complete information about it below. Project Information: BASE: A High Five project was downgraded to Interlude. Features: Quests - All Interlude Quests working according to [L2OFF]. Raid & Grand Bosses - Working perfectly with their proper videos according to [L2OFF]. Olympiads - Fully functional according to [L2OFF]. Sieges - Fully functional and with all Castle functions according to [L2OFF]. Fortress Sieges - Working perfectly with all its functions according to [L2OFF]. Siege Hall - All working perfectly according to [L2OFF]. Lottery - Working perfectly according to [L2OFF]. Fishing - Working perfectly according to [L2OFF]. Skills - All skills in the revision are balanced for standard servers with all working perfectly according to [L2OFF]. Gameplay - All game components have been tested by several servers, both for low rate and high rate servers. Events: Death Match: Classic deathmatch between registered players. Capture The Flag: Event where teams must steal the enemy flag to score points. Team Vs Team: PvP combat event between two teams, where each enemy killed scores 1 point for your team. TvT, CTF and DM: Instanced events with configurable automatic start. Standard Mods from L2JDream FREE revision : Complete Offline Trade/Craft. NPC Crest recreated to consume less memory and run lighter with cleaner and more efficient codes. PvP/PK Color System. Voiced Commands (.menu, .help, .offline, .classmaster) Among others... Exclusive Mods - These were included in the VIP revision (all configurable to enable/disable/etc): AIO System (AIO Seller included) VIP System Buffer Vip AIO, VIP and Noblesse item Siege Date Archievement Engine BuffShop System Npc Ranking  Protected Password WareHouse Npc Raid Info  Permanent Nobless, meaning the player does not lose buffs when dying. Automatic Nobless when killing Barakiel. Register Siege Advanced Pvp & Pk Announce System PvP & Pk Reward System Chaotic Zones RaidBoss Defeated Message Announcement Respawn Boss Donator Enchant Scroll (Unique Enchant Scroll for all Grades with configurable chance...) PrivateStore Sell/Buy by Item (changes the currency of the character shops) Equipment Restriction Disable Weapons For Classes System Custom Cancellation War Legend System Quake System Dressme Arena Duel 1x1 (With Arena Ranking) *** THIS MOD HAS BEEN REFORMULATED *** Spartan Guard 3.0 - L2JDream Protection System (only works with a valid license) System locked in gameserver. Protects against L2Adrenaline, L2Net, L2phx, L2Tower, L2Walker and others. It is not possible to log into your server without the system. You must have an active license for the server and system to work. NOTE: If you test a bot and are able to use it, just contact me sending the program that it will be blocked and you will receive the fix to implement in your system.   I would like to take this moment and thank to @Bian @LucasDante @karlos @apollo @Denky @Wolgan @Nattan Felipe and the entire team that helped create and maintain the L2JDream V2 project.   You can find the full source on My GitHub  https://github.com/Wallz/L2jDreamV2_Source/ Fork and collaborate with the crowd   
    • i am very experience developer essence Wolf look for good work good pay and internatinal
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock