2025-07-18 02:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001111Spring engineUnit Scriptingpublic2008-10-16 12:45
ReporterjK 
Assigned ToAuswaschbar 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.77b3+svn 
Target VersionFixed in Version 
Summary0001111: Lua's SendLuaMsg's are broken (net protocol issue?)
Descriptiondemo widget: AllyCursors (in CA)

specific code:
LuaUnsyncedCtrl::SendLuaUIMsg(...)
...
net->Send(CBaseNetProtocol::Get().SendLuaMsg(gu->myPlayerNum, LUA_HANDLE_ORDER_UI, modeNum, msg));
...

receiver:
CLuaHandle::HandleLuaMsg(...) (never gets called)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0002794

Auswaschbar (reporter)

Please attach a demo of CA where this widget is used. It would help to see if the client actually recieved it or not.

~0002795

jK (developer)

no need for demo, you should be able to receive your own messages in single player/startscript.

I made a modified version of the widget, so it will print a message when it sends/receives a lua message:
http://home.arcor.de/jkei/gui_ally_cursors_debug.lua

~0002934

lurker (reporter)

#define LUA_HANDLE_ORDER_RULES 100
#define LUA_HANDLE_ORDER_UNITS 200
#define LUA_HANDLE_ORDER_GAIA 300
#define LUA_HANDLE_ORDER_RULES_UNSYNCED 1100
#define LUA_HANDLE_ORDER_UNITS_UNSYNCED 1200
#define LUA_HANDLE_ORDER_GAIA_UNSYNCED 1300
#define LUA_HANDLE_ORDER_UI 2000
unsigned char. that is all.

~0002936

Auswaschbar (reporter)

Fixed. Thanks for help.
+Notes

-Issue History
Date Modified Username Field Change
2008-10-11 14:32 jK New Issue
2008-10-11 23:07 Auswaschbar Note Added: 0002794
2008-10-11 23:19 jK Note Added: 0002795
2008-10-16 12:15 lurker Note Added: 0002934
2008-10-16 12:45 Auswaschbar Status new => resolved
2008-10-16 12:45 Auswaschbar Resolution open => fixed
2008-10-16 12:45 Auswaschbar Assigned To => Auswaschbar
2008-10-16 12:45 Auswaschbar Note Added: 0002936
+Issue History