Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 05.11.2023]

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
Rodril
Swordsman
Swordsman
Posts: 579
Joined: 18 Nov 2016

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Rodril » 31 Jan 2022, 11:31

On these screenshots header of debug information is cut off. Please copy full debug text and send it here. This is very important source of data, and it will save a lot of time for me, especially, if i won't be able to reproduce these issues myself.

Wagner235
Leprechaun
Leprechaun
Posts: 6
Joined: 31 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Wagner235 » 31 Jan 2022, 12:38

This is from loading screen. Do you want me to upload during combat as well?
Image
Image
Image

Rodril
Swordsman
Swordsman
Posts: 579
Joined: 18 Nov 2016

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Rodril » 31 Jan 2022, 13:28

Wagner235 wrote: 31 Jan 2022, 12:38 This is from loading screen. Do you want me to upload during combat as well?
Yes.

Download these files:
https://gitlab.com/letr.rod/mmmerge/-/r ... line=false
https://gitlab.com/letr.rod/mmmerge/-/r ... line=false
And put them into your "Scripts\General" folder, replacing existing. Tell me if debug popup upon loading map keep happening.

Wagner235
Leprechaun
Leprechaun
Posts: 6
Joined: 31 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Wagner235 » 31 Jan 2022, 13:37

Holy sh#t, now it is working without any problems! Even that crash which occurred when I was trying to train my party members is gone.
Thank you friend.
What was the problem?

Rodril
Swordsman
Swordsman
Posts: 579
Joined: 18 Nov 2016

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Rodril » 31 Jan 2022, 13:59

Wagner235 wrote: 31 Jan 2022, 13:37 Holy sh#t, now it is working without any problems! Even that crash which occurred when I was trying to train my party members is gone.
Thank you friend.
What was the problem?
Loading screen popup was caused by wrong monster index. It did not happen before, i don't know why it happend now, i've added workaround there. Why other bugs were happening i don't know.

Ossie
Super Peasant
Super Peasant
Posts: 99
Joined: 24 Jan 2012
Location: Ossie

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Ossie » 02 Feb 2022, 05:52

Hi all, likely intended behaviour (or too difficult to fix) but just in case, and FYI.........

Max hirelings in the Merge Mod is four, but you're allowed to exceed this number of total "followers" with temporary NPCs you automatically pick up during quests such as Melody Silver, Prince of Thieves etc. The Baby Dragon familiar from the Warlock promo is counted as quest-related when you get him, so he gets added regardless of the total number of followers you have at the time. Meaning you can end up with five "useful" permanent NPCs - four hirelings plus the Baby Dragon.

But once you get the Baby Dragon, he is counted as a standard hireling, and counts toward your NPC total. And he can't be dismissed. This has implications if you subsequently want to change NPCs, as you will now be required to reduce to below four (including the Baby Dragon) to make room, and will only ever be able to re-hire back up to four total, instead of five as above. The biggest issue here is obviously the Free Haven temple quest, where you have to hire the Stone Cutter and the Carpenter.

In short, unless this is subsequently fixed, complete the Free Haven temple quest before the Warlock promo quest. In fact, make sure you've already settled on the four "permanent" NPCs you want to keep for the rest of the game, before you pick up the Baby Dragon.
Last edited by Ossie on 04 Feb 2022, 00:32, edited 2 times in total.

User avatar
justl
War Dancer
War Dancer
Posts: 351
Joined: 26 Dec 2017

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby justl » 02 Feb 2022, 06:16

Hi,

noticed some behaviour with town portal at evermorn island:
if you try to portal out from the waters guild (in the middle of the lake) you automatically get the high magic screen (change to other continents) shown - so far so good.

but if you wanna go somewhere else in mm7 with that spell - you have to get away from that spot to do that.
thing is, if you fly or waterwalk away you still get the continent-screen shown instead of the "local" portal-map - sometimes even if you are half the map away from the guild.

anyone else has experienced that?

justl
V2: Compendium of mm6-8 Secrets + Details about the base merge and DaveHer's redone merge (its in english!)
https://www.mightandmagicworld.de/fileb ... index.html

Ossie
Super Peasant
Super Peasant
Posts: 99
Joined: 24 Jan 2012
Location: Ossie

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Ossie » 02 Feb 2022, 06:29

Further bug just found: Free Haven tower "light" does not turn from red to yellow when using the key to turn off as part of Master Archer quest. All other towers change as per vanilla and quest is completed even though Free Haven tower light is still red.
Last edited by Ossie on 04 Feb 2022, 00:33, edited 1 time in total.

Wagner235
Leprechaun
Leprechaun
Posts: 6
Joined: 31 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Wagner235 » 02 Feb 2022, 12:24

I am not sure if this is a bug or am I missing something but Sorcerer promotion quest in MM7 is not working for me. I got all golem parts and according to wiki I should have a new hireling portrait (golem), which I should speak to, but the problem is that there is no hirelings screen for "MM8 merge mod".
Any suggestions?
Also tried to dismiss one of my companions but still nothing. My idea is that golem should have appeared in my party before I took last body part. Am I screwed my walkthrough? :(
Ok, I read a lot of threads here and apparently now we have this small head icon at the bottom right of the screen. But the damned button is not working for me. I tested by hiring two random NPC and then tried to click in this head button, but still nothing. I press it and nothing happens...

Another test.
So, I started new game to see if this "head" button will work. What I have noticed is that when you start new game that you have no this button until you will recruit someone. It is still not working but now at least I know that in my original walkthrough I HAVE someone hired already (maybe this is that cursed golem), because this button is visible now.

Another update.
Christ, I finally found how to solve it. That button was not working if in you .ini file it was set as: MouseLook=1
I had to change it to MouseLook=0 and the that button was working fine. The only proble is, that i need to change it back, as wtih MouseLook=0 you can only rotate your screen with keyboard buttons.
Is there is a fix for this?

Kyurem
Leprechaun
Leprechaun
Posts: 5
Joined: 02 Feb 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Kyurem » 02 Feb 2022, 15:00

Created this account just so I can post.
First of all, amazing work.
Second... huh I found a bug. The wind master (hireling) spell "fly" always fails if you are in a party of 5 people.
How to replicate:
Start with a party of 1 in enroth (a magic user so he can use the fly scroll hidden in the town). Use the secret portal in NS to DS. Get inside the new world's computing area for extra gold (or just use cheat engine to get the gold). Leave that area, go to the village in DS. Recruit both GateMaster and WindMaster. Use GateMaster's town portal and go back to NS. Go around the village and recruit as many people as you can (just recruit 4 people). Travel to Free Haven (via horse, boat, normal traveling, it doesn't matter). Dismiss your 4 recruited companion in the hero's guild or whatever it's called. Search for more companions. Cast Fly from your hireling. Spell failed.
Now, it doesn't matter if you get your original 5 man party back or if you just dimiss every single one them. After that point your hireling spell will fail no matter what for the rest of the game.
Also this also happens with a hireling's water walk and most of the buff potions (like water walk, haste, etc).
I know this is not a serious bug but it ruined my solo character playthrough. Why would I recruit companions if I'm going solo? Well I just wanted to recruit them and dismiss them in Free Haven so I can like sort of collect a bunch of them... but now because of this bug the Wind Master hireling and most of potions are broken. On the good side, scrolls are unaffected (can cast both fly and ww scrolls).
So if you are going knight solo don't ever recruit anyone, even for collection purposes because you will not be able to cast fly from hirelings which is pretty much the only way to fly as a solo knight.
EDIT1: Some potions do work, they just don't show you their effects.
EDIT2: The only solution to this problem is to start from scratch and using cheat engine to copy your character.
Last edited by Kyurem on 02 Feb 2022, 17:55, edited 1 time in total.

Wagner235
Leprechaun
Leprechaun
Posts: 6
Joined: 31 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Wagner235 » 02 Feb 2022, 15:09

Now I have ANOTHER console bug. Each time I try to steal spell book, I have:

Code: Select all

C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1f8756e0)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = 6
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 11
	rnd = 6
	write_pos = 3
	(*temporary) = (table: 0x054e6890)
	(*temporary) = 0
	(*temporary) = nil
	(*temporary) = 368640
	(*temporary) = 5342840
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20d51dc8)
	value = 5700

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 21
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965008
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20ee4600)
	value = 5760

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 21
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965044
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x155f4568)
	value = 5760

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 12
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965080
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x202071b8)
	value = 5760

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 16
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965116
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20691c80)
	value = 5820

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 13
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965152
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1f8d5898)
	value = 5820

local variables of 'StealItemFromShopGuild':
	result = 6
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 11
	rnd = 8
	write_pos = 3
	(*temporary) = (table: 0x054e6890)
	(*temporary) = 0
	(*temporary) = nil
	(*temporary) = 368640
	(*temporary) = 5342840
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x201df360)
	value = 6000

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 12
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965224
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20988c80)
	value = 6000

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 12
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965260
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x2c7f26d8)
	value = 6000

local variables of 'StealItemFromShopGuild':
	result = 6
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 11
	rnd = 9
	write_pos = 3
	(*temporary) = (table: 0x054e6890)
	(*temporary) = 0
	(*temporary) = nil
	(*temporary) = 368640
	(*temporary) = 5342840
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20c77390)
	value = 6120

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 17
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965368
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20dfef20)
	value = 6120

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 13
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965404
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:120: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x212fc3c8)
	value = 6180

local variables of 'StealItemFromShopGuild':
	result = 6
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 11
	rnd = 6
	write_pos = 3
	(*temporary) = (table: 0x054e6890)
	(*temporary) = 0
	(*temporary) = nil
	(*temporary) = 368640
	(*temporary) = 5342840
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x2cc4e8f0)
	value = 6420

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 21
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965440
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1f7b1b08)
	value = 4280

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128886
	item_txt = (table: 0x20797db0)
	stealing = 21
	bound = 5
	rnd = 13
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965476
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x21437050)
	value = 4280

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128886
	item_txt = (table: 0x20797db0)
	stealing = 21
	bound = 5
	rnd = 10
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965512
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20989ea0)
	value = 6420

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20798090)
	stealing = 21
	bound = 10
	rnd = 21
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965548
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x220ddb68)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x1fd5c3f0)
	stealing = 21
	bound = 10
	rnd = 11
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965008
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1fcda888)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x2c994de0)
	stealing = 21
	bound = 10
	rnd = 19
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965008
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x21304d48)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x2c994de0)
	stealing = 21
	bound = 10
	rnd = 14
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965044
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x20b24a18)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x2c994de0)
	stealing = 21
	bound = 10
	rnd = 13
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965080
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x220bb328)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20d1c8c0)
	stealing = 21
	bound = 10
	rnd = 20
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965008
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x2c60c3c0)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20d1c8c0)
	stealing = 21
	bound = 10
	rnd = 12
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965044
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1fc68ab8)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20d1c8c0)
	stealing = 21
	bound = 10
	rnd = 14
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965080
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x1fd94810)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x20d1c8c0)
	stealing = 21
	bound = 10
	rnd = 14
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965116
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
-----------------------------------------------------------------------------------
———————————————————————————————————————————————————————————————————————————————————
C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)

stack traceback:
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:72: in function 'StealItemFromShopGuild'
	C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:156: in function <C:\Games\MIGHTA~1\Scripts\General\Stealing.lua:155>
	[C]: in function 'pcall'
	Scripts/Core/Common.lua:102: in function 'pcall2'
	Scripts/Core/RSMem.lua:1653: in function <Scripts/Core/RSMem.lua:1650>

arguments of 'StealItemFromShopGuild':
	d = (table: 0x212d79a0)
	value = 5580

local variables of 'StealItemFromShopGuild':
	result = nil
	player = (table: 0x059ae290)
	skill = 135
	item_ptr = 68128922
	item_txt = (table: 0x21427630)
	stealing = 21
	bound = 10
	rnd = 14
	(*temporary) = nil
	(*temporary) = 1
	(*temporary) = nil
	(*temporary) = 11965008
	(*temporary) = "number"
	(*temporary) = nil
	(*temporary) = "attempt to perform arithmetic on upvalue 'stolen_this_session' (a nil value)"

upvalues of 'StealItemFromShopGuild':
	GetPlayerFromPtr = (function: 0x1f92a2f0)
	u4 = (table: 0x0523c208)
	min = (function: builtin#61)
	ceil = (function: builtin#39)
	random = (function: builtin#63)
	stolen_this_session = nil
	max = (function: builtin#62)
	strformat = (function: builtin#91)
	ban_days = 336
	base_fine = 50
	base_recovery = (table: 0x05bbd418)
Fixed code with code tag.
~Pol

User avatar
justl
War Dancer
War Dancer
Posts: 351
Joined: 26 Dec 2017

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby justl » 02 Feb 2022, 17:25

Rodril wrote: 30 Jan 2022, 10:19
keksua wrote: 20 Jan 2022, 21:53 Yeah I stucked there to, no idea how to progress further.
Verdant should contact you in two weeks of game time after completion of last continent. If it did not happen, could you send me your savegame?
I'm going to change this condition, as i remember it was confusing players in past as well.
hi,

is this condition also set, if people are doing training hall after the last continent? (im using the december version of the update still, so the hooks are no problem)
i just finished it (i did 6,7,8 in this order), and i have not her contacting me before or after training 10 levels in the training hall (shadowspire, if its important)

justl
V2: Compendium of mm6-8 Secrets + Details about the base merge and DaveHer's redone merge (its in english!)
https://www.mightandmagicworld.de/fileb ... index.html

kkndkkndk
Lurker
Lurker
Posts: 2
Joined: 13 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby kkndkkndk » 03 Feb 2022, 03:13

Wagner235 wrote: 02 Feb 2022, 12:24 I am not sure if this is a bug or am I missing something but Sorcerer promotion quest in MM7 is not working for me. I got all golem parts and according to wiki I should have a new hireling portrait (golem), which I should speak to, but the problem is that there is no hirelings screen for "MM8 merge mod".
Any suggestions?
Also tried to dismiss one of my companions but still nothing. My idea is that golem should have appeared in my party before I took last body part. Am I screwed my walkthrough? :(
Ok, I read a lot of threads here and apparently now we have this small head icon at the bottom right of the screen. But the damned button is not working for me. I tested by hiring two random NPC and then tried to click in this head button, but still nothing. I press it and nothing happens...

Another test.
So, I started new game to see if this "head" button will work. What I have noticed is that when you start new game that you have no this button until you will recruit someone. It is still not working but now at least I know that in my original walkthrough I HAVE someone hired already (maybe this is that cursed golem), because this button is visible now.

Another update.
Christ, I finally found how to solve it. That button was not working if in you .ini file it was set as: MouseLook=1
I had to change it to MouseLook=0 and the that button was working fine. The only proble is, that i need to change it back, as wtih MouseLook=0 you can only rotate your screen with keyboard buttons.
Is there is a fix for this?
Press middle mouse button to switch between the mode.

lele83x
Lurker
Lurker
Posts: 2
Joined: 03 Feb 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby lele83x » 03 Feb 2022, 15:10

Hi there, I am trying to run the mod on Linux with Wine, I've tried just the "base merge" as well as "revamp", "rodril" and "community" patches. The game crashes a lot, everywhere and unexpectedly. One very frustrating is when I click on a trainer for any expert skill.

Here's the log when running on base merge:

Code: Select all

Time: 2/3/2022 4:01:31 PM (03.02.2022 15:01:31 UTC)
Windows Version 5.1 Service Pack 3

Exception EAccessViolation in module mm8.exe at 000DA1B0.
Access violation at address 004DA1B0 in module 'mm8.exe'. Read of address 80000000.

Function Calls:

004DA1B0 | C:\GOG Games\Might and Magic 8\mm8.exe + DA1B0
00449F11 ? C:\GOG Games\Might and Magic 8\mm8.exe + 49F11
0044AB8A ? C:\GOG Games\Might and Magic 8\mm8.exe + 4AB8A
00449D21 | C:\GOG Games\Might and Magic 8\mm8.exe + 49D21
004B18D8 | C:\GOG Games\Might and Magic 8\mm8.exe + B18D8
00449F1F ? C:\GOG Games\Might and Magic 8\mm8.exe + 49F1F
00449F42 ? C:\GOG Games\Might and Magic 8\mm8.exe + 49F42
0044A663 ? C:\GOG Games\Might and Magic 8\mm8.exe + 4A663
004B1CB9 | C:\GOG Games\Might and Magic 8\mm8.exe + B1CB9
7E7089F6 ? C:\windows\system32\wined3d.dll + F89F6
697DB277 ? C:\windows\system32\DDRAW.dll + 1B277
697DB277 ? C:\windows\system32\DDRAW.dll + 1B277
00414D28 | C:\GOG Games\Might and Magic 8\mm8.exe + 14D28
697D3906 ? C:\windows\system32\DDRAW.dll + 13906
0048DB64 ? C:\GOG Games\Might and Magic 8\mm8.exe + 8DB64
0041B1F1 ? C:\GOG Games\Might and Magic 8\mm8.exe + 1B1F1
004C2642 ? C:\GOG Games\Might and Magic 8\mm8.exe + C2642
004C2702 ? C:\GOG Games\Might and Magic 8\mm8.exe + C2702
004C1DE2 ? C:\GOG Games\Might and Magic 8\mm8.exe + C1DE2
004D1D51 ? C:\GOG Games\Might and Magic 8\mm8.exe + D1D51
0043E31C ? C:\GOG Games\Might and Magic 8\mm8.exe + 3E31C
00461856 ? C:\GOG Games\Might and Magic 8\mm8.exe + 61856
00460C3E ? C:\GOG Games\Might and Magic 8\mm8.exe + 60C3E
00461114 ? C:\GOG Games\Might and Magic 8\mm8.exe + 61114
00460F30 ? C:\GOG Games\Might and Magic 8\mm8.exe + 60F30
02640001 ? C:\GOG Games\Might and Magic 8\ExeMods\MMExtension.dll + 10001
7B03DB7B ? C:\windows\system32\kernelbase.dll + 3DB7B
7B053B48 ? C:\windows\system32\kernelbase.dll + 53B48
032D8020 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 18020
032D8020 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 18020
032D8058 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 18058
0330547A ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 4547A
03305752 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 45752
03309CE5 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 49CE5
03308799 ? C:\GOG Games\Might and Magic 8\MM8patch.dll + 48799
004DC906 ? C:\GOG Games\Might and Magic 8\mm8.exe + DC906
7B62DE1E ? C:\windows\system32\kernel32.dll + 2DE1E
7BC5DBE4 ? C:\windows\system32\ntdll.dll + 5DBE4
7BC5DBE4 ? C:\windows\system32\ntdll.dll + 5DBE4
7BC5DBE4 ? C:\windows\system32\ntdll.dll + 5DBE4
7BC5E29B ? C:\windows\system32\ntdll.dll + 5E29B
7B62DE0E ? C:\windows\system32\kernel32.dll + 2DE0E

Registers:

EAX = 0111F9EC
EBX = 80000000
ECX = 80000000
EDX = 0A914B80
ESI = 80000000
EDI = 00000000
EBP = 0111F9AC
ESP = 0111F97C

Stack Trace:

0111F97C: 00449F16 ? C:\GOG Games\Might and Magic 8\mm8.exe + 49F16
0111F980: 80000000
0111F984: 0A914B80
0111F988: 00000010
0111F98C: 80000000
0111F990: 80000000
0111F994: 00000000
0111F998: 00000000
0111F99C: 00000000
0111F9A0: 00000000
0111F9A4: 0A914B80
0111F9A8: 0044AB8F ? C:\GOG Games\Might and Magic 8\mm8.exe + 4AB8F
0111F9AC: 0111F9CC | Last EBP
0111F9B0: 00449D26 | C:\GOG Games\Might and Magic 8\mm8.exe + 49D26
0111F9B4: 0111F9EC
0111F9B8: 0000000D
0111F9BC: 00000000
0111F9C0: 0252F8D0
0111F9C4: 00000100
0111F9C8: 00000000
0111F9CC: 0111FAFC | Last EBP
0111F9D0: 004B18DD | C:\GOG Games\Might and Magic 8\mm8.exe + B18DD

================================================================================
Is there maybe a library that needs to be installed for the MM8 extension to run properly? Or is this a bug in the mod?

lele83x
Lurker
Lurker
Posts: 2
Joined: 03 Feb 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby lele83x » 03 Feb 2022, 19:14

lele83x wrote: 03 Feb 2022, 15:10 Hi there, I am trying to run the mod on Linux with Wine, I've tried just the "base merge" as well as "revamp", "rodril" and "community" patches. The game crashes a lot, everywhere and unexpectedly. One very frustrating is when I click on a trainer for any expert skill.
Nevermind, I just tested it with a much older version of Wine (5.0 for Ubuntu 21.10) and so far no crashes and everything running as expected. I'm using the "revamp" build.

cthscr
Golem
Golem
Posts: 613
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby cthscr » 04 Feb 2022, 06:24

Wagner235 wrote: 02 Feb 2022, 15:09 Now I have ANOTHER console bug. Each time I try to steal spell book, I have:
That was fixed in https://gitlab.com/cthscr/mmmerge/-/com ... c6738a8582
Unfortunately can't be applied to Base Merge directly.

Ossie
Super Peasant
Super Peasant
Posts: 99
Joined: 24 Jan 2012
Location: Ossie

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Ossie » 04 Feb 2022, 23:15

Wagner235 wrote: 02 Feb 2022, 12:24 I am not sure if this is a bug or am I missing something but Sorcerer promotion quest in MM7 is not working for me. I got all golem parts and according to wiki I should have a new hireling portrait (golem), which I should speak to, but the problem is that there is no hirelings screen for "MM8 merge mod".
Any suggestions?
Also tried to dismiss one of my companions but still nothing. My idea is that golem should have appeared in my party before I took last body part. Am I screwed my walkthrough? :(
Ok, I read a lot of threads here and apparently now we have this small head icon at the bottom right of the screen. But the damned button is not working for me. I tested by hiring two random NPC and then tried to click in this head button, but still nothing. I press it and nothing happens...

Another test.
So, I started new game to see if this "head" button will work. What I have noticed is that when you start new game that you have no this button until you will recruit someone. It is still not working but now at least I know that in my original walkthrough I HAVE someone hired already (maybe this is that cursed golem), because this button is visible now.

Another update.
Christ, I finally found how to solve it. That button was not working if in you .ini file it was set as: MouseLook=1
I had to change it to MouseLook=0 and the that button was working fine. The only proble is, that i need to change it back, as wtih MouseLook=0 you can only rotate your screen with keyboard buttons.
Is there is a fix for this?
Caps lock button will toggle between mouse moving the view, and mouse moving over the screen while view remains fixed (which is how you can click the hireling button)

Karol
Peasant
Peasant
Posts: 54
Joined: 02 Jan 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Karol » 05 Feb 2022, 10:54

Ossie wrote: 02 Feb 2022, 06:29 Further bug just found: Free Haven tower "light" does not turn from red to yellow when using the key to turn off as part of Master Archer quest. All other towers change as per vanilla and quest is completed even though Free Haven tower light is still red.
I observe the same behavior.
Funny is, that I am now playing through MM6 for the 2nd time.
First time, I started on MM6 world, and completed it, and this quest was also completed (Got promoted to Master Archer)
But the 2nd time, I started on MM8, then completed MM7... and MM6 is my third world.
And the problem, which is the reason I did found out about the non-changing button, is that I can't complete the 2nd promotion quest, despite I am sure I have used the keys on every tower.
Frozen Highlands
BlackShire
Free Haven
New Sorpigal
Misty Islands
Silver Cove

And I am not traveling again and again through these cities, and trying to 'unlock' the towers again and again without success, as I can't comprehend why I can't complete the Master Archer Quest.
Hence it is suspicious to me, that in New Haven the button is red, not orange... but the tower just does not react to any unlock attempts anymore.

Ossie
Super Peasant
Super Peasant
Posts: 99
Joined: 24 Jan 2012
Location: Ossie

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby Ossie » 06 Feb 2022, 02:43

Karol wrote: 05 Feb 2022, 10:54
Ossie wrote: 02 Feb 2022, 06:29 Further bug just found: Free Haven tower "light" does not turn from red to yellow when using the key to turn off as part of Master Archer quest. All other towers change as per vanilla and quest is completed even though Free Haven tower light is still red.
I observe the same behavior.
Funny is, that I am now playing through MM6 for the 2nd time.
First time, I started on MM6 world, and completed it, and this quest was also completed (Got promoted to Master Archer)
But the 2nd time, I started on MM8, then completed MM7... and MM6 is my third world.
And the problem, which is the reason I did found out about the non-changing button, is that I can't complete the 2nd promotion quest, despite I am sure I have used the keys on every tower.
Frozen Highlands
BlackShire
Free Haven
New Sorpigal
Misty Islands
Silver Cove

And I am not traveling again and again through these cities, and trying to 'unlock' the towers again and again without success, as I can't comprehend why I can't complete the Master Archer Quest.
Hence it is suspicious to me, that in New Haven the button is red, not orange... but the tower just does not react to any unlock attempts anymore.
I've started the Merge Mod in both MM6 and MM8 and the Master Archer quest completed both times - only glitch has been the tower light not changing (and unsure if that also happened on prev game - I think it might have?). One tip: can be quite difficult to "click" the lock, use space bar to make sure each tower is unlocked - you should get a "ding" when it triggers (even if the light doesn't change)

cthscr
Golem
Golem
Posts: 613
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 04.01.2022]

Unread postby cthscr » 06 Feb 2022, 17:28

Patch 2.5.6 is strongly recommended. I'd even say to ignore any crash report that wasn't checked against 2.5.6. My few quick tests without DisableHooks have shown no [previously happening] crashes so far.


Return to “Might and Magic”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests