Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 05.08.2007, 00:37   #1
MyLover
Архивный участник
 
Join Date: Feb 2007
Posts: 16
Default [Help] Doubts with my server

Good night people I have you doubt and wanted to clarify some of them!

1º As I give Hero to char (Without being GM)?


2º My Olympiad does not function, the Chars if it registers, more the Server does not call they stops fighting

3º accumulating SubClass as to make? they could show 1 topic to me of as to make this? I looked for here more I did not find none that functions

Debtor and forgives for my bad English

:wave: :wave:
MyLover is offline  
Old 05.08.2007, 04:06   #2
Kation
Архивный участник
 
Join Date: Oct 2006
Posts: 57
Default

OMG wtf xD funny translator.
ad.1 set hero status to 1 in sql for char u want to add hero status (if u set 1, char will be able to speak with monument of heroes and choose to be a hero).
Kation is offline  
Old 05.08.2007, 04:23   #3
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by MyLover View Post

1º As I give Hero to char (Without being GM)?
CacheD
#107 SetHeroPacket("ddS")

About the other 2 questions... im incapable to understand it
FidoW is offline  
Old 05.08.2007, 06:09   #4
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

3rd question: Is subclass stacking possible? If so, can you please help me?

Answer: Well I am quite sure it is possible when it comes to L2OFF but it would involve a shitload of work and you'd have to change a lot of stuff.
PyroMaker is offline  
Old 05.08.2007, 12:49   #5
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by PyroMaker View Post
3rd question: Is subclass stacking possible? If so, can you please help me?

Answer: Well I am quite sure it is possible when it comes to L2OFF but it would involve a shitload of work and you'd have to change a lot of stuff.
Yeah, now i understand the question xD

I think the only thing needed is modify the Store Procedure that get skills [lin_GetAquireSkill]

Im not complety sure but using the logic... looks the way to do it....

replace in that procedure
Code:
SELECT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id AND ISNULL(subjob_id, 0) = @subjob_id ORDER BY 1, 2
With this:
Code:
SELECT DISTINCT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id ORDER BY 1, 2
If you modify that store proc before working the normal way i think... maybe some problems can be present like having 2 identical skills of differents levels...or another similar problems... if you arent thinking about reversing that to the initial situation you can simply update all skills to subjob = 0 and delete duplicate skills... also you can modify Store Proc that set skills to db [lin_SetAquireSkill] to store all in the main class...
FidoW is offline  
Old 05.08.2007, 13:26   #6
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by FidoW View Post
If you modify that store proc before working the normal way i think... maybe some problems can be present like having 2 identical skills of differents levels...or another similar problems... if you arent thinking about reversing that to the initial situation you can simply update all skills to subjob = 0 and delete duplicate skills... also you can modify Store Proc that set skills to db [lin_SetAquireSkill] to store all in the main class...
Thats not a problem, i just find the solution... just needed to modify a little more the Store Proc to get skills

Code:
SELECT skill_id, MAX(skill_lev) as skill_lev, to_end_time 
FROM user_skill WHERE char_id = @char_id
GROUP BY skill_id,to_end_time ORDER BY 1, 2
FidoW is offline  
Old 05.08.2007, 14:07   #7
McBigMac
Архивный участник
 
Join Date: Aug 2005
Posts: 34
Default

modifying stored procs will update database
not live server.


Func Classchange and some custom quest memo's would work and or items.

for the stackable subclass thing
McBigMac is offline  
Old 05.08.2007, 16:31   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by McBigMac View Post
modifying stored procs will update database
not live server.


Func Classchange and some custom quest memo's would work and or items.

for the stackable subclass thing
What update ?

Not sir, CacheD need to get skills from database using that query...

Like i say i dont know if is enought, but it is necessary for sure.
FidoW is offline  
Old 05.08.2007, 18:34   #9
MyLover
Архивный участник
 
Join Date: Feb 2007
Posts: 16
Default

Quote:
Originally Posted by FidoW View Post
Yeah, now i understand the question xD

I think the only thing needed is modify the Store Procedure that get skills [lin_GetAquireSkill]

Im not complety sure but using the logic... looks the way to do it....

replace in that procedure
Code:
SELECT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id AND ISNULL(subjob_id, 0) = @subjob_id ORDER BY 1, 2
With this:
Code:
SELECT DISTINCT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id ORDER BY 1, 2
If you modify that store proc before working the normal way i think... maybe some problems can be present like having 2 identical skills of differents levels...or another similar problems... if you arent thinking about reversing that to the initial situation you can simply update all skills to subjob = 0 and delete duplicate skills... also you can modify Store Proc that set skills to db [lin_SetAquireSkill] to store all in the main class...

US :In mine in case that it is the following one, the Player goes in the NPC makes the SubClass more I did not want that I disappeared skill of the main class understands?

PT :No meu caso é o seguinte, O Player vai no NPC faz a SubClass mais eu não queria que sumisse as skill classe principal entende?
MyLover is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:32.