Page 1 of 1

Summoning outside of the map gives a bug

Posted: Tue Jul 19, 2011 2:57 am
by marvalis
Summoning outside of the map boundaries by targeting a square over the edge gives a lua error.
This should simply not be possible / not give a bug.

Code: Select all

[LOG]	SummonThis summons a Minotaur!
USING	table: 0xaf2a23e0	Minotaur
Server latency	1330
stack traceback:
	/engine/Target.lua: in function 'block_path'
	/engine/interface/ActorProject.lua:182: in function 'canProject'
	/data/talents/gifts/summon-melee.lua:197: in function 'action'
	/engine/interface/ActorTalents.lua:132: in function </engine/interface/ActorTalents.lua:126>
Lua Error: /engine/interface/GameTargeting.lua:103: /engine/Target.lua:200: attempt to compare number with table
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/GameTargeting.lua:103 fct
	At /engine/interface/GameTargeting.lua:109 targetMode
	At /engine/interface/GameTargeting.lua:160 
	At /engine/KeyBind.lua:214 

Re: Summoning outside of the map gives a bug

Posted: Wed Jul 20, 2011 1:46 pm
by darkgod
fixed