[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
IceBlinkEngine.com • View topic - Blackwinter

Blackwinter

Discuss any Adventure Modules for the IB2 Engine

Re: Blackwinter

Postby youngneil1 » Sat Oct 01, 2016 12:17 pm

User avatar
youngneil1
Backer
Backer
 
Posts: 5078
Joined: Sat Dec 08, 2012 7:51 am

Re: Blackwinter

Postby Pongo » Sat Oct 01, 2016 12:59 pm

Great thanks Karl!
User avatar
Pongo
Backer
Backer
 
Posts: 645
Joined: Tue Nov 27, 2012 4:58 pm

Re: Blackwinter

Postby Dorateen » Sat Oct 01, 2016 3:46 pm

Yes, this is good information. Rations adds an extra layer of resource management. Look forward to see how it works out in your project, Pongo.
User avatar
Dorateen
Backer
Backer
 
Posts: 1002
Joined: Mon Nov 26, 2012 2:08 pm

Re: Blackwinter

Postby Pongo » Wed Nov 02, 2016 9:59 pm

Right, bit of an unexpected break there, but now back to finishing the module!

Karl, I can't get the ration system to work. I have created a ration item ("dried meat biscuits" :)) and given 5 to the party at the start of the module. In item properties, isRation is set to true and the resref is "ration". The 5 stacked meat biscuits turn up in the inventory, but the party still take damage every 24 hrs for being hungry and can't rest - it's not recognising them as rations. I'm probably missing something obvious - any thoughts?
User avatar
Pongo
Backer
Backer
 
Posts: 645
Joined: Tue Nov 27, 2012 4:58 pm

Re: Blackwinter

Postby youngneil1 » Thu Nov 03, 2016 6:23 am

Sorry to hear about the ration troubles - let us see where I messed it up :lol:. I am on it :) .
User avatar
youngneil1
Backer
Backer
 
Posts: 5078
Joined: Sat Dec 08, 2012 7:51 am

Re: Blackwinter

Postby youngneil1 » Thu Nov 03, 2016 6:59 am

Hmm, it works for my internal verion here, BUT does not work with the beta release (can confirm the bug). I miss something crucial here... still investigating.
User avatar
youngneil1
Backer
Backer
 
Posts: 5078
Joined: Sat Dec 08, 2012 7:51 am

Re: Blackwinter

Postby youngneil1 » Thu Nov 03, 2016 7:18 am

And even stranger, worked flawlessly in two more tests with released beta. Alright, maybe I assumed the bug exists in released beta too fast and mistook the red warning message for low rations for last ration's damage message(?).

Regardless, you face the bug anyway. Hmmmm,...

I could imagine that it might be related somehow to item and itemRef difference (struggled with separating those proprely in my coding for rations). For example containers (chests) seem to store some select properties of the items (untechnical) in them, inter alia I did place isRation there, too. Assuming you had at first isRation set to false when creating your own ration item, then placed it in the chest and later on chnaged isRation to true, the (container) chest might still have set isRation to false for this item instance.

Long story short: please try to delete the "old" rations placed (e.g. remove from containers), then make sure isRation is set to true in the blueprint for your rations and then place them again (e.g. in a container's list).

Keeping fingers crossed, but it is a bit a shot in the dark...
User avatar
youngneil1
Backer
Backer
 
Posts: 5078
Joined: Sat Dec 08, 2012 7:51 am

Re: Blackwinter

Postby Pongo » Thu Nov 03, 2016 11:21 am

thanks Karl, I'll have a go at that later. I wonder if I've missed an update as well - I'm on v21 - I'll check this when I'm back on my pc. I'll continue to play around with it until I get it to work - rations will make a much more rewarding find than some of the junk I currently have as loot...!
User avatar
Pongo
Backer
Backer
 
Posts: 645
Joined: Tue Nov 27, 2012 4:58 pm

Re: Blackwinter

Postby youngneil1 » Fri Nov 04, 2016 6:24 am

V21 should be right, we are working on v22 internally here. Maybe we could do an earler release than envisioned january of 2017 for v22. The amount of changes, mostly bug fixes, is quite significant by now.

Keeping fingers crossed that the rations work out for you. If you still have troubles, please keep me updated and I will try to fix it/get a work around up and running :) .
User avatar
youngneil1
Backer
Backer
 
Posts: 5078
Joined: Sat Dec 08, 2012 7:51 am

Re: Blackwinter

Postby Pongo » Sat Nov 05, 2016 12:21 pm

Thanks for the help Karl - I've found a workaround, but I still don't understand the problem. I remade the rations item but it turns out it wasn't that.

Initially I was giving the PC 5 rations during the introduction convo so they would have a small stash at the start of the module. The module never recognises these rations. When the module starts the PC has the 5 rations in their inventory, but the rations counter reads 0 and they can't rest and take damage over time etc.

However, if I leave the rations in chests then they DO register as rations when they are picked up. Everything then works fine!

I've experimented by giving the PC rations (using giveItem) in other convos a bit further into the module, and the bug happens every time - they turn up in the inventory but are never recognised as being rations. The bug seems to be specifically linked to getting the rations in a convo.

For the moment I can just add them to containers to get around this.
User avatar
Pongo
Backer
Backer
 
Posts: 645
Joined: Tue Nov 27, 2012 4:58 pm

PreviousNext

Return to General IB2 Module Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron