View Full Version : My two BIG problems. Help please! :(
No one wants to play with these two errors. Help please, don't let my server die :(
1. Problem with the NPCs. When you click any NPC and it has few choises (for example "sell" or "buy" in shops) in the first screen. When you click something (for exmaple "buy"), the first screen closes and that's it. Nothing happens (On server I get an error - "Not a cached buy-sell list") . So you have to click that NPC again, and again choose the same thing (let's say "buy"). Then it works!! But if you choose another point from the first dialog screen, everything repeats from begining :(
2. Problem with the quick access pannel (F1-F12). Skills desapearing from it. If you put there some skills, it could desapiar next time you login. Soulshots, macros, etc. stays but skills! Some time they are disapear, but next login they are in place. So they don't deleted from the database, just do not appear on the shortcut bar. It happens from time to time. You could login 10 time but the 11 will be without that skills on the pannel. And sometime it could be 4-5 times when you login and do not see them on the pannel
So, these are my BIG problems. Help me with them please
Sorry for my English
Where is the MOD or Tutorial?
does this look like the help section? T_T
Where is the MOD or Tutorial?
What do you mean? Are they on the pannel or not? My brother reported, that he created new char, and the bar was complitelly empty. Nothing on it. Relogin and everythig is back
does this look like the help section? T_T
No, but I think this is server related. If I'm not right, could someone move this topic please.
Ninja Kitteh
24.09.2006, 19:58
sounds like database issues, or incorrect server/client versions
since you are requesting help, this goes in the Help section........
Lineage 2 Server Modifications ONLY! Basically if IT isn't a MOD or a Tutorial do not even think about starting a thread here.
Lineage 2 Server Modifications ONLY! Basically if IT isn't a MOD or a Tutorial do not even think about starting a thread here.
Voilà.
kin, I'm getting tired of always moving your threads.
You'd better start to learn how this forum works before trying to run a server.
Thruth, Thanks for moving. My mistake.
I think I fixed the second problem. But the first one is still exist. Does anyone have ideas?
why dont u share how u fixed it ?
Not sure yet! I had auto learning enabled. Just deactivated it and learned everything from "master". Now check in progress :) If this problem won't come up in few days, I will tell that I fixed it :)
Not sure yet! I had auto learning enabled. Just deactivated it and learned everything from "master". Now check in progress :) If this problem won't come up in few days, I will tell that I fixed it :)
Auto learn??? this L2J or L2Off?
ya u can enable auto learn skills in OFF
edit skillaquire auto_get = false to auto_get = true
I think my first problem in AI somewhere. Could someone confirm that the piece of AI you are using is the same as mine?
class 1 citizen : default_npc
parameter_define_begin
string fnTradeSkill0 ""
string fnTradeSkill1 ""
string fnTradeSkill2 ""
string fnHi "chi.htm"
string fnFeudInfo "defaultfeudinfo.htm"
string fnNoFeudInfo "nofeudinfo.htm"
string fnBracketL "["
string fnBracketR "]"
int MoveAroundSocial 0
int MoveAroundSocial1 0
int MoveAroundSocial2 0
int HavePet 0
int silhouette 1000130
int FriendShip1 0
int FriendShip2 0
int FriendShip3 0
int FriendShip4 0
int FriendShip5 0
string fnNoFriend ""
int NoFnHi 0
parameter_define_end
handler 3 138 // TALKED
variable_begin
"talker"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_parameter NoFnHi
push_const 1
equal
branch_false L1
L0
exit_handler
L1
push_parameter FriendShip1
push_const 0
equal
branch_false L3
L2
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter fnHi
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L4
L3
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter FriendShip1
func_call 184680579 // func[OwnItemCount]
shift_sp -2
push_const 0
greater
push_reg_sp
fetch_i
branch_true L5
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter FriendShip2
func_call 184680579 // func[OwnItemCount]
shift_sp -2
push_const 0
greater
or
push_reg_sp
fetch_i
branch_true L5
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter FriendShip3
func_call 184680579 // func[OwnItemCount]
shift_sp -2
push_const 0
greater
or
push_reg_sp
fetch_i
branch_true L5
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter FriendShip4
func_call 184680579 // func[OwnItemCount]
shift_sp -2
push_const 0
greater
or
push_reg_sp
fetch_i
branch_true L5
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter FriendShip5
func_call 184680579 // func[OwnItemCount]
shift_sp -2
push_const 0
greater
or
L5
branch_false L7
L6
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter fnHi
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L8
L7
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter fnNoFriend
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
L8
L4
handler_end
handler 13 98 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_parameter MoveAroundSocial
push_const 0
greater
push_reg_sp
fetch_i
branch_true L9
push_parameter MoveAroundSocial1
push_const 0
greater
or
L9
branch_false L11
L10
push_event // myself
push_const 704
add
fetch_i
push_const 1671
push_const 10000
func_call 184680487 // func[AddTimerEx]
shift_sp -2
shift_sp -1
L11
push_parameter HavePet
push_const 1
equal
branch_false L13
L12
push_event // myself
push_const 704
add
fetch_i
push_parameter silhouette
S1. "pet_around_pet_manager"
push_string S1
push_const 0
push_const 0
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // x
push_const 8
add
fetch_d
push_const 10
add
func_call 184615005 // func[FloatToInt]
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // y
push_const 16
add
fetch_d
push_const 10
add
func_call 184615005 // func[FloatToInt]
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // z
push_const 24
add
fetch_d
func_call 184615005 // func[FloatToInt]
shift_sp -1
push_const 0
push_const 0
push_const 0
push_const 0
func_call 185270503 // func[CreateOnePrivateEx]
shift_sp -11
shift_sp -1
L13
call_super
handler_end
handler 12 173 // TIMER_FIRED_EX
variable_begin
"timer_id"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // timer_id
push_const 236
add
fetch_i4
push_const 1671
equal
branch_false L15
L14
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // hp
push_const 392
add
fetch_d
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // max_hp
push_const 1216
add
fetch_d
push_const 0.400000
mul
greater
push_reg_sp
fetch_i
branch_false L16
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // alive
push_const 104
add
fetch_i4
push_const 0
not_equal
and
push_reg_sp
fetch_i
branch_false L16
push_event // myself
push_const 704
add
fetch_i // p_state
push_const 280
add
fetch_i4
push_const 3
not_equal
and
L16
branch_false L18
L17
push_parameter MoveAroundSocial
push_const 0
greater
push_reg_sp
fetch_i
branch_true L19
push_parameter MoveAroundSocial1
push_const 0
greater
or
L19
branch_false L21
L20
push_parameter MoveAroundSocial
push_const 0
greater
push_reg_sp
fetch_i
branch_false L22
push_event // gg
push_const 632
add
fetch_i
push_const 100
func_call 218169344 // func[Rand]
shift_sp -1
push_const 40
less
and
L22
branch_false L24
L23
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i
push_const 3
push_parameter MoveAroundSocial
push_const 1000
mul
push_const 30
div
push_const 50
func_call 184811541 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
jump L25
L24
push_parameter MoveAroundSocial1
push_const 0
greater
push_reg_sp
fetch_i
branch_false L26
push_event // gg
push_const 632
add
fetch_i
push_const 100
func_call 218169344 // func[Rand]
shift_sp -1
push_const 40
less
and
L26
branch_false L28
L27
push_event // myself
push_const 704
add
fetch_i
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i
push_const 2
push_parameter MoveAroundSocial1
push_const 1000
mul
push_const 30
div
push_const 50
func_call 184811541 // func[AddEffectActionDesire]
shift_sp -4
shift_sp -1
L28
L25
L21
L18
push_event // myself
push_const 704
add
fetch_i
push_const 1671
push_const 10000
func_call 184680487 // func[AddTimerEx]
shift_sp -2
shift_sp -1
L15
call_super
handler_end
handler 32 410 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"fhtml0"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 160
add
fetch_i4
push_const 1000
negate
equal
branch_false L30
L29
push_event // reply
push_const 164
add
fetch_i4
push_reg_sp
fetch_i
push_const 0
equal
branch_false L33
L32
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_parameter fnHi
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L31
jump L34
L33
push_reg_sp
fetch_i
push_const 1
equal
branch_false L35
L34
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // residence_id
push_const 824
add
fetch_i4
push_const 0
greater
branch_false L37
L36
push_event // myself
push_const 704
add
fetch_i
func_call 184549553 // func[Castle_GetPledgeId]
branch_false L39
L38
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
push_parameter fnFeudInfo
func_call 184680582 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S2. "my_pledge_name"
push_string S2
push_event // myself
push_const 704
add
fetch_i
func_call 184549527 // func[Castle_GetPledgeName]
func_call 184746121 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S3. "my_owner_name"
push_string S3
push_event // myself
push_const 704
add
fetch_i
func_call 184549528 // func[Castle_GetOwnerName]
func_call 184746121 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S4. "current_tax_rate"
push_string S4
push_event // myself
push_const 704
add
fetch_i
func_call 184549531 // func[Residence_GetTaxRateCurrent]
func_call 184746119 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L40
L39
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
push_parameter fnNoFeudInfo
func_call 184680582 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
L40
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // residence_id
push_const 824
add
fetch_i4
push_const 7
less
branch_false L42
L41
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S5. "kingdom_name"
push_string S5
push_event // myself
push_const 704
add
fetch_i
push_const 1001000
S6. ""
push_string S6
S7. ""
push_string S7
S8. ""
push_string S8
S9. ""
push_string S9
S10. ""
push_string S10
func_call 184942731 // func[MakeFString]
shift_sp -6
func_call 184746121 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
jump L43
L42
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S11. "kingdom_name"
push_string S11
push_event // myself
push_const 704
add
fetch_i
push_const 1001100
S12. ""
push_string S12
S13. ""
push_string S13
S14. ""
push_string S14
S15. ""
push_string S15
S16. ""
push_string S16
func_call 184942731 // func[MakeFString]
shift_sp -6
func_call 184746121 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
L43
push_event // myself
push_const 704
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
S17. "feud_name"
push_string S17
push_event // myself
push_const 704
add
fetch_i
push_const 1001000
push_event // myself
push_const 704
add
fetch_i // sm
push_const 544
add
fetch_i // residence_id
push_const 824
add
fetch_i4
add
S18. ""
push_string S18
S19. ""
push_string S19
S20. ""
push_string S20
S21. ""
push_string S21
S22. ""
push_string S22
func_call 184942731 // func[MakeFString]
shift_sp -6
func_call 184746121 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
push_event // fhtml0
push_const 520
add
fetch_i
func_call 184680586 // func[ShowFHTML]
shift_sp -2
shift_sp -1
jump L44
L37
L44
jump L31
jump L45
L35
L45
L31
shift_sp -1
L30
push_event // ask
push_const 160
add
fetch_i4
push_const 303
negate
equal
branch_false L47
L46
push_event // reply
push_const 164
add
fetch_i4
push_const 203
equal
branch_false L49
L48
push_event // myself
push_const 704
add
fetch_i
func_call 184549715 // func[GetSSQStatus]
push_const 3
equal
branch_false L51
L50
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
func_call 184615265 // func[GetSSQPart]
shift_sp -1
push_const 0
not_equal
branch_false L53
L52
push_event // myself
push_const 704
add
fetch_i
push_event // reply
push_const 164
add
fetch_i4
push_event // talker
push_const 40
add
fetch_i
func_call 184680529 // func[ShowMultisell]
shift_sp -2
shift_sp -1
L53
L51
jump L54
L49
push_event // reply
push_const 164
add
fetch_i4
push_const 532
equal
push_reg_sp
fetch_i
branch_true L55
push_event // reply
push_const 164
add
fetch_i4
push_const 549
equal
or
L55
branch_false L57
L56
push_event // gg
push_const 632
add
fetch_i
func_call 218103810 // func[IsEventServer]
push_const 1
equal
branch_false L59
L58
push_event // myself
push_const 704
add
fetch_i
push_event // reply
push_const 164
add
fetch_i4
push_event // talker
push_const 40
add
fetch_i
func_call 184680529 // func[ShowMultisell]
shift_sp -2
shift_sp -1
jump L60
L59
L60
jump L61
L57
push_event // myself
push_const 704
add
fetch_i
push_event // reply
push_const 164
add
fetch_i4
push_event // talker
push_const 40
add
fetch_i
func_call 184680529 // func[ShowMultisell]
shift_sp -2
shift_sp -1
L61
L54
L47
handler_end
class_end
Auto learn??? this L2J or L2Off?
Server in the TEST mode, so it was good to have auto skills enabled.
mine is a little diffrent.... here u go
Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ai.txt — 13671 байт
So, as I see you have a little difference in Parameters. But I also have this:
class 1 default_npc : (null)
parameter_define_begin
int residence_id 0
int DesirePqSize 50
int FavorListSize 30
int MoveAroundSocial 0
int MoveAroundSocial1 0
int MoveAroundSocial2 0
float IdleDesire_DecayRatio 0.000000
float MoveAround_DecayRatio 0.000000
float DoNothing_DecayRatio 0.000000
float Attack_DecayRatio 0.000000
float Chase_DecayRatio 0.000000
float Flee_DecayRatio 0.000000
float GetItem_DecayRatio 0.000000
float Follow_DecayRatio 0.000000
float Decaying_DecayRatio 0.000000
float MoveToWayPoint_DecayRatio 0.000000
float UseSkill_DecayRatio 0.000000
float MoveTo_DecayRatio 0.000000
float EffectAction_DecayRatio 0.000000
float MoveToTarget_DecayRatio 0.000000
float IdleDesire_BoostValue 0.000000
float MoveAround_BoostValue 0.000000
float DoNothing_BoostValue 0.000000
float Attack_BoostValue 0.000000
float Chase_BoostValue 0.000000
float Flee_BoostValue 0.000000
float GetItem_BoostValue 0.000000
float Follow_BoostValue 0.000000
float Decaying_BoostValue 0.000000
float MoveToWayPoint_BoostValue 0.000000
float UseSkill_BoostValue 0.000000
float MoveTo_BoostValue 0.000000
float EffectAction_BoostValue 0.000000
float MoveToTarget_BoostValue 0.000000
parameter_define_end
handler 0 0 // NO_DESIRE
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
handler_end
handler 4 13 // TALK_SELECTED
variable_begin
"talker"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
S0. "noquest.htm"
push_string S0
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
handler_end
class_end
Right before "class 1 citizen : default_npc"
Do you have it?
only the start of it is a bit diffrent the rest is the same
class 1 default_npc : (null)
parameter_define_begin
int DesirePqSize 50
int FavorListSize 30
int MoveAroundSocial 0
int MoveAroundSocial1 0
int MoveAroundSocial2 0
float IdleDesire_DecayRatio 0.000000
float MoveAround_DecayRatio 0.000000
float DoNothing_DecayRatio 0.000000
float Attack_DecayRatio 0.000000
float Chase_DecayRatio 0.000000
float Flee_DecayRatio 0.000000
float GetItem_DecayRatio 0.000000
float Follow_DecayRatio 0.000000
float Decaying_DecayRatio 0.000000
float MoveToWayPoint_DecayRatio 0.000000
float UseSkill_DecayRatio 0.000000
float MoveTo_DecayRatio 0.000000
float EffectAction_DecayRatio 0.000000
float MoveToTarget_DecayRatio 0.000000
float IdleDesire_BoostValue 0.000000
float MoveAround_BoostValue 0.000000
float DoNothing_BoostValue 0.000000
float Attack_BoostValue 0.000000
float Chase_BoostValue 0.000000
float Flee_BoostValue 0.000000
float GetItem_BoostValue 0.000000
float Follow_BoostValue 0.000000
float Decaying_BoostValue 0.000000
float MoveToWayPoint_BoostValue 0.000000
float UseSkill_BoostValue 0.000000
float MoveTo_BoostValue 0.000000
float EffectAction_BoostValue 0.000000
float MoveToTarget_BoostValue 0.000000
parameter_define_end
handler 0 0 // NO_DESIRE
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
handler_end
handler 4 13 // TALK_SELECTED
variable_begin
"talker"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // myself
push_const 704
add
fetch_i
push_event // talker
push_const 40
add
fetch_i
S0. "noquest.htm"
push_string S0
func_call 184680516 // func[ShowPage]
shift_sp -2
shift_sp -1
handler_end
class_end
top-gear
25.09.2006, 17:24
check if you have the option "cache htmls" enabled from l2server.exe. npcs show the dialogs the second time cause the html is not cached, but if someone does it once,the rest get the list with the first click, until the server restarts.
does anyone know the prob with the skills on the skill bar dissapearing ? when u relog its back but its annoying
Yep, thats my second problem! Wait few days and I will report. Do you have the skills in auto get mode?
top-gear Yes, I had it ticked in server settings. Unticked and will check right now. How should I check it in ini file? Here is the "Settings" part of ini file.
[Setting]
UserPathFind=true
WorldCollision=false
ExceptionMailing = true
MailServer=
ExceptionMinidump = true
IOBufferCount=5000
;check age (0:don't, 1:korean, default is 0)
AgeCheckType=0
AcceptEscapeCommand = true
country=1
; Korea=0, USA=1, Japan=2, Taiwan=3, China=4, Thailand=5
BOTLog = true
BOTBlock = false
gameguard=false
gameguard_checkonly=false
canrolldice=0
reconnectAuth=1
Unticked in server SET menu "HTML Caching", but this didn't help. Same thing. You right, it happens only once. But how to avoid this thing?