Error Message "Unhandled Exception: Assert failed"

BlitzMax Forums/BlitzMax Programming/Error Message "Unhandled Exception: Assert failed"

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ok heres the code.....i dont have any asserts in it though
[edit] i only get this error in debug build [/edit]
For Local obj:TGNetObject=EachIn GNetObjects(host)
	If GetGNetString(obj,SLOT_TYPE)="bullet" And GNetObjectLocal(obj)=True ' this is the line the error occurs at		
		x=GetGNetInt(obj,SLOT_X)
		y=GetGNetInt(obj,SLOT_Y)
		f=GetGNetInt(obj,SLOT_F)
		lastup=GetGNetInt(obj,SLOT_LASTUPDATE)
		If f=0 And MilliSecs()=>lastup+100
			x:+1
			lastup=MilliSecs()
		ElseIf f=1 And MilliSecs()=>lastup+100
			y:-1
			lastup=MilliSecs()
		ElseIf f=2 And MilliSecs()=>lastup+100
			x:-1
			lastup=MilliSecs()
		ElseIf f=3 And MilliSecs()=>lastup+100
			y:+1
			lastup=MilliSecs()
		EndIf
		If mapsolid[x,y]=SOLID
			CloseGNetObject(obj)
			Continue
		EndIf
		For pobj:TGNetObject=EachIn GNetObjects(host)
			If GetGNetString(pobj,SLOT_TYPE)="player"
				If x=GetGNetInt(pobj,SLOT_X) And y=GetGNetInt(pobj,SLOT_Y) And GNetObjectLocal(pobj)=False
						CloseGNetObject(obj)
					EndIf
				EndIf
			Next
			SetGNetInt obj,SLOT_X,x
			SetGNetInt obj,SLOT_Y,y
			SetGNetInt obj,SLOT_LASTUPDATE,lastup
		EndIf
	Next