Current time: 11.11.2024, 16:41 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ваши вопросы по ERM-скриптам
Author Message
Valery Offline

Posts: 2196
Post: #4081

I have a question: I need a code which allows searching for a specific object on map, and each key press shows next object. So the loop must be stopped each time.

So far testing with artifacts. it works well but I get the "UN:U can't get more objects" error when all artifacts of that class were found and I press once more. I must surely miss something, please tell me where.

The error doesn't occur when I take out class checks, 15 artis on map, v8900 increments by 1 each time, after 15 searches all normal.
(This post was last modified: 05.07.2016 19:11 by Valery.)
05.07.2016 18:58
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4082

I found Mail1

(This post was last modified: 05.07.2016 20:05 by Valery.)
05.07.2016 19:47
Find all posts by this user Quote this message in a reply
StasPV Offline

Posts: 130
Post: #4083

Всем добрый день!

Есть ли простая возможность узнать контролируется ли активный стек ИИ или человеком?
07.07.2016 12:29
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4084

BG:H, HE:O, OW:I


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
07.07.2016 12:47
Find all posts by this user Quote this message in a reply
StasPV Offline

Posts: 130
Post: #4085

gamecreator, спасибо!
07.07.2016 14:40
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4086

Hi, can I ask a little plugin please, about changing Ctrl+left click to Crtl+right click required to create sylvains (is hard coded so outside my erm knowledge)? Or other idea if you find better option.

It conflicts with HD mod army management and it is very tedious when playing rampart with sylvain option enabled.
(This post was last modified: 10.07.2016 13:17 by Valery.)
10.07.2016 13:15
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4087

Patch to switch from LMB to RMB:
Code:
74F8D5 01
Note that WoG code doesn't check whether any other modifiers are pressed beside Ctrl.
Finer control is possible via ERM Hooker, or any particular combination can be patched in. If you are interested, I'll look into it.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
11.07.2016 00:41
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4088

Sure I am interested, when you have time. Just change it from Ctrl + LMB as HD mod uses that for army management. Alt and Shift are also used by HD, so my suggestion would be RMB, but then we have the info box popping after sylvain transformation. Any other ideas?

This is the problem, each time I need to split eight cents or elfs, I get this:
(This post was last modified: 11.07.2016 02:00 by Valery.)
11.07.2016 01:49
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4089

(11.07.2016 00:41)gamecreator Wrote:  Patch to switch from LMB to RMB:
...facepalm. Just realized that's not how the game works. There is no easy way to change the combination to RMB+something, just to RMB or LMB+something. Should be possible using ERM Hooker though.
Also can't you just manage troops in the status window instead?


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
11.07.2016 04:49
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4090

yes sure, I can split in adventure map screen. If it is too complicate then forget it, no big problem.
11.07.2016 06:14
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4091

(11.07.2016 04:49)gamecreator Wrote:  There is no easy way to change the combination to RMB+something, just to RMB or LMB+something. Should be possible using ERM Hooker though.
Solution:


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
12.07.2016 13:42
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4092

Works great, thanks. Would it be possible to make plugin from or that was the "patch" problem you mentioned?

I think that way it would be more useful, as almost every one today uses HD mod. If not, I will make a small mod stand-alone.
(This post was last modified: 12.07.2016 20:45 by Valery.)
12.07.2016 20:43
Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #4093

Even better, a patch:
Code:
74F8D8 0F84500200006A11FF1594A26300F6C4800F843F02000090909090 ; set key combo
74F9FF 16010000 ; fix bug


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
12.07.2016 22:33
Find all posts by this user Quote this message in a reply
Algor Away
Administrators

Posts: 3881
Post: #4094

Блин, кто знает, можно как-нить просто получить ранг опыта отряда в бою?


BattleHeroes Rus/Eng | ERA scripts (+ReMagic) Rus/Eng
13.07.2016 05:10
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #4095

Can't do it in BA then store per stack?

13.07.2016 10:22
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