![]() |
Sign Errors - 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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Sign Errors (/showthread.php?tid=933) |
- Tosuxo - 14-05-2007 did you send the sign data before sending the request to open the index list? i.e. change the sub which sends the sign data list to also send a list of names... easy code to do, i'd paste it but i ain't re-installed VB6 yet... lol - Matt - 14-05-2007 I think what he meant, was are you passing the sign name off to the editor when you place the name in the list box. I too have this issue with signs, and I have yet to figure it out. Been awhile since I tried too though. - Tosuxo - 14-05-2007 tell you what guys, once i re-install VB6, I'll post a tutorial fix for signs to make them show in the list fair? ![]() - Robin - 14-05-2007 Is the name been sent in the packet? - Rezeyu - 14-05-2007 ... Did you remember to make a 'Type SignRec' For lstIndex to draw the Sign.Name from? ..Scratch that, If you said it loads to txtName just fine. - Da Undead - 15-05-2007 Rezeyu Wrote:... Ya I think thats his problem, don't forget to add Code: Public Sign() As SignRec in modClientTCP and the actual SignRec in the middle of modTypes ![]() - Rezeyu - 15-05-2007 No, that can't be it, because Magnus said that it DOES display the name of the sign in the editor, which should be txtName... And just like all editors I'm assuming that his sign Editor's txtName draws from Sign.Name.. Which means he already has the SignRec Unless txtName is loaded some other way for the sign tut, in which case maybe I was right in the first place. - Tosuxo - 15-05-2007 Rezeyu Wrote:No, that can't be it, because Magnus said that it DOES display the name of the sign in the editor, which should be txtName... yes but when you select the sign from the index list it sends data to the server to get the info for that sign this won't be perfectly right but when you call for sign editor to open, add this code before the data is sent saying the sign editor can be opened: Server Side: Code: dim Sn as long Client Side (clientTCP, forgotten the sub name, the data one): Code: if lcase(parse(0)) = "signnames" then That will add all of the sign names to the client which is going to edit them before you get the index list, then it can show the names ON the list if there's any bugs, please tell me, cheers ![]() - Tosuxo - 16-05-2007 Magnus Wrote:Thanks. that worked and now the sign name displays. yehhhh i ruleeee ![]() |