BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Coding and development discussion => Topic started by: kuznechik on November 03, 2006, 09:54:47 pm
-
I've modified my loot module with result wrapping in blob...
End up being unable to click on items to see ql.
Simple question: how to fix it?
-
It might just be me that dumb here, but it's as good as impossible to give any ffedback if you don't supply any details other than saying its broke.
-
After you've got a string from the make_item function, try:
$item = str_replace('"',"'",$item);
($item being whatever your string variable is)
-
Well, long explanation:
It was standard loot.php
Due to request I've wrapped it so strings that were printed in privgroup are now added to string variable I use this -> bot -> make_blob () on.
All is ok except links in blob do not open info about items
-
See Malosar - links in blobs have to have ' instead of " (or the other way around, can't check right now). So his simple str_replace does the job.