Jump to content
  • 0

[Help]Achievements fix (ill pay for a fix)


Question

Posted

Hi everyone i have a small problem with my achievements engine.

 

My achivements instance has some error here is my file http://pastebin.com/VejPWnmm

im getting the error cannot find symbol, this propably a problem cause there is no method in l2pcinstance to get these.

 

It also has some unused imports but i didnt remove them, any thoughts on what i should create on l2pcinstance??

 

I can pay if you can fix me this.

 

if require more info ill provide.

8 answers to this question

Recommended Posts

  • 0
Posted

You need full script, if you are willing to pay, buy it from the author.

 

If you are trying to use in latest High Five there is a change in imports:

import com.l2jserver.gameserver.templates.chars.L2NpcTemplate;
// for
import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate;

 

Anyway whoever did this was an amateur, there code is not fine, also there is no need to create a new Npc instnace for 3 bypasses, you can do it in DP with bypasshandler, quest scripts, etc.

  • 0
Posted

I was supposed to have the full script since i bought it from the author pm'ed him million times after it with my problem etc, and im abandoned as it seems.

There are other files as well but i didnt post them to keep some privacy.

 

Thats why im trying to find a sollution for my problem, i dont see any other option..

  • 0
Posted

Post any screen about error on GS logs, or at least say where, ingame, you got trouble (which link) and post a screen about what you see.

 

The code itself is ugly like hell, TextBuilder everywhere, come on lol HTMs exist. And it looks more like an IL code adapted for Freya than a Freya code :P.

  • 0
Posted

Yup you miss at least 3 methods in L2PcInstance :

  • getCompletedAchievements() => refers to a list or something like, must return a private list.
  • getAchievemntData() => depends of the complete code, probably took from another file, like engine
  • saveAchievementData(int id) => depends of the complete code, probably an sql query stuff

  • 0
Posted

First thank you Tryskell for your help and your answer.

 

I think that i got some hints, ill try to solve it my self if possible if i got any other problem ill post it.

 

Thanks again man.

  • 0
Posted

First thank you Tryskell for your help and your answer.

 

I think that i got some hints, ill try to solve it my self if possible if i got any other problem ill post it.

 

Thanks again man.

 

Np, I invite you to read your sources, and mainly engine (load + read achievements system), as it will gives precious infos about how are "kept in memory" data (type of list, etc). So far that section should exists.

 

There's probably a SQL system in order to save and load personal achievements at server loading, and some lists to kept data in memory and make fast checks, following player name/objectid.

 

Gl anyway, we can't really help with more infos.

 

The index of your list is the achievement id, by the way. AchievementsManager got the complete structure/type of the list, on getAchievementList().

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...