micahrcm / happy-pixels Goto Github PK
View Code? Open in Web Editor NEWLearn how to develop a WoW Bot
Learn how to develop a WoW Bot
Does this work for retail? What's suppose to go inside the "framescoordinates.json" file?? Having major issues :(
Hi good job on the tutorial and code,
This function: function DataToColor:itemName(bag, slot) creates a number which is greater than 256256256 -1 (16777215) when a bag item has a stack size of 200.
e.g. wicked-throwing-dagger = 15327, stack of 200.
item = item + itemCount * 100000
item = 15327 + 200 * 100000
item = 20015327
This is the problem code:
if(itemCount ~= nil and itemCount > 0) then item = item + itemCount * 100000
end
A possible solution might be to cap the stack size to 100:
if(itemCount ~= nil and itemCount > 0) then
if (itemCount>100) then itemCount=100 end
item = item + itemCount * 100000
end
When doing "node data.js" I get the following error:
node:fs:585
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory
I think the bottom part of the code (snippet below) is supposed to fix that, but I can't get it to work.
// In the case that frameCoordinates file does not exist, creates a new one
if (!fs.existsSync(path.resolve(__basedir, './Database/lib/frameCoordinates.json'))) {
configureData.configureDataCoords(null, true).then(() => {
console.log('Starting Data.js')
beginDataProcessing()
})
} else {
console.log('Starting Data.js')
beginDataProcessing()
}
I'm not much of a programmer so please let me know if you need more.
Hi, I am a complete newbie in this field, what part of it needs to be rewritten in order for the bot to work on ShadowLands?
nice work! this is a really brilliant project. I'm looking forward to see the next phase on how to manipulate characters.
Still, I'm wondering why use pixel color to export data? is that because of game restriction on plugins?
Installed robotjs and datatocolor, but i got this error when trying to run
node data.js
ERROR: Game Client is not open, left window is not primary monitor, and/or Game Client is on incorrect window.
i have set left window primary and run game client in console mode in terminal
i also changed
// let frameSize = parseInt(metaData.toString().slice(-7, -5)) * 2
to
let frameSize = parseInt(metaData.toString().slice(-7, -5))
to avoid large bitmap issue (default setting triggers large bigmap exception) on my laptop
environment:
system : mac os
resolution : 1440x900
line:630 ->DataToColor:StringToASCIIHex(GetZoneText())
when GetZoneText() returns english, this works well. But when it returns chinese, it returns a float like
Dump: value=DataToColor:StringToASCIIHex("Orgrimmar")
[1]=798271827377
Dump: value=DataToColor:StringToASCIIHex("奥格瑞玛")
[1]=2.2916516523016e+17
this will cause integerToColor throw loop error.
when 260: MakePixelSquareArr(integerToColor(self:GetTargetName(0)), 16) -- Characters 1-3 of target's name
i am very interesting this program, can i use it for an inactive wow window?
and when will you update the post, i can't wait!
i never learnt any program language, but i am studying now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.