Rochet2

Results 71 comments of Rochet2

One use case is to be able to direct link source files (.c, .cpp, .h, .hpp) that only exist as release assets. For example to be used in godbolt: https://github.com/compiler-explorer/compiler-explorer/issues/1442...

If you have issues with some part, post the error and the code and I may be able to help with it.

Try change 2560 to 255 here https://github.com/Rochet2/AIO/blob/d06da5d8e7c32e45fde93a1632e9e33105dfd895/AIO_Client/AIO.lua#L261 just to make sure its not affecting anything. Did you try printing right here to see if the message is even received at...

> using `argX`, but not when using named parameters. > The remaining event arguments are placed within the vararg expression (...), as well as in the arg1-arg9 variables (the latter...

Any message type likely works ok. You can potentially hide messages from the chat window itself if they show up there. However, you must be able to have a check...

Try to print the contents and types of everything in `data.parts`. `for k,v in pairs(data.parts) do print(k, v, type(v)) end`

> This code works fine. But, `local a` is not cleaned after function is called. > to clean up, I need to call `state->collectgc();` explicitly. (and it's only cleared if...

> How do I put new values onto the lua stack from c++? If you need to actually push and pop from the stack, then see for example `sol::stack::push(L, arg)`...

Because of previous use with sol, I expect std::optional to basically never produce error (A value is either an int or it is converted into a nullopt). This is quite...

If you use a code like this: ```lua print(y, type(y)) y=200 print(y, type(y)) ``` you can see the following output: ``` function: 0x1a046a0 function 200 number ``` As you can...