Skip to content

Posts from Scripts

4.8 (8 ratings)
User Avatar
Auto-translated
1) What does Nimus have to do with it? I know perfectly well myself. 2) I tried that, but it didn't help.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
A semicolon is also missing in the line
eh1p = 1

Added 3 minutes later
and the same issue occurs in subsequent functions.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
In reply to MasteR
User Avatar
Auto-translated
Juss456
A semicolon is missing in the line
eh1p = 1

Added 3 minutes later
and the same issue occurs in subsequent functions.
lua doesn't care whether there is a ";" or not.
Remove "end" before "else" in ALL functions.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
In reply to Олегарх
User Avatar
Auto-translated
Oligarch
lua doesn't care whether there's a semicolon or not.
Remove the "end" before "else" in ALL functions.
I already said that this doesn't help.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
Go into the Lua script editor and fix all the errors it reports. And, indeed, remove the extra "end" statements, and then see what the console says...

Whatever
User Avatar
Auto-translated
Same here.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
it can't be the same. If you remove the unnecessary "end" before "else" in line 47, the script should have flagged the next function the next time. (it has the same error, actually.)

Added 1 minute ago
in general, I don't see any other significant errors. (in this function). I often write like that myself.

Whatever
User Avatar
Auto-translated
But it doesn't work!!
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
What does that have to do with it working? I'm talking about a bug that needs to be fixed. And you're talking about work...

Whatever
User Avatar
Auto-translated
I keep fixing it, but it still doesn't work!
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
So, does it still produce the same error, even after the fix? That can't be. The error in the panel has changed. And it will need to be fixed as well...

Whatever
User Avatar
Auto-translated
Heroist
So, does it still produce the same error, even after the fix?
Yes. The same error.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
Now it's getting more interesting.

That is, the first code entry and the second, but without "end," produce the same error in the console.
Strange.

Perhaps you are not saving the script after making the correction?
Another option: are you starting the map from scratch, or from a save? If from a save, it is not updated, so changes to the map are not relevant to it....

Whatever
User Avatar
Auto-translated
1) I definitely save it. 2) Start over.
502 Bad Gateway
__________________________________
nginx/0.8.54
User Avatar
Auto-translated
I don't know then, I'll be frank with you. If a different error occurred, I would understand. But since it's **exactly the same...** Maybe it still differs from the original? For example, a different line (not 47). You have the same thing in the next function too....

Whatever

Statistics

Welcome our newest member: Emil