MantisBT - Zandronum | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0000810 | Zandronum | [All Projects] Bug | public | 2012-04-24 20:54 | 2018-09-30 19:52 | |||||
Reporter | MediumTank | |||||||||
Assigned To | Torr Samaho | |||||||||
Priority | high | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | 98d | |||||||||
Target Version | Fixed in Version | 1.0 | ||||||||
Summary | 0000810: CLIENTSIDE ACS Script 1 floods the server and clients with data, extreme packet loss | |||||||||
Description | 98e-alpha 120405-0228 I have no idea why this is happening, but lets say you have #include "zcommon.acs" #library "TEST" script 1 (void) NET CLIENTSIDE { SetHudSize(640, 480, 1); for (int i = 0; i < 512; i++) HudMessage(s: "test"; HUDMSG_PLAIN, 500 + i, CR_WHITE, 50.0, 50.0, 0.1); delay(1); restart; } Script 2 ENTER { ACS_ExecuteAlways(1, 0); } Script 3 (void) CLIENTSIDE { } A few problems I noticed: 1) Script 1 is unpukable for some unknown reason, so I have to invoke it with ENTER 2) When it was pukable, the same result happened... why it won't even puke now is beyond me. 3) If you remove Script 3 (void) CLIENTSIDE { } It will function just normally As soon as you add any CLIENTSIDE script, it breaks. 4) If you copy paste it to another script number (script 1 ---> script 4 for example), it will run normally, therefore it's something with script 1. THE PROBLEM: Script 1 in the .pk3 I attached, when run will do clientside stuff for the one who invoked it, but sends massive amounts of data to the server (just because I'm running 512 HudMessages x 35 per second). When you put it on Script 4 for example, puking it via console works, and it runs perfectly clientsided as you want (no bandwidth usage). Now the confusing part is, if you have one other CLIENTSIDE script anywhere else, script 1 breaks and floods you. If you do not have another CLIENTSIDE script, then script 1 works as normal. If you literally change the number from 1 to 4, rejoin the server. You'll get a thing saying "I dont know what script 1 is" since it's gone, then if you type 'puke 4' in your console, it runs perfectly without any bandwidth loss if you check the Statistics tab. Why only Script 1... no idea. I wonder how many wads though may have this problem buried in it by using script 1? If you loop script 1 for whatever reason, there's going to be bandwidth leaking. | |||||||||
Steps To Reproduce | 1. Create an online game (I did with Doomseeker, no other configs) with my attached PK3 2. all flags (DM1/2/3, Compat1/2) were all zero according to the console, though even when I messed around with flags it didn't change anything 3. Join it, notice intense packet flooding | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ![]() /tracker/file_download.php?file_id=576&type=bug ![]() /tracker/file_download.php?file_id=578&type=bug ![]() /tracker/file_download.php?file_id=604&type=bug | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-04-24 20:54 | MediumTank | New Issue | ||||||||
2012-04-24 20:54 | MediumTank | File Added: Bandwidth.pk3 | ||||||||
2012-04-25 08:18 | unknownna | Status | new => confirmed | |||||||
2012-04-25 08:19 | unknownna | File Added: bandwidth_01.wad | ||||||||
2012-04-25 08:21 | unknownna | Product Version | => 98d | |||||||
2012-04-25 08:21 | unknownna | Summary | 98e - CLIENTSIDE ACS Script 1 floods the server and clients with data, extreme packet loss => CLIENTSIDE ACS Script 1 floods the server and clients with data, extreme packet loss | |||||||
2012-04-25 08:25 | unknownna | Note Added: 0003425 | ||||||||
2012-04-25 08:29 | unknownna | Priority | normal => high | |||||||
2012-04-25 10:49 | unknownna | Note Edited: 0003425 | bug_revision_view_page.php?bugnote_id=3425#r1836 | |||||||
2012-04-25 11:15 | Dusk | Assigned To | => Dusk | |||||||
2012-04-25 11:15 | Dusk | Status | confirmed => assigned | |||||||
2012-04-25 11:48 | Dusk | Note Added: 0003429 | ||||||||
2012-04-25 11:48 | Dusk | Note Edited: 0003429 | bug_revision_view_page.php?bugnote_id=3429#r1838 | |||||||
2012-04-25 11:52 | Dusk | Note Added: 0003430 | ||||||||
2012-04-25 11:52 | Dusk | Status | assigned => feedback | |||||||
2012-04-25 11:53 | Dusk | Note Edited: 0003430 | bug_revision_view_page.php?rev_id=1840 | |||||||
2012-04-25 11:54 | Dusk | Note Deleted: 0003430 | ||||||||
2012-04-25 11:56 | Dusk | Note Edited: 0003429 | bug_revision_view_page.php?bugnote_id=3429#r1841 | |||||||
2012-04-25 11:56 | Dusk | Status | feedback => assigned | |||||||
2012-04-25 11:57 | Dusk | Note Edited: 0003429 | bug_revision_view_page.php?bugnote_id=3429#r1842 | |||||||
2012-04-25 21:59 | Dusk | Note Added: 0003432 | ||||||||
2012-04-25 21:59 | Dusk | Status | assigned => feedback | |||||||
2012-04-26 00:20 | Torr Samaho | Relationship added | related to 0000799 | |||||||
2012-04-26 12:16 | Dusk | Note Added: 0003441 | ||||||||
2012-05-05 20:30 | unknownna | Note Added: 0003564 | ||||||||
2012-05-05 20:31 | unknownna | Note Edited: 0003564 | bug_revision_view_page.php?bugnote_id=3564#r1931 | |||||||
2012-05-05 20:31 | unknownna | Note Edited: 0003564 | bug_revision_view_page.php?bugnote_id=3564#r1932 | |||||||
2012-05-05 20:32 | unknownna | File Added: script_net_puke_01.wad | ||||||||
2012-05-05 20:33 | unknownna | Note Edited: 0003564 | bug_revision_view_page.php?bugnote_id=3564#r1933 | |||||||
2012-06-09 13:22 | Torr Samaho | Category | General => Bug | |||||||
2012-08-05 14:47 | Torr Samaho | Note Added: 0004265 | ||||||||
2012-08-05 14:47 | Torr Samaho | Assigned To | Dusk => Torr Samaho | |||||||
2012-08-05 14:47 | Torr Samaho | Status | feedback => needs testing | |||||||
2012-09-23 18:18 | unknownna | Note Added: 0004762 | ||||||||
2012-09-23 18:26 | Torr Samaho | Status | needs testing => resolved | |||||||
2012-09-23 18:26 | Torr Samaho | Fixed in Version | => 1.0 | |||||||
2012-09-23 18:26 | Torr Samaho | Resolution | open => fixed | |||||||
2018-09-30 19:52 | Blzut3 | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|