Oh well. These things happen.
General
CS2D Bug Reports
crazy junkman Wolfgang: I have that bug too.
VADemon: omg ty so much for that hotfix
ead: That's not a bug, someone with the RCon password has used the
setscore command. You can either edit the score file with a hex editor or remove it all together and start over.
Yates: Actually it is a bug, check it.
ead:
Hajt: @
Yates:
itemfunction _collect(id, iid, type)
	msg("iid: "..(item(iid, "name") or "nope"))
	msg("type: "..(item(type, "name") or "nope"))
end
addhook("collect", "_collect")
iidand
type, the docs should be more clear on what is what.
Edit: Oh look! I found this on the
itemtype page:
collect has ainand
a, these should be used to get the ammo count. Using
item is used for an item on the map. Once picked up I assume the iidcan no longer be used (don't take my word for that).
msg("iid: "..(item(iid, "ammo") or "nope")) doesn't work then there must be a bug.
Edit: I just found this:iidon
collect has no use at all (because you are picking it up). addhook("collect","c")
function c(id,iid)
	msg(tostring(item(iid,"exsists")))
end
addhook("drop","d")
function d(id,iid)
	msg(tostring(item(iid,"exsists")))
end
Cebra: Maybe because there is no such thing as "exsists"?