![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Hello,
I've been trying to change some rates on my server, but I've been having some problems. Everytime I put the new npcdata script in there, a lot of NPCs won't simply load... the rates are correct, though. I tried using L2Control and Riane's site. Any ideas on what I should do? I was thinking that maybe if I remake the npc_pch/2 and npccache scripts.. that it'll be fixed. If this doesn't work.. what can I do? Thanks in advance. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Dec 2005
Posts: 120
|
Same problem. After adding new NPCs some NPC (unchanged) can't load
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Have you updated your npc_pch and npccache files?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2005
Posts: 122
|
I think i found out whats the problem cos i been having the same BS.
The thing is if you use programs like npcdata control or L2editor v2 it automaticly replaces spaces with tabs in script. This couses the folowing problem .. many npcs (in PP relise npcdata) have their ai defined with spaces inside like [FnHi] = {whatEva.htm}, since the programs only know the needed definitions and registers spaces as end of one definiton and the start of another it will just delite the AI definition right after the 1st space. The npc that report undefined after you start l2server are actualy the ones that are missing the ai definition. So all you need to do is to find the npc and delite all the spaces in npc_ai. GL waisting your time one some dumb ass thing :S |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Thanks a lot Jencxxl!
I'll take a look into that as soon as I get home! |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Apr 2005
Posts: 122
|
Just use replace in notepad and search for all "] = [" replacing with "]=[" i just nothiced this today after adding some drops with npcdata control. Any way alot of npcs have npc_ai defined this way.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
I was taking a look at my modded npcdata.. and that's not it... :|
"] = [" not found... Hmm |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
Sometimes problem in <space> and <tab> symbols. Check it - in file must be <tab>'s afaik
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
I just checked one of the lines that has problems.. and it is using <tab> instead of <space>
:| |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Jan 2006
Posts: 122
|
use npcdata.php, it is the best tool for change rates...
|
|
|
|
|
#11 | ||
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Quote:
Quote:
|
||
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2005
Posts: 122
|
well i fixed the spaces but still after i try changing rates with npcdata control it wont load them ..
Edit: well i used NPCdataControl (the chinese one) from L2tools and it seems it did the trick. |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Check if you npcdata.txt is in Unicode format.
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Anyone else has ideas ?
I'll leave my bugged NPCData here. I'll edit this post later and put here the errors I get. |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
What strings you have added?
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
I changed all Rates...
|
|
|
|
|
#17 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
Quote:
huh... don't know why errors - file looks like ok... |
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
27000 ?
Where ? It shouldn't be so high.. :| Basically what fails is: Innadril NPCs Striders and Wyverns Subclass manager Among other mobs... :| |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
Code:
[82]: acquire_exp_rate=27000 [mimic_21] [82]: acquire_exp_rate=27000 [mimic_22] [82]: acquire_exp_rate=27000 [mimic_25] [82]: acquire_exp_rate=27000 [mimic_27] [82]: acquire_exp_rate=27000 [mimic_29] [82]: acquire_exp_rate=27000 [mimic_31] [82]: acquire_exp_rate=27000 [mimic_32] [82]: acquire_exp_rate=27000 [mimic_33] [82]: acquire_exp_rate=27000 [mimic_42] [82]: acquire_exp_rate=27000 [mimic_47] [82]: acquire_exp_rate=27000 [mimic_49] [82]: acquire_exp_rate=27000 [mimic_52] [82]: acquire_exp_rate=27000 [treasure_box_21] [82]: acquire_exp_rate=27000 [treasure_box_22] [82]: acquire_exp_rate=27000 [treasure_box_25] [82]: acquire_exp_rate=27000 [treasure_box_27] [82]: acquire_exp_rate=27000 [treasure_box_29] [82]: acquire_exp_rate=27000 [treasure_box_31] [82]: acquire_exp_rate=27000 [treasure_box_32] [82]: acquire_exp_rate=27000 [treasure_box_33] [82]: acquire_exp_rate=27000 [treasure_box_35] [82]: acquire_exp_rate=27000 [treasure_box_39] [82]: acquire_exp_rate=27000 [treasure_box_42] [82]: acquire_exp_rate=27000 [treasure_box_43] [82]: acquire_exp_rate=27000 [treasure_box_45] [82]: acquire_exp_rate=27000 [treasure_box_47] [82]: acquire_exp_rate=27000 [treasure_box_49] [82]: acquire_exp_rate=27000 [treasure_box_52] [82]: acquire_exp_rate=27000 [mimic] ... [82]: acquire_exp_rate=27000 [silver_cat] [82]: acquire_exp_rate=27000 [blue_eye] |
|
|
|
|
#20 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Hmm... those mimics load..
I'll look under the logs and post errors here. Thanks Zcold. |
|
|
|
|
#21 |
|
Архивный участник
Join Date: Mar 2006
Posts: 61
|
i have the problem too...
I already tried all the programs, php, and other too. None works. Impossible to change the rates of the file npcdata.txt that comes with the server PPL2C_v1.0. I am trying 3 days ago. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|