View Single Post
  #18  
Old 11-17-2011, 09:02 PM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Question Why doesn't it work???

It looks like you've covered my ideas pretty thoroughly. What is interesting is that the ses.kfs size is identical to mine so as long as I edited the files correctly, everything should work!

The problem is that it doesn't. I have no problems with the levelup code on my end so what is different on your end? The only thing I can think about right now is that our versions of LUA.EXE are different. Can you let me know the size and date of your LUA.EXE? This file is located in your King's Bounty folder along with KB.EXE. I'm not at home right now, so I don't know mine, but will find out what is is later.

That's the last thing I can think about. The only other thing I can suggest you try is before you level up, can you go purchase some Thorns and try out their Gift of Life ability? Check to see if the ability works (they need to using sowing first, then they can use Gift of Life on an adjacent plant). That is more LUA code that I added and so the idea here is to see if any of the LUA code works. Another thing you can try is to restart a new game with a Paladin and check to see if the Glory skill decreases the leadership requirement of your units 2%. I think Priests have 50 leadership so their leadership should be 49 and I think Inquisitors have 100 leadership so thier leadership should be 98. Once again the idea is to see if any of the LUA code works with your setup.

I wish I could work on your computer and find out what is going on - this is driving me crazy! The next step would be to run the debugger - I'll go into how to do that if it comes to it...

Quote:
Originally Posted by Erkilmarl View Post
had time to check some things:

My files compared to yours:
King’s Bounty\data\data.kfs – 7/8/2010 10:01PM, 33,447KB (mine is 33,582KB)

2.King’s Bounty\sessions\base\ses.kfs – 7/8/2010 10:01PM, 6,217KB (the same)

3.King’s Bounty\sessions\base\loc_ses.kfs – 7/8/2010 10:01PM, 809KB (mine is 3,353KB but it has several language files)



I opened and saved those two files in Notepad and replayed the level up and noticed that still things were blank. I could continue but noticed no increase in runes or elsewhere (I checked mana and rage, too). I don't know what else to check - weren't most of your advice for getting the mod to start?

And I forgot at first to save those files in unicode. If I do it, things don't change - but I get an error message for the logic file: unexpected symbol near `ÿ'.

Erkki
Reply With Quote