Forums Index >> Modding >> Warfare's Chatlogger Version 2.0
I am not done with the mac chatlogger... But its on its way
I updated the file on scriptline's site... So you can use that one too...
Thx art, link updated :P
Np...
Is this something that Nick would be able to port for the Mac?
@-{SA}-Racer445
no you cant, it must be the last thing executed so that the last lines of your dedicated server window execution lines are it and the adminlogin.cs
just execute it at the end of your root main.cs file, its no big deal
@napalm
I am sure nick could do it
I would have to ask him, it might take me a while to do it
Last edited: Monday, July 11, 2005 at 7:25:22 PM
....MAC!!!!
Woot! Send it over to me! I'll give it my best shot. It would be a total conversion tho, as wouldn't be using OpenforAppend. :)
All the bugs have been fixed! XD
There has also been a new version of the observer script too so that might have fix the problem there, but now all my scripts work together woot! Nice job. Since my IP changes do I put in my local IP in or my public IP in. My public one changes so im guessing I use my local one.
HOW DO YOU INSTALL IT DO I PUT IT IN game/server/scripts???? And wat do I put at the end of my MAIN.CS?
%)
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
No, OpenForAppend doesn't work that well on Macs.
^ it just doesnt append
And read what I posted in the other thread... I'm not gonna copy & paste it...
Nah... It does this: IT TOTALY CLEANS UP THE FILE before writing on it, while open for append doesnt... It's pretty useful for logs so we dont need to ge tthe game to delete and re-add the file (TT uses it many times)
But we need OpenForAppend so we need to use OpenForWrite somehow to get it to append to the file without hurting the rest of the TT code... Its not that complicated, and its easy to think of the system, I just spent like 20 minutes scripting and testing it, as it suprisingly worked at the first try :P
WARFARE YOUR CHAT LOGGER IS AWSOME I LOVE IT IT IT IT IT XD
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
Update:
You can now choose the name that appears when you chat in the console!
Hey Warfare I don't get where to put this thing in the console: chat("message");
Do I put it here?
Blah blah blah information information.....................
%
chat("message");
^ Do I put it there after the % thing at the end of the dedicated server console?
Thanks.
-CUC-
EDIT: For example like right here:
Do I type that (chat("message");) after the %?
- b20
Last edited: Saturday, July 16, 2005 at 10:23:21 PM
Yes CUC... Exactly
after that little % you should write it
I have updated the chat logger so you can have a different name other than just plain old Admin appear in the game when you use the console chat function so if you downloaded it anytime before this post, redownload it to get the latest
Also, if anyone has ideas about what I should include in this script, let me know!
:P
Got another question but I think this will be my last about this script.
So when I type this thing chat("message"); after the % can I just chat noramlly without having to re-type it again?
For example:
%
chat("message");
CompUComp: Blah blah blah
Warfareİ: Blah blah blah (when you are in the game itself)
-CUC-
- b20
Ok CUC
everytime you say something from the console, you must use chat("blah blah blah"); everytime...
But when you are in the game, you can talk like you do normally
Oh ok thanks Warfare I get it now! XD
-CUC-
- b20
Update:
My chatlogger now logs the start and end of games as well as the resetting of server defaults
Update: More than one person can join a full server
........... See readme for details
Update:
Chatlogger now displays the current admin password to the admins listed in the adminjoin.cs file when they join the server
eliminating e-mails or threads informing them of new passwords
UPDATE:
CHATLOGGER FOR MAC RELEASED!!! YAHOO!!!
Btw: art crazy, I know I havent e-mailed you about these but if you want you can either delete this off of scriptline or download them both and put them up
its up to you, walagata has been good to me so far, but I would rather have you host them on SL
I will when I get home today :)
BTW: Warfare why dont you use a single script that supports both platforms? A simple if($platform $= "macos") would do it...
I know art :P
I plan on doing it soon, but for right now, its two scripts
Warfare I added my Name And My Ip both in AdminJoin.cs and wats the other one umm Admin.cs but it doesnt show my password when I join the server? So Any Help :'(
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
I updated the SL page and download... But the script doesn't work. :[ It just freezes the game when I (try to) chat, and I have to force quit the game.
Who tested this script on a Mac?
Sparky tested the mac version
I am goin to be putting the entire thing into one package that works for both platforms
here in a bit it will be ready
If it still doesnt work for mac after I implement both platforms, could I e-mail it to you chilled? You could fix it up :)
Last edited: Wednesday, August 10, 2005 at 2:36:50 PM
@ ufo coolboy, use the same ip that the chatlogger logs, when you join your own server it logs your local ip address
but for everyone else it should work fine, since the ip addresses of other players are not local
BTW: The actual page on scriptline needs to be updated... This is version 2.0 and it will be working on macs once I get everything in the one file...
Kk
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
I Put my name and IP (from the chatlogger) like this: Bomber|192.168.1.105 in the adminjoins.cs and it says in the consel when I join my server: Admin Password Released To Bomber, but I don't see what my password is on the screen in game.
Last edited: Wednesday, August 10, 2005 at 4:23:09 PM
@Bomber
download the newest fixed version :P :P
if it still doesnt work, poke around in the admin.cs file
Update: multiplatform version released!
Mac users, try this out and let me know how it works
Last edited: Wednesday, August 10, 2005 at 4:30:00 PM
Nope, same error as before, yet it compiles, but freezes up when I chat.
Send me the uncompiled file if you want and I'll take a look at it.
Console:
Loading compiled script game/ports/MissionLoaderPreferences.cs.
Loading compiled script game/server/dash/main.cs.
Loading compiled script game/server/dash/prefs.cs.
Loading compiled script game/server/dash/ConsoleUtilities.cs.
Loading compiled script game/server/dash/GameConnection.cs.
Loading compiled script game/server/dash/Codes.cs.
Loading compiled script game/server/dash/UberBots.cs.
Loading compiled script game/server/dash/chatlogger.cs.
Loading compiled script game/server/dash/Admin.cs.
Last edited: Wednesday, August 10, 2005 at 5:17:16 PM
Fixed - bot not leaving bug! :)
I sent it to ya chilled
Heh Warfare, did you compile the Mac version on a MAC? If it was compiled on windows, what'll happen is a froen game when any function inside gets called... Like what CL is having
I tried it on my machine and the mission simply would not laod on the connecting client. As soon as I // out the logger exc it loaded just fine.
Does not work on the Mac. Maybe Chill Lizzy can port it?
New Thread HERE
Last edited: Tuesday, November 01, 2005 at 6:06:47 PM