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

Some projects has the option 'CheckSkillsOnEnter', disable it, or add a restriction for your custom skills.

  • 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

    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • +8? Isnt +5 max per one stat?
  • 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