![]() |
Update item - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Update item (/showthread.php?tid=827) |
Update item - William - 13-03-2007 Introduction The reason I posted this is that it currently just updates a small part of the items attributes. And I dont see why that should be. Since it all sends from the server but only recieves a few of them. Don't think this will make a difference to the game but it might save you sometime. Client Side Find this: Code: ' :::::::::::::::::::::::: Code: ' :::::::::::::::::::::::: Find: Code: Sub SendUpdateItemTo(ByVal Index As Long, ByVal ItemNum As Long) Code: Sub SendUpdateItemTo(ByVal Index As Long, ByVal ItemNum As Long) - Xlithan - 13-03-2007 What exactly was the error? - Coke - 13-03-2007 it wasnt updating the items data1, data2, or data3... - William - 13-03-2007 Im not sure what difference it will make, but it was sending from the server on the first one. But it didnt recieve it. - Xlithan - 14-03-2007 hmm, never noticed this before. I'll check it out later. - William - 14-03-2007 Well basicly, all the item attributes are handled server side. The one point when the client needs them is upon a added request or for the item editor. But still it will be good to update all the parts of the item. |