View Issue Details

IDProjectCategoryView StatusLast Update
0001111Spring engineUnit Scriptingpublic2008-10-16 12:45
ReporterjK Assigned ToAuswaschbar  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.77b3+svn 
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

Activities

Auswaschbar

2008-10-11 23:07

reporter   ~0002794

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

2008-10-11 23:19

developer   ~0002795

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

2008-10-16 12:15

reporter   ~0002934

#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

2008-10-16 12:45

reporter   ~0002936

Fixed. Thanks for help.

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