Current time: 22.04.2024, 04:52 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA II
» WoG Era 2: Русская и Английская версии
Author Message
v3r3r Offline

Posts: 58
Post: #2221

Народ, а если скрипт "Хижина продвинутых ведьм" в Эре не работает, это баг? Эра 2.3 Не работает в том смысле, что не дает апнуть базовый навык за 3к голды, не дает "забыть" навык соотв. типа, ну т.е. если подбежать к хижине ведьм, то ничего не происходит, не появляется окно выбора.

Если что, бесконечные вторичные скилы отключены.
07.12.2015 21:27
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3880
Post: #2222

v3r3r, скорее всего это следствие отключенных сообщений в HD-моде (точнее, реализации такого отключения). Я Баре писал об этом на df2, но он как-то пропустил этот репорт.
Лечится установкой соответствующего твика в HD: <UI.AdvMgr.SkipMapMsgs> = 0


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
08.12.2015 00:03
Visit this user's website Find all posts by this user Quote this message in a reply
v3r3r Offline

Posts: 58
Post: #2223

Algor, тоже потом допетрил, что возможно из-за этого упращения с диалогами, но не нашел где. Спасибо.

Кстати, если скил 2-го левела, то при посещении ХВ - он исчезает (забывается), т.е. не все так печально. Играть можно!
08.12.2015 08:49
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2224

2.47 DLL
[-] Fixed crash in if-else hook.
01.01.2016 18:40
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2225

Если кто играет в любой из модов, прогоните, пожалуйста, разок, на предмет вылетов и/или использования новых фич:

[*] Улучшена стабильность работы !!PO, исправлены ошибки.
[*] ExecErmCmd позволяет передавать строки со множеством команд, разделённых «;» и не завершать последнюю команду точкой с запятой.
[+] Изменение MF:F корректно отображается в журнале боя (включая урон рва, башен, огненного щита и др.)
[+] Добавлена возможность глобального и локального перенаправления MP3 мелодий. Просто укажите имя файла с расширением mp3 в качестве ресурса или маску *.mp3 для перенаправления всех композиций.
[+] Добавлена возможность глобального перенаправления ресурсов через конфигурационные файлы JSON.
Data\Redirections\*.json

Формат:
{
    "старый ресурс": "новый ресурс",
    "старый ресурс": "новый ресурс"...
}

Папка Data\Redirections\Missing\*.json.
Работает схожим образом, но перенаправления работают для отсутствующих ресурсов.
Например, можно удалить из Вога новые z*-картинки и перенаправить их на оригинальные с названиями без префиксов. Или предусмотреть безопасную альтернативу используемым ресурсам, если ваш мод зависит от кого-либо графического мода.

[+] Functions can now have names. Any time you use (something) inside commands, the engine looks for appropriate SN:W-var. If it finds it, the integer value of variable will replace (something) in source code. If nothing is find, W-var is created on-the-fly and the number is automatically assigned from 95000+ range.

Example: !!FU(OnHenchmanHire); call function which maybe does not exist, but script users will be able to handle the event.
Example: !?FU(Phoenix.FindFreeSlot);

Please, don't forget that names are global. Prefix function names with mod abbreviation: (BattleLib.RessurectStack).

[+] Added labels support. Label is command ordinal number inside current trigger starting from 0. [:LabelName] defines local label. [LabelName] means replace label with command number. Labels are used with SN:G command to implement loops and conditions.

Example:
!?CM2; archangel in every slot
!!VRy1:S0;
[:loop]
!!HE-1:C0/y1/13/1;
!!VRy1:+1;
!!SN&y1<=6:G[loop];

[*] Ported igrik's code to fix SN:D in heroes meeting screen.

[+] Added elseif syntax to !!el command. If !!el has condition and condition evaluates to false, the engine proceeds to the next !!el command until finds the right one or meets !!en.
[+] Added !!SN:O command. Get object entrance. SN:O?$/?$/?$
Initialize any three variables with object square coordinates. Pass them to command to update coordinates with right object entrance square. Thanks to gamecreator.
[+] Added named triggers.
[+] Added SN:H command for setting hints, descriptions, names without z-vars.
01.01.2016 18:55
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2226

Welcome back. 118

I was wondering if there is a possible update of erm help + era manual (now that new DLL) and maybe new package? In the time you were busy I added 1-2 things to "erm update" thread, so they don't get lost.

2.47 still doesn't allow campaigns, right? I still remember that 2.55 had that annoying invisible dispel bug.
02.01.2016 02:47
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2227

Thank you, Val, was thinking about you.

Sorry, old friend. No campaigns support still. I'll just play Battle Heroes with most of new 2.47 features tomorrow and if ok, make a package (currently writing a script for testing). You can upload any contents of Help folder I should replace in official package, cause maintaining of English ERM help was never my responsibility.
02.01.2016 03:41
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3880
Post: #2228

Краш при запуске с новой dll-кой: (Click to View)


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
02.01.2016 04:39
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2229

На всякий случай: мой heroes.ini:
Code:
[Era]
CpuPatch=1
Debug=0
Debug.Destination=File
Debug.File=eralog.txt
Debug.VFS=1
FixGetHostByName=0
LoadCD=0
SavedGameExtraBlockSize=4000000
UseOnlyOneCpuCore=0
[Settings]
Animate SpellBook=0
AppPath=.
Autosave=1
Bink Video=1
Blackout Computer=0
CDDrive=
Combat Army Info Level=1
Combat Auto Creatures=1
Combat Auto Spells=0
Combat Ballista=1
Combat Catapult=1
Combat First Aid Tent=1
Combat Shade Level=1
Combat Speed=2
Computer Walk Speed=3
First Time=0
Last Music Volume=5
Last Sound Volume=1
Main Game Full Screen=0
Main Game Show Menu=0
Main Game X=174
Main Game Y=45
Move Reminder=0
Music Volume=0
Network Default Name=Player
Quick Combat=0
Show Combat Grid=1
Show Combat Mouse Hex=0
Show Intro=1
Show Route=1
Sound Volume=1
Test Blit=0
Test Decomp=0
Test Write=0
Town Outlines=1
Unique System ID=8A0
Video Subtitles=1
Walk Speed=3
Window Scroll Speed=0
[VFS]
CreateDirectoryA=1
CreateFileA=1
Debug=1
DeleteFileA=1
FindClose=1
FindFirstFileA=1
FindNextFileA=1
GetCurrentDirectoryA=1
GetFileAttributesA=1
GetFullPathNameA=1
GetPrivateProfileStringA=1
LoadCursorFromFileA=1
LoadLibraryA=1
PlaySoundA=1
RemoveDirectoryA=1
SetCurrentDirectoryA=1

И патчер из папки корневой:
http://rghost.ru/8m6BbTCjw
02.01.2016 04:42
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2230

(02.01.2016 03:41)Berserker Wrote:  maintaining of English ERM help was never my responsibility.

okay, but I already sent you all the updated erm pages with the tag-codes you indicated, so is only you who can code the tags.
02.01.2016 04:46
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3880
Post: #2231

Крашило из-за отсутствия в heroes.ini параметра SavedGameExtraBlockSize
Терь тоже буду тестить 2,47


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
02.01.2016 05:47
Visit this user's website Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3880
Post: #2232

Репорты по 2.47: (Click to View)


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
02.01.2016 07:20
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2233

Algor, в старом Воге ведь тоже выдавалось предупреждение о том, что карта содержит встроенные скрипты, нет?
А как ты тестируешь без F12? В сохранённых опциях стояло всегда вогифицировать? У меня меню опций пусто.
02.01.2016 16:05
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3880
Post: #2234

Если в событиях карты было прописано !#UN:J3/^путь к файлу настроек вогификации^; то предупреждения не выдавалось, просто вогифицировалось согласно настройкам и все.
В меню опций ничего и не должно быть (если ты про BH).
Про F12 вопрос не понял. F12 работает нормально.


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
02.01.2016 18:16
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #2235

F12 никогда не работал, если в карте были встроенные скрипты. До версии 2.55. Чтобы отлаживать ЕРМ карты, я вручную извлекал скрипты в виде файлов. Поэтому и удивляюсь, как ты умудряешься отлаживать код ))
02.01.2016 19:15
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group