Jump to content

LINUX ?


chrisklume

Recommended Posts

I have tried on MacOS with WineSkin (the WOW works well but WRobot).

It seams like WRobot write by C#, which version of C# it supported? 

I do run some code like this,but it failed.

var hello = "hello world";

Lua.LuaDoString($@"

        local index = string.find(hello,h");

");

how to pass it to lua?thanks.

On 2/28/2023 at 5:33 PM, Droidz said:

Hello,

I don't think so, but I never tried.

WRobot uses a lot of Windows APIs, and a Windows specific language, there is really little chance that it will work with a Windows emulator.

 

Link to comment
Share on other sites

.net Framework 4.x (4.5 minimum).

You can't use "$", bot compiler use old C# compiler (you can't use the new language features, or, you need previously to compile your code in dll).

You can run your Lua code like that :

var hello = "hello world";

Lua.LuaDoString(@"

local index = string.find('" + hello + @",h');

");

or

var hello = "hello world";
Lua.LuaDoString("local index = string.find('" + hello + ",h');");

 

Link to comment
Share on other sites

  • 3 months later...
On 3/2/2023 at 5:26 PM, Droidz said:

.net Framework 4.x (4.5 minimum).

You can't use "$", bot compiler use old C# compiler (you can't use the new language features, or, you need previously to compile your code in dll).

You can run your Lua code like that :

var hello = "hello world";

Lua.LuaDoString(@"

local index = string.find('" + hello + @",h');

");

or

var hello = "hello world";
Lua.LuaDoString("local index = string.find('" + hello + ",h');");

 

thanks for your reply. my apologies for the delay.

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...