Comments (3)
The move function must be called within the game thread. We have facilites to do this from any thread via gamethreadmgr if you need to do this outside of the gamethreads, sorry this isnt better documented.
from gwca.
Thanks a lot! That was exactly what I was missing - when calling GW::GameThread::Enqueue([x, y] {GW::Agents::Move(x, y); });
instead it works perfectly fine :)
Would be really great if you could add some documentation to the GameThreadManager which functions need to be called out of a game thread and maybe a hint to the functions in the corresponding header files since it takes really long to find this out by yourself... (At least adding a list of these functions will hopefully not take too much time)
from gwca.
Every game function should be called from the game thread to be safe. We can't give much guarantees, because we don't control the game code.
from gwca.
Related Issues (16)
- Example doesn't work. "GWCA/APIMain.h" not found HOT 2
- access violation HOT 9
- PartyMgr::RespondToPartyRequest() not working HOT 2
- GW::Chat::GetIsTyping doesn't include number inputs HOT 1
- Add hooks for friend removed/added events
- Re-Enable OnTick hook
- Interfacing with Python HOT 2
- Missing armors & filter in GwArmory
- GwArmory: Fix some armor names
- GwArmory bug: Clear armor before switching to prevent double armor
- GwArmory: Add options for costume headpiece, costume body, cape
- incorrect radii for aggro and cast range HOT 1
- GoldConfirmationPatch scan fix todo
- How to clone and run examples eg PacketLogger in Visual Studio 2022? HOT 3
- Auth server protocol key retrieval HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwca.