Re: Preview of the next revision
[quote author=Robert_Jeremy link=topic=114.msg1362#msg1362 date=1314557322]
[quote author=Crawdy link=topic=114.msg1359#msg1359 date=1314554152]
[quote author=General Alexander link=topic=114.msg1357#msg1357 date=1314553030]
its better to upload even a part, cause we will have something new. and then u will finish and upload full changes.
[/quote]
Agreed
[/quote]
2
[/quote]
I agree too.
Re: Preview of the next revision
I would obviously prefer an update, but I'm happy waiting, too.
Whatever you think is best, to be honest.
Thanks again for all that time you've put in.
And I agree with not setting a deadline for update releases... the wait has been killing me. lol
;D
Re: Preview of the next revision
well, launch it tomorrow, or 2 days from now, when GUI is ready, you launch, even if we cannot use any weapons or do anything, atleast we will be able to chat.
Re: Preview of the next revision
Unfortunately I can't get the GUI to work nor do I know how to even control it properly. I wasn't able to talk to Houstin about this yet.
Re: Preview of the next revision
[quote author=Recycler link=topic=114.msg1386#msg1386 date=1314571546]
Unfortunately I can't get the GUI to work nor do I know how to even control it properly. I wasn't able to talk to Houstin about this yet.
[/quote]
The GUI runs DirectX I think, the chatbox is controlled by 12 or so textboxes if I'm correct, which are mainly text fields so you can edit them..
Uh thats what I think, best to ask and wait for houstins response though :P
Re: Preview of the next revision
The GUI works it's way backwards each frame(later it will be cached to increase speed a bit). Looks a bit like this:
For each line of text, calculate it's height. When the next(technically last, since it's working backwards) line of text won't fit, the last line of text we sized is the beginning of the buffer that we have to pass to the DrawText function.
I'm aware that the code is a mess, it'll probably be cleaned up later. It's just that I was developing the concept the same time i was developing the actual text box.
Recycler, make vaultmp.dll export a function a bit like "int SendChatMessage(char* msg);" The rest can be done completely by vaultgui.dll , which is exporting some functions that you may be interested in such as:
void DllExport AppendChatMessageA(char* msg); // <- you should call this when a chat message is received from the server
void DllExport FlushBuffer(); // <- these may be used in scripts in order to clear the contents of the chat buffer
void DllExport FlushBuffer_NoMsg();
void DllExport ToggleDrawing(int tog);
I'll send you the updated code when I've implemented the keyboard input completely.
EDIT: Notice the overuse of "a bit" in this post. It's due to a combination of sleep deprivation and me becoming more fluent in programming languages than english. :-[
Re: Preview of the next revision
So do u have any good news? or still nothing to upload?
Re: Preview of the next revision
I honestly think it'd be better to wait till a week or so like you said and get the current expectations done before posting it. Better to post it when its all know to be good enough to post.
Re: Preview of the next revision
I did some initial tests with the new version today. Unfortunately that revealed some errors which I had to resolve today. I'll upload the update as soon as it works ;)
[quote author=Houstin link=topic=114.msg1412#msg1412 date=1314611853]Recycler, make vaultmp.dll export a function a bit like "int SendChatMessage(char* msg);" The rest can be done completely by vaultgui.dll , which is exporting some functions that you may be interested in such as:[/quote]
Looks very promising. Going to implement the vaultmp.dll interface functions tomorrow (expect a PM; I added you in MSN, too)
Re: Preview of the next revision
Good job on the release, hopefully when chats implemented, please archive the executable files so I can update the installer :).
Once again, good job and thanks for doing all the good work.
-Aleks