Post: Notice Server Disconnected?
03-04-2016, 12:47 PM #1
XeX Proxmity
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Hello in my forge menu i made it so every time you spawn a object it updates a counter that shows how many objects you spawned. After about spawning 150 objects (some times random) it will just kick me out of the game saying "Notice Server Disconnected". I know it has to do with the counter because without it there is no problems.

This is how i am doing it

self.menu.info2 destroy();
wait 0.01;
self.menu.info2 = drawText("Objects Spawned = "+ self.Objects + "", "objective", 1.8, "LEFT", "RIGHT", -780, 63, (1, 0.502, 0), 1, 10);
(adsbygoogle = window.adsbygoogle || []).push({});
03-04-2016, 12:53 PM #2
XeX Proxmity
Save Point
I also added my objects to an array when i spawn them i dont think this could be the cause of the crashing.



Example:

self.ForgeObj[self.objectID] = spawn("script_model",self GetTagOrigin("j_head")+ anglesToForward(self GetPlayerAngles())* 100,1);
self.ForgeObj[self.objectID] setModel(self.object);
self.objectID++;
03-05-2016, 08:24 AM #3
HiddenHour
I defeated!
Originally posted by XeX
Hello in my forge menu i made it so every time you spawn a object it updates a counter that shows how many objects you spawned. After about spawning 150 objects (some times random) it will just kick me out of the game saying "Notice Server Disconnected". I know it has to do with the counter because without it there is no problems.

This is how i am doing it

self.menu.info2 destroy();
wait 0.01;
self.menu.info2 = drawText("Objects Spawned = "+ self.Objects + "", "objective", 1.8, "LEFT", "RIGHT", -780, 63, (1, 0.502, 0), 1, 10);


Pretty sure the game has an entity spawning limit
03-05-2016, 09:26 AM #4
DoraTheKiller97
Treasure hunter
If you precache too many models the same could happen i believe

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo