Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Editing Npc-Monster Spawns/Npc Monster stats. (https://postpacific.loc-online.com/showthread.php?t=1537)

McBigMac 21.08.2005 03:32

Editing Npc-Monster Spawns/Npc Monster stats.
 
Hey, everyone

Well, id like to first applaud this forum´s spirit even with the massive language barriers between us. And the sharing spirit, fantastic job.

Basicly ive been trying to edit a specific area(blazing swamp) to have higher level mobs/drops.

My first instant idea was to change npcdata to some unused mobs from toi(does not work here, wrong geodata perhaps?), gaurdian angel and the plat nium tribe monsters(shaman/lord/warrior/archer).

So i edited their drops to what i needed(in npcdata.txt) , and found the geodata/locations of the blazing swamp monsters and changed the spawning(in npcpos.txt) to angels and platnium tribes.

However upon starting it caused several "new" errors in l2server when run, and when npc server ran it caused errors in l2server.
Not only the angels and plat tribes, but also just bout every npc in the game, making them not spawn.

First i changed back to my old npcpos.txt, which didn´t work.
Then i changed back to my old npcdata txt and every was dandy.

I tested, once changing the drop of an orc_archer, the bow to a nightmare robe, and worked.

So my logic sense tell's me its either:

A: There's a difference on what items may be dropped in corpse drop list, multi drop list, additional multi droplist.
B: It cannot contain more lines in npcdata than what it's set to somewhere else?
C: I edit drops of monsters somehwere completely else and where they spawn as well ?.

Newbie at work here.

Cheers,

PS: Thank you for all the sharing for us wannabees :)

Professor F 21.08.2005 06:34

you know, i had the same error in npc, but it ought to restart it and it loaded all npc correctly..

McBigMac 21.08.2005 14:55

I tried editing the mobs of blazing swamp just in npcdata.txt now.


still got just bout every single npc screwing up in l2 server when the l2npc started up.

No one has had this error before?


It doesn't sound a somewhat normal error does it ?

flakka 21.08.2005 16:10

Hmmm. Try running your npcdata.txt through Riane's npcpos maker and see if the errors continue. It might work - doesn't hurt to try though. :)

http://riane.ellusion.com.sg/npcpos.php

archy 21.08.2005 18:39

Woha, a second dane :) we're invading!

McBigMac 21.08.2005 20:52

Hah, help out a fellow dane then :-P

I managed to make it somewhat work, i edited ghastly_warrior(Appears twice in my npcdata, one with drops, one without). None of the massive npc errors happened upon starting l2server/l2npc.

I have this theory, that making more insertions into a monster's droplist fucks it up. Least seems logical at the current point.

Another problem then arised, i changed it's level from 60, to 73 and nothing happened. It was blue at lvl 70 and i quickly figured it was not level 73.

Is it somewhere in the ai.obj this also needs to be changed ?
I also had a slight feeling that editing their hp, m.def, etc etc wasn't quite working either, will test more tho now.

If anyone has any insight, it be nice.

flakka 21.08.2005 21:43

Quote:

Originally Posted by McBigMac
I have this theory, that making more insertions into a monster's droplist fucks it up. Least seems logical at the current point.

Sorry if you already tried this, but did you change the drop rate with adding "additional_make_multi_list" function?

(From the goblin entry in npcdata)
additional_make_multi_list={{{{[adena];125;175;100}};70};

Quote:

Originally Posted by McBigMac
Another problem then arised, i changed it's level from 60, to 73 and nothing happened. It was blue at lvl 70 and i quickly figured it was not level 73.

Is it somewhere in the ai.obj this also needs to be changed ?
I also had a slight feeling that editing their hp, m.def, etc etc wasn't quite working either, will test more tho now.

I think that's because the exp rate. If something doesn't give you as much exp as killing a red mob, they show up as an undercon. Something like this.

exp=40154163.3
(This rate)
acquire_exp_rate=4.8
(Not this rate)

I forgot where I got the info from, but it may be worth a try. Again, I could be talking out of my ass because it's been a while snice I've done any real modding. But I don't know why that info would be stuck in my head. :? Maybe I'm just going insane...

McBigMac 21.08.2005 22:28

I don't get half of what you wrote hah.

I changed first in corpse list, which turned out to be the spoil/sweep.

Come to think of it, this time i did not touch multi make list, only Addiotional multi make list, and looking at other npc's none have anything in Multi list. So perhaps that what screwed npc's up ?. Seems odd on error in npcdata would fuck up EVERY single npc spawn tho. The delightful world of ncsoft argh!

This this worked, {{{[doom_plate_armor];1;1;0.867};, on additional multi list. (high droprate, on purpose).

About the exp thing, are you saying' there's a fixed relationship between level , the exp and acquire exp? and somehow they all need to be jolly wolly?.

Level thing is really buggin me O.o

flakka 21.08.2005 23:38

Don't worry. I don't understand half the things I write myself. Heh.

I'm pretty sure that's how the exp/level thing works.

But I think the mob has to be six levels or higher to be a red con. Since you only boosted a level 60 to 73 and conned it with a level 70, it's still blue. Try making it level 76~78 and see what it cons.

McBigMac 22.08.2005 08:53

Still having no luck no matter what i change it to.

Tryed adding more drops than the monster had, and now it dropped nothing(I have a feeling i have wrong code in the end. (was reading the multisell topic about the }}}} end part).

At any rate, what do you mean conned? what it shows up as in the server?.

Doesn't matter if i change it to 73/80/20, it still shows up as a lvl 63 mob.
And it has nothing to do with the other extra monster in the db with the same name, since i changed that one's level as well.

Another thing, changing HP or mdef doesn't seem to work either. it had 9k hp, changing that to 2k, didn't work either. So my conclusion is perhaps i have some, screwy npcdata all over in general. Or im not making "ends meet" code wise.

Appreciate everyone's help thanks fella's.


All times are GMT. The time now is 16:20.