Visual Map-Pack

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderators: Forum Moderators, Developers

User avatar
Ravana
Forum Moderator
Posts: 2287
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Visual Map Pack

Post by Ravana »

Most likely those users dont have addon then.

This code does not make sense. It is inside Visual_Map_Pack addon, so if you have the code, you have the images too. Better solution would be require_scenario=yes.

Code: Select all

#ifnhave ~add-ons/Visual_Map_Pack/images/
    [event]
		name=start
		first_time_only=no
		
		[message]
            speaker=narrator
            message= _ "The required add-on “<i>Visual Map-Pack</i>” is currently <b>not</b> installed."
        [/message]
		
		[print]
            text=_"The required add-on “<i>Visual Map-Pack</i>” is currently <b>not</b> installed."
            size=25
            red,green,blue=255,0,0
            duration=10000
        [/print]
	[/event]
#endif

User avatar
Pentarctagon
Forum Administrator
Posts: 4128
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Visual Map Pack

Post by Pentarctagon »

Thinker wrote:
November 12th, 2019, 4:51 pm
just wanted to let you know ... Isar's in the Sky map is not loading correctly (ADDON: Visual Map Pack) some error hits users that join but not the host.... something about title name xXxyYy some [censored] like that

anyway

take care
The Technical Support forum is for problems with vanilla Wesnoth, so I've moved your post over to the thread for the Visual Map Pack add-on.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

Post Reply