Page 1 of 1

IPO Problems ...

Posted: Sun Jun 13, 2004 7:28 pm
by poof
Since this appears to be a problem on the metalforge server only I'm posting the message here. If I should also post elsewhere tell me.

IPO is not working correctly. Salathar mentioned this in another topic - http://www.metalforge.net/cfmb/viewtopic.php?t=451. I tested. I can get a mailscroll for Katia and sent to Katia but I cannot get a mailscroll for Galahad(!). I also cannot get a mailscroll for Salathar. The script reports that it doesn't know those players. From what I can tell looking at the python script attached to "Colette" the information is looked up in the current CF log. For some reason that is not working. Salathar said it hasn't worked for him for a while.

Is the logging working on metalforge? Am I correct in that this script pulls the player name from the current CF log?

Where does the command 'players get it's info? Why would the python script not use that same info?

Posted: Sun Jun 13, 2004 8:44 pm
by Katia
playing a bit with the names list fron the 'players' command in the IPO office i seem to have found out the problem...

It seems that any player after Ketcheman (included) is left out of the players you can send an email to. So i'm guessing it's some loading problem of the script which is limitting the amount of players or so... but since i dont know any python i could not look for the bug nor try to fix it... so i leave it here for those who may do something useful of this info :)

Posted: Mon Jun 14, 2004 1:25 am
by Avion
Katia wrote:playing a bit with the names list fron the 'players' command in the IPO office i seem to have found out the problem...

It seems that any player after Ketcheman (included) is left out of the players you can send an email to. So i'm guessing it's some loading problem of the script which is limitting the amount of players or so... but since i dont know any python i could not look for the bug nor try to fix it... so i leave it here for those who may do something useful of this info :)
The IPO listens for login events and logs them in var/crossfire/crossfire log - if collette (or the other npc who are hooked up to the 'seen' script - such as the fellow in Goths or the Chicken Oracle) cannot see a player then you cannot get a mail scroll for that player. The game has to be able to write to the log, but since it is in var/crossfire this shouldn't be a problem. I also could not see some people who were logged in - I'll look at the log script. for some clue as to why.

Posted: Wed Jul 28, 2004 8:41 pm
by Salathar
It seems all to magically work now. I am not sure whom to thank but THANK YOU for fixing it :)

IPO is great, and I have started frequently using it now :)

Posted: Wed Jul 28, 2004 10:37 pm
by Leaf
Avion - your suggested fix on 08-july-2004 must have worked! =)

For some reason, the crossfire log (/var/crossfire/crossfirelog) was no longer updating. Once the file was removed, it started updating (regenerating) the necessary playerinfo for mail to work.

Now, how or why did I miss making this annoncement and asking people to test sooner.. :oops: