ASSS Questions - news.txt Smong - Sun Aug 24, 2003 11:49 am Post subject: news.txt
Some way to get the news.txt of the zone would be nice (it usually has zone rules in it). Maybe using a line and final line keyword or something. I'm not sure how you would do the checksums though as I can't get the Java crc class to match what asss/subgame says.
Edit: I guess the client could request the date of the news.txt on the server (hopefully the clocks will be similar). Then request the news.txt if it's newer (or request it anyway).
Dr Brain - Sun Aug 24, 2003 10:34 pm Post subject:
Or, just rip the crc code out of asss.
Smong - Mon Aug 25, 2003 2:15 pm Post subject:
Asss uses zlib I think, and I don't think Java can call dll's.
Dr Brain - Mon Aug 25, 2003 3:55 pm Post subject:
Copy + paste was what I was thinking. I think It's only an algorithm, but if it does call zlib, I'm sure there is a soloution.
AlphaBoB - Mon Aug 25, 2003 5:36 pm Post subject:
Does the zlib DLL have source? If so, just copy the functions you need out and paste them in Java format.
Anonymous - Fri Sep 05, 2003 9:10 am Post subject:
I'm not sure why it's assumed that chatclients are written in java, but here are some links:
http://java.sun.com/j2se/1.4.1/docs/api/java/util/zip/package-summary.html http://www.jcraft.com/jzlib/
That said, asss could just provide the news.txt over tcp directly.