bWolfie
I'm the man
Hi, I want to know where I can find the commit for adding of getvariableofpc() script command. I am running old version of Herc (2016) and want to add this to my source.
Thanks! Works.
switch (*name)
{
case '#':
case '$':
case '.':
case '\'':
ShowError("script:getvariableofpc: illegal scope (not pc variable)\n");
script->reportdata(data);
script_pushnil(st);
st->state = END;
return false;
}
https://github.com/HerculesWS/Hercules/commit/03f416eda0b0d1aeef03516863e11916e75660cdIt was fixed later on.Thanks! Works.
Now I have a second question for anybody who may know.
How come # variable is on the excluded list? Would there be issues if I removed it from here?
switch (*name)
{
case '#':
case '$':
case '.':
case '\'':
ShowError("script:getvariableofpc: illegal scope (not pc variable)\n");
script->reportdata(data);
script_pushnil(st);
st->state = END;
return false;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.