Separate chat window
#1
Useful patch for AC, that splits chat discussion and console.

Screenshot: http://img829.imageshack.us/f/hawtpatch.png/

Patch: https://sourceforge.net/tracker/download...id=3147881

To apply the patch you must download AC 1.1.0.4 source code from sourceforge and replace original sources by files from patch. Then recompile client.
Thanks given by:
#2
Hello RPG. Thank you for this patch.
Is It possible to add a menu to disable/enable this feature and to modify its position?
Thanks given by:
#3
I think it is possible.
Thanks given by:
#4
Patch replaced. New feature: you can specify some parameters of chat:
* chat_x (X position in percent)
* chat_y (Y position in percent)
* chat_width (width with percent)
* chat_fade (seconds to fade)
* chat_lines (displayed lines)

Also added animation effect.

Download: https://sourceforge.net/tracker/download...id=3147881
Thanks given by:
#5
so are we allowed to use modified clients on pubs ?
Thanks given by:
#6
yeah i think so as long as it wont change the gameplay
Thanks given by:
#7
(09 Jan 11, 11:31AM)snake_eye Wrote: yeah i think so as long as it wont change the gameplay

yes in a perfect world... but if they see you have a modified client they just say to everybody you hack
Thanks given by:
#8
* chat_x (X position in percent)
* chat_y (Y position in percent)

-more ppl using this to add a makeshift noscope in osok
Thanks given by:
#9
(09 Jan 11, 06:43AM)RPG Wrote: Patch replaced. New feature: you can specify some parameters of chat:
* chat_x (X position in percent)
* chat_y (Y position in percent)
* chat_width (width with percent)
* chat_fade (seconds to fade)
* chat_lines (displayed lines)

Also added animation effect.

Download: https://sourceforge.net/tracker/download...id=3147881

(09 Jan 11, 02:07PM)Bullpup Wrote: * chat_x (X position in percent)
* chat_y (Y position in percent)

-more ppl using this to add a makeshift noscope in osok

Who needs to adjust x, get rid of it or else ^
Thanks given by:
#10
For example:
chat_x 75
chat_width 25
chat_y 99

Chat in the right bottom corner. I can prevent the appearance of chat in the center of the screen (block x = 50 coordinate).

Quote:they just say to everybody you hack
If you fix a bug in the program it is also hack:) But it doesn’t means «cheat».
Thanks given by:
#11
That's what I'm looking for.
Thank you RPG for this update!
Thanks given by:
#12
(09 Jan 11, 03:13PM)RPG Wrote: If you fix a bug in the program it is also hack:) But it doesn’t means «cheat».
True. But if you force server owners and devs to guess what the client has in it, it's easier to assume a cheat.
The preferable alternative is to submit your work to them and see if they'll include it in the next release.
Thanks given by:
#13
Work was submitted long time ago on SourceForge.

You cancompare original client and patch. There's only one struct added.
Thanks given by:
#14
* V-Man cheers
Thanks given by:
#15
Heh, funny thing - I'm planning to seperate the consoles in the near future; chat, game and frag messages should all get their own space. I'm not planning on making them fully editable though .. but maybe I'll get talked into it anyway - I know how much some people want this and that these "some" aren't just a handful of people.
Thanks given by:
#16
(09 Jan 11, 04:23PM)DES|V-Man Wrote: The preferable alternative is to submit your work to them and see if they'll include it in the next release.
As we have seen, you have to be a proven cheater for that to happen...

Thanks given by:
#17
Lawl!

See, Flowtron, your path has been paved! Your bed has been made! Make it official.
Thanks given by:
#18
man this would be so useful... im forever pressing f11 when ppl talk on ac :S
Thanks given by:
#19
Another request: Could you please add a scrolling for chat history like the one in the current release (F11 +/-) or at least synchronize it with the frags history?
Thank you.
Thanks given by:
#20
Did you mean, that chat history must be also in console history? Or frags messages must be in chat?
Thanks given by:
#21
So you could scroll back and see the chat messages that were said in the past.
Thanks given by:
#22
Make the dialouge messages output to a txt file, (yes, windows), and then save it to a certain folder you specify. Good to get quotes, logs (when you not an admin) and websites etc.
Thanks given by:
#23
Maybe this is good idea — to save chat log into txt file (like screenshots after match)?
Thanks given by:
#24
Draul was talking about how you can already pipe console out into a text file. (I think?)
Thanks given by:
#25
Scroll-wheel through text console:
bind LCTRL [domodifier c]
loop i 3 [alias (concatword "delta_" (at [edit game spect] $i) "_c") [conskip $arg1]]
Hold down the left ctrl button and your mouse scroll wheel will scroll through the text console.

Stay in sync with the text console (it appears to hold still, more or less, when new entries pop up):
alias pauseconline [
if (strcmp $conline " ") [] [
conskip 1; conline [ ]]
sleep 0 [pauseconline]]
alias unpauseconline [push pauseconline []; sleep 1 [pop pauseconline]]

To use this in conjunction with the wheel scrolling, change the LCTRL bind to this:
bind LCTRL [domodifier c; pauseconline; onrelease [unpauseconline]]

To pipe console output into a text file:
Open assaultcube.bat (Windows) and make it look like this:
bin_win32\ac_client.exe --mod=mods --init %1 %2 %3 %4 %5  >>log.txt
Thanks given by:
#26
(10 Jan 11, 03:35PM)DES|V-Man Wrote: Scroll-wheel through text console:
***snipped***
Hold down the left ctrl button and your mouse scroll wheel will scroll through the text console.

Stay in sync with the text console (it appears to hold still, more or less, when new entries pop up):
***snipped***
To use this in conjunction with the wheel scrolling, change the LCTRL bind to this:
***snipped***
Yay :D
Thanks given by:
#27
eftertanke, this is only for the text console. The Chat area would need more work to allow this.
Thanks given by:
#28
O.o That's a good point.
With this patch, does the terminal output still look the same?
Thanks given by:
#29
I have a feeling that you will miss the chats. Just by knowing what little of the code I do. Sucks for ya'll who get terminal output.
Thanks given by:
#30
I think terminal output will NOT be the same.
Thanks given by: