foereaper / chatclient Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Todo
As the title describes, need support for the officer channel.
Creating drop shadow effect for text in the chatbox. This should make reading the chat with different colors easier.
Stacker already did some work on this
c67d13a
I just found out why it doesn't work on heroes wow.
Player GUID can be larger than 9999, actually no surprise.
Delete friend only works on GUIDs between 100 and 9999 (easy to fix).
And IsPlayer function from BotFarm in World>Utility.cs doesn't seem to work? We need this for the friendlist to properly work in the future when we have more players and a higher GUID count.
Multi line messages aren't supported due to server sending two 0 bytes on some messages and either the stringbuilder resets after being fed a new line or the client doesn't accept it (haven't debugged that yet)
the code still sucks, my solution wasn't perfect either but it did work at least.
[System] : Kepper has come online.
[Party] : You invited 'Kepper' to join your group.
[Party] : Your group has been disbanded.
[Party] :
You joined the group.
Kepper joins the party.
[Party] : You invited 'Biotech' to join your group.
[Party] : Your group has been disbanded.
[Party] : You invited 'Dúúpórá' to join your group.
[Party] : Your group has been disbanded.
[Party] :
You joined the group.
Dúúpórá joins the party.
"Your group has been disbanded.""is wrong, i just got in the party/group.
If you do not have permissions to join a realm (e.g. GM Test realm), and click it.
You'll get stuck at the realmlist and won't be able to return.
Suggestion to add a "back arrow" So you can return back to login while being on the realm selection.
While at it:
Could use a Logout function under File -> Logout
using a timer for auth checking and then jumping from the timer code thread to a new one is asking for problems, in fact the timer keeps running in the background and when calling a from disasters will happen!
Logs out logged in client when logging in on a new (chat) client.
So you don't have to close the old one before you can login.
Not sure if this is doable without breaking auto-login?
For better readability so we can set a fixed background color that looks better instead of black for example.
Todo:
Properly handle color formatting for system messages like a cheater.
Example of a real cheater by the way;
[System] : |cFFFFFC00[AC]|cFF00FFFF[|cFF60FF00Papa|cFF00FFFF] Possible cheater!
When using a non-existing channel the client will crash. Example:
/b
This is related to the GUI-Test update support for channel switching.
Upon login there is currently no 'Username or password are incorrect' message.
Just blinks the Login key and nothing happens.
I think this worked in an earlier version. Pressing enter to log-in no longer works.
It blinks the Login button, but nothing happens.
https://stackoverflow.com/questions/51306510/sendmessage-charformat2-text-effect-cfe-shadow
Seems like my question is either too complicated or just really dumb ??
I'll leave it up to you guys.
Who wants to port cpp to csharp?
https://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DynamicDPI/cpp/SampleRichEditControl.cpp
We only need to port this and change dwEffects parameter from CFE/CFM _BOLD to CFE/CFM _SHADOW ?
Sorting rows in the tabs is not implemented yet.
Just an issue to remind to handle guild roster and make view able in the GUI.
Example:
My char has name: Dúúpér
When Dúúpér invites: Kepper
The name Kepper is not getting resolved by using PlayerNameLookup in the Chat Form void DisplayGroupList .. out string value stays null for some reason.
Using gm commands no longer works on the chat client. Not sure if this is related to the channel swapping system.
This can be tested from a non gm account using the .help command
String builder needs improvement to support color chat and possibly in the future item links.
probably something I forgot or a typo.
As you requested @StackerDEV :-)
classes-factions-races.zip
Achievements are currently shownb as %s has earned the achievement $a!
Added an xlsx file formatted as: ID | Achievement Name
New dropdown next to chat field needs to dynamically populate based on players current status (Is player in guild? Is player an officer? Is player in a party? Etc.) and current joined static and custom channels.
Whisper reply would also be nice, where last whispered people would show by name
When typing .pinfo the latest client crashes.
`See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Could not find any recognizable digits.
at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
at System.Convert.ToInt32(String value, Int32 fromBase)
at System.Drawing.ColorTranslator.FromHtml(String htmlColor)
at BotFarm.FrmChat.systemChannelColor(String channelText) in C:\Users\adm.nexus\Desktop\cc\Client\Forms\FrmChat.cs:line 279
at BotFarm.FrmChat.msgPull_Tick(Object sender, EventArgs e) in C:\Users\adm.nexus\Desktop\cc\Client\Forms\FrmChat.cs:line 193
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
`
When your connection (to the server) breaks the chatclient stays open and doesn't update anymore.
Need some sort of keep-alive ping to verify if the connection to the server is still available. -> If not, return to login form and show disconnected popup.
Need to add automated chat line removal with a configurable line amount, and setting to automatically save the removed lines to a chat log file
Some minor visual thing.
The system drawing icon does not appear to change. Probably something stupid I cannot find 💯
Doesn't change to -> 5caa3eb#diff-1aedec210afbb956f23d3653044ad72f
At the moment there is only an option to create custom channels.
There should be a way to join already made custom channels by either /join or menu -> Join channel.
The /join commands works this way:
If channel does not exist -> creates channel
If channel exists -> Join channel (I believe if there is a password the server will give a feedback)
Additional issue:
Creating a new channel does not assign a number to the channel, so no way to communicate in there.
Example:
[System] : |cffffcc00Have you seen our WoWGasm shop yet? You can vote or donate for great rewards! |r
GUI now uses a timer (lol) to poll new messages from the class to the GUI.
There must be a better way of doing this, less cpu intensive. Maybe with a event handler delegate?
or
https://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged(v=vs.110).aspx
For more information see the code comment or README.md.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.