Author |
Message |
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: 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). |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun Aug 24, 2003 10:34 pm Post subject: |
|
|
|
|
Or, just rip the crc code out of asss. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Mon Aug 25, 2003 2:15 pm Post subject: |
|
|
|
|
Asss uses zlib I think, and I don't think Java can call dll's. |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: 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. |
|
Back to top |
|
|
AlphaBoB Seasoned Helper
Gender: Joined: Aug 12 2003 Posts: 140 Location: Everywhere you want to be. Offline
|
Posted: 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. |
|
Back to top |
|
|
divine.216 Guest
Offline
|
|
Back to top |
|
|
|