|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 16, 2014 03:28 AM |
|
|
Check heroes meeting screen, line 727 until the end for functions unequip/equip artifacts correctly. It was a huge problem when we did the mod and only Bersy could solve it. As the mod generally transfers artis from one hero to another, just use the equip/unequip functions and ignore those transferring artifacts.
|
|
mister_kalu
Known Hero
|
posted December 16, 2014 03:42 AM |
|
|
the 2 links in the mod topic are dead..
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 16, 2014 03:50 AM |
|
|
Mods
Check for HMS improved interface.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 16, 2014 05:19 PM |
|
|
game save crashes when attack thunderbirds with sylvia and then attack some thunderbirds with commander... why?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 16, 2014 05:22 PM |
|
|
Why don't you disable mods one by one, reload, F12 and see when it works? This way you get exactly which is guilty so instead of checking 25 mods you know where to look first.
____________
Era II mods and utilities
|
|
Mister_kalu
Known Hero
|
posted December 16, 2014 05:32 PM |
|
|
Salamandre said: Why don't you disable mods one by one, reload, F12 and see when it works? This way you get exactly which is guilty so instead of checking 25 mods you know where to look first.
i tested the mod and i found it very good but there are many SN commands i don't understand properly, so isn't helpful to me at all , thanks anyway for your suggestion however i have another useful way to create my inventory, but i need another way to check if some slot is busy without the A1 receiver , maybe exists some UN:C that allow that thing because i didn't saw something similar in the HMS mod.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 16, 2014 05:33 PM |
|
|
I tried that somehow.
I disabled some mods and it still crashes.
It stops crashing when I disable or partially disable Knightmare Comanders (it has a line that sets commander count to 2 if conditions met)
But I tried to regenerate crash on clean game and similair conditions as in savegame crash, but it doesn't repeat the crash.
note that offending line doesn't crash, the crash appear when fighting with that Commander, and it seems to happen in very narrow conditions or on random condition.
I want the line to be in - it is partially purpose of the mod, just I want to reorganise some code or something to not crash even rarely
I just need to find internal conflicts, not the mod offending.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 16, 2014 05:51 PM |
|
|
Mister_kalu said: i need another way to check if some slot is busy without the A1 receiver
Maybe UN:C, but not many can find it. Anyway, there is a way to find if a slot is busy: make different indexes with all artifacts, based on their position on the body. Then check if those artifacts are equipped.
Maybe not perfect because rings can be equipped in two locations but their case could be viewed separately.
Checking if hero has something in right hand:
!?CM0; right click on maps
!!OW:A-1/?y1; get current hero
!!VRv2:C7/8/9/10/11/12/35/128/146/148; v2-v11 store now all swords ID
!!DO12345/2/11/1:Py1; loop v2-v11
!?FU12345;
;x1 current hero
!!VRy1:Svx16; read from index and store in y1
!!HEx1:A2/y1/?y2/?y3;
!!IF&y3>0:Q1/8/y1/1^This hero right hand is busy^;
Anyone, please abstain from dirty jokes.
____________
Era II mods and utilities
|
|
bloodsucker
Legendary Hero
|
posted December 17, 2014 02:21 PM |
|
|
What's A1 reciver? Is not on the Help Reciver's List.
Are there new reciver? If so, is there any documentation about them?
|
|
Mister_kalu
Known Hero
|
posted December 17, 2014 04:02 PM |
|
|
bloodsucker said: What's A1 reciver? Is not on the Help Reciver's List.
Are there new reciver? If so, is there any documentation about them?
!!HE:A1/x/x;
|
|
bloodsucker
Legendary Hero
|
posted December 17, 2014 04:38 PM |
|
|
Mister_kalu said:
bloodsucker said: What's A1 reciver? Is not on the Help Reciver's List.
Are there new reciver? If so, is there any documentation about them?
!!HE:A1/x/x;
Ah!! Thanks, then the reciver is !!HE.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 17, 2014 05:31 PM |
|
|
Sadly found the reason - Multiple Commanders conflict with Commmander's deathStare (or some other special skill)
I need to Resign about Multiple commanders
|
|
hcl
Adventuring Hero
|
posted December 18, 2014 08:04 AM |
|
Edited by hcl at 08:06, 18 Dec 2014.
|
Which File handles the wog options? In case i want to add/change Options to the menu?
i guess its not an erm script but something insisde a pac file, havent checked though
|
|
bloodsucker
Legendary Hero
|
posted December 18, 2014 10:55 AM |
|
|
@hcl I've found this
ERM Commands in order as they are shown in the wogify options in the game.
1. Wogify Settings, Game Enhancements and Hard-Coded Options:
WoGify Settings:
!#UN:P5/0; WoGify random WoG maps
!#UN:P5/1; WoGify ALL WoG maps
!#UN:P5/2; WoGify ALL RoE, AB, SoD and WoG maps
!#UN:P5/3; WoGify ALL maps but ASK before WoGifying
Game Enhancements:
!#UN:P248/0; *Display Wogification Messages*
!#UN:P24/1; Enhanced dwelling hint text
!#UN:P169/0; Towns may be renamed
!#UN:P187/0; Heroes may be renamed
!#UN:P180/1; Buy all creatures button
!#UN:P181/0; Transfer all resources option
!#UN:P225/0; Resource trading post
!#UN:P182/0; Display hidden skills
!#UN:P185/1; Script message disabling
!#UN:P25/1; Display hero movement points remaining
!#UN:P179/1; Display hero spell points remaining
!#UN:P69/0; Custom Alliances
!#UN:P184/0; Disable Autosave
!#UN:P75/0; Abbreviated Skille Descriptions
!#UN:P244/1; Hero and Town List Reordering
!#UN:P240/1; Warlord's banner quick-select options
!#UN:P233/1; Quick combat battle options
Hard Coded Options:
!#UN:P0/1; Level 8 dwellings functions as normal
!#UN:P1/1; Arrow towers gain experience
!#UN:P2/1; Leave troops by right-clicking on adventure map
!#UN:P10/1; Troops left will rejoin their owner
!#UN:P3/1; Commanders are enabled
!#UN:P6/0; Commanders must be hired
!#UN:P4/0; Demolish town buildings by right-clicking
!#UN:P7/1; Creature dwellings accumulate creatures
!#UN:P8/0; Creature dwellings accumulate guards
!#UN:P9/1; Sylvan centaur creation is allowed
!#UN:P900/1; Troops stacks gain experience
!#UN:P902/1; Artifacts may be left by right-clicking
!#UN:P903/0; Disable cheat codes and menu
AI Stack experience Difficulty:
!#UN:P229/0; Default (linked to player difficulty)
!#UN:P229/1; None
!#UN:P229/2; Easy
!#UN:P229/3; Normal(Use this)
!#UN:P229/4; Hard
!#UN:P229/5; Expert
!#UN:P229/6; Impossible
!#UN:P229/7; Custom
2. Map Options and Enhancements:
Map Options:
!#UN:P131/0; Towns start without forts
!#UN:P144/0; Only human and neutral towns start with forts
!#UN:P145/0; Cartographers are replaced by cover of darkness
!#UN:P165/0; Most dragobfly hives are replaced
!#UN:P132/1; Some standard treasure chests contains more gold
!#UN:P133/1; Some dwellings have upgraded creatures
!#UN:P139/0; Some monsters are replaced by WoG monsters
!#UN:P242/0; Some level 3 monsters replaced with ghosts
!#UN:P142/0; Patches of special terrain may be added
!#UN:P40/0; First money
!#UN:P100/0; Enable extension heroes
Map Enhancements:
!#UN:P20/0; Week of monsters
!#UN:P134/0; Resource weeks produce resource piles
!#UN:P135/0; Monster week spawn wandering monsters
!#UN:P136/0; Monster week spawn stationary monsters
!#UN:P200/0; Refugee camp match monster week
!#UN:P36/1; Mithril enhancements
!#UN:P149/1; Mithril display
!#UN:P170/0; Mithril resource stack replacement
!#UN:P171/0; windmills and mystical gardens may give mithril
!#UN:P174/1; Universal creature upgrades
!#UN:P173/1; Extended creature upgrades
Map Enhancements:
!#UN:P19/0; Master of life
!#UN:P63/0; Passable terrain
!#UN:P192/0; Transfer owner
!#UN:P65/0; Monolith toll
!#UN:P67/0; Neutral town
!#UN:P68/1; New battlefields
!#UN:P45/1; Castle upgrading
!#UN:P47/0; Creature realtionships
!#UN:P22/0; Monster muttering
!#UN:P38/0; Karmic battles
!#UN:P41/0; Battle extender
Map Enhancements:
!#UN:P183/0; Rewritable signs
!#UN:P62/0; Split decision
!#UN:P72/0; Random hero
!#UN:P105/0; Loan bank
!#UN:P228/0; Allow building twice per day in towns
!#UN:P220/0; Select neutral town types
!#UN:P57/0; Neutral unit bonuses
!#UN:P232/0; Neutral stack size
!#UN:P231/1; Neutral stack experience
!#UN:P235/0; Neutral town and creature bank growth
!#UN:P245/1; Level 7+ troops only gain 50% experience
3. Skills, Monsters and Heroes: Enhancements and Balancing
Hero Enhancements and Balancing:
!#UN:P39/0; Hero speicalization boost
!#UN:P198/0; Rebalanced hero abilities
!#UN:P199/0; Rebalanced starting armies
!#UN:P186/0; Choose commander class
!#UN:P51/0; Enhanced caommanders
!#UN:P61/0; Enhanced protection from elements
!#UN:P54/0; Enhanced war machines I
!#UN:P55/0; Enhanced war machines II
!#UN:P73/0; Enhanced war machines III
!#UN:P49/1; Henchmen
!#UN:P74/0; Summone elementals
Skill Enhancements
!#UN:P214/1; Armorer
!#UN:P201/1; Artillery
!#UN:P103/1; Eagle eye I
!#UN:P202/1; Eagle eye II
!#UN:P203/1; Estates I
!#UN:P191/0; Estates II
!#UN:P204/1; First aid I
!#UN:P190/0; First aid II
!#UN:P217/1; Learning I
!#UN:P205/1; Learning II
!#UN:P206/1; Luck
Monster Enhancements and balancing
!#UN:P37/0; Rebalanced creatures
!#UN:P188/0; Rampart faerie dragon
!#UN:P189/0; Reduce conflux firebird/phoenix grpwth
!#UN:P46/0; Berserker flies
!#UN:P50/0; Enhanced monsters
!#UN:P56/1; Metamorphs
!#UN:P59/1; Piercing shot
Skill Enhancements
!#UN:P35/1; Mysticism I
!#UN:P207/0; Mysticism II
!#UN:P208/1; Navigation
!#UN:P209/1; Pathfinding
!#UN:P216/0; Resistance I
!#UN:P210/1; Resistance II
!#UN:P211/1; Scholar
!#UN:P215/1; Scouting I
!#UN:P212/1; Scouting II
!#UN:P58/1; Scouting III Espionage
!#UN:P23/1; Sorcery I
!#UN:P213/1; Sorcery II
!#UN:P218/0; Tactics
!#UN:P193/0; Warfare (Artillery/Ballistics/FirstAid)
4.Objects and Artifacts
Chests and Artifacts
!#UN:P29/0; New treasure chest
!#UN:P31/0; New treasure chest 2
!#UN:P143/0; New artifacts
!#UN:P102/0; Artifact boost
!#UN:P106/0; Hourglass of Asmodeus
!#UN:P27/0; Spell book
!#UN:P34/0; Card of prophecy
!#UN:P33/0; Living scrolls
!#UN:P71/0; Enhanced artifacts
!#UN:P219/1; Ehanced commander artifacts
New Adventure Objects
!#UN:P195/0; Replace objects during wogification
!#UN:P30/0; Adventure cave
!#UN:P18/0; Alms house
!#UN:P14/0; Altar of transformation
!#UN:P104/1; Arcane tower
!#UN:P26/0; Artificer
!#UN:P16/0; Battle academy
!#UN:P70/0; Death chamber
!#UN:P44/0; Emerald tower
!#UN:P60/0; Forgotten shrine
!#UN:P108/0; Junk merchant
!#UN:P137/0; Level 8 dwellings
Enhanced Adventure Objects
!#UN:P76/0; Commander sanctuary
!#UN:P66/1; Commander witch huts
!#UN:P194/1; Advanced with huts
!#UN:P53/0; Dungeon of dragonmaster
!#UN:P107/0; Fishing well
!#UN:P21/0; Freelancers guild
!#UN:P42/0; Garrisons
!#UN:P43/0; Obelisk runes
!#UN:P13/0; Tavern card game
New Adventur Objects
!#UN:P12/0; Living skull
!#UN:P110/1; Magic mushrooms
!#UN:P109/1; Market of time
!#UN:P52/1; Mirror of the home-way
!#UN:P115/1; Mysterious creature dwelling
!#UN:P138/1; New creature bank
!#UN:P140/1; New creature dwelling
!#UN:P11/0; Palace of dreams
!#UN:P17/0; Potion fountains
!#UN:P196/0; Power stones
!#UN:P28/0; School of wizardry
!#UN:P141/0; Sphinx
!#UN:P32/0; Summoning stones
5. Map Rules
Map Rules Option
!#UN:P101/0; Chose Map rules each game but deafult to rules selected below
!#UN:P101/1; Chose map rules each game
!#UN:P101/2; use map rules selected below (use this)
!#UN:P101/3; Use two random map rules each game
!#UN:P101/4; Use two random map rules each game from those selected below
!#UN:P101/5; Disable all map rules
Map Rules
!#UN:P230/0; Display chosen map rules at start
!#UN:P111/0; Fliers have no-retalliation instead of fly
!#UN:P112/0; Monster speed is inverted
!#UN:P113/1; Monster are half price on 7th day of week
!#UN:P114/0; Heroes create magic plains each day
!#UN:P115/0; All monsters attack twice
!#UN:P116/0; Monster stacks in hero army grow 4% each day
!#UN:P117/0; Most dwellings also have boars
!#UN:P118/0; Heroes start at 5th level (+5000 experience)
!#UN:P119/0; Heroes pickup double artifacts
!#UN:P120/0; Perpetual darkness covers the map
!#UN:P121/0; Heroes have double movement
!#UN:P122/0; Mines change resource once per week
!#UN:P123/0; Single visit bonus sites reset each week
!#UN:P124/0; Heroes get 9th-10th skills
!#UN:P125/0; Heroes upgraded level 7 monsters become level 8
!#UN:P126/0; Heroes gain artifact each level
!#UN:P127/0; Rogues attack heroes at random
!#UN:P128/0; All creatures have a breath weapon
!#UN:P129/0; Shooters cant shoot but gain +50% health
!#UN:P130/0; All towns have a grail (if no confluxes on map)
!#UN:P239/0; Towns have warlords banner in front of them
6. Artifact and Spell Banning
Spell Banning Options
!#UN:P146/1; Ban spells from mage guilds and pyramids
!#UN:P147/1; Ban spells from spell shrines
!#UN:P148/1; Ban spells from scholars
!#UN:P150/1; Ban spells from scrolls and pandoras boxes
!#UN:P151/1; Ban spells from heroes starting spells
!#UN:P152/1; Ban summon boat
!#UN:P221/1; Ban scuttle boat
!#UN:P153/0; Ban water walk
!#UN:P154/0; Ban townportal
!#UN:P155/1; Ban dimension door
!#UN:P156/1; Ban fly
!#UN:P222/1; Ban visions
!#UN:P223/0; Ban armageddon
!#UN:P246/1; Ban view air
!#UN:P247/1; Ban view earth
Banned WoG Artifacts
!#UN:P176/1; Magic wand
!#UN:P226/0; Gold tower arrow
!#UN:P227/1; Monsters power
!#UN:P177/1; Slavas ring of power
!#UN:P238/0; Ban commander artifacts
Banned Artifacts
!#UN:P157/1; Boots of levitation
!#UN:P158/1; Angels wings
!#UN:P159/1; Tome of air magic
!#UN:P160/1; Tome of earth magic
!#UN:P161/1; Tome of fire magic
!#UN:P162/1; Tome of water magic
!#UN:P163/1; Spellbinders hat
!#UN:P164/0; Sea captains hat
!#UN:P166/0; Recanters cloak
!#UN:P167/0; Orb of inhibition
!#UN:P168/1; Orb of vulnerability
!#UN:P175/0; Shackles of war
!#UN:P178/0; Disable combination artifact assembly
Banned WoG Artifacts
!#UN:P234/0; Warlords banner
!#UN:P236/0; Crimsons shield of retribution
!#UN:P241/0; Dragonheart
!#UN:P243/1; Gate key
!#UN:P237/1; Barbarians lords axe of ferocity
Other Settings
!#UN:P904/0; Error messages are enabled
!#UN:P906/0; Stack Experience may be gained from battles
-----------------
Hope it can be usefull.
Source:
http://www.jksit.se/howto.asp?part=3&page=1&tp=3&head=ERM%20-%20Scripting&number=71&sub=ERM-Beginners%201
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 18, 2014 10:59 AM |
|
|
No, what he looks for is hmm35wog.pac, extract zsetup00.txt and zsetup01.txt. Only editable with textedit from tools folder.
|
|
hcl
Adventuring Hero
|
posted December 18, 2014 12:14 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 18, 2014 05:17 PM |
|
|
@hcl
better than using own zsetup00.txt and zsetup01.txt is using an ERS file.
ERS file looks like one or more lines from zsetup01.txt but is added to the list in the runtime.
why it's better? because it doesn't conflict with other mods adding WoG options
|
|
hcl
Adventuring Hero
|
posted December 19, 2014 04:27 PM |
|
|
majaczek said: @hcl
better than using own zsetup00.txt and zsetup01.txt is using an ERS file.
ERS file looks like one or more lines from zsetup01.txt but is added to the list in the runtime.
why it's better? because it doesn't conflict with other mods adding WoG options
ah cool, didnt know. And its placed in the same folder like erm/ert ones?
|
|
bloodsucker
Legendary Hero
|
posted December 19, 2014 05:09 PM |
|
|
This is from the script 33 to build the Gold Reserve
!!CA-1:B3/12;
!!CA-1&-1:B3/13;
while I know what the first line is doing (checking if the city hall is built in the active castle), I can't understand what he is doing with the capitol, and this is used also for the dwellings
!!CA-1&-1:T?v434; ;check for horde buildings
!!CA-1&-1/v434=0/x2=166:B3/19; ;Castle - Griffins
!!CA-1&-1/v434=1/x2=165:B3/19; ;Rampart - Dwarves
Note: is there a description of all the operators? cause I don't know how to find it.
P.S. Well, thank you for the afluence of awsers.
I looked for this "-1&-1" and I found a lot of cases in wich it can be used but until now I still can't read those lines.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 21, 2014 03:12 PM |
|
|
bloodsucker said: This is from the script 33 to build the Gold Reserve
!!CA-1:B3/12;
!!CA-1&-1:B3/13;
In fact, from script strict reading he is not building neither city hall or capitol. The B3 command is only asking if city hall is built. If it is , flag 1 will be set to true.
So the translation of next:
!!CA-1&-1:B3/13
if the city hall wasn't build (flag 1 is false -1) check if capitol is built. Again flag one will store the result. This is indirect check.
|
|
|