• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Leveling: Sudden Huge Amounts of XP Gained

I'll include it in my game tonight. Please add it to the list of fixes in case I forget.
 
@Levis: Just so you know... This:
Code:
ra.id+" and "+re.id
Should use 'attack' and 'enemy' as 'ra' and 're' are only ints.

Apparently your two added checks get called a LOT as proven by my killing spree in the Bonaire port:
Code:
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
SETTING MUSIC: music_bitva
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
XP LOG: Max blade xp reached between Johan Elting and Claeys Dedkind
Equip Character Hans Reyers with bladeC10+2 his nation: 4 blade nation=
Equip Character Iacob Kluivert with blade8 his nation: 4 blade nation=
::: QUESTMOVIE: StartQuestMovie func call
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
XP LOG: Max blade xp reached between Johan Elting and Liclaeys Coerten
Equip Character Willam Lozier with blade12-1 his nation: 4 blade nation=
Equip Character Claeis Schuyler with blade21 his nation: 4 blade nation=
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
XP LOG: Max gun xp reached between Johan Elting and Anne Paers
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
XP LOG: Max blade xp reached between Johan Elting and Iacob Kluivert
XP LOG: Max blade xp reached between Johan Elting and Willam Lozier
XP LOG: Max blade xp reached between Johan Elting and Claeis Schuyler
XP LOG: Max blade xp reached between Johan Elting and Kersten Dekker
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Street Merchant
XP LOG: Max blade xp reached between Johan Elting and Kersten Dekker
XP LOG: Max blade xp reached between Johan Elting and Kersten Dekker
XP LOG: Max blade xp reached between Johan Elting and Laurens Bloem
XP LOG: Max blade xp reached between Johan Elting and Peter Emden
XP LOG: Max blade xp reached between Johan Elting and Peter Emden
XP LOG: Max blade xp reached between Johan Elting and Peter Emden
XP LOG: Max blade xp reached between Johan Elting and Anne Paers
XP LOG: Max gun xp reached between Johan Elting and Nol Meens
Quest name pchar_hip_mode_check FOUND in CommonQuestComplete
XP LOG: Max blade xp reached between Johan Elting and Nol Meens
XP LOG: Max blade xp reached between Johan Elting and Anne Paers
XP LOG: Max blade xp reached between Johan Elting and Stefan Loseir
XP LOG: Max blade xp reached between Johan Elting and Stefan Loseir
XP LOG: Max blade xp reached between Johan Elting and Stefan Loseir
XP LOG: Max blade xp reached between Johan Elting and Peter Emden
It does seem to behave itself though, because I didn't notice anything strange in my quick test.
 
Yeah I noticed too. Fixed it, update is comming in 15 minutes
 
Now it seems that the enemys are pretty damn weak. They have either no abilities of fencing or they have low skill on fencing. I can easily kill people with two hits or even with one hit. That is with the last Beta 4 WIP (17th sept). Their HP is correct.
 
Also @Levis: How about that higher than 100% commerce skill for item traders right at the beginning of the game?
I know I posted about that earlier this week, but cannot seem to find it now.
 
Also @Levis: How about that higher than 100% commerce skill for item traders right at the beginning of the game?
I know I posted about that earlier this week, but cannot seem to find it now.
Made a fix for it a while ago in the character interface but forgot the officer interface. so will apply it there too

should be fixed in this:
 

Attachments

  • officer.c
    18.9 KB · Views: 112
Last edited:
It was the 'O' key interface, which I think is indeed the officer one.
Will check this next week! :cheers
 
Made a fix for it a while ago in the character interface but forgot the officer interface. so will apply it there too

should be fixed in this:
As, so it wasn't ACTUALLY more than 100%, it just displayed (erroneously) like that.
Nice one! :cheers
 
Now it seems that the enemys are pretty damn weak. They have either no abilities of fencing or they have low skill on fencing. I can easily kill people with two hits or even with one hit. That is with the last Beta 4 WIP (17th sept). Their HP is correct.
This one you mean? I'm not sure. Have you tried the latest update?
@Levis, do you have any idea what might be going on there?
 
I have tried it, but it still happens what I said. Methinks it's all about the NPC's getting zero abilities of fencing or having low level of fencing.
 
@Levis All NPCs: Assasins at the jungle, enemy sailors when boarding, my own sailors... I don't know all of them. But as I said, it is all about the NPCs in general, it doesn't matter if they are your allies or your enemies.
 
But as I said, it is all about the NPCs in general, it doesn't matter if they are your allies or your enemies.
For any characters who aren't fighting you, try standing in front of them and pressing the "O"-button.
That will open the "Officer" interface for them and show you their skills.
 
@HellSailor please search for this piece of code in Leveling.c
Code:
void InitAutoSkillsSystem(ref refCharacter, bool dailyUpdate)
{
    if(!IsMainCharacter(refCharacter) && !sti(refCharacter.index)==GetMainCharacterIndex() && !bAllies(refCharacter) && !CheckAttribute(refCharacter, "IsFantom"))
    {

and replace it with:

Code:
void InitAutoSkillsSystem(ref refCharacter, bool dailyUpdate)
{
    if(!IsMainCharacter(refCharacter) && !sti(refCharacter.index)==GetMainCharacterIndex() && !bAllies(refCharacter))
    {

I think that will do the trick...
 
It doesn't matter. I have done a little try with your changes and nothing has changed. The enemy's sailors still got killed with two hits.
 
It doesn't matter. I have done a little try with your changes and nothing has changed. The enemy's sailors still got killed with two hits.
Did you see their skills yet using the O-key? It would be nice to confirm that NPCs are generated with too low skills.
 
This is now very strange. I did what you say, @Pieter Boelen, and... well, it's better to show you the screenshots and let the images talk for themselves.
I have selected three random citizens with all of them equipped with swords. Here it is the first one:

Stats of random citizen.jpg

Stats of random citizen 2.jpg

Looking at this, you would think that here there is no problem. I thought what the hell? Nothing bizarre? Then I moved onto a woman citizen, and... surprise! She was not normal.

Stats of second random citizen.jpg

Stats of second random citizen 2.jpg

This doesn't explain why even if they have normal health in those enemy sailors, they still have bad level of fencing. Anyway, I moved onto a final citizen and it had the same isues as the second one.

Stats of third random citizen.jpg

Stats of third random citizen 2.jpg

I hope this can help you.
 
Back
Top