The weirdest funniest bug ever seen

The place for chatting and discussing subjects unrelated to Wesnoth.

Moderator: Forum Moderators

Post Reply
User avatar
hermestrismi
Posts: 276
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

The weirdest funniest bug ever seen

Post by hermestrismi »

I encounter this bug while trying to unstore an Ai side
I beleive if someone wanted to recreate this behaviour intentionally, he will need a ton of macro but here we are: the funniest bug ever seen
at the previous scenarion, make the AI side persistent then change the side leader and write this:

Code: Select all

	[event]
	name=side 3 turn
	first_time_only=no
	    [if]
		    [have_unit]
			id=Dulos
			[/have_unit]
			    search_recall_list=yes
			[then]
			    {MODIFY_UNIT id=Dulos id id=Dulos1}
			    {MOVE_UNIT id=Dulos1 22 4}
	            {MODIFY_UNIT id=Dulos1 ai ai_special=Guardian}
			[/then]
		[/if]
		[if]
		    [have_unit]
			id=Guad1
			[/have_unit]
			[then]
				[recall]
				    id=Guad1
				[/recall]
			    [move_unit]
				    [filter]
					id=Guad1
					[/filter]
					to_x=25
					to_y=5
				[/move_unit]
			[/then]
		[/if]			
	[/event]
and have fun
User avatar
hermestrismi
Posts: 276
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: The weirdest funniest bug ever seen

Post by hermestrismi »

- what do you felt after passing three hours trying to find out the bug when you find that you wrote 'o' in place of '0'?
- well, ehm. I feel good
Post Reply