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
  • Like 1
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.

  • Like 1
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.

  • Like 1

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

    • LA ERA DE EINHASAD - Lineage 2 en Castellano Lineage II Crónica 4: Vástagos del Destino x5 - Main Class - Full Craft ───────────────────────────── La diosa Einhasad ha despertado... Una nueva era comienza para los verdaderos aventureros. Un mundo completamente traducido al español, fiel al Lineage II original, creado para una comunidad hispanohablante unida por la nostalgia y la pasión. ───────────────────────────── APERTURA OFICIAL: 14 de NOVIEMBRE - 20:00hs (GMT-3) ───────────────────────────── INFORMACIÓN PRINCIPAL Rates: x5 Tipo: Main Class Sistema: Full Craft Idioma: 100% Español (traducción completa del juego) Comunidad hispanohablante Balance original con mínimas modificaciones Buffer Offline, los jugadores pueden crear sus tiendas de buffs Progresión de crónicas cada 4 meses aprox. Economía estable - Sin Pay to Win - No venta de items/adena por donación Comunidad de 1.000 personas Anterior versión x1 duro casi 3 años con 952 IPs distintas de pico ───────────────────────────── CARACTERÍSTICAS DESTACADAS Experiencia fiel al Lineage II clásico, sin alteraciones invasivas Interfaz, diálogos y objetos completamente en español Ventana de comunidad con servicios personalizados y comercio por Monedas de Oro Olimpiadas, Épicos y Asedios originales Recompensas por votación, Eventos TVT con 3 arenas diferentes. Participan todos sin importar el nivel, pero dentro de la arena solo se atacan por rango cercano Soporte activo y presencia constante del administrador Tickets de soporte con atención rápida en Discord ante cualquier problema ───────────────────────────── ENLACES OFICIALES Website: La Era de Einhasad Discord: https://discord.com/invite/A6PtCCN2SF ───────────────────────────── Una comunidad unida por el idioma, la pasión y la nostalgia. Redescubrí Aden… en tu propio idioma. Bienvenido a La Era de Einhasad.  
    • English you belarus retard ) Seems you so desperate and angry cant even speak back in EN, well guys you see how its easy to destroy scammer xD
    • Чувак) мне на него насрать давно, ты не мне сделал подлянку а людям которые купили и используют. Я его удалил год назад) когда закрыл продажи.   мне вообще похер кто ты и что ты.    Можешь сесть и попрыгать на тот же член на котором ты прыгаешь все это время) и этой версии более 3х лет) ты откопал залупу мамонта , поздравляю)) кто скачает это дерьмо используйте на свой страх и риск)) кто знает что там наворочено)))  удачи в шаринге обиженный жизнью неандерталец.   Можешь лизнуть мое очко на прощание.
    • Rosyk or rusik or whatever u blaim me that my mouth stinks but I assume you the one who stinks and your perfect pack will be now shared and you can suck a DICK )  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Server and Datapack files.rar  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Eng Client.rar Drama link    For this crap u need Lucera 2 classic license ) people paying 300 euros for this shit  lol Some Shit will come out soon mxc website need shake it a bit coz getting boring here )    Whats happen rosyk lost speach  xD Your pack was downloded  29 times bussines  not going as plan xD?
  • 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