09.11.2014, 01:10
09.11.2014, 22:56
добавление пользовательских ERM рисиверов вообще мега сильно!! Очень круто
09.11.2014, 23:16
Ещё бы оно кому пригодилось, так было бы вообще замечательно.
11.02.2015, 08:25
I have a little annoyance with seer huts. All QU#:M0/?z1 work fine but when type 6 (bring creatures) there is no text to get. Neither proposal or progress message. Of course the message is in the hut, I just can't get it by this command.
11.02.2015, 12:17
Interesting... I will check it.
11.02.2015, 15:07
i can't get those three commands to work, actually, I am stuck at "get". Is this correct?
11.02.2015, 18:51
I made info on my receivers to closely resemble ERM Help:
Now the reason why I implemented getting creatures/artifacts this way is that you can set unlimited number of them to be delivered and I consider LE:A-like implementation to be lame. So you must cycle through all artifacts, get quantity of each and compose your message.
Why it sometimes works for you I don't know. Probably ERM recovers from error (since I provide valid recovery info) and continues to run with faulty command unexecuted and values unchanged.
Quote:If a command parameter is shown as $ it means that its value can be stored in a variable. If it's shown as # it means that it can only be set, but not read. And if it's shown as ?$ it means it can be read but not set.So the first command alone should cause error and produce a message with a text of the faulty command, like your ordinary ERM error would. I am yet to implement error messages, Era's ExecErmCmd proved surprisingly incapable of handling IF:M during my earlier tests.
Now the reason why I implemented getting creatures/artifacts this way is that you can set unlimited number of them to be delivered and I consider LE:A-like implementation to be lame. So you must cycle through all artifacts, get quantity of each and compose your message.
Why it sometimes works for you I don't know. Probably ERM recovers from error (since I provide valid recovery info) and continues to run with faulty command unexecuted and values unchanged.
11.02.2015, 19:25
I think I understand what you mean. When I asked for seer huts I had one thing in mind, which I find extremely annoying when playing large custom and random maps: locate seer huts and their target.
So my mod idea is to store all huts, border guards, now that we can, then player just browse and see which is where, what it asks, where is the monster to defeat and such. In all, works fine, but without those 3 receivers + QU:M0/?z1 for creatures is not complete so no idea how to finish it.
Personally I find no use to set regular seer huts, as custom huts can be easily scripted. Instead, regular huts are a real annoyance on given maps, up to 48 and to find them is tedious.
@Edit: ok, I get it, cycle through all artifacts then compose. I will try this, thanks.
So my mod idea is to store all huts, border guards, now that we can, then player just browse and see which is where, what it asks, where is the monster to defeat and such. In all, works fine, but without those 3 receivers + QU:M0/?z1 for creatures is not complete so no idea how to finish it.
Personally I find no use to set regular seer huts, as custom huts can be easily scripted. Instead, regular huts are a real annoyance on given maps, up to 48 and to find them is tedious.
Spoiler (Click to View)

@Edit: ok, I get it, cycle through all artifacts then compose. I will try this, thanks.
11.02.2015, 19:30
(11.02.2015 08:25)Valery Wrote: [ -> ]I have a little annoyance with seer huts. All QU#:M0/?z1 work fine but when type 6 (bring creatures) there is no text to get. Neither proposal or progress message. Of course the message is in the hut, I just can't get it by this command.I checked it and technically there is no message. Just like if you remove it with QU:M0/0. So when you visit the hut, the game composes the message on spot. I don't know if this is a quirk of the game itself or of the map editor, but all other messages are pre-generated. I'll see what I can do about this.
11.02.2015, 19:52
There is no need, I solved it. I create text after the creatures loop.
Back to work, might finish this mod soon.
Back to work, might finish this mod soon.
02.05.2015, 17:09
I don't know how to get correct values for rewards when primary skills, morale/luck and creatures. Returns garbage even if I check for that parameter, sometimes correct but depends on number of seers on map, so is not valid.
02.05.2015, 20:14
Receiver QU help Wrote:Some of these values may return garbage when checking for predefined seer huts (e.g. number of creatures). You will have to truncate such values to the appropriate size manually.This means that in some cases these values occupy less than 4 bytes, but QU:R returns all 4 bytes. You can extract the real value either with VR:&(X-1) or VR:%X where X is 2^number of bits. I would guess primary skills, morale and luck occupy 8 bits (or 1 byte), which means X=2^8=256. Don't remember about creatures, probably somewhere between 10 and 16 bits.
02.05.2015, 20:23
In short: %256, %65536
02.05.2015, 21:10
Moment, I need a bit of help, you mean this?
02.05.2015, 21:17
It does not matter whether it is positive or negative. First you truncate it, then do everything else.