Hey!
#8
(06-12-2014, 06:31 AM)xoft Wrote: Our problem is more or less the very opposite - we want to split into many VMs so that code running in one part of the plugin doesn't cause another part of the plugin to block. Our plugins can register callbacks that the server calls whenever the event occurs; for the callback to execute safely it needs to lock the entire VM; this serializes all the callbacks on the CPU, which means that if a plugin registers for an OnTick event and a webadmin page handler, the world tick thread gets blocked every time the webadmin page is being accessed.

Okay so I asked about and they said that it is blocking but for they haven't had a problem with it since ~2006. I also asked about the web interface and they said "[when someone opens a web page] it does [block the server], but only as long as the webserver generates the HTML output (and that's usually fast enough)".

But it's a bit scary that you need a call back just to get a player by their name. Almost, erm, makes me want to just use the java server :/

For us, it's just
-- Case insensitive
p = Player("qaisjp")
p:Kill()
p.vehicle = Vehicle(411, 0, 0, 0) -- warp player into a newly made vehicle at Vector3(0,0,0)
Reply
Thanks given by:


Messages In This Thread
Hey! - by qaisjp - 06-11-2014, 07:50 AM
RE: Hey! - by worktycho - 06-11-2014, 08:35 AM
RE: Hey! - by FakeTruth - 06-11-2014, 02:00 PM
RE: Hey! - by xoft - 06-11-2014, 05:45 PM
RE: Hey! - by qaisjp - 06-12-2014, 05:29 AM
RE: Hey! - by xoft - 06-12-2014, 06:31 AM
RE: Hey! - by qaisjp - 06-13-2014, 12:53 AM
RE: Hey! - by FakeTruth - 06-12-2014, 08:17 PM
RE: Hey! - by bearbin - 06-13-2014, 01:00 AM
RE: Hey! - by FakeTruth - 06-13-2014, 01:28 AM
RE: Hey! - by bearbin - 06-13-2014, 01:48 AM
RE: Hey! - by worktycho - 06-13-2014, 01:56 AM
RE: Hey! - by qaisjp - 06-13-2014, 03:03 AM
RE: Hey! - by worktycho - 06-13-2014, 03:29 AM
RE: Hey! - by qaisjp - 06-13-2014, 04:32 AM
RE: Hey! - by worktycho - 06-13-2014, 04:41 AM
RE: Hey! - by qaisjp - 06-13-2014, 04:49 AM
RE: Hey! - by worktycho - 06-13-2014, 05:07 AM
RE: Hey! - by qaisjp - 06-13-2014, 06:07 AM



Users browsing this thread: 1 Guest(s)