Hey, I'm sorry if I posted this in the wrong section. I couldn't find a more suitable forum to post this in.
Anyway I am working on my application BattleLauncher (http://www.battlelauncher.com) and I managed to connect to BF2 servers without problems looong ago using rcon. However I have run into a problem recently, I want to retrieve the chat somehow and I can't get the python script I tried to do what I want.
This is the script I tested my application with, http://bf2.fun-o-matic.org/index.php/Scripts:EventsPy. It does exactly what I want it to do only it doesn't send any info to the remote rcon program (in other words my application, BattleLauncher). It only prints the info to the BF2 server window.
I have noticed that most scripts (like the bf2cc ones) send information back to my rcon app using a "ctx.write()" command. I have studied how other scripts work and tried to mimic but no luck.
I really hope someone can help me with this
/ Senap
Anyway I am working on my application BattleLauncher (http://www.battlelauncher.com) and I managed to connect to BF2 servers without problems looong ago using rcon. However I have run into a problem recently, I want to retrieve the chat somehow and I can't get the python script I tried to do what I want.
This is the script I tested my application with, http://bf2.fun-o-matic.org/index.php/Scripts:EventsPy. It does exactly what I want it to do only it doesn't send any info to the remote rcon program (in other words my application, BattleLauncher). It only prints the info to the BF2 server window.
I have noticed that most scripts (like the bf2cc ones) send information back to my rcon app using a "ctx.write()" command. I have studied how other scripts work and tried to mimic but no luck.
I really hope someone can help me with this
/ Senap
Comment