![Glee ^^](./images/smilies/ms-glee.png)
P.S.: If you have any Ideas to make the code or the File management better, tell me, too, please
![Glee ^^](./images/smilies/ms-glee.png)
YGOFreak1997
![Glee ^^](./images/smilies/ms-glee.png)
False.YGOFreak1997 wrote:And by the way, what ist wrong with a .rar-File? Just change the extension in .love and it's fine!
Code: Select all
hump.class = require ("Libraries/Class")
hump.vector= require ("Libraries/vector.lua")
hump.camera = require ("Libraries/Camera.lua")
local gwee = require ("Libraries/gwee.lua")
require ("Libraries/LUBE.lua")
require ("Libraries/slither.lua")
Code: Select all
hump = {}
hump.class = require ("Libraries.class")
hump.vector= require ("Libraries.vector")
hump.camera = require ("Libraries.camera")
local gwee = require ("Libraries.gwee")
require ("Libraries.LUBE")
require ("Libraries.slither")
But not. The error is that he shouldn't be instantiating lube.Client or lube.Server (regardless of their spelling), but rather one of the subclasses. (So lube.udpClient or lube.tcpClient and lube.udpServer and lube.udpClient.)Robin wrote: Moving on, you write LUBE instead of lube, and you write lube.server and lube.client instead of lube.Server and lube.Client. You also need to write lube.Client.init. That's init, not Init.
Yeah, i just didn't understand what you meant with the "Common classes" implementation...It is, however, ambitious of you to try to use the library if you can't understand what the reference manual is saying. I agree, it is not newbie-friendly, but then, it isn't intended that way, it is a reference manual, and just that. I suggest you look up a tutorial (perhaps one linked in the thread) to get a grasp of what you're supposed to be doing, and then use the reference manual for its intended use, reference.
Code: Select all
class.method(args)
Code: Select all
class:method(args)
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest