Jump to content

settings.lua error (add_goto_info)


Go to solution Solved by ReFresh,

Recommended Posts

when i add goto_info in setting and start game it send me to x = 0 , y = 0  cord instead of  Town.txt cords what is the problem ? 

can some one help plz  ,  this image contain everything i did and its not working

 

thank you

-Hazm

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
  • Good 1
Link to comment
Share on other sites

3 minutes ago, ReFresh said:

@freedomProblem is that you are taking default map coordinates, which are 0x0. It's different from goto info, you must adapt the add_goto_info coordinates to that, so in the add_goto_info will be different coordinates than in client side.

So what shuld i do can you explain more plz i didnt follow what are you mean 

what shuld i do to make it right ?

@ ReFresh

Edited by freedom
Link to comment
Share on other sites

  • Active Member

This are the coordinates of the map from Setting.txt:

Spoiler

204800    307200

And these are the coordinates of add_goto_info:

Spoiler

add_goto_info("map_forest", 0, 89, 2132, 4283)

As you can see, they're different. You can try to teleport to the coordinates you wrote in the Settings.txt by using command /warp 9728 11264 and you will see that you will be on 0x0, because of default coordinates, so you must edit them, to make them teleport you on the place you need.

I'll be always helpful! 👊 

Link to comment
Share on other sites

1 minute ago, ReFresh said:

This are the coordinates of the map from Setting.txt:

  Reveal hidden contents

204800    307200

And these are the coordinates of add_goto_info:

  Reveal hidden contents

add_goto_info("map_forest", 0, 89, 2132, 4283)

As you can see, they're different. You can try to teleport to the coordinates you wrote in the Settings.txt by using command /warp 9728 11264 and you will see that you will be on 0x0, because of default coordinates, so you must edit them, to make them teleport you on the place you need.

how can i do that cuz  it never send me to cord  it always send to 0x0

 

4 minutes ago, ReFresh said:

This are the coordinates of the map from Setting.txt:

  Hide contents

204800    307200

And these are the coordinates of add_goto_info:

  Hide contents

add_goto_info("map_forest", 0, 89, 2132, 4283)

As you can see, they're different. You can try to teleport to the coordinates you wrote in the Settings.txt by using command /warp 9728 11264 and you will see that you will be on 0x0, because of default coordinates, so you must edit them, to make them teleport you on the place you need.

do i have to edit map to match coords @@ or there is a way to find cord match the place i want to go for ?

 

Link to comment
Share on other sites

  • Active Member
  • Solution
Spoiler

metin2_map_snow12    972800    1126400    5    5

Spoiler

BasePosition    972800    1126400

Spoiler

367    metin2_map_snow12

Spoiler

add_goto_info("metin2_map_snow12", 0, 367, 9728, 11264) -- here will be coordinates from /go command

spacer.png

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

2 minutes ago, ReFresh said:
  Hide contents

metin2_map_snow12    972800    1126400    5    5

  Hide contents

BasePosition    972800    1126400

  Hide contents

367    metin2_map_snow12

  Hide contents

add_goto_info("metin2_map_snow12", 0, 367, 9728, 11264) -- here will be coordinates from /go command

spacer.png

so when i do /go 120 120 it show me cord those i but them in add_goto_info ??

 

Link to comment
Share on other sites

  • Active Member
5 minutes ago, freedom said:

so when i do /go 120 120 it show me cord those i but them in add_goto_info ??

Yes. Then just write into a chat this /g metin2_map_snow12 and you will be teleported to that position.

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.