Joining the packet sources
#26
I don't think Lua minds if you call its function with more parameters than it actually declares. So for added fields, we can simply add them and plugins will continue working. For fields that are removed, we can simply pass in a default value. And worst case scenario, changed fields, can be expressed as a combination of add + remove.

We'll see how it works, if it's not good enough, we can pack it in structures later on.
Reply
Thanks given by:


Messages In This Thread
Joining the packet sources - by xoft - 08-01-2012, 08:24 AM
RE: Joining the packet sources - by xoft - 08-08-2012, 10:42 PM
RE: Joining the packet sources - by xoft - 08-09-2012, 07:57 PM
RE: Joining the packet sources - by NiLSPACE - 08-09-2012, 08:09 PM
RE: Joining the packet sources - by xoft - 08-09-2012, 08:27 PM
RE: Joining the packet sources - by Luksor - 08-09-2012, 11:08 PM
RE: Joining the packet sources - by xoft - 08-10-2012, 12:01 AM
RE: Joining the packet sources - by xoft - 08-10-2012, 02:03 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 05:29 AM
RE: Joining the packet sources - by xoft - 08-11-2012, 06:14 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 06:32 AM
RE: Joining the packet sources - by xoft - 08-11-2012, 06:45 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 07:10 AM
RE: Joining the packet sources - by FakeTruth - 08-14-2012, 10:15 PM
RE: Joining the packet sources - by xoft - 08-15-2012, 12:11 AM
RE: Joining the packet sources - by xoft - 08-16-2012, 05:54 AM
RE: Joining the packet sources - by xoft - 08-17-2012, 09:00 PM
RE: Joining the packet sources - by FakeTruth - 08-17-2012, 09:02 PM
RE: Joining the packet sources - by xoft - 08-17-2012, 10:10 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 06:54 PM
RE: Joining the packet sources - by FakeTruth - 08-18-2012, 09:08 PM
RE: Joining the packet sources - by NiLSPACE - 08-18-2012, 08:06 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 08:41 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 09:38 PM
RE: Joining the packet sources - by FakeTruth - 08-18-2012, 09:53 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 10:43 PM
RE: Joining the packet sources - by NiLSPACE - 08-24-2012, 10:40 PM
RE: Joining the packet sources - by FakeTruth - 08-24-2012, 11:27 PM
RE: Joining the packet sources - by xoft - 08-25-2012, 12:14 AM
RE: Joining the packet sources - by xoft - 08-26-2012, 07:49 AM
RE: Joining the packet sources - by FakeTruth - 08-26-2012, 08:04 AM
RE: Joining the packet sources - by xoft - 08-26-2012, 08:27 AM
RE: Joining the packet sources - by xoft - 08-27-2012, 07:05 AM
RE: Joining the packet sources - by NiLSPACE - 08-27-2012, 07:12 AM
RE: Joining the packet sources - by xoft - 08-27-2012, 07:16 AM
RE: Joining the packet sources - by NiLSPACE - 08-27-2012, 07:17 AM
RE: Joining the packet sources - by xoft - 08-29-2012, 08:05 AM
RE: Joining the packet sources - by FakeTruth - 08-30-2012, 12:20 AM
RE: Joining the packet sources - by xoft - 08-30-2012, 07:07 AM
RE: Joining the packet sources - by Taugeshtu - 08-30-2012, 08:04 PM
RE: Joining the packet sources - by xoft - 08-30-2012, 10:29 PM
RE: Joining the packet sources - by Taugeshtu - 08-30-2012, 10:33 PM
RE: Joining the packet sources - by xoft - 08-30-2012, 10:43 PM
RE: Joining the packet sources - by FakeTruth - 08-31-2012, 12:39 AM
RE: Joining the packet sources - by NiLSPACE - 09-24-2012, 03:02 AM
RE: Joining the packet sources - by xoft - 09-24-2012, 03:07 AM
RE: Joining the packet sources - by NiLSPACE - 09-24-2012, 03:10 AM
RE: Joining the packet sources - by FakeTruth - 09-24-2012, 03:41 AM
RE: Joining the packet sources - by xoft - 09-24-2012, 05:21 AM
RE: Joining the packet sources - by NiLSPACE - 11-10-2012, 06:21 AM
RE: Joining the packet sources - by FakeTruth - 11-10-2012, 07:37 AM
RE: Joining the packet sources - by Luksor - 11-10-2012, 07:41 AM
RE: Joining the packet sources - by FakeTruth - 11-10-2012, 08:47 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 02:23 AM
RE: Joining the packet sources - by xoft - 11-12-2012, 02:25 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 02:29 AM
RE: Joining the packet sources - by xoft - 11-12-2012, 03:46 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 04:08 AM
RE: Joining the packet sources - by NiLSPACE - 10-26-2013, 11:46 PM
RE: Joining the packet sources - by xoft - 10-27-2013, 01:09 AM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 10:33 PM
RE: Joining the packet sources - by xoft - 12-15-2013, 10:54 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:26 PM
RE: Joining the packet sources - by tonibm19 - 12-15-2013, 11:29 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:33 PM
RE: Joining the packet sources - by tigerw - 12-15-2013, 11:38 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:50 PM
RE: Joining the packet sources - by xoft - 12-16-2013, 12:00 AM



Users browsing this thread: 4 Guest(s)