Jump to content

Question

13 answers to this question

Recommended Posts

  • 0
Posted

What pack are u using? I think u can do it in all packs before high five from shift click with gm char.

  • 0
Posted

What pack are u using? I think u can do it in all packs before high five from shift click with gm char.

Not,on acis packs only from xmls

  • 0
Posted

Add this before end line " </npc> "

<drops>
<category id="1">
<drop itemid="x" min="1" max="1" chance="x"/>
<drop itemid="x" min="1" max="1" chance="x"/>
</category>
<category id="2">
<drop itemid="x" min="1" max="1" chance="x"/>
<drop itemid="x" min="1" max="1" chance="x"/>
</category>
<category id="3">
<drop itemid="x" min="1" max="1" chance="x"/>
<drop itemid="x" min="1" max="1" chance="x"/>
</category>
</drops>
  • 0
Posted

chance= 1 000 000 =means 100% drop rate.

500 000= 50% drop rate... Etc.

If you want to drop an entyre armor set, just add all id's in same category drop.

  • 0
Posted (edited)

It is different for H5.

Put this before line " <collision> "

<drop_lists>
<death>
<group chance="70">
<item id="57" min="100000" max="160000" chance="1000000" />
</group>
</death>
</drop_lists>
Edited by 'Baggos'
  • 0
Posted (edited)

Why don't you take a look at existing npcs how they handle the drop? Huh, ppl nowadays.

 

I already do this but i have no find an NPC with droplist

 

 

LATER: L2j .xml droplist looks in this format:

<dropLists>
			<death>
				<group chance="70">
					<item id="57" min="2653" max="5416" chance="100" /> <!-- Adena -->
				</group>
				<group chance="0.2903999984264374">
					<item id="11975" min="1" max="1" chance="6.0817" /> <!-- Common Item - Soul Bow -->
					<item id="5534" min="1" max="1" chance="93.9183" /> <!-- Soul Bow Stave -->
				</group>
				<group chance="35.69779968261719">
					<item id="1895" min="1" max="1" chance="17.6723" /> <!-- Metallic Fiber -->
					<item id="4040" min="1" max="1" chance="1.2371" /> <!-- Mold Lubricant -->
					<item id="4042" min="1" max="1" chance="1.0309" /> <!-- Enria -->
					<item id="4043" min="1" max="1" chance="2.0618" /> <!-- Asofe -->
					<item id="960" min="1" max="1" chance="0.0247" /> <!-- Scroll: Enchant Armor (S-Grade) -->
					<item id="8732" min="1" max="1" chance="0.5154" /> <!-- Life Stone - Level 76 -->
					<item id="8742" min="1" max="1" chance="0.1289" /> <!-- Mid-Grade Life Stone - Level 76 -->
					<item id="8752" min="1" max="1" chance="0.0129" /> <!-- High-Grade Life Stone - Level 76 -->
					<item id="1344" min="10" max="30" chance="77.316" /> <!-- Mithril Arrow -->
				</group>
				<group chance="42.0">
					<item id="8600" min="1" max="1" chance="55" /> <!-- Herb of Life -->
					<item id="8601" min="1" max="1" chance="38" /> <!-- Greater Herb of Life -->
					<item id="8602" min="1" max="1" chance="7" /> <!-- Superior Herb of Life -->
				</group>
				<group chance="11.0">
					<item id="8603" min="1" max="1" chance="7" /> <!-- Herb of Mana -->
					<item id="8604" min="1" max="1" chance="81" /> <!-- Greater Herb of Mana -->
					<item id="8605" min="1" max="1" chance="12" /> <!-- Superior Herb of Mana -->
				</group>
				<group chance="25.0">
					<item id="8606" min="1" max="1" chance="20" /> <!-- Herb of Power -->
					<item id="8608" min="1" max="1" chance="20" /> <!-- Herb of Alacrity -->
					<item id="8610" min="1" max="1" chance="20" /> <!-- Herb of Critical Attack - Probability -->
					<item id="10655" min="1" max="1" chance="20" /> <!-- Herb of Vampiric Rage -->
					<item id="10656" min="1" max="1" chance="20" /> <!-- Herb of Critical Attack - Power -->
				</group>
				<group chance="10.0">
					<item id="8607" min="1" max="1" chance="50" /> <!-- Herb of Magic -->
					<item id="8609" min="1" max="1" chance="50" /> <!-- Herb of Casting Spd. -->
				</group>
				<group chance="1.0">
					<item id="8612" min="1" max="1" chance="33" /> <!-- Herb of the Warrior -->
					<item id="8613" min="1" max="1" chance="33" /> <!-- Herb of the Mystic -->
					<item id="8614" min="1" max="1" chance="34" /> <!-- Herb of Recovery -->
				</group>
				<group chance="11.0">
					<item id="8611" min="1" max="1" chance="94" /> <!-- Herb of Speed -->
					<item id="10657" min="1" max="1" chance="3" /> <!-- Herb of Doubt -->
					<item id="13028" min="1" max="1" chance="3" /> <!-- Vitality Replenishing Herb -->
				</group>
			</death>
			<corpse>
				<item id="6710" min="1" max="1" chance="8.7307" /> <!-- Sealed Draconic Leather Helmet Pattern -->
				<item id="6711" min="1" max="1" chance="2.6667" /> <!-- Sealed Major Arcana Robe Part -->
				<item id="6712" min="1" max="1" chance="7.6629" /> <!-- Sealed Major Arcana Gloves fabric -->
			</corpse>
		</dropLists>

Thank you for your 'Baggos' suggestion on PM.

 

Thank you too guys for trying help.

Edited by CodyRo

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

    • Good luck with your sales, but: Demo video. Show the siege, the olympiad, the tvt when you are selling something so complex and expensive.
    • 1.8 BILION NEW STOCK.70 E PER BILION DISCOUNT IF BUY ALL
    • ============================================================== VIKOS AUTOBOTS — live bots for Lineage 2 servers on Lucera2 Interlude and Classic ============================================================== An empty server loses players. Vikos Autobots fills the world with bots that act like real players: they farm, walk around towns, join clans, fight wars, go to raids, sieges, events and the Olympiad, trade and talk in chat. Installs on top of a Lucera2 build: one .ext.jar + the data/autobots folder + a config. Database tables are created automatically. WHAT THE BOTS DO • Farm zones by level along set routes; they do not steal mobs from players or other bots. Leave town through gatekeepers (custom ones and NPC bypasses too) and come back. • Some bots leave the farm to walk around town while others keep farming, so towns are not empty. They walk, talk to NPCs and sit down to rest (can be turned off for PvP servers). • After a server restart bots carry on where they were: same zone, same route, no mass teleport to town. • Class-based combat AI: fighters, archers, mages, healers, buffers, summoners. Auto parties, healers resurrect the dead. • Real fishing with core skills (cast, Pumping / Reeling, fish fight). Rod by grade, bait and fishing shots are handed out automatically; spots have stands, a bot limit, levels and time. • Gear by class and level, a separate Olympiad set and an "online time" set; custom skills by class and by online time (same idea as time gear). Random enchant, Life Stones, dyes, buffs. Shots, potions, arrows and scrolls restock on their own; bot items never reach the economy. • Clans and alliances with generated crests, clan wars, clan defense, PvP server mode. PvP zones (arena, Coliseum, custom): admin Send or a clock like TvT (14:00;16:00). • Raids and epics (Antharas, Valakas, Baium; more via XML), with a gathering in town or a direct teleport to the boss. Castle sieges, TvT / CTF / DM, Olympiad 1v1 and 3v3, Seven Signs. • Private stores (sell and buy), RU/EN chat, AI chat (Groq or any OpenAI-compatible API), bot replies go through your server chat filter (chatfilters.xml), player PMs forwarded to admin Telegram. • Admin panel: //autobots panel. Online schedule, own AI thread pool built for hundreds of bots online, one commented config and XML files checked at server start. INCLUDED: VIKOS AUTOBOTS CONFIGURATOR (Windows) • A single .exe with Java inside, nothing to install. • Works right on your VPS over SSH/SFTP: edit and save, the files go straight to the server; the old version goes to backup. • World map from server geodata, automatic route building by the core movement rules with checks. • Farm zones, towns, raids, sieges, TvT, PvP zones, fishing spots. • Editors with client icons: equipment (farm / online time / Olympiad), skills (regular and by online time), buffs, Life Stones, supplies, dyes. Finds config mistakes by itself. • Interlude and Classic, RU/EN interface, light and dark theme, F1 help. ============================================================== VIKOS AUTOBOTS — REAL SERVER LOAD Measured ============================================================== Interlude test server on Lucera2, a regular VPS: • 4 vCPU, 8 GB RAM, Debian 13 • Java 17 (Temurin), -Xmx5G • MariaDB -------------------------------------------------------------- RESULTS -------------------------------------------------------------- CPU is a one-minute average for the whole game server process: core, mobs and bots together. 400% = all 4 cores. Bots online Server CPU (of 400%) Share of VPS 1000 ~103% ~26% 1200 ~105% ~26% 1500 ~120-150% ~30-37% • An empty server without bots uses ~40% by itself, so 1000 bots add about one core. • The bot AI itself (all bots together) takes 10-15% of one core for 1000-1500 bots. • Memory is stable, no leaks: - after GC the heap stays at ~2.8-2.9 GB with 800, 1000 and 1200 bots — about the same as the server uses by itself, without bots; - the heap low point does not grow over time: memory does not pile up, it is freed on every garbage collection; - a full night with 1500 bots with no out-of-memory errors (OutOfMemory), the server never crashed; - with -Xmx5G there is more than 2 GB of headroom. • A full night with 1500 bots ran stable. Meanwhile the bots live a full life: farming along routes, walking around towns, fishing, clans, scheduled PvP zones, TvT/CTF, Olympiad and raids. -------------------------------------------------------------- SETTINGS USED FOR THESE NUMBERS -------------------------------------------------------------- • AutobotsIterationDelayMs = 500 A bot thinks twice per second: enough to act like a real player without wasting CPU. • AutobotsMaxBots = 1000-1500 • ai.properties: AiTaskActiveDelay = 500 AggroCheckInterval = 500 Most of the load comes not from the bot code but from the mobs around the bots: bots bring locations to life, and the mobs start checking whom to attack. With these values they check twice per second instead of four times. The load is almost halved, and you can't see the difference: a mob notices its target a fraction of a second later. • MariaDB: innodb_flush_log_at_trx_commit = 2 The database flushes its log to disk once per second instead of after every small query. With 1000+ bots there are many queries, and this removes most of the database load. A standard setting for game servers. • server.properties: AutoDestroyDroppedItemAfter = 120 Drops on the ground disappear after 2 minutes instead of 10. Bots kill a lot, and in 10 minutes tens of thousands of items piled up on the ground: extra memory, extra server work and database deletes. Two minutes is enough for players to pick up their own drops. Rule of thumb: a 4-core VPS handles 1000-1500 bots comfortably. For more, go for 6-8 cores. LICENSE • The license is bound to your VPS IP: the bots run only on the server with that IP. • Send the server IP when you buy. Price: 500$ Contact: Telegram @Vikos177 — https://t.me/Vikos177 Test the bots here: <DOWNLOAD LINK> https://drive.google.com/file/d/1xpOII2X2fsUWekDIJk7POTMWu7ICpHJo/view After purchase you are added to a private Telegram group for clients: news, updates and support. ==============================================================
    • 💻 Supercharge your workflow with Claude Pro & Cursor AI. Clean setups with full warranty included!
    • 📦 Running out of Google Drive space? Upgrade to 5TB + Gemini Pro instantly on your own email.
  • 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..