View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001111 | Spring engine | Unit Scripting | public | 2008-10-11 14:32 | 2008-10-16 12:45 | ||||
Reporter | jK | ||||||||
Assigned To | Auswaschbar | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.77b3+svn | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001111: Lua's SendLuaMsg's are broken (net protocol issue?) | ||||||||
Description | demo 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) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Auswaschbar (reporter) 2008-10-11 23:07 |
Please attach a demo of CA where this widget is used. It would help to see if the client actually recieved it or not. |
jK (developer) 2008-10-11 23:19 |
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 |
lurker (reporter) 2008-10-16 12:15 |
#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. |
Auswaschbar (reporter) 2008-10-16 12:45 |
Fixed. Thanks for help. |
![]() |
|||
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 |