Author |
Message |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Jul 01, 2004 7:47 pm Post subject: Maximum chat length |
 |
|
|
|
What is the maximum number of characters you can send in one public message? I'm currently working on something that uses very long objset messages, and I was wondering when I need to split it up.
On a completely unrelated note, I found a fun way to crash a server  _________________
 |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Thu Jul 01, 2004 8:37 pm Post subject: |
 |
|
|
|
Last I checked, the limit was 240 chars or so. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Thu Jul 01, 2004 8:49 pm Post subject: Re: Maximum chat length |
 |
|
|
|
D1st0rt wrote: | On a completely unrelated note, I found a fun way to crash a server  |
As a server admin or from the client side? Do tell. If it's a potential hack, please tell me privately. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Jul 02, 2004 1:53 am Post subject: |
 |
|
|
|
it's probably ASSS... not subgame.
doesn't objset have a limit of like 20 or so ???
and if you're using ASSS you the interface objects defined in objects.c
you can use toggleset and let it worry about objects... it even sends them to people entering the arena for you. |
|
Back to top |
|
 |
EdTheInvincible Bumper? on!

Age:25 Joined: Apr 29 2004 Posts: 119 Location: Over There Offline
|
Posted: Fri Jul 02, 2004 6:20 am Post subject: Re: Maximum chat length |
 |
|
|
|
D1st0rt wrote: |
On a completely unrelated note, I found a fun way to crash a server  |
D1 if you hack me again I'll force a hand grenade down your throat  |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Fri Jul 02, 2004 11:39 am Post subject: |
 |
|
|
|
toggleset? |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Fri Jul 02, 2004 12:08 pm Post subject: |
 |
|
|
|
If you want to try this out, try using the 00 08/00 09 chunk packet to make the text as big as you'd like. ASSS should handle it fine, but I doubt Subgame will. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri Jul 02, 2004 2:03 pm Post subject: |
 |
|
|
|
That doesn't work with chatnet bots, of course. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Jul 02, 2004 8:13 pm Post subject: |
 |
|
|
|
In interface "objects":
void (*ToggleSet)(const Target *t, short *id, char *ons, int size);
*t is a ptr to the target
*it is an array of shorts of the image id's
*ons is wheter to turn it on or off (0 for off, nonzero for on),
and size is the length of the id and ons arrays. |
|
Back to top |
|
 |
|