Jump to content
  • 0

[HELP REQUEST] Skills Dissapears


Question

Posted

Hi all :) i have one problem with skills.. so i made some custom skills, add them through admin command (add_skill xxxx x) to test and their are working well but everytime as i restart game i need to add them again cause they dissapears from list and it only happens with skills i made ;/ anyone can help me with this ? its realy anoying :s

 

Edit:

oh.. and if i add it second time after restart i get this error in console:

Error could not store char skills: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrit

yConstraintViolationException: Duplicate entry '268476767-9993-0' for key 'PRIMA

RY'

but skill apears in list againt till next restart and is working fine, so don't get it .. what is wrong ? :/

9 answers to this question

Recommended Posts

  • 0
Posted

or add a restriction for your custom skills.

what do you mean? and there is no checkskillonenter ;/ the problem is that any skill i add stays in list for example "GM speed" but if add any of mine custom skill after restart it just dissapears from a list.. oh, and one more strange thing.. skill id stays in database "character_skills" and even if i do "remove all skills" via admin panel it still stays in database so i don't know what is the problem.. have i missed something while creating those custom skills or do i need to add them somewhere in engine itself?

  • 0
Posted

what do you mean? and there is no checkskillonenter ;/ the problem is that any skill i add stays in list for example "GM speed" but if add any of mine custom skill after restart it just dissapears from a list.. oh, and one more strange thing.. skill id stays in database "character_skills" and even if i do "remove all skills" via admin panel it still stays in database so i don't know what is the problem.. have i missed something while creating those custom skills or do i need to add them somewhere in engine itself?

What project are you using?

  • 0
Posted

Did you buy sources ?

does it really matters? no i haven't bought sources :) cause my budget is way too low ;/ but still i like doing some custom stuff ;) i have already implemented some npc buffer, few armors sets from god client with custom stats and sets skills, custom tattoos and dyes :P if you would like to ask why this project, well ... cause i love this project, their files are very clean, server is stable and it's easy to implement such a simple things :) oh and btw i found that if i add my custom skills to classes xml files their doesn't disappear anymore, but what i wanna do is to make a NPC shop where you can learn those skills for some special items ;D so i'm asking again if anyone can help me to solve this little problem :)

  • 0
Posted

It matters cause (if you don't know) I'm the project owner, and if you got sources (I don't speak of precompiled) it means some things :

 

- old revision (rev 174 was the last free) : outdated => no support.

- you bought, found, or decompile pack to make your server => versus the system I create => no support.

 

Finally if you got only precompiled, don't base your server project on it. A precompiled is used to report issues and test.

 

But ty for the good words, I appreciate it.

  • 0
Posted

well i'm not building a server it's just to see of what i'm capable to do :) just doing some things and looking if what i did is working or not :) and now i came over this thing that custom created skills stays in database but when i relog in game they are missing from list except if add them to classes xml and i dont understand if it's engine side thing or have i missed something ;) just it :)

 

oh and btw, a lil bit offtopic.. i know it's not a very big problem (so i dont know if i should post this in your forum "bugs report" section) but it's still kinda strange bug i think.. if i summon another instance of baium (id 29020) and hit him (he doesn't hit me back so i dont get any damage dealt to me) i die instantly :) maybe you can fix this in your next release (dont know.. just trying to be helpful) :)

 

ok now i'm going to try to make something new and maybe to fix this thing with skills :P

 

P.S.

thanks Tryskell your project really rocks ;D good luck to you and your team :) maybe one day i will be able to help you with you pack (cause at the moment i know only some basics and next year i'll have lot of Java programing lectures) :P

  • 0
Posted

Grandbosses are supposed to be spawned only once because they're all affected by a script (and sometimes a zone and enironnement), if you check Queen Ant on any other pack (latest L2J included so far) if you spawn it twice you will get a NPE for example. Latest I will probably include a check as RaidBoss (if already spawned/alive, can't spawn).

 

About your skills issue, the fact they're in DB looks normal, and the fact they aren't loaded is normal too in case of duplicate entries in DB.

 

Now how to explain you got duplicate entries ?

 

It can be :

- your custom skills which use an existing skillId and is registered like that on DB. I invite you to check the "movement" of SQL entries and what is exactly stored.

- the "give_skill" which doesn't clean correctly previous skill, or perhaps you tried to added twice the same skill and there isn't check to see if it is already existing, and so it adds a clone.

 

There are many possibilities.

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

    • Dear clients, we strongly advise against holding funds in USDT due to an increase in mass freezes by the issuer. Any wallet can be locked without explanation if your coins happen to be in the wrong place at the wrong time. If you hold savings in USDT, swap them for something safer, such as XMR, BTC, ETH, or similar. When working with crypto, opt for decentralized coins that are technically impossible to freeze. Alternatively, after handling USDT, move your funds into safe assets. To protect your funds, we recommend using XMR, BTC, ETH.
    • Hello everyone, I am looking for a C4 Scions of Destiny (P656) Retail x1 L2OFF Server Pack + Source. My goal is not to launch a server immediately. I want to learn L2OFF server development in C++, understand the original C4 architecture, and eventually build my own project in the future. I have already tried to reach an agreement with a few members who offer C4 projects, but communication has been quite slow, so I decided to ask the community here as well. I'm specifically looking for a Retail x1 version, not a heavily customized x45 or PvP pack. Ideally, the package should include: Complete LoginServer Complete GameServer Source code SQL database AI / NPC scripts Geodata Visual Studio solution/project Everything required to compile, study, and run the server If anyone knows a trusted seller or can recommend a reliable P656 Retail x1 package, I would really appreciate your advice. I would also appreciate hearing from anyone who has purchased a Retail x1 package before and can share their experience. Thank you very much!
    • NEW SEASON OPENING - TODAY ! GRAND OPENING FROM - 10/07/2026, FRIDAY, 20:00 +3 GMT !
    • Elite Lineage II Development | Websites • Master Accounts • Custom Systems • Server Solutions Turn Your Lineage II Project Into a Professional Experience Hello everyone, My name is Frank, and for years I've been developing custom solutions for Lineage II private servers. My focus isn't simply creating attractive websites—it's building complete ecosystems that improve both the player experience and server management. Unlike generic web designers, I understand how Lineage II servers actually work. Every page and system is designed with real gameplay, server administration, and player retention in mind. Whether you're launching your first project or upgrading an established server, I can help you create something that looks and feels like a premium MMORPG. What I Can Build Modern Landing Pages Your landing page is the first impression players have of your server. I create high-end landing pages featuring: • Cinematic hero sections • Animated backgrounds • Countdown timers • Feature showcases • Grand Opening events • Server roadmap • Responsive mobile design • Fast loading and SEO-friendly structure No generic templates. Every landing page is built specifically for your project. Complete Master Account Systems One of my specialties is developing advanced account management panels that integrate naturally with your Lineage II server. Examples include: • Account Dashboard • Character Selection • Character Information • Character Statistics • Combat Power System • Achievement System • Character Mastery • Collections • Daily Rewards • Vote Rewards • Referral Systems • Lucky Wheel • Premium Account Management • Donation Store • Coin Wallet • VIP Services • PIN Protection • Password Management • Inventory Viewer • Warehouse Viewer • Rankings • Online Players • Server Statistics • Event Pages Everything is designed with both usability and visual quality in mind. Custom Web Systems Need something unique? I also develop completely custom features tailored to your server. Examples: • World Boss Event Pages • Raid Boss Tracker • Olympiad Rankings • Castle Siege Overview • Grand Boss Status • Event Management Panels • Daily Hunt Interfaces • Progression Systems • Collection Systems • Custom Shops • Clan Pages • Marketplace • Admin Panels If you have an idea, we can build it. Full Website Development I can create your complete server website, including: • Home • Downloads • News • Patch Notes • Server Information • Wiki • Rankings • Community Pages • Support Center • Knowledge Base • FAQ • Voting Pages • Donation Pages Designed to match your server's identity. Forum Integration Professional integration with community platforms. Examples: • XenForo • phpBB • Discord Integration • Custom Forum Themes • User Synchronization Server Experience Because I actively work with Lineage II servers, I understand much more than web development. Experience includes designing and implementing systems around: • Character progression • Achievement tracking • Collection systems • Daily Hunt mechanics • Lucky Wheel events • Premium services • Server economy • Custom reward systems • World Boss events • Event scheduling • Player dashboards • Administrative tools This allows me to design websites and panels that feel like a natural extension of your server instead of just another website. Technologies • PHP 8 • MySQL / MariaDB • HTML5 • CSS3 • JavaScript • AJAX • Responsive Design • API Integration • Linux Server Environment Why Choose Me? ✔ Years of Lineage II development experience ✔ I understand both the website and the game server ✔ Custom development—not copy-paste templates ✔ Modern UI & UX ✔ Mobile responsive ✔ Clean and optimized code ✔ Long-term support ✔ Fast communication ✔ Flexible solutions for every budget Portfolio Below you'll find examples of projects I've created, including custom landing pages, master account systems, dashboards, progression systems, and unique interfaces developed for real Lineage II servers.     Need Something Unique? Some of the most successful servers stand out because they offer features players haven't seen before. If you have an idea—even if it's only a rough concept—I can help transform it into a polished, fully functional system.     Contact Interested in working together? Feel free to send me a private message with your project details. I'll be happy to discuss your ideas and provide a free estimate. Let's build something your players will remember.     Discord:  https://discord.gg/qnmNkY6D3n
  • 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..