![]() |
Rates
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. |
Same problem. After adding new NPCs some NPC (unchanged) can't load :(
|
Have you updated your npc_pch and npccache files?
|
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 |
Thanks a lot Jencxxl!
I'll take a look into that as soon as I get home! |
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.
|
I was taking a look at my modded npcdata.. and that's not it... :|
"] = [" not found... Hmm |
Sometimes problem in <space> and <tab> symbols. Check it - in file must be <tab>'s afaik ;)
|
I just checked one of the lines that has problems.. and it is using <tab> instead of <space>
:| |
use npcdata.php, it is the best tool for change rates...
|
Re: Rates
Quote:
Quote:
|
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. |
Check if you npcdata.txt is in Unicode format.
|
Anyone else has ideas ?
I'll leave my bugged NPCData here. I'll edit this post later and put here the errors I get. |
What strings you have added?
|
I changed all Rates...
|
Quote:
huh... don't know why errors - file looks like ok... |
27000 ?
Where ? It shouldn't be so high.. :| Basically what fails is: Innadril NPCs Striders and Wyverns Subclass manager Among other mobs... :| |
Code:
[82]: acquire_exp_rate=27000 [mimic_21] |
Hmm... those mimics load..
I'll look under the logs and post errors here. Thanks Zcold. |
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. |
| All times are GMT. The time now is 15:25. |