|
|
hcl
Adventuring Hero
|
posted December 02, 2014 09:25 AM |
|
|
tried your save, thats the result:
no second page when i click arrow down
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 02, 2014 09:27 AM |
|
|
Artillery got deleted. Reinstall, that's all I can advice. Then reload my save to see if ok.
____________
Era II mods and utilities
|
|
hcl
Adventuring Hero
|
posted December 02, 2014 09:30 AM |
|
|
Salamandre said: Artillery got deleted. Reinstall, that's all I can advice. Then reload my save to see if ok.
ok, will do that later after work. thanks for your help so far, appreciated!
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 02, 2014 09:40 AM |
|
|
Additionally, you can install Trainer mod, press F12 after reload, pres F2 to open trainer then add skills to Thorgrim (mainly artillery). Then see if he forgets them and why.
____________
Era II mods and utilities
|
|
hcl
Adventuring Hero
|
posted December 02, 2014 07:32 PM |
|
Edited by hcl at 20:05, 02 Dec 2014.
|
so, did a complete fresh install and found at least the cause.
sal, you were right, assuming the HD mod causing the problem.
at least with 3.801 (winxp 32bit) the skillbug occurs.
w/o installed hd mod, all the saves work just fine.
testing now with latest hd mod (3.806 in queue)
update:
bug gone with latest 3.806 version of hd mod.
/finally happy
|
|
robizeratul
Known Hero
|
posted December 06, 2014 01:29 PM |
|
|
MOD idea: Is it possible to make spell points constant? Let's say your max spell points are 100 and you can't change them whatever you do. You get 3 spell points each day.
When you level up you can choose atk/def/power but not knowledge. What do you say?
|
|
bloodsucker
Legendary Hero
|
posted December 06, 2014 01:53 PM |
|
|
robizeratul said: What do you say?
What's the point?
Let's make a deal: you use the Random Map Generator to create XL maps; you open them and you put Arcane Towers all over the map, then you add some hardcore monsters here and there close to your town and you play with hardcore options like "neutrals get help", "random hero", BAI growth at 4X, "AI always ace" and so on. Every time your knowledge grows over 10 you visit an Arcane Tower and trade it for other thing. You give yourself the orb of mana so you can recover 4 points a day.
Play to the end three maps like these and if you still think is a great idea I'll lose some time doing it, ok?
The only thing I see here is a way to turn Might heroes even more OP. Is that your idea?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 06, 2014 05:15 PM |
|
|
What is funny is how people without any coding experience, most of the time, can't correctly formulate their wishes, and this is similar to hota thread too. Is not that ideas are bad, but the way they explain makes almost no sense and can't be used as sane base. This is not a critic -we all were there-, but just a remark, mostly to demonstrate how hard is to fulfill people wishes and why they should not feel offended if ignored.
It would require an incredible waste of energy and time to start to discuss, ask him what exactly he wants and make him aware about all details which may lead to shortcuts.
What means spell points constant? Cap value? But if they are constant, how can you get 3 each day? Or it is about mysticism mechanics, restore daily? And what about artifacts internally giving knowledge? Must code manually each and remove bonus? And what about map adventure bonus locations? Can't visit? What about tower special building giving 1 Knowledge, can't build? What about intelligence skill? Huts giving it, scholars, mana springs, dungeon mana vortex?
So you see, you think easy mod, but from programming perspective, it could finally become a quite huge work to do. And your explanation doesn't consider even 1% of all the details a coder would need to know before starting work.
____________
Era II mods and utilities
|
|
bloodsucker
Legendary Hero
|
posted December 08, 2014 02:03 AM |
|
|
Salamandre said: What is funny is how people without any coding experience, most of the time, can't correctly formulate their wishes
True. Look at this other: http://heroescommunity.com/viewthread.php3?TID=40874&PID=1264370#focus
I guess I'm able to write most of what he asks, (in fact all together may be much easier then the previous idea) but that's me guessing cause he didn't post any details of what he wants. The analists work requires
yet other skills (comunication skills) besides the ERM knowledge and the graphic tools knowledge.
An object with a single quest is work for a few hours; a new object to put on map and parameterize with new conditions and rewards is something that would have to be done outside the game with another programing language, requiring also graphic skills and is probably undoable.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 09, 2014 08:03 AM |
|
|
There is error in IF:Q with three pictures, it only lets you choose between first two. Also there is no v-answer (as in 10) if set 7 (there should be 15)
guilty code from WoG Sources
Quote:
if(Cmd=='Q'){ // 1000 флагов
int showtime=NextMessShowTime;
NextMessShowTime=0;
if((M.n[0]<1)||(M.n[0]>1000)){ MError(""IF:Q"-wrong flag number (1...1000)."); goto l_exit; }
if(Num==1){ // обычный вопрос
ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(&M.m.s[M.i],0,&i),showtime);
M.i+=i;
break;
}else if(Num==2){ // вопрос с переменной
if((M.n[1]<-10)||(M.n[1]==0)){ MError(""IF:Q"-wrong z var index (-10...-1,1...1000)."); goto l_exit; }
if(M.n[1]>1000) ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(StringSet::GetText(M.n[1]),1,0),showtime);
else if(M.n[1]>0) ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(ERMString[M.n[1]-1],1,0),showtime);
else ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(ERMLString[-M.n[1]-1],1,0),showtime);
}else{
if(Num<6){ // + одна картинка Qfl/pict/pics^text^
type=M.n[3]; pt2=-1; ps2=0; pt3=-1;ps3=0; sind=M.n[4];
}else if(Num<8){ // + две картинки
// Qfl/pic1t/pic1s/pic2t/pic2s/type^text^
type=M.n[5]; pt2=M.n[3]; ps2=M.n[4]; pt3=-1;ps3=0; sind=M.n[6];
}else if(Num<10){ // + 3 картинки
// Qfl/pic1t/pic1s/pic2t/pic2s/pic3t/pic3s/type^text^
type=M.n[7]; pt2=M.n[3]; ps2=M.n[4]; pt3=M.n[5];ps3=M.n[6]; sind=M.n[8];
}else{ MError(""IF:Q"-wrong syntax."); goto l_exit; }
if(Num&1){ // нечетный - переменная
if((sind<-10)||(sind==0)){ MError(""IF:Q"-wrong z var index (-10...-1,1...1000)."); goto l_exit; }
if(sind>1000) fl=Request3Pic(ERM2String(StringSet::GetText(sind),1,0),M.n[1],M.n[2],pt2,ps2,pt3,ps3,type,showtime);
else if(sind>0) fl=Request3Pic(ERM2String(ERMString[sind-1],1,0),M.n[1],M.n[2],pt2,ps2,pt3,ps3,type,showtime);
else fl=Request3Pic(ERM2String(ERMLString[-sind-1],1,0),M.n[1],M.n[2],pt2,ps2,pt3,ps3,type,showtime);
}else{ // четный - есть сообщение
fl=Request3Pic(ERM2String(&M.m.s[M.i],0,&i),M.n[1],M.n[2],pt2,ps2,pt3,ps3,type,showtime);
M.i+=i;
}
if(type==10){ // 3.58+
ERMVar2[M.n[0]-1]=fl;
}else if(type!=1){
ERMFlags[M.n[0]-1]=(char)fl;
}
break;
}
}
obviously ==10 is an error (should be probably &8)
and here
Quote: int Request3Pic(char *mes,int T1,int B1,int T2,int B2,int T3,int B3,int mode,int showtime)
{
/*
1-сообщение
2-запрос
4-инфа по правой мышке
7-просьба выбрать
10 - просить выбрать (0x7809,0x980A,????)и Да(-)/Нет(0x7801)
*/
#include "templ.h"
Dword zret;
__asm{
push B3
push T3
push showtime
push -1
push B2
push T2
push B1
push T1
push -1
push -1 // TIME TO SHOW in ms !!! -1=forever
mov ecx,mes
mov edx,mode
mov eax,0x4F6C00
call eax
}
if((mode!=2)&&(mode!=7)&&(mode!=10)) RETURN(0)
__asm{
// cmp eax,00007805
// cmp eax,00007809
mov eax,0x6992D0
mov ecx,[eax]
mov eax,[ecx+0x38]
}
_EAX(zret);
if(mode==2){ // yes/no
if(zret==0x7805) RETURN(1) // yes
RETURN(0) // no
}
if(mode==10){ // choose and Yes/No
if(zret==0x7809) RETURN(1) // left
if(zret==0x780A) RETURN(2) // right
RETURN(0) // esc
}
if(zret==0x7809) RETURN(1) // первый слева
// if(ret==0x780A) return 0; // след. слева (правый)
RETURN(0)
}
Could you make a patch?
Sorry for chatic request.
|
|
bloodsucker
Legendary Hero
|
posted December 09, 2014 03:24 PM |
|
|
majaczek said:
if(Cmd=='Q'){ // 1000 флагов
int showtime=NextMessShowTime;
NextMessShowTime=0;
if((M.n[0]<1)||(M.n[0]>1000)){ MError(""IF:Q"-wrong flag number (1...1000)."); goto l_exit; }
if(Num==1){ // обычный вопрос
ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(&M.m.s[M.i],0,&i),showtime);
M.i+=i;
break;
}else if(Num==2){ // вопрос с переменной
if((M.n[1]<-10)||(M.n[1]==0)){ MError(""IF:Q"-wrong z var index (-10...-1,1...1000)."); goto l_exit; }
if(M.n[1]>1000) ERMFlags[M.n[0]-1]=(char)Request0(ERM2String(StringSet::GetText(M.n[1]),1,0),showtime
Is this LUA code?
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 09, 2014 03:53 PM |
|
|
nope, it's C++ code of wog itself
I guess memory patch or tiny plugin could help it
I copypasted two functions related to problem to my post.
|
|
Bersy
Honorable
Supreme Hero
|
posted December 09, 2014 05:27 PM |
|
|
maj, sorry, no time for patches, but great report, I faced the same problem. Will record your notes.
Constant mana is not so hard. We just need 1 variable for each hero with current real mana and set mana value to the variable value before battle / after visiting any object. At start of the day increase value by 3.
But you will have to spend 33 days to restore full amount of magic energy...This can be a problem for patience.
|
|
hcl
Adventuring Hero
|
posted December 12, 2014 01:46 AM |
|
Edited by hcl at 05:19, 12 Dec 2014.
|
lately ive played a game with commander witch huts enabled.
saw, that the script gives any "extra skill" even tough its not in the list of possibilities determined by the chosen basic skills.
woudnt it be better to change it thatway that:
a) IF commanders alrdy has a minimum set of basic skills (aka 2 choosen)
and extra skill is not given yet
- he gets oen of the possible extra skills
b) If commanders has either less then 2 basic skills or all possible extra skills are taken yet
- he gets +1 to one of the basic skills
because player chooses the basisc skills combination to get the extra skill he wants. with commander witch hut giving (and theerfor replacing) the maybe anted skill with something unwanted makes this script not very desirable in my eyes. At least unless you are able to cancel the suggested extra skill.
any opinion?
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted December 12, 2014 06:27 AM |
|
|
Commanders suck, try playing with a henchman, a genie or an enchanter suits nice. Btw, has anyone tried making a henchmen out of a vampire, how does the life drain/damage relation work?
____________
Are you pretty? This is my occasion. - Ghost
|
|
hcl
Adventuring Hero
|
posted December 12, 2014 07:11 AM |
|
Edited by hcl at 10:20, 12 Dec 2014.
|
updated commander witch hut script
I made some changes to the commander witch huts Script:
Link: Download
Picture: Screenshot
- Player is now able to decline the offered "Extra Skill" if it
doesnt suit. (Remember one of your 6 Skill Choices may be
overwritten with an unwanted one.
Just klick the cancel button and your commander skip the lesson,
everything else keeps untouched.
Dialogue for basic skill upgrade remains untouched.
- Changed the Dialogue to offer easier regocnition of offered
"Extra Skill", since not every icon is known.
e.g: what the heck is swordsmanship or pressure points?
Better to know befor accepting
feel free to try it! (for those who like to play with commanders )
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 15, 2014 05:30 PM |
|
Edited by majaczek at 17:21, 16 Dec 2014.
|
hey!
enchanced war machines 1 script isprobably guilty on crash on my game
I use modified version of it but I generated nothing it can cause.
Funny it seems to crash at this line
Quote: !!BMy1:F?y-1; y-1 - moster flags (132165 = catapult if not siege)
my save has also other mods enabled.
game save
it seemed also it crash may be related to another mods with !?BG
note that it may be stealth bug with knightmare commanders (many BG triggers and receivers in use
Could anybody help me?
my mods listQuote:
WoG
Fast Battle Animation
Eng
Czcionki
Yona
messengers
Heroes 2 Objects
New Objects Patch
HOTA_objects
WoG Revised
New Upgrades
Disable Autosave
WoG PLUS
Secondary Skills Scrolling
Knightmare Heroes
Knightmare Commanders
Knightmare War Machines
Invited Tavern-en
YNewLevelupScreen_ENG
Adventure Pillars
|
|
bloodsucker
Legendary Hero
|
posted December 15, 2014 07:27 PM |
|
|
artu said: Commanders suck, try playing with a henchman, a genie or an enchanter suits nice. Btw, has anyone tried making a henchmen out of a vampire, how does the life drain/damage relation work?
Nah, commanders are closest thing H3 has to in-battle heroes like the ones in H4. They are amazing, sometimes they can even be a one man army like H4 Rangers.
I'm a great fan of Master Genies for henchman but I don't get why you mention Enchanters. I already said it in Tribute to Strategists (http://heroescommunity.com/viewthread.php3?TID=27539&PID=1198020#focus) and any test will confirm: neither Enchanters nor Efreet Sultans work as henchmen because they lose their special habilities. You'll be much better served with sprites.
Vampire Lords have a high level rate (52, MGs is 59) but they work pretty fine. With no retaliation and life drain they are almost immortal. Their biggest problem is lack of speed. Basic speed is not enouch for a so high level rate so the bonus percentage is very low and they have to survive hundreads of battles before they can be used against powerfull shooters.
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 15, 2014 07:35 PM |
|
Edited by majaczek at 21:53, 15 Dec 2014.
|
Nah, I isolated guilty code, it was mine
EDIT:
Quote: !?FU55001;
!!BMx16:T?y25; !!VRy22:S-1; !!VRy22:-x16;
!!FU|y25<174/y25>191:E;
!!SN:W^majaczek.Commanders.BR_once^/?y-1;
!!SN:W^Knightmare_Skills^/?y1;
!!if&y1>0/y-1=1/v997=0:;
!!HEv7083&v7083>-1:S4/?y3; !!HEv7085&v7085>-1:S4/?y4; //check Nobility (former Diplomacy)
!!BMx16:N?y2;
!!if&y25<=182/v7083>-1:;
!_!VRy3:+1; !_!VRy2:*y3;
!!BMx16&y3>0:M49/99/3; //mirth
!!BMx16&y3>0:M51/99/3; //fortune
!!BMx16&y3>1:M48/99/3; //prayer
!!VRy2&y3>2:+1; !!BMx16:By2 Ny2;
!!en:;
!!if&y25>=183/v7085>-1:;
!_!VRy4:+1; !_!VRy2:*y4;
!!BMx16&y4>0:M49/99/3; //mirth
!!BMx16&y4>0:M51/99/3; //fortune
!!BMx16&y4>1:M48/99/3; //prayer
!!VRy2&y4>2:+1; !!BMx16:By2 Ny2;
!!en:;
!!en:;
/ this part
at this line
!!VRy2&y3>2:+1; !!BMx16:By2 Ny2;
causes problems later (in battle)
I would please some help.
PS: since problem was not in basic WoG/ERA code, is this still ontopic?
EDIT: seems changing MonCount resets some internal data, and this is a problem since in my mod commander is never shooter, and in this save some script gives shooters Precision, and glitchy commander has precision on himself
EDIT: disrobing the amulet of true aim (source of precision) dosen't help so I need search further, anybody help?
|
|
hcl
Adventuring Hero
|
posted December 16, 2014 11:40 AM |
|
Edited by hcl at 12:07, 16 Dec 2014.
|
question: any skilled era coder around who likes to update the commander screen, so its finally able to show all gained extra skills, maybe by means of some scroll arrows like the secondary skill scrolling mod for the hero dialogue does? Are there any plans yet?
There is nothing worse for a game then an ui that cant cope with the abilities of its engine.
atm im writing at the commanders witch hut script to limit the extra skills to 6 (ok, alrdy done..)- like it was intended, maybe doing the same for the basic skills. I personalyl think a build in I.W.I.N - Button (like no limits for commander skills) is nothing that makes a game a challenge. (okok, its only the commanders..)
thats the part of wog i dont like, that it enables too many stuff that feels more like cheating instead of options. And usually the average joe gamer is not able to limit himself and needs limity by the game istself. (just my observation)
anyway, the main reason is, the game feels unfinsihed/unpolished when the ui cant cope with the engine, - here: cant display mnore than 6 commander skills. id rather limit then the engine by script then have feature sthat cant be fully used. it just feels better. thats at least my philosophy.
|
|
|
|