forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

save game warning

firebat's picture

When the 2.2 patch was just released there was a lot of complaining from people that could not load their save games anymore after they used and removed a mod, this thing i made doesn't change that but at least it gives those people a warning when they start DS2(see the screenshot).

I did this by changing
ui\interfaces\frontend\main_menu\main_menu.gas from logic.ds2res, i added this block:

[t:text_box,n:text_box_savegamewarning]
	{
	  i draw_order = 83;
		font_type = b_gui_fnt_22p_ringbearer-gold;//the font to use
		justify = center; //
	  i max_height = 1000;// the max height (up to down)
	  i max_width = 150;// the max width(left to right)
		rect = 110,150,600,600;
		text = "WARNING: Removing or adding mods to DS2 can and will invalidate your save games ,so add mods at your own risk no matter if they are .ds2mod / ds2map or ds2res files, see the read me for more info";
		loc_font = main_menu_buttons;
	}

the file can by found here, It's free to use and change for everyone, but i would be pleased if you would put my name in the read me.

Thanks to Bare_elf for her idea for the text...

PS: his is not a mod by itself, only a piece of code to be used by other modders...
PPS: if an siegetheday.org admin could upload it to this site that would be nice, because i
have a very limited bandwidth...

Firebat.

Good idea :thumbup: This is not a problem for ds2mod though.

firebat's picture

Wyvante wrote:
Good idea :thumbup: This is not a problem for ds2mod though.

With the default settings ds2mod does the same, however if you add loadanysave=true to your shortcut the problem is indeed gone.

oi bat, I won't be using ds2mod for my platform so this warning is a very good idea.