Where to Add destination list of Teleporters like Juno?
#1

In Juno you can move to dratan,merak eghea and strayana.

I'd like to move to add more destination, I think just inserting a_zone_num and then description. This is hard coded or DB side?

#2

Zoneflag in t_npc and zoneflag.lod

#3


3 minutes ago, Desarija said:




Zoneflag in t_npc and zoneflag.lod




Wich tool can I use to edit zoneflag.lod?

Btw zoneflag.lod could be hard-coded in code? 

Server side allows to move between zones, cliend side allows to render npc's destination list, am I right?

#4


26 minutes ago, Andrein95 said:




Wich tool can I use to edit zoneflag.lod?



Btw zoneflag.lod could be hard-coded in code? 



Server side allows to move between zones, cliend side allows to render npc's destination list, am I right?




Zoneflag.lod editor, there is a public tool for that but I‘m not sure if it‘s on this board.

It could, but that wouldnt make much sense for me. You could probably also send the information from the server the moment someone clicks on the npc, but i dont think it’s worth the effort to do that

Yes

#5


20 minutes ago, Desarija said:




You could probably also send the information from the server the moment someone clicks on the npc




This seems the most clear solution to me. Any hint with the packet that the server send to the client for this?

#6


2 hours ago, Andrein95 said:




This seems the most clear solution to me. Any hint with the packet that the server send to the client for this?




Of course not, since you have to code it! Currently the client read the zone written in the lod file. You may start to reverse it, by looking at the lod file, when is read and then used. You need to ask to the server the list of teleport zone, by the id of the npc targeted. 

#7


3 hours ago, Scura said:




Of course not, since you have to code it! Currently the client read the zone written in the lod file. You may start to reverse it, by looking at the lod file, when is read and then used. You need to ask to the server the list of teleport zone, by the id of the npc targeted. 




This is what I mean with a  clear solution. Anybody knows wich packet is called or function in CmdMsg.cpp to start this?

#8

Here's a public zone flag editor, not sure if buggy or not

2

#9

/index.php?/profile/18894-desarija/&do=hovercard" data-mentionid="18894" href="/index.php?/profile/18894-desarija/" rel="">@Desarija If I want to apply both new and old juno map, its right to do :

1) Create new zone (43 index) in t_zone table

2) add on settings zone of connector/gs

3) add correct path for clien/data/world files

4) add on teleporter on a_zone _flag fields ?

#10

client src: world.h #define MAX_ZONE_COUNT

server src: config.h #define ZONE_START 0 etc

add a line for the zone in .dungeontime file

And I think u mean zonedata.lod with 3), then that's all I can think of atm



Forum Jump:


Users browsing this thread: 2 Guest(s)