Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Rates (https://postpacific.mmorpg-game.online/showthread.php?t=3377)

Megatronpt 17.02.2006 10:51

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.

Co0L 17.02.2006 10:59

Same problem. After adding new NPCs some NPC (unchanged) can't load :(

Megatronpt 17.02.2006 11:01

Have you updated your npc_pch and npccache files?

jencxxl 17.02.2006 14:15

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

Megatronpt 17.02.2006 14:17

Thanks a lot Jencxxl!

I'll take a look into that as soon as I get home!

jencxxl 17.02.2006 14:41

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.

Megatronpt 17.02.2006 15:00

I was taking a look at my modded npcdata.. and that's not it... :|

"] = [" not found... Hmm

zcold 17.02.2006 16:16

Sometimes problem in <space> and <tab> symbols. Check it - in file must be <tab>'s afaik ;)

Megatronpt 17.02.2006 16:22

I just checked one of the lines that has problems.. and it is using <tab> instead of <space>

:|

pipise4ko 17.02.2006 16:41

use npcdata.php, it is the best tool for change rates...

Megatronpt 17.02.2006 16:44

Re: Rates
 
Quote:

Originally Posted by Megatronpt
....I tried using L2Control and Riane's site.

Quote:

Originally Posted by pipise4ko
use npcdata.php, it is the best tool for change rates...

Hmm... I think I meantioned that I already tried that.. ;)

jencxxl 17.02.2006 19:16

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.

Megatronpt 17.02.2006 19:18

Check if you npcdata.txt is in Unicode format.

Megatronpt 18.02.2006 11:48

Anyone else has ideas ?

I'll leave my bugged NPCData here.

I'll edit this post later and put here the errors I get.

zcold 18.02.2006 11:53

What strings you have added?

Megatronpt 18.02.2006 13:03

I changed all Rates...

zcold 18.02.2006 13:39

Quote:

Originally Posted by Megatronpt
I changed all Rates...

maybe "acquire_exp_rate=27000" - is too high value for server?
huh... don't know why errors - file looks like ok...

Megatronpt 18.02.2006 14:51

27000 ?

Where ? It shouldn't be so high.. :|

Basically what fails is:

Innadril NPCs
Striders and Wyverns
Subclass manager

Among other mobs... :|

zcold 18.02.2006 17:23

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]

It's from file you posted here...

Megatronpt 19.02.2006 03:55

Hmm... those mimics load..

I'll look under the logs and post errors here.

Thanks Zcold.

fcbinfo 09.03.2006 21:11

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 21:44.