Jump to content
  • 0

[Help] Dual Dagger Type For Interlude


Question

Posted

I'm pretty sure it's done correctly for a new weapon type for Interlude. I'm trying to add a 'dual dagger' weapon type however I'm stuck with the weaponsAllowed (xml) part. I am seeing how some different weapons have different ID's like fist is 1024, dagger is 15, bow is 32. How would I add another weapon type and make it work with the XML?

I did a search in eclipse and stuff and cannot find the weapon type ID's. In L2WeaponType it is set to 15 (right after big blunt which is 14)

10 answers to this question

Recommended Posts

  • 0
Posted

http://www.maxcheaters.com/forum/index.php?topic=116521.0 Maybe this could help you dude ;) ;), includes steps for xml files also ;) ;).

 

-DarkTerror

 

Maybe you misunderstood the problem. I do not need help writing stats.

Can't find the weapon type ID anywhere in Eclipse which will allow me to make 'dual dagger only' skills.

  • 0
Posted

Maybe you misunderstood the problem. I do not need help writing stats.

Can't find the weapon type ID anywhere in Eclipse which will allow me to make 'dual dagger only' skills.

Be smart clever boy. Be smart. Just change the look of dual blades to dual daggers. Use dual blades type and go to xml's and allow dual blades weapon type ID.

  • 0
Guest Elfocrash
Posted

Be smart clever boy. Be smart. Just change the look of dual blades to dual daggers. Use dual blades type and go to xml's and allow dual blades weapon type ID.

this is not actually a solution.he ask how he can create a new weapon type

  • 0
Posted

this is not actually a solution.he ask how he can create a new weapon type

Exactly what you said. Or maybe not ?

 

----------

I created weapon type. It's just the xml weaponallowed ID thing that is the problem.

Well look those are the weapon ID's:

 

shield--->2

sword--->4

blunt--->8

dagger--->16

bow--->32

pole--->64

etc--->128

fist--->256

dual--->512

dual fist--->1024

big sword--->2048

pet--->4096

rod--->8192

big blunt--->16384

ancient sword--->32768

crossbow--->65536

rapier--->131072

dual dagger--->262144

 

In order to allow 2 weapons for example you will have to calculate the numbers. If you want to allow just 1 weapon place one of the IDs that I posted.

Have fun

  • 0
Posted

Exactly what you said. Or maybe not ?

 

----------Well look those are the weapon ID's:

 

shield--->2

sword--->4

blunt--->8

dagger--->16

bow--->32

pole--->64

etc--->128

fist--->256

dual--->512

dual fist--->1024

big sword--->2048

pet--->4096

rod--->8192

big blunt--->16384

ancient sword--->32768

crossbow--->65536

rapier--->131072

dual dagger--->262144

 

In order to allow 2 weapons for example you will have to calculate the numbers. If you want to allow just 1 weapon place one of the IDs that I posted.

Have fun

 

You got those from freya. I need to know how to edit the weapon ID's so I can make them for INTERLUDE which DOESNT have dual daggers...

  • 0
Posted

You didn't understand what I said huh ? Make the client side first take 1 set of dual blades and change the look to daggers. Then go to xml of backstamp skill it has an ID there WEAPONS ALLOWED it has this ID:16 you will have just to calculate 16 + 512(512 = the id of dual swords/blades) I DIDNT tell you to add the dual dagger ID I told you to calculate the numbers and allow to hit the skill with normal dagger and dual blades since you will change the vision of dual blades to dual daggers. Ok now ?

  • 0
Posted

You didn't understand what I said huh ? Make the client side first take 1 set of dual blades and change the look to daggers. Then go to xml of backstamp skill it has an ID there WEAPONS ALLOWED it has this ID:16 you will have just to calculate 16 + 512(512 = the id of dual swords/blades) I DIDNT tell you to add the dual dagger ID I told you to calculate the numbers and allow to hit the skill with normal dagger and dual blades since you will change the vision of dual blades to dual daggers. Ok now ?

 

Right... It actually worked D:

Although I think I found an alternative with using cond and 'usingKind'.

But I see that the ID's multiply by 2 each time, so dual daggers cam in place with the ancient sword (32768) o_o

Thanks xD

 

Problem solved D:

  • 0
Posted

Right... It actually worked D:

Although I think I found an alternative with using cond and 'usingKind'.

But I see that the ID's multiply by 2 each time, so dual daggers cam in place with the ancient sword (32768) o_o

Thanks xD

 

Problem solved D:

You are welcum : )

Guest
This topic is now closed to further replies.


  • Posts

    • ============================================================               CLExt Classic Interlude: v7.80 ============================================================   01. Fixed ValidateLocation handling and player/client position synchronization. 02. Added protection against invalid coordinates and characters falling under the map. 03. Improved XY/Z position and heading validation. 04. Fixed MoveToLocation and MoveToPawn packet conversion and target validation. 05. Fixed TargetSelected, TargetUnselected and MyTargetSelected packet handling. 06. Improved GeoData Z-location handling and disabled unsafe PathNode modifications. 07. Added ExUserInfoInventoryWeight support. 08. Fixed inventory weight and maximum load synchronization. 09. Fixed incorrect 0% inventory weight after character login. 10. Added automatic inventory weight updates after EnterWorld and inventory changes. 11. Added inventory weight packet spam protection and safe weight caching. 12. Fixed BuyList and SellList inventory, slot and weight synchronization. 13. Improved NPC target and Buy/Sell packet validation. 14. Reworked mail attachment inventory and weight validation. 15. Added all-or-nothing mail attachment receiving and safe retry handling. 16. Fixed stackable mail attachment validation and INT_MAX overflow protection. 17. Improved COD Adena validation and post-mail inventory weight refresh. 18. Improved Warehouse Deposit and Withdraw validation. 19. Added protection against malformed warehouse item counts, DBIDs and amounts. 20. Added warehouse INT_MAX, CItem and pSID validation. 21. Improved warehouse anti-dupe protection. 22. Reworked the HTML Cache system for improved stability and memory usage. 23. Added lazy HTML loading instead of loading ~20,000 files during startup. 24. Fixed HTML Cache startup crashes with large HTML collections. 25. Added thread-safe HTML Cache access and Clear/Reload support. 26. Added bad allocation, invalid HTML and oversized HTML protection. 27. Reduced HTML Cache RAM usage, startup allocations and disk I/O. 28. Added HTML Caching ON/OFF with live HTM loading support. 29. Fixed ToggleCachingHook and added VS2005-compatible live HTML handling. 30. Fixed ShortcutInit processing and skill synchronization order. 31. Improved shortcut item validation, augmentation handling and va_list safety. 32. Added LiveMode Ability Point system. 33. Added inventory-item-based Ability Points with configurable pointItemId. 34. Preserved the original level-based Ability Point system as fallback. 35. Fixed incorrect Ability Point display and inventory synchronization. 36. Improved Ability skill learning and point validation. 37. Improved OfflineShopRestore loading and FakePC/DBID handling. 38. Added safer OfflineShopRestore socket limits and batch processing. 39. Prevented thousands of restore sockets from loading simultaneously. 40. Added delayed, non-blocking OfflineShopRestore after server startup. 41. Improved OnEnterWorld initialization order and stability. 42. Improved inventory weight, SkillList and acquired-skill initialization after login. 43. Added VIP integration to the EnterWorld process. 44. Added safe UserExtData initialization without modifying the native User structure. 45. Improved duplicate Bronch Jewel and equipped-slot protection. 46. Improved Bracelet, Belt, Bronch and general UseItem validation. 47. Improved general packet, UserSocket, User, pSD and Creature validation. 48. Added safer INT32/INT64 packet handling and malformed-packet protection. 49. Improved L2Server startup memory usage and lazy resource loading. 50. Reduced unnecessary startup allocations. 51. Improved account-only KeyEngine authentication and remote account validation. 52. Removed account expiration-time requirements. 53. Added updater/restart design without requiring CLExtUpdate.exe. 54. Improved CLIEXT HWID, shared-memory and client/server version validation. 55. Improved ReadFile/WriteFile hooks and MemoryProtector handling. 56. Added UoPilot and Extreme Injector detection handling. 57. Reworked VIP point loading, saving and database synchronization. 58. Fixed VIP Level 0 initialization and first VIP activation. 59. Fixed vip.htm activation after login and from party-shared points. 60. Fixed VIP points being incorrectly reset before successful activation. 61. Improved VIP progression from Level 1 through Level 7. 62. Added proper VIP Level 7 MAX/DONE behavior with no Level 8 requirement. 63. Disabled further VIP point collection after reaching maximum level. 64. Reworked VIP BonusInfo/ReceiveVipInfo packet synchronization. 65. Fixed VIP tier, points, duration and level requirement packet fields. 66. Added VIP duration, tier, point and User validation protections. 67. Added safer 64-bit VIP EXP and party EXP calculations. 68. Preserved subclass maximum EXP protection. 69. Improved ItemDataEx validation during character loading. 70. Fixed augmentation loss during login, relog and server restart. 71. Added safe restoration of augmentation IDs directly from the database. 72. Added CItem, pSID, pExItem and User validation during ItemDataEx loading. 73. Improved Shadow Item mana and item lifetime loading. 74. Preserved item protection timeout data during character loading. 75. Added augmentation loading diagnostics and protected valid augmentation data. 76. Preserved database value 0 for genuinely non-augmented items. 77. Added RaidBoss Status synchronization with the World Map. 78. Fixed alive/dead RaidBoss status updates after spawn and death. 79. Added RaidBossStatus as the source of truth for RaidBoss map packets. 80. Fixed RaidBoss map status synchronization after server/database loading.
    • 🚀 L2AQUILA — GRAND OPENING TOMORROW! Lineage 2 Gracia Final — Like L2 Pride, but fresh. The server you've been waiting for opens tomorrow, Saturday 19/09, 16:00 (Greek time) — No Wipe · 24/7 · Anti-DDoS. ⚔️ What's inside: • EXP 9300x · SP 3000x · Adena 5500x · High drop • Max enchant +20 · Safe +3 · 24 buffs / 3 debuffs • 20 free Custom Coins for every new player on day one! • Custom farming zones (Cave of Trials, Cemetery, Ruins of Despair + more) • PvP Events · Olympiads · Offline Trading · Weddings · Balanced classes • Starter + Dynasty shops in every town — playable from minute one 📥 Download: Client + Patch at https://l2aquila.com/index.html 💬 Discord: discord.gg/5ZyBRvG4k · Facebook: facebook.com/l2aquila Be there at opening hour — bring your squad. See you at the Grand Opening! 🔥
  • 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..