Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   weapon amount causing lag? (https://forums.graalonline.com/forums/showthread.php?t=134259876)

sssssssssss 07-19-2010 03:51 AM

weapon amount causing lag?
 
Dunno if this is the right spot, but was wondering if the amount of weapons held in the server can cause lag?

Soala 07-19-2010 03:53 AM

Not directly ingame (depends how they are scripted and how much CPU they take up) but can cause lag on RC opening the wNPCs list. Look at testbed for example, it takes me 10 fair seconds to load RC.

cbk1994 07-19-2010 03:58 AM

Weapons are stored in memory so the more weapons you have the more memory you use, but it depends a lot more on the contents of the scripts rather than the quantity. Don't worry about the number of weapons you have.

sssssssssss 07-19-2010 06:15 AM

Ok, so in-game, unless I have a TON of HUGE scripts, its ok to have a lot of weapons towards the players lag? I'm talking quite a few weapons, as many of our "items" will be very short scripts but saved in there.

Jiroxys7 07-19-2010 02:43 PM

Yeah, the weapon scripts dont take up much space. In fact, theyre really stored as notepad files. Which are typically take up very little space. I wouldnt worry about it. :p

12171217 07-19-2010 08:08 PM

They're also stored as bytecode for the serverside GS2 interpreter ;)

sssssssssss 07-19-2010 10:02 PM

Cool. Thanks you guys. :)


All times are GMT +2. The time now is 11:24 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.