Sinisterly
Batch Chat (WeChat) Project - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Batch Chat (WeChat) Project (/Thread-Batch-Chat-WeChat-Project)

Pages: 1 2


Batch Chat (WeChat) Project - SsCriPteR - 09-27-2013

Hello guys, I'm working in a project, i already spend many hours on this, because im kinda newbie in batch scripting.

I've made a chat, I will let it BELLOW for you guys download it! Smile



How does it work?

Take a look

[Image: ZEjGg.png]


This is how it looks like Wink



[Image: BeyCg.png]


I hope you guys like it, it have some bugs, im trying to fix it and add it more commands...

I hope to help some people! Smile
Btw, if someone here knows some batch scripting and wants to help with this project, send me a PM Wink




Download:
Download WeChat Project ( Click Me! )

VirusTotal: [/color]3/10 (False Alarm)
https://www.virustotal.com/pt/file/9b25ce2cfbbaaee89397bcc1a5ab48b56caec4d0c02a547b54ea328e011761b8/analysis/1380304916/


Script:

Chatter:
Code:
@echo off Title WeChat echo Welcome to WeChat echo. echo ################################## echo Commands: echo /cleanchat (delete chat data) echo ################################## echo. set /p username=Enter Your Name: echo %username% has joined the chat! >> join.txt :MESSAGE set /p message=Say: if %message%== /cleanchat DEL log.txt :SEND echo %username%: %message% >> log.txt goto MESSAGE


Reader:


Code:
@echo off Tittle WeReader :read cls type join.txt echo. type log.txt echo. ping localhost n l -w 100 > nul goto read



RE: Batch Chat (WeChat) Project - Slarek - 09-27-2013

I think this is nice. If you're not good at Batch this will be good practice for you.
Although i think people will use web-based chat system instead of this since they're easier to use.
There's one thing i didn't understand, those epic smiles. Why so many?


RE: Batch Chat (WeChat) Project - SsCriPteR - 09-27-2013

When i previewed the post, the Download zone was too black, it needed some smiles.. xD And i never tryed epic smiles before in other websites.


RE: Batch Chat (WeChat) Project - Slarek - 09-27-2013

(09-27-2013, 07:19 PM)SsCriPteR Wrote: When i previewed the post, the Download zone was too black, it needed some smiles.. xD And i never tryed epic smiles before in other websites.

Your post looks more mature if you use less.


RE: Batch Chat (WeChat) Project - SsCriPteR - 09-27-2013

U right, im gonna edit it Wink ty!


RE: Batch Chat (WeChat) Project - noize - 09-27-2013

Well, perhaps you should mention this is not an actual chat. You can chat with you, yourself, your own person/alterego or the guy sitting next to you, in a quite unpractical way, though (I pretty much prefer yelling to myself).

Typo:

Code:
Tittle WeReader

This makes instead completely no sense:

Code:
ping 85.138.41.173 n l -w 100 > nul goto read



RE: Batch Chat (WeChat) Project - shock - 09-28-2013

To Noize's post, that ping is just a delay of 100ms, very good idea, but the only thing is, you can chat with you and only you, a bit of work and you can make it chat on lan, and a bit more than that you can make it work via the internet, I've done this project in the past, you can check mine with it's source at blog.shockjpc.co.za, if you need help with yours don't hesitate to send me a pm and we can chat Smile


RE: Batch Chat (WeChat) Project - noize - 09-28-2013

Quote:a bit of work and you can make it chat on lan, and a bit more than that you can make it work via the internet, I've done this project in the past, you can check mine with it's source at blog.shockjpc.co.za, if you need help with yours don't hesitate to send me a pm and we can chat Smile

You cannot make a WAN chat with Batch alone. I checked your project on your blog and I thought you were saying that you made it, but that's just another lonesome-talkers' chat. The source code is really, weird. You're turning ECHO on and off pretty much randomly. The beginning of the file:

Code:
@ECHO OFF REM BFCPEOPTIONSTART REM Advanced BAT to EXE Converter www.BatToExeConverter.com REM BFCPEEXE=C:\Documents and Settings\shock\Desktop\TEST.exe REM BFCPEICON= REM BFCPEICONINDEX=0 REM BFCPEEMBEDDISPLAY=0 REM BFCPEEMBEDDELETE=1 REM BFCPEADMINEXE=0 REM BFCPEINVISEXE=0 REM BFCPEVERINCLUDE=0 REM BFCPEVERVERSION=1.0.0.0 REM BFCPEVERPRODUCT=xTremeChat REM BFCPEVERDESC=By Jean-Pierre Coetzee REM BFCPEVERCOMPANY=Shock and Co. REM BFCPEVERCOPYRIGHT=Jean-Pierre Coetzee 2012 REM BFCPEOPTIONEND @ECHO ON @echo off

And, the loading thing might be fancy to you or whatever, but it's an avoidable waste of time. Just talking about the very first part of the program.

This might be good for you to practice if you're a beginner with Batch, but I can't see why releasing a non-chatting chat program coded in a ridiculous way (I'm not talking about your coding style, but just about the fact that, for instance, you're turning ECHO on and off several times in the program for no reason at all).


RE: Batch Chat (WeChat) Project - GRAFFITI Pride - 09-30-2013

TS I have a question. I search from google how to chat via cmd. Even there are apps use now to chat like "skype" etc. It just that catch my interest how to chat in cmd.

When I'm reading those website that result from google. Their problem is OS compatibility about vista etc.

I notice that you are using classic theme. I don't know if you are running on "safemode" or you just change your theme.

I just wonder... what OS are you using?


RE: Batch Chat (WeChat) Project - GRAFFITI Pride - 09-30-2013

TS I have a question. I search from google how to chat via cmd. Even there are apps use now to chat like "skype" etc. It just that catch my interest how to chat in cmd.

When I'm reading those website that result from google. Their problem is OS compatibility about vista etc.

I notice that you are using classic theme. I don't know if you are running on "safemode" or you just change your theme.

I just wonder... what OS are you using?