Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

как получить имя астрального сектора?


Guest Garuub
 Share

Recommended Posts

Guest Garuub

Я стараюсь, чтобы получить текущую астральное имя секторе. Вы знаете, как это сделать?

Я могу получить allod название, но не сектор имя ...

помогите!

(Google перевод)

Link to comment
Share on other sites

Quote:

astral.GetSectorInfo( sectorId )
...
-- возвращаемые значения:
table or nil - если информация доступна, то таблица с полями:
...
name: WString or nil - название сектора
...
-- пример:
Code:

local sectorId = astral.GetCurrentSector()
if sectorId then
  local sectorInfo = astral.GetSectorInfo()
  if sectorInfo then
    LogInfo( sectorInfo.name )
  end
end

Не?
Link to comment
Share on other sites

Guest Garuub

\ о / спасибо

Это именно то, что я искал.

... Есть ли обновленный API документ? Потому что это не существует, на мой старый английский док.

Link to comment
Share on other sites

Нет, не нужен 2.0.0.2. Человек просит НОВЫЕ доки по ЛУА

And, please, if you use GOOGLE TRANSLATE or any other kind of translator, please include your original english (or whatever) text.

There's an example of google translate:

What was meant: He needs NEW LUA docs

What was gotten: He needs NEW LUA harbours (docks)

There's a link to newest lua docs:

http://zalil.ru/31357820

Link to comment
Share on other sites

Чудик, ты хоть вообще читать умеешь? Человек просит НОВЫЕ доки по API

Quote:
Есть ли обновленный API документ? Потому что это не существует, на мой старый английский док .

Нафига ему левые доки по 2.0.07 если текущая версия АО у европейцев-мериканцев - 2.0.02?

А в его видимо совсем старых доках нет функции astral.GetSectorInfo()

Link to comment
Share on other sites

Guest Garuub

2.0.02 соответствует моим потребностям, но и серьезное обновление идет в следующем месяце (третий астральный слой)

Спасибо вам обоим за документацию! Это именно то, что я искал.

Функция "astral.GetSectorInfo ()" работает отлично.

---

2.0.02 fits my needs, but major update is coming next month (3rd astral layer)

Thank you both for the documentation! This is exactly what i were looking for.

Function "astral.GetSectorInfo()" works perfectly.

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use