Post Pacific

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

Flamestrike 25.08.2005 16:01

Some newbie questions.
 
I`ll just get to the subject.
My server is running great now thanks to some answers that I got from you guys. But there still 1 more thing i wanna ask you.
If its posible from someone to tell me how i can edit an NPC Seller cause i wanna add quest marks , mp potions and the soushots/blessed.
And another thing(or 2).
When i summon a pet, the animation is working but no pet is summoned. i can`t see it. and also i wanted to know how i can make some teleport location ex: from giran to DVC and such.
I`m new into this and I don`t know much of this stuff.
Thanks you.

SoaPy 25.08.2005 16:03

for edit the shops you have to edit in ai.obj, just search by the name that you want to change and you will found something like that

{2221;20}
{251;20}
...

the first numer is the item and the second is the tax.

flakka 25.08.2005 17:02

SoaPy pretty much nailed it on merchants.

For teleports, just get your loc via the /loc command, and put that in your ai.obj file under the wanted gatekeeper. If you look under gatekeeper esmerelda in ai.obj, you can see the choices to where you want to teleport to. It'll be self explanitory once you see it.

There's multiple reasons for summons not working. Could be bad petdata, npcdata, etc.

If you can see your server logs or window, it should tell you the reason why. With the newer versions of the L2server.exes out there, the way we can summon pets, assuming you mean striders and wyverns, is by typing //create_pet 1~8. If you meant that you can see them by summoning them through spells, then you might need to check the first thing I mentioned.

For any errors, usually the line is reported in red or a note of it is kept in the error logs in the related folder. Just check those to see anything wrong with your server.

Flamestrike 25.08.2005 17:19

Quote:

Originally Posted by SoaPy
for edit the shops you have to edit in ai.obj, just search by the name that you want to change and you will found something like that

{2221;20}
{251;20}
...

the first numer is the item and the second is the tax.

Is there any way to see the ID's of the quest items? or just search them on the gm inside the game and them add them 1 by 1?

@flakka :
thanks alot m8 this is very usefull and very easy now :P
I think i`m starting to understand some things wich is gr8 for an starter.

flakka 25.08.2005 17:23

Quote:

Originally Posted by Flamestrike
Is there any way to see the ID's of the quest items? or just search them on the gm inside the game and them add them 1 by 1?

Why not look through itemdata.txt? :P There's also a program that MaxX posted which is awesome here. https://postpacific.loc-online.com/f...pic.php?t=1698

Quote:

Originally Posted by Flamestrike
@flakka :
thanks alot m8 this is very usefull and very easy now :P
I think i`m starting to understand some things wich is gr8 for an starter.

NP. We all start somewhere. :)

Flamestrike 25.08.2005 18:56

I dun have any ideea how to add the item i want into the NPC i want
Can anyone gimme a more simplified example? :)
More exactly how do i make the link for : Sale and the rest...
where exactly into the NPC i have to add the items i want and such.
Please help me out here :)

toolpunk 25.08.2005 19:02

wasnt there a tutorial on how 2 add a merchant on here?
multisell is always a good option.
start a search. and u will find what u came for ;)

Flamestrike 25.08.2005 19:52

Quote:

Originally Posted by toolpunk
wasnt there a tutorial on how 2 add a merchant on here?
multisell is always a good option.
start a search. and u will find what u came for ;)

Yeah i did found that tutorial but the thing is i dun really know where exactly to add the location of the NPC. Any ideas?

toolpunk 25.08.2005 19:55

npcpos, npcdata etc...

Flamestrike 25.08.2005 19:58

Quote:

Originally Posted by toolpunk
npcpos, npcdata etc...

Can you once be more specific? :P
You`re talking to a newbie here.

flakka 25.08.2005 20:49

I thought you already corrected the old npcpos? I saw your thread over at RZ and you said you corrected the npcpos in that file. What errors were you getting? Because if you can solve that, then it should be the same.

Flamestrike 25.08.2005 20:51

Yeah ok. I was kinda confused. Now i know. I was talking about adding the NPC's location into the npcpos.
So all that's left now is to add it into giran's one's.
Thanks a bunch guys.

Flamestrike 25.08.2005 21:04

So? Can anyone else tell me how to decode the npcgrp.dat cause i have some lines to add in order to finish my custom npc from that tutorial.
:/

flakka 25.08.2005 21:51

I've explained it a few times already. Just use the same process.

Flamestrike 25.08.2005 22:23

nvm i screwd it up....
thanks.

bob1122 26.08.2005 04:04

Quote:

Originally Posted by Flamestrike
I dun have any ideea how to add the item i want into the NPC i want
Can anyone gimme a more simplified example? :)
More exactly how do i make the link for : Sale and the rest...
where exactly into the NPC i have to add the items i want and such.
Please help me out here :)

Im Guess that you want to put occupation changing merchants in towns, ill post mine some time soon with a bunch of other stuff like ss and bsps sps traders ;) i really want to get into the Developers area :>


All times are GMT. The time now is 15:27.