Post Pacific

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

Fot@r@s 04.05.2007 19:24

[Help] Global GateKeeper
 
Hello guyz, I have try to made an global teleporter, but it isn't working.
Look: npcdata.txt, npc_pch.txt ( I have attached )
ai.obj here
and htmls:

Quote:

<HTML><HEAD>

<BODY>
Global GateKeeper: <BR>Greetings. I am the Global Gatekeeper , My lord
"ArenaNet Server" order me to be your slave. I am in your orderss, Sir!. So then,
Can i teleport you?<BR>The teleport costs 1 adena... axaxaxax<BR><A action="bypass -h teleport_request"> Teleport </A>
<BR><BR> </BODY></HTML>
Quote:

<HTML><HEAD><BODY>Global GateKeeper::<BR>I'm sorry, but my lord doesn't allo me to teleport you. Sorry, but you must reflect on yourself and repent some more before coming back.</BODY></HTML>
I have something wrong?

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
gatekeeper_npc_phc.txt — 20 байт
gatekeeper_npcdata.txt — 2718 байт

FidoW 04.05.2007 19:35

What is the thing isnt working ??

Isnt teleporting you ?
NPC dont show teleport locations ?
Whats the problem ?


NOTE: I recommend you to write html tags in lowerletters.

Fot@r@s 04.05.2007 21:07

When i choose "Teleport" the NPC doesn't show me the teleport locations.

PsychoBR 04.05.2007 23:45

Your AI? Post here plz

Fot@r@s 06.05.2007 18:54

Quote:

Originally Posted by Fot@r@s (Post 85305)
ai.obj here

i have already made a link...

alysia 07.05.2007 12:07

when you want to do a simply global teleporter you can delete the talk and menu_select in your AI

you only need the telposlist

Quote:

class 1 globalgk : teleporter
property_define_begin
telposlist_begin Position
{"Talking Island Village"; -84141; 244623; -3729; 1; 0 }
{"The Elven Village"; 46951; 51550; -2976; 1; 0 }
{"The Dark Elven Village"; 9709; 15566; -4500; 1; 0 }
telposlist_end
property_define_end
class_end
thats all what you need in your need (for example)


and another thing you put all teleport position in the "telposlist_begin Position" because you have also other teleport position like noobless but you haven't any button in your HTML for nobless teleport

Fot@r@s 07.05.2007 17:54

Ok, thanks. I will test it...

citruz 28.05.2007 18:29

Many locations on a single AI list.

You have to create a Multilist AI, like:

Position1
{ some teleports }
Position2
{ some teleports }

Of course, with the format of AI...


Example:
Code:


class 1 gatekeeper_global : teleporter_multi_list
property_define_begin
        telposlist_begin Position1
                {"Oren Castle Town"; 82971; 53207; -1470; 4400; 4 }
                {"Hunters Village"; 117156; 76878; -2670; 8200; 0 }
                {"Aden Castle Town"; 146768; 25856; -2000; 12000; 5 }
        telposlist_end
        telposlist_begin Position2
                {"Ivory Tower 1st Floor"; 84852; 15863; -4270; 0; 0 }
                {"Ivory Tower 2nd Floor"; 85289; 16225; -2780; 0; 0 }
                {"Ivory Tower 3rd Floor"; 85289; 16225; -2270; 0; 0 }
                {"Ivory Tower 4th Floor"; 85289; 16225; -1750; 0; 0 }
        telposlist_end
property_define_end
class_end

I Hope i help you =)


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