Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
I have another question about h4util. There's a function called f_HasArtifact(Owner, Artifact). It works perfectly fine, until you pass 166 or 124 as the second argument (the IDs for a scroll and a parchment, respectively). This makes sense, because in these cases, to uniquely identify the item, you also need the spell ID contained within the scroll or parchment. Other functions (f_GiveArtifact and f_RemArtifact) accept an additional argument in such cases. But f_HasArtifact doesn't accept it and throws an error saying that there are too many arguments. However, if you try to create the same script in the map editor, it works and functions as expected. And if you then export it from the map using h4util, you'll see the f_HasArtifact function with three arguments. It's interesting that you can't import the same script back into the map; it will give an error saying "too many arguments."
Is there any way to work around this bug? Or maybe the source code for h4util can be found somewhere? I could then fix it myself.