You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not modified the source prior to reproducing this issue.
I am using the latest version of Hercules.
I am aware that this report will be closed or deleted if it becomes obvious that I am stating the false.
Description
When I first used getmapinfo 1 year ago or so when meko put it in it worked.
Here is example of it not working for me: getmapinfo(MAPINFO_ZONE));
this value always -1 no matter what. even if go getmapinfo(MAPINFO_ZONE, strcharinfo(PC_NAME)));
Current Behavior
Always returning -1 unless I use a number for 2nd argument (which is useless for me)
E.g. getmapinfo(MAPINFO_NAME, 3); <- only form it works for me.
Expected Behavior
Should work as described in doc\script_commands.txt
Also, if it is returning string type, it should return "null", not -1.
Branch(es):
master
stable
The text was updated successfully, but these errors were encountered:
Issue Prelude
Description
When I first used
getmapinfo
1 year ago or so when meko put it in it worked.Here is example of it not working for me:
getmapinfo(MAPINFO_ZONE));
this value always -1 no matter what. even if go
getmapinfo(MAPINFO_ZONE, strcharinfo(PC_NAME)));
Current Behavior
Always returning -1 unless I use a number for 2nd argument (which is useless for me)
E.g.
getmapinfo(MAPINFO_NAME, 3);
<- only form it works for me.Expected Behavior
Should work as described in doc\script_commands.txt
Also, if it is returning string type, it should return "null", not -1.
Branch(es):
The text was updated successfully, but these errors were encountered: