Command ID must be set to -1
Thanks to abma for pointing me in the right direction.
Original post:
Is anyone familiar with the following error?
[f=0000010] Unhandled net msg (76) in server from 0
I wanted to test out a Skirmish AI agent using the plain c interface (I used NullAI as a base.) Using the vanilla c interface, I can receive events and send unsynched commands successfully, but synched commands do not take effect. The synched commands (COMMAND_UNIT_MOVE, COMMAND_UNIT_BUILD, etc) return with no error (return value = 0), but the agent does not carry out the command. The only error I get is the above "Unhandled net msg".
This was on spring 84 with ba 7.62. I'm going to compile Spring 85 and test with the latest ba, but I think this is some silly mistake on my behalf I just can't seem to grasp. Thanks for the help!
AIExport.h
http://pastebin.com/NC7GE5rk
AIExport.cpp
http://pastebin.com/MK2RK56e
[Solved] Synched commands using vanilla c interface
[Solved] Synched commands using vanilla c interface
Here is where ideas can be collected for the skirmish AI in development
Moderators: hoijui, Moderators
Jump to
- Community
- ↳ General Discussion
- ↳ Help & Bugs
- ↳ Ingame Community
- ↳ Spring Clans
- ↳ Tournaments
- ↳ Linux
- ↳ Mac OS X
- ↳ Off Topic Discussion
- Content Development
- ↳ Game Development
- ↳ Game Development Tutorials & Resources
- ↳ Game Releases
- ↳ Map Creation
- ↳ Map Tutorials & Resources
- ↳ Map Releases
- ↳ Lua Scripts
- ↳ Art & Modelling
- ↳ Modelling & Texturing Tutorials & Resources
- ↳ Sound Effects & Music
- ↳ Project Subforums
- ↳ Balanced Annihilation
- ↳ Balanced Annihilation Reloaded
- ↳ Conflict Terra
- ↳ The Cursed
- ↳ Evolution RTS
- ↳ Jauria RTS
- ↳ Kernel Panic
- ↳ Journeywar
- ↳ Ludum Dare
- ↳ MechCommander: Legacy
- ↳ Metal Factions
- ↳ MOSAIC
- ↳ NOTA
- ↳ Phoenix Annihilation
- ↳ SpringBoard
- ↳ Spring: 1944
- ↳ Star Wars: Imperial Winter
- ↳ TA Prime
- ↳ Tech Annihilation
- ↳ XTA
- ↳ Zero-K
- ↳ Project Archive
- ↳ Argh's Projects
- ↳ Caydr's Projects
- ↳ Damned
- ↳ Dune: Evolution
- ↳ Engines Of War
- ↳ Evolution RTS
- ↳ Progressive Annihilation
- ↳ Supreme Annihilation
- ↳ Spring Tanks
- ↳ PanzerStahl
- Development
- ↳ News
- ↳ Engine
- ↳ Dedicated Developer Discussion
- ↳ New Developer Discussion
- ↳ Meeting Minutes
- ↳ AI
- ↳ Lobby Clients & Server
- ↳ Infrastructure Development
- ↳ Lobby Meeting Minutes
- ↳ SPADS AutoHost
- ↳ SpringLobby Client
- ↳ Feature Requests
- ↳ Bounty Offers
- ↳ The Werewolf Game
- ↳ News Submissions
- Site content
- ↳ Community Blog
- ↳ Site content
- ↳ Banners
- ↳ Welcome images
- ↳ Videos
- ↳ Videos - contributions
- ↳ Screenshots
- ↳ Screenshots - contributions