Jump to content

Recommended Posts

Posted (edited)

As title says fake player buffer. This mod is made so players can avoid using 4 different chars to buff themselves and also add something for admins to "sell" to players. Obviously inorder to sell such thing u have to add a simple npc buffer and use this premium feature for the rest. It can be triggered with item so players can buy this thing as an item but u have to buy it either with donation coin or whatever crap admins can think of (not included u have to make it). Since it's loading x numbers of bots from xml you have limited supplies of bots to sell it doesnt matter in the end if u are skilled dev u can optimise the code or fix whatever u dont like. It's a free share in the end.

 

Buffer Conditions

Bot only give buffs while it's within a party. You have to select the target to give buffs to (same with schemes). It has also radius conditions players must be close to the bot inorder to receive buffs. Player needs to be party leader or w.o party inorder to invite the bot in party. If player isnt in owners radius it will teleport to him.

 

Missing Conditions

I didnt add important conditions such if player is in oly/siege or whatever place u dont want the bot buffer to be (you have to add it).

 

Screenshots / Vids

This window is for admins only.

Details window for the bot

Main fake bot window

Fake bot buffer solo buffs video

Fake bot buffer scheme buffs video

Follow / Unfollow behavior

Fake bot party invite

 

Pastebin pass: maxcheaters

 

Code

FakePcTables.java

FakePc.java

BotBufferAI.java

Command Handlers  <-- I believe at this point everyone got their own custom command handlers. If u want to spawn the bot with an item

u have to make the right adjustments.

 

HTML

path: \data\html\mods\fakebots

fakeBot.html

fakeBotEditScheme.html

mainBotsWindow.html

solobuffpage.html

 

XML

path: \data\xml

FakePcs

bufferSkills

 

Gameserver.java
+StringUtil.printSection("Custom Mods");
+FakePcTables.getInstance();

 

PlayerMove.java
+/**
+ * Ignore fake bot
+ */
+if(_actor instanceof FakePc) {			
+}
+else if (!_actor.getClient().performAction(FloodProtector.MOVE))
{
_actor.sendPacket(ActionFailed.STATIC_PACKET);
return;
}

 

Player.java
+private final Map<Integer, FakePc> _ownerFakePcs = new ConcurrentHashMap<>();	
+boolean _setFakeBot = false;

+/**
+* Custom Bots
+* @return the list of bots for this player
+*/	
+public Collection<FakePc> getOwnerFakePcs()
+{
+	return _ownerFakePcs.values();
+}
	
+public void setOwnerFakePc(FakePc bot)
+{
+	_ownerFakePcs.put(bot.getObjectId(), bot);
+}
	
+public void setFakeBot(boolean bot) {
+	_setFakeBot = bot;
+}
	
+public boolean isFakeBot() {
+	return _setFakeBot;
+}

 

FloodProtector.java
MOVE(13, Config.MOVE_TIME),
+BOTBUFFS(14,500);

 

 

I guess credits go to Tryskell too since i basically copy/paste all already existed scheme buffer methods and elfo for getting ideas from his code.

Edited by LordPanic
Posted

Maybe I misunderstood, this is basically an NPC buffer that follows you and looks like a player?

 

Would be nice for a low rate that doesn't allow dual box perhaps, but other than that why not use a buff book or community board buffer.

Posted
8 minutes ago, An4rchy said:

Maybe I misunderstood, this is basically an NPC buffer that follows you and looks like a player?

 

Would be nice for a low rate that doesn't allow dual box perhaps, but other than that why not use a buff book or community board buffer.

 

My initial idea was to create a multipurpose fake player. But compared to elfos thing. You can build a whole concept arround it. Like creating a PVE server where players can customize,gear,lvl up the bots and give a unique feature to the community. Since i dont plan to open a server ever. There you go i gave u ppl my idea (sth interesting to work on) and tbh i would play in such server. Obviously if ppl dont like my shitty share and got the skills to make it even better from scratch there u go.

Posted
17 minutes ago, LordPanic said:

 

My initial idea was to create a multipurpose fake player. But compared to elfos thing. You can build a whole concept arround it. Like creating a PVE server where players can customize,gear,lvl up the bots and give a unique feature to the community. Since i dont plan to open a server ever. There you go i gave u ppl my idea (sth interesting to work on) and tbh i would play in such server. Obviously if ppl dont like my shitty share and got the skills to make it even better from scratch there u go.

 

Don't get me wrong, I wasn't being negative on my initial reply I only wanted to know the purpose of such npc/bot in a server.

 

Doesn't sound too bad of an idea in my opinion, it's just that it doesn't really fit l2 and it would only anger players. But still, it could be really fun to work on this. L2OvC has a system similar to the one you described, where bots participate in PvP events and other stuff.

Posted
4 minutes ago, An4rchy said:

 

Don't get me wrong, I wasn't being negative on my initial reply I only wanted to know the purpose of such npc/bot in a server.

 

Doesn't sound too bad of an idea in my opinion, it's just that it doesn't really fit l2 and it would only anger players. But still, it could be really fun to work on this. L2OvC has a system similar to the one you described, where bots participate in PvP events and other stuff.

I didnt get offended dont worry. Nah i dont mean mindless bots who are been runned by scripts and do things like the ovc u mentioned.

 

Well i play this shitty game for centuries and believe me i would love to see a server with this feature (PVE based). Where you can buy a bot lvl 1 exp it , gear it enchant his gear (basically like a pet but compared to a common pet u get all this options). Then ofc depending on what type of a bot a player buys (assister/healer/etc) it will behave like that (the sky is the limit) and build the whole server arround that.

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

    • Bought the interface source for the 557 protocol from him. Everything works as described, no issues so far. Smooth deal, would recommend.
    • Add try version of protocol 563 https://drive.google.com/file/d/1l1QnyFGXxX_c98FNUgXHFmDsIzZCrVc6/view?usp=drive_link
    • WTS Adena Stock 2.6kkk Titan 78 Sub Sagitarius 76 nobless Hirophant 78 Sub Cardinal 78 nobless   discord : nhr0711
    • We are not another "open-close" project. LOE is a long-term Essence server that has been live for over a year — NewAge x2 is our brand-new world, and it will never be wiped. 🗺 STAGED WORLD PROGRESSION Here is what kills most servers: no-lifers hit the cap in three days, everyone else logs in to a finished race. On LOE the world unlocks stage by stage, every ~2 weeks — new locations, new bosses, new gear ceiling. The server grows as one. Start on day one or day ten — you are still in the race. ✨ WHAT MAKES US DIFFERENT Subclass system on Essence — a full dedicated questline, unique for this platform. Your build, your rules. Talent system — three branches: tank, damage, farm. Two players, same class, different characters. Hero skills and deep character customization. Fair progression — power comes from playing, not from a credit card. x2 rates — the classic Essence pace without the grind wall. 📚 WE DOCUMENTED EVERYTHING 25,000+ items, every class with full skill tables, monsters, drop rates, quests, locations. Check the server before you even download it: loe.promo/wiki — no other project gives you this. 📋 SERVER INFO Platform: Lineage 2 Essence · Rates: x2 Open Beta: July 24 — test the stages and the subclass questline before launch Grand Opening: July 31, 20:00 GMT+3 Site & wiki in English — international players welcome 🔒 YOUR NICKNAME IS BEING TAKEN RIGHT NOW Reservation is already open. On the 31st the crowd arrives — the name you have carried through every server for years may simply be gone. Lock it in 30 seconds: Equal start for everyone. See you in Elcardia — July 31, 20:00 GMT+3. Questions? Drop them below — the team reads this thread daily.
  • 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..