Forums Index >> Modding >> Warfare's Chatlogger Version 2.0



Page : 1 : 2 : <3>


New Thread HERE

 

 

 

 

Last edited: Tuesday, November 01, 2005 at 6:06:47 PM

Sunday, July 10, 2005 at 9:16:39 PM

I have a question. Is there a way to add to the entry of game restarted the actual mission file or mod name? Just wondering it would help modders who host understand the comments made about the maps. Currently if someone states this would be nice if...... There's no way of knowing which map they were talking about without searching the log file. Would be a nice convenience. :~)

Just wondering.

 

Tuesday, August 23, 2005 at 6:47:26 AM

I agreee 20000%. I don't really plan on useing it, but it should be more understandable.

Tuesday, August 23, 2005 at 7:46:29 AM

You know what?
thats a great idea...
Jeez :P
sure.. I can do that... You can too
I gave the admin.cs file open source so anyone who can script (more or less) can edit it to their preferences
the tankdata::onadd function is the one you want...

Once I get my keyboard back from my mother I will post an alternate version of that function here
(on screen keyboard sucks!)

Until then..

War

 

 

 

 

Last edited: Tuesday, August 23, 2005 at 3:06:40 PM

Tuesday, August 23, 2005 at 3:06:00 PM

UPDATE!

Alright... Onscreen keyboard isnt that bad...
I managed to release my script open source today
(I didnt want to release the chatlog fix for mac until art released his admin script... It is his fix and up to him to release it...)
knock yourselves out for those of you who use a version of dash scripts....
I am goin to work on napalm's idea once I get my room clean
(thats when I will get my keyboard back... Ugg)
until then...
stay tuned.... :P

 

 

 

 

Saturday, August 27, 2005 at 3:01:52 PM

Feeling a little competition War? May the best scripter win! I don't care whose I use, I'm just going to use the one I'm most comfortable with. So far, I liked yours better Warfare. You codes, though not as many, have more use than Art's thousands of not so useful codes. If you two joined forces, oh man.....I want your chatlogger Warfare with Art's GUI networking deal and codes. That would rock. Beat him to it!

Saturday, August 27, 2005 at 3:05:24 PM

Well I just fixed another problem...
when someone is silenced... The original chat function wouldnt get called...
it wasnt that important...
expect to see napalms idea update soon

 

 

 

 

Last edited: Saturday, August 27, 2005 at 3:59:24 PM

Saturday, August 27, 2005 at 3:56:41 PM

UPDATE!

Ok the chatlogger now logs the current mission that has loaded

And also centerprints the author and name of the loaded mission to whomever joins
for some reason that only works on dedicated servers...

Enjoy

Thanks for the ideas napalm

EDIT: if you have something that does this already.... Delete it... :)

 

 

 

 

Last edited: Tuesday, August 30, 2005 at 5:50:24 PM

Tuesday, August 30, 2005 at 5:46:41 PM

UPDATE:

Upon popular request, the chatlogger has been cleaned up
enjoy version 4.0

 

 

 

 

Last edited: Saturday, September 10, 2005 at 3:13:03 PM

Thursday, September 08, 2005 at 7:16:27 PM

Hello Warfare

I am using your chatlogger with no problem, however I just wanted to ask if it is possible to print the message in the centre of the screen like
when you use /CP when you enter the message in the server window as chat("message");
Tks
Dazzle

 

 

 

 

Saturday, September 10, 2005 at 8:53:18 AM

Yes, very possible
just copy and paste this to the bottom of the chatlogger

 

                                        
function cp(%message)
{
schedule(1000,false,"CenterPrintAll",%message,4,2);
}

 

Then in the dedicated server window type in cp("message");

 

 

 

 

Last edited: Saturday, September 10, 2005 at 9:06:21 AM

Saturday, September 10, 2005 at 9:02:43 AM

Thanks for the speedy reply, I have added the text to the bottom of the chatlogger.cs file but when I type cp("message"); this error msg comes up <input> (o): unable to find function cp - any ideas?

This is what the bottom of the chatlogger.cs look like

Thanks
Daz

%admin_entry = %adminlist.readLine();
%rlen = strlen(%admin_entry);
if(%rlen)
{
%name = getSubStr(%admin_entry,0,strstr(%admin_entry,"|"));
%admin_ip = trim( getSubStr(%admin_entry,strstr(%admin_entry,"|")+1,%rlen));
if(%admin_ip $= %ip)
return true;
}
}
}
%adminlist.close();
return false;
{
function cp(%message){schedule(1000,false,"CenterPrintAll",%message,4,2);}

Have also tried this

%adminlist = new FileObject();
if(%adminlist.openForRead("game/server/dash/adminjoin.cs"))
{
while(%adminlist.isEOF() != 1)
{

%admin_entry = %adminlist.readLine();
%rlen = strlen(%admin_entry);
if(%rlen)
{
%name = getSubStr(%admin_entry,0,strstr(%admin_entry,"|"));
%admin_ip = trim( getSubStr(%admin_entry,strstr(%admin_entry,"|")+1,%rlen));
if(%admin_ip $= %ip)
return true;
}
}
}
%adminlist.close();
return false;
{
function cp(%message)
{
schedule(1000,false,"CenterPrintAll",%message,4,2);
}

 

 

 

 

Saturday, September 10, 2005 at 9:32:38 AM

Keep in mind that I have updated so you may have more than one problem if you have an old version

I dont know why you did this....

 


%adminlist.close();
return false;
{
function cp(%message)
{

 

That bolded bracket should be this "}" instead of "{"

 

 

 

 

Last edited: Saturday, September 10, 2005 at 9:46:28 AM

Saturday, September 10, 2005 at 9:43:56 AM

Thanks for you help, my mistake all working correct now. Just to let you know that I am using your latest version with art crazy admin script and all works fine.

Once again thank you

Daz

 

 

 

 

Saturday, September 10, 2005 at 10:18:59 AM

....Dazzle.....

 

The abilities granted by this script work best when used with the latest dash scripts ...

 

This chatlogger was ment for dash's admin script... Not art's....
Art Crazy's admin script already has a chatlogger, so why are you using mine?

If everything is working great, thats awesome!
But I dont recommend using my chatlogger with art's admin script...
you might not be able to put either to full use if you do

 

 

 

 

Last edited: Saturday, September 10, 2005 at 10:49:25 AM

Saturday, September 10, 2005 at 10:49:02 AM

Warfare

Thats what I thought but I cannot identify the dedicated server codes in arts scripts ive been looking all day lol. I beleive there are 5 server codes including one which enables chat from the server window into the game just like yours. If you know what these 5 code are I would be grateful if you could post them.

Daz

 

 

 

 

Saturday, September 10, 2005 at 11:42:43 AM

Nope, I cant help you there, except to tell you where they are
look in the console utilities.cs file

 

 

 

 

Saturday, September 10, 2005 at 12:11:44 PM

Thank you for your help I really appreciate it

Daz

 

 

 

 

Saturday, September 10, 2005 at 1:39:32 PM

Alright...
Since art has his admin script out and not very many people use dash's
I wont be updating this any longer....
I have other things to work on... :P
Cyall around

(hmm.... Time to make a couple gametypes?)

 

 

 

 

Monday, September 12, 2005 at 9:36:55 AM

@ Warfareİ

I think you should reconsider keep ing this alive.

Arts scripts ar overkill in my opinion. I also know many of the people in the admin group still use Dash's admin code. Reagent X, Nuts, Dash, myself Blind Cide, Rooster.

Not to mention what good is arts admin scripts if he's not here to spport them?

Also why the lag with the mac version?

 

Tuesday, October 18, 2005 at 8:54:41 AM

But than again I love Art's Admin Scripts, well I could do with out the calculator. But I agree with Napalm you should update your scripts and give support for them. Allot of admins still use Dash's admin scripts. :)

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Tuesday, October 18, 2005 at 9:44:03 AM

@ napalm
the reason macs will have a little lag with this is because the append fix reads the entire log file to find the last line, then writes to it at the end
in a windows and linux PC, all the server has to do is append to the file, add a line of text at the end....
the mac, since the append is broken, has to go thru 2 other time consuming functions to replace the append...

It doesnt cause much lag, but if the log file is too big, or lots of people are chatting at once, the lag might be noticable
it all depends on your computer specs and internet speed...

@all
I did think of keeping this updated but I figured that the people that still use dash's codes have the ability to make (or already have) their own chatlogger to meet their needs...
everyone else uses art's scripts....

Really the only reason I have discontinued this project of mine was because of the lack of intrest by the rest of PTT

But dont worry, I am keeping it alive, as you can see, you can still download it :)
I just wont be updating it anytime soon

 

 

 

 

Wednesday, October 19, 2005 at 9:43:35 AM

On another note,
I have taken some programming classes in school and now that I look over the chatlogger, it needs some major overhauling...
So, I will be updating it at least one more time, once my PC is checked for viruses (yeah, network got a virus... Not my fault this time :) )
until then, yay school computers!!

War

 

 

 

 

Wednesday, October 19, 2005 at 10:00:19 AM

Same thing, I just started some in class programming stuff, it's fun. I am learning more than just from reading on the internet...

Wednesday, October 19, 2005 at 1:53:26 PM

 

 

I have taken some programming classes in school and now that I look over the chatlogger, it needs some major overhauling...

 

Cool Warfare.

And just so you know, I know at least 10 hosters on Macs that don't, or have no interest in scripting or modifying any scripts. Many of them are creative in graphical aspect and do not enter into the realm of scripting, and or coding. That's why we love you guys so much!

Nap

 

Sunday, October 23, 2005 at 3:40:11 AM

Page : 1 : 2 : <3>

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald