Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ / C# - LUA atlcomcli.h help

Author
Message
Ashy
19
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 10th Feb 2008 13:53
Hey guys, i\'ve been messing around with lua and c++ (new to both) but can\'t get it to work. I just want to read and write to variables in like config files for stuff like item health, armor, speed .ect

I couldn\'t get it working with the LUA docs, was confusing and seemed more intent on showing me what cool things I could do with functions and classes .ect which is too far ahead of the simple things i want to do with it right now. I did get barnsky\'s lua dll to work with the gdk (though it wouldn\'t write to the lua file, only read) and that seemed to be fine. But now I want to read/write variables without the gdk in a project.

I went and looked into CBP http://www.thomasandamy.com/projects/CPB/documentation.htm#_Toc98837798 which seemed to offer what i wanted in a fairly straight forward approach and I\'ve gotten everything rigged up alright but when I goto compile i get a \"fatal error C1083: Cannot open include file: \'atlcomcli.h\': No such file or directory\"... whipped up the google and from what I can tell its not included with the express versions of visual studio, soooooo could someone maybe upload the file for me please?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Feb 2008 16:15
No, for two reasons. First, it's illegal, and secondly, that header includes other headers you'd need (which include other headers etc).

ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 12th Feb 2008 23:14
ATL is a commercial product by Microsoft as far as I know, and requires many header files (and possibly a library file). It's not necessary for Lua though, just that CBP thing. It won't be that tough to write your own thing for GDK, just make functions like setItemHealth available to Lua, and call them in a script.

Login to post a reply

Server time is: 2025-05-21 04:51:24
Your offset time is: 2025-05-21 04:51:24