I was running a test to find out how to link items to the wiki, and I ran into 2 problems with visit_url. One may be due to the page being returned, the other is just... odd.
If you run the following command (command line or in script)
Mafia spits out:
I'm assuming something internally is parsing the string without my sayso, and it is listing this message because of page content:
Next, stranger... any item I try to look up that has the letters 'mall' in it fails to return anything.
works
does not. I've verified this with every item that has the name 'mall' in it (and items with 'all' or 'mal' work just fine.
I'm assuming it is another internal parse issue, but in this case, I don't know what to look for.
Anything I'm doing wrong? Or any suggestions to get around this?
If you run the following command (command line or in script)
Code:
ash string x = visit_url('http://kol.coldfront.net/thekolwiki/index.php/Prelude_of_Precision');
Mafia spits out:
Code:
You learned a new skill: <a href="/thekolwiki/index.php/Prelude_of_Precision_(skill)" title="Prelude of Precision (skill)">Prelude of Precision</a>
I'm assuming something internally is parsing the string without my sayso, and it is listing this message because of page content:
Code:
<p>You acquire a skill: <b><a href="/thekolwiki/index.php/Prelude_of_Precision_(skill)" title="Prelude of Precision (skill)">Prelude of Precision</a></b>
</p>
Next, stranger... any item I try to look up that has the letters 'mall' in it fails to return anything.
Code:
ash string x = visit_url('http://kol.coldfront.net/thekolwiki/index.php/Large_box');
works
Code:
ash string x = visit_url('http://kol.coldfront.net/thekolwiki/index.php/Small_box');
does not. I've verified this with every item that has the name 'mall' in it (and items with 'all' or 'mal' work just fine.
I'm assuming it is another internal parse issue, but in this case, I don't know what to look for.
Anything I'm doing wrong? Or any suggestions to get around this?