Thanks monkey_5_6, that fixed it! Next problem is again the "cannot convert const string to string" on the line 145.
/**/function MouseLocationName(const string buffer){ //oli function
/**/ //gets the name of what is under the cursor
/**/ int invitem;
/**/ invitem=GetInvAt(mouse.x,mouse.y);
/*(line 145)*/ if (invitem>=0) GetInvName(invitem,buffer); // if its a inv item
/**/ else GetLocationName(mouse.x,mouse.y,buffer);
/**/ return buffer;
/**/}
These problems ought to start repeating themselves at some point, but until then, what seems to be the problem this time?
/**/function MouseLocationName(const string buffer){ //oli function
/**/ //gets the name of what is under the cursor
/**/ int invitem;
/**/ invitem=GetInvAt(mouse.x,mouse.y);
/*(line 145)*/ if (invitem>=0) GetInvName(invitem,buffer); // if its a inv item
/**/ else GetLocationName(mouse.x,mouse.y,buffer);
/**/ return buffer;
/**/}
These problems ought to start repeating themselves at some point, but until then, what seems to be the problem this time?