![]() |
Faster way of serverside...
Could a way be added to make it less laggy to use serverside commands constantly? For something I am making, I will be needing to access all players/npcs attributes constantly and I already know that will generate a ton of lag, or how about this idea (which I would prefer more), maybe make a way to use
with(npcs[index]) and with(players[index]) to fetch attributes as long as you do not edit them? |
like clientcsr.vars?
(clientside read only) |
kindof, I was asking more of a way to use with(players[index]) clientsided as long as you don't edit anything, but stefan said that it cant be done currently since other attributes aren't sent to the client :(
|
bah :(
|
You mean instead of something like this:
NPC Code: That DOES seem like an awful lot of work... perhaps make a simple trigger like that built into an NPC, like triggeraction 0,0,serverside,-triggers,bombs,#c; or something. I was considering making a hidden NPC named -triggers so that I could use common triggers whenever. ---Shifter |
Quote:
|
did you even read jagens post?
|
Quote:
another suggestion: maybe make a serveroption sentflags = and any string in there would get sent to the client, like if i had sentflags = clientr.hp and if you are in the level with someone, you could access this string by doing #I(sent.clientr.hp,id) or maybe something similar? (this is kindof like players[id].x vars but would be a string and you get to choose what strings get sent via serveroptions) |
Quote:
|
or or or!!!!!
//#SERVERSIDE |
Quote:
|
Quote:
|
No **** ¬_¬
|
| All times are GMT +2. The time now is 04:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.