L2JMobius
Free Users => Work in Progress => Topic started by: vert on May 26, 2019, 06:02:37 PM
-
Hi guys,
This is a little preview of Autopilot Engine I'm codding to JMobius;
Playlist on Youtube about the engine:
&index=2
(https://i.imgur.com/UfTDc7i.png)
Checklist of general items to do:
(https://i.imgur.com/ZVI65r3.png)
I'll record a little video when I can and post here for more information about the progress of the project;
Anyone has any suggestion?
Your guys like it?
Mobius, do you can implement him officially after I finished? The project can co-exist with your fake player's system, I'm very careful with the code and implementation.
PS: the idea of autopilot is not just fake players, but an engine to enable player auto farm (admins can sell this feature as a premium to the user, or by event coin, by the way, will exist..)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
https://github.com/danielbarion/HighFive/tree/fakeplayers
Some VERY important notes:
- The current version of HighFive is very outdated (from the beginning of the last year (11 months from now)) because the focus is the autopilot engine, the Hi5 files can be updated when the first release of the engine occurs.
- The autopilot engine / fake players are in one specific branch (fakeplayers)
- To contribute you need to fork the repository, open a branch FROM fakeplayers update him as you want, then, you need to create a pull request from your branch to fakeplayers.
- Everything is opensource, so, you can't fork, update and sell it. If I see anyone doing this and no contributions, I'll make the repository private and when I finish this, only Mobius and Liamxroy will have access.
- I'm not a Java Dev, I'm a frontend dev (JavaScript), so, I build this project from Elfoscrash project for interlude (https://github.com/Elfocrash/L2jRoboto), I've reviewed and replaced 90% of this code and coded new features for bots, adapted to Mobius HighFive.
- As I already said, I'm a junior Java dev, so, any help is very welcome.
- I hope you guys enjoy it!
Well, that is it :D
-
So this is like a "legal bot"? ;D
-
This is server side; so I think yes, like a "legal bot"...
-
If it is compatible with our fake players and made for at least for a GoD branch, it will depend when I see the code for it.
-
I'm working on Highfive, the GoD branch are too diff about HighFive ? I can adapt, no problem...
The engine is a package, they look like this:
(https://i.imgur.com/rmew1ud.png)
(https://i.imgur.com/An5G55z.png)
(https://i.imgur.com/Lkosuqr.png)
I'll rename him to autopilot because I'm working on small generic functions as possible, to use him as "auto farm" in a player too;
When I done the project, I'll give access to the source to you Mobius (the project is in my personal github as a private repository).
-
Update:
https://youtu.be/UEoT2T9Z5pI
-
Nice work.
Moved in work in progress.
-
Wau, looks cool :) :)
-
Nice work.
Moved in work in progress.
Thank you, I'm finishing my university exames and I'll have a little more time to code this project.
Wau, looks cool :) :)
Thank you;
I'll try let this topic regularly updated.
-
I finished the Sagittarius class tonight, refined the get target function and update initial fight buffs;
(1:45 AM, let's sleep hahaha).
Next classes: Moonlight Sentinel, Ghost Sentinel.
I'm working only in archers class first (Kamael will be in the end, spoil and summoners too).
-
I finished the Sagittarius class tonight, refined the get target function and update initial fight buffs;
(1:45 AM, let's sleep hahaha).
Next classes: Moonlight Sentinel, Ghost Sentinel.
I'm working only in archers class first (Kamael will be in the end, spoil and summoners too).
Goodjob Vert .. I hope Mobius will get you to inner circle after this share.
-
Goodjob Vert .. I hope Mobius will get you to inner circle after this share.
Thank you, it would be amazing.
Unfortunately I have low time to code (work and university), so, I'm programming this engine just in my free time... I don't know if I'll finish him completely in the next months, but I want the first release with the basic functions and some AIs (archers, daggers, bishop and some mages) 100% working for you guys can use and I'll do some updates as possible with the next features (other AIs, progressive system, player autopilot - farm).
-
Update:
- Archers class finished,
- cast skill logic removed (using default players skill handle now);
---------------------------------------------------------------------------------------
- Fake Players are teleported to (x 0, y 0, z 0) some times when walking to target in varkas (in every irregular place).
Reason: default last position in server (players class) is (x 0, y 0, z 0) and when receive a package from client, the package is verified if is a valid position and character last server position is updated.
Solution: in the start flow of fake player thinking, if the last position !== current position, update the last position.
Status: Solved.
---------------------------------------------------------------------------------------
-
Update:
- Archmage class,
- Mystic Muse class,
- Storm Screamer class,
- Basic mage logic done;
---------------------------------------------------------------------------------------
- Nuker mages working 100% with self spell buff, no logics for CC skills done yet (surrender to fire, anchor, silence....).
- Engine renamed from fakeplayers to autopilot.
- Spawn player with a specific lvl (min 1, null = use default level from config, max = if number > 86, use 86; 86 = 85 and 100%).
- Helper button added with some informations about general use.
---------------------------------------------------------------------------------------
Next possible updates:
- Daggers class.
- Overlord class.
- Conditional skill logic (for CC's).
- Use summons.
- Soultanker class (with summon).
- Summons class.
- Dreadnought class.
- Titan class (need conditional skill task for frenzy and zealot).
- Khavatary class (need conditional skill task for zealot).
- ...
- Cardinal class.
- Evas class.
- Shillen elder class.
- Hierophant class.
- Warcryer class.
- Maestro class (with summon).
- Spoil class (with sweep logic).
- Kamael classes.
This will happen, maybe not in this order, I want to release the first version after Khavatary class and do some updates after...
What you guys think about this ?
---------------------------------------------------------------------------------------
Necessary features but not listed in the ordered tasks:
- Back to the region when character die
- Go to a specific region based on characater level
- Accept party
- Buffer classes buff party
- ....
-
This is insane! Good job.. keep up
-
Thank you!
------------------------------------
Update from last night:
- Logic of pickup items in ground (adena, some herbs, ...) started
-
Maybe add some generic AIs before making everything?
Fighter, Caster, Ranged, Healer.
And extend those?
-
Sounds great!
I'll finish the pickup logic to commit the changes and after, I'll split the CombatAI into some generic files.
Thanks.
EDIT: Guys, I'm out of time now, but I'll post some updates when I can; (I'm out of time to code pet projects, but I enter in forum a lot of times a day, if someone has any question, just let me know).
-
Update:
---------------------------------------------------------------------------------------
The pickup item logic will be improved in the future with some extra validations and a possible refactoring, but for now, its 100% working and doens't conflit with any other "think and act" logic (like combat).
-
Very good!
This can turn into a real system of setting up bots on the server.
Still they would remain after server restart?
-
For now, they are not stored into db, but in the "progressive fake players" feature, they will;
Edit: Guys, don't forget, I love L2 and this is a hobbie (like mobius and a lot of you guys), I just code when I can, so... don't worry, I'll post updates as soon as I can.
-
Hi Guys,
Great News!
I have worked some time in this weekend and there is the update list:
Update:
- Armors from no-grade until S80 are mapped (need map s84 armors)[light and robe]
- Start mapping items by class and by grade (Weapons)
- All fixed items for only 3 job classes removed
- All equips of initial races - done
- All equips of d-grade for every class - done
- All weapons of c-b-a-s-s80-s84-grade for all mage class - done
- All weapons of c-b-a-grade for [Gladiator, Bladedancer, Warlord, Paladin, Dark Avenger, Temple Knight, SwordSinger, Shillen Knight, Warsmith, Bounty Hunter] classes - done
- All weapons of s-s80-s84-grade for [Duelist, Spectral Dancer, Dreadnought, Phoenix Knight, Hell Knight, Eva Templar, Sword Muse, Shillen Templar, Maestro, Fortune Seeker] classes - done
---------------------------------------------------------------------------------------
Possible Next Update:
- Finish c-b-a-s-s80-s84 grade weapons to other classes
- S84 equips for mage
- S84 equips for light
- All heavy armors
- When fake player reaches the necessary level to the next job, they will go to town and rise up to the next class in three (random if has more than 1)
- Autopilot engine remove all armors and weapons from old class and give the new items
---------------------------------------------------------------------------------------
PS: When the grade has more than one equipe (only S or S+), they will be random, like:
case "S":
if (Rnd.get(0, 1) == 0) {
/**
* 6608 = Arcana Mace
*/
itemsIds = Arrays.asList(6608);
} else {
/**
* 9860 = Dynasty Phantom (Acumen)
*/
itemsIds = Arrays.asList(9860);
}
break;
case "S80":
/**
* 10440 = Icarus Spirit
*/
itemsIds = Arrays.asList(10440);
break;
case "S84":
int randomNumber = Rnd.get(0, 2);
if (randomNumber == 0) {
/**
* 14125 = Vesper Buster (Acumen)
*/
itemsIds = Arrays.asList(14125);
} else if (randomNumber == 1) {
/**
* 15856 = Veniplant Sword (Acumen)
*/
itemsIds = Arrays.asList(15856);
} else if (randomNumber == 2) {
/**
* 15900 = Archangel Sword (Acumen)
*/
itemsIds = Arrays.asList(15900);
}
break;
---------------------------------------------------------------------------------------
I'll finish the initial version of Autopilot engine just with the fake players (with essential interations) and update my HighFive version of mobius project.
For now, the first version as I've planned will have the features bellow:
- Configuration file.ini
- Combat AI
- Pick items AI
- Some character classes (AI)
- Specific places to farm and level up by level (fake player will go to the place automatic)
- When fake die, start the flow of item above
- Maybe but I'm not sure: Fake players stored in DB and be progressive (when restarts, restore all fakes...)
Q: Your engine is named as 'AutoPilot', where is the bot ? The "auto farm" ?
A: The "bot" feature will use the same functions of fake players, so, when they are very refined and working very nice, the "auto pilot" will be very nice.
Q: Your engine will be free or paid ?
A: Free. When I'm done with the first release, I'll talk with mobius how we can organize to update JMobius source (I prefer work with Git, so, probability will be a private git repository who mobius will have full access and the engine is just a package with 1 line altered in mobius source and some admin html added to source. Will provide the source of engine and the .diff to te current version of HighFive branch).
Q: You will provide any support ?
A: No, I'm coding for l2j as a hobbie, so... Will help in forum but not in personal messages or in other channels.
Q: You will update the engine ? Fast ? Everyday ? One time/year ? Slow ?
A: Yeah, I'll update the engine everytime I can, when I said, I'm coding for l2j as a hobbie, so, does not expect releases everyday or everyweek, but I'll.
I hope you guys enjoy the engine.
-
Why so much effort in creating fake players, what is the point of the server being full of these?
:sadface:
-
Why so much effort in creating fake players, what is the point of the server being full of these?
:sadface:
Well, I like It.
I like the idea to have a project for l2 related to AI who I can use in my university and a project who I love to code.
I'll earn anything ? Probability no.
Q: So, why don't work on fixes from official servers to mobius branchs ? Why don't spent time with some event mods instead fake players and auto pilot ?
A: Because I don't want :) .
I don't have time to log in into official servers and compare htmls or anything.
I work full time and go to university, so: I wake up, go to my work, after work I'll to my university, after university I go to my house, I sleep, I wake up, go to my work...
-
You are free to do what you want with your time.
-
Hi Guys,
Update's note:
- All weapons by grade and class defined for all classes except Judicator
- Add s84 sets to light and mage classes
- Move DY from s80 to S grade sets
---------------------------------------------------------------------------------------
Next possible updates:
- All heavy armors
- When fake player reaches the necessary level to the next job, they will go to town and rise up to the next class in three (random if has more than 1)
- Autopilot engine remove all armors and weapons from old class and give the new items
-
To sad to read the changelog work in the posts without the chance to try it :(
-
You guys will can teste and use in few updates, I'm coding Just the critical and necessary things.
I'll refine the engine after lauch It, but I want launch a First release more stable as I can.
-
Hi Guys,
Update's note:
- All classes heavy armors added
- Fix id of tallum light armors (before: dark crystal ids) (my fault hahaha)
- Map all classes (except judicator) to receive items (robe, light, heavy)
- Only pick items in ground if is his owner
- Pick items in ground disabled by default until more tests
---------------------------------------------------------------------------------------
Next possible updates:
- When fake player die, back or go to a zone for you respective lvl / farm
- When fake player reaches the necessary level to the next job, they will go to town and rise up to the next class in three (random if has more than 1)
- Autopilot engine remove all armors and weapons from old class and give the new items
- Progressive fake players system (store fake in DB)
-
hi! still developing? nice job so far
-
hi! still developing? nice job so far
Hello LudinTheGaT,
Yeah, I'm a little out of time for now, but I'll post some updates note as soon I can.
Thank you!
-
Hi Guys,
Update's note:
- Base Ai's class added to Human, Elf and Dark Elf (fighter and mystic)
- Flow to switch items and occupation when up from level 19 to level 20 (I made this flow generic, so, will work to every occupation change)
- Save selected class into fake player to check the tree (when spawning a fake with selected class, just the 3 job classes are available to select - if level < 76, add the occupation of 2 job in the tree of 3 job saved to the character)
- Autopilot engine removes all armors and weapons from the old class and give the new items
- Add Rogue AI
---------------------------------------------------------------------------------------
Next possible updates:
- Add 1 job Ai's
- Add 2 job Ai's
- When fake player reaches the necessary level to the next job, instead of just switch everything in the same place of the player is, they will go to town and to a mapped grandmaster to stand in his front before switch occupation
- When fake player are in town, go to a mapped farm zone for his respective level
- Progressive fake players system (store fake in DB)
- Map all necessary farm zones by level
- Map all towns and citys
- Map places in town (shop, grocery, and teleport) to the fake looks like more human
&index=2
-
this is great, if theres any menial work you need done like a lot of copy pasting stuff feel free to ask me.
-
this is great, if theres any menial work you need done like a lot of copy pasting stuff feel free to ask me.
Okay, thank you JMD!
-
Hi Guys,
Update's note:
- Occupation change method refactored and split in more generic and reusable methods.
- Add 1 job Ai's (Tree of: Sagittarius, Ghost Sentinel, Moonlight Sentinel, Archmage, Mystic Muse, Storm Screamer)
- Add 2 job Ai's (Tree of: Sagittarius, Ghost Sentinel, Moonlight Sentinel, Archmage, Mystic Muse, Storm Screamer)
- Switch equipment in 52 and 61 (all items are already ready, if a fake is spawned in those grades, they will receive the correct items)
---------------------------------------------------------------------------------------
Next possible updates:
- When fake player reaches the necessary level to the next job, instead of just switch everything in the same place of the player is, they will go to town and to a mapped grandmaster to stand in his front before switch occupation
- When fake player are in town, go to a mapped farm zone for his respective level
- Progressive fake players system (store fake in DB)
- Map all necessary farm zones by level
- Map all towns and citys
- Map places in town (shop, grocery, and teleport) to the fake looks like more human
-
supa cool bro, hope to try it one day.
-
supa cool bro, hope to try it one day.
Thank you bro!
Last post updated with the last task done.
Now I'm mapping the farm zones (beginning from cedric's training hall).
I'll release one version with the necessary features to populate a server eco-system and those classes: Archmage, Mystic Muse, Storm Screamer, Sagittarius, Ghost Sentinel, Moonlight Sentinel.
-
Thank you bro!
Last post updated with the last task done.
Now I'm mapping the farm zones (beginning from cedric's training hall).
I'll release one version with the necessary features to populate a server eco-system and those classes: Archmage, Mystic Muse, Storm Screamer, Sagittarius, Ghost Sentinel, Moonlight Sentinel.
Can't wait.
-
supa cool bro, hope to try it one day.
Thank you bro!
Last post updated with the last task done.
Now I'm mapping the farm zones (beginning from cedric's training hall).
I'll release one version with the necessary features to populate a server eco-system and those classes: Archmage, Mystic Muse, Storm Screamer, Sagittarius, Ghost Sentinel, Moonlight Sentinel.
Nice!
i wonder if there is any chance to configure em to also pick items and if they get an enchant, to try it on weap, or elemental stones on armor/ weap?
-
supa cool bro, hope to try it one day.
Thank you bro!
Last post updated with the last task done.
Now I'm mapping the farm zones (beginning from cedric's training hall).
I'll release one version with the necessary features to populate a server eco-system and those classes: Archmage, Mystic Muse, Storm Screamer, Sagittarius, Ghost Sentinel, Moonlight Sentinel.
Nice!
i wonder if there is any chance to configure em to also pick items and if they get an enchant, to try it on weap, or elemental stones on armor/ weap?
Thx,
Yeah, I've implemented the pickup items flow (herbs and adena - match item name by string), will be dynamic and possible to configure it, but doesn't look perfect to me until now, so, I disabled the pickup items until more tests.
Use enchant items and add element to equips will be added in future, I have this code fragment but I'm not looking for this now.
I really want to release a complete eco-system of fake players for any JMobius server, with small but perfect features in the begin and totally configured by config file like mods ;)
-
Any update bro? very excited about this :D
-
Any update bro? very excited about this :D
No finished feature.
Until now, I've mapped the Cedric's Hall with min level set to 1 and max level 7 (to farm in this place), after up to level 8, the character will walk to talking island (I'm in this part);
When I finish the first mapped place, others will be very fast :D
-
supa cool bro, hope to try it one day.
Thank you bro!
Last post updated with the last task done.
Now I'm mapping the farm zones (beginning from cedric's training hall).
I'll release one version with the necessary features to populate a server eco-system and those classes: Archmage, Mystic Muse, Storm Screamer, Sagittarius, Ghost Sentinel, Moonlight Sentinel.
Nice!
i wonder if there is any chance to configure em to also pick items and if they get an enchant, to try it on weap, or elemental stones on armor/ weap?
Thx,
Yeah, I've implemented the pickup items flow (herbs and adena - match item name by string), will be dynamic and possible to configure it, but doesn't look perfect to me until now, so, I disabled the pickup items until more tests.
Use enchant items and add element to equips will be added in future, I have this code fragment but I'm not looking for this now.
I really want to release a complete eco-system of fake players for any JMobius server, with small but perfect features in the begin and totally configured by config file like mods ;)
Sorry my bad English...
Interesting, then fakeplayer pickup anything, items are moved to inventory and stored there, or they are simply deleted?
-
Inventory;
They act like a real player because of player's function :D
-
"Real player" bots is very interesting😃. May be you relise function" if bot logout, this bot sit down into random town, and trade random items" high economy on servers with low online🤔🤔🤔
-
"Real player" bots is very interesting😃. May be you relise function" if bot logout, this bot sit down into random town, and trade random items" high economy on servers with low online🤔🤔🤔
Yes! The idea of the Autopilot engine is "A complete ecosystem of bots (farm, lvl up, buff, trading, siege, boss...)";
But I'm out of the project for now (source code are with @Liamxroy and @Mobius);
-
hi, i am new in the forum, how can i download the bots so i can test them?
-
cool, good job :)
-
what you never answer is everywhere :(
-
Hi, I'm very busy at the moment...
I never answer? Man, take a look at what I said in other pages before say it.
Well, I've received some messages about this engine, Liamxroy and Mobius already have access to it (it's not finished yet).
If they allow I can make the repository public and everyone can help finish this when I can't finish now.
-
I do not have any problem with it.
It is based on free version.
-
Well.. done :)
https://github.com/danielbarion/HighFive/tree/fakeplayers
Some VERY important notes:
- The current version of HighFive is very outdated (from the beginning of the last year (11 months from now)) because the focus is the autopilot engine, the Hi5 files can be updated when the first release of the engine occurs.
- The autopilot engine / fake players are in one specific branch (fakeplayers)
- To contribute you need to fork the repository, open a branch FROM fakeplayers update him as you want, then, you need to create a pull request from your branch to fakeplayers.
- Everything is opensource, so, you can't fork, update and sell it. If I see anyone doing this and no contributions, I'll make the repository private and when I finish this, only Mobius and Liamxroy will have access.
- I'm not a Java Dev, I'm a frontend dev (JavaScript), so, I build this project from Elfoscrash project for interlude (https://github.com/Elfocrash/L2jRoboto), I've reviewed and replaced 90% of this code and coded new features for bots, adapted to Mobius HighFive.
- As I already said, I'm a junior Java dev, so, any help is very welcome.
- I hope you guys enjoy it!
Well, that is it :D
-
Well,great job! :) :) :)
-
Hello,
For those who are asking me "how can update the Hi5 version to the latest...".
Look at here: https://github.com/danielbarion/HighFive/pull/1/files
dist/game/config/AdminCommands.xml (admin commands)
java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java (adaptations)
java/com/l2jmobius/gameserver/network/clientpackets/MoveBackwardToLocation.java (fixed when fakeplayer doesn't have a package, so, he updates with location: 0,0,0)
java/com/l2jmobius/gameserver/network/serverpackets/MoveToPawn.java (adaptation)
java/com/vert/autopilot/* (everything)
My Intellij Idea has updated the singular and plural of some "task" and "helper" words. But you guys can make the code review of what was changed out of autopilot package in 10 mins.
Now, you guys can adapt to the newer version of Hi5, but I'll not merge the fakeplayer branch in git with just my commits because he is not ready for one stable production release.
-
Hello ,
can someone adapt for H5 2020 mobius?
-
What verssion JAVA use this source?
-
What verssion JAVA use this source?
You can see the version in the readme.md
But... Here is the file:
http://www.mediafire.com/file/514ah8a77dk5j7a/jdk-10.0.2_windows-x64_bin.exe
-
any way to see that feature on latest version some how ?
-
any way to see that feature on latest version some how ?
Yes, of course! You can do this :)
-
i am not a java dev and i cant do it my self.
It is included in the subscription version ?
any way to see that feature on latest version some how ?
Yes, of course! You can do this :)
-
i am not a java dev and i cant do it my self.
It is included in the subscription version ?
any way to see that feature on latest version some how ?
Yes, of course! You can do this :)
That's sad, I'm not a Java dev too, but I did this like it's are :D
No, everything about that engine is in the github in that version of mobius
-
Is there a tutorial on how to install this ?
-
I am waiting for this too. Thing the project is dead. So sad,
Much work done on this for nothing.. Looked very promising.
-
Hello,
For those who are asking me "how can update the Hi5 version to the latest...".
Look at here: https://github.com/danielbarion/HighFive/pull/1/files
dist/game/config/AdminCommands.xml (admin commands)
java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java (adaptations)
java/com/l2jmobius/gameserver/network/clientpackets/MoveBackwardToLocation.java (fixed when fakeplayer doesn't have a package, so, he updates with location: 0,0,0)
java/com/l2jmobius/gameserver/network/serverpackets/MoveToPawn.java (adaptation)
java/com/vert/autopilot/* (everything)
My Intellij Idea has updated the singular and plural of some "task" and "helper" words. But you guys can make the code review of what was changed out of autopilot package in 10 mins.
Now, you guys can adapt to the newer version of Hi5, but I'll not merge the fakeplayer branch in git with just my commits because he is not ready for one stable production release.
Please tell us how to install it in the game. I'm very big noob of this ... I'm learning to me admin and scripting. I have locall server for my few friends and this AI players will be great to feel like playing in some big server.. :)
This will make it great :)