Alek Posted December 21, 2007 Author Share Posted December 21, 2007 (edited) Thanks for posting richedit..everything looks good.. but registering users doesnt seem to work..i looked at the code and dont seem to be able to find the problem.hmm, i dont have the same problem :S but what i did fin was that if you register a new account and press yes when your asked to login nothing happens and you will have to press login button to login properly.Edit: fixed the problem i found. Edited December 21, 2007 by Alek [font="Impact"]Never fear, I is here.[/font] Link to comment Share on other sites More sharing options...
blitzkrg Posted December 21, 2007 Share Posted December 21, 2007 everything works now.. thanks.. nice job! Link to comment Share on other sites More sharing options...
CodeChef Posted January 11, 2008 Share Posted January 11, 2008 I'm new here, but tried this chat app and it's great. I thought I'd throw out a few change suggestions that I quickly made that help it along though... changed client $Ip = GUICtrlRead($Input3) to $Ip = TCPNameToIP (GUICtrlRead($Input3)) so it will do a name lookup yet still work with ip nums. Now you can use a dynamic dns service for the server. And added a function (copied part of the close cleanup) to be called at startup in the server: Func ClearUserBits() $Users = IniReadSectionNames($Database_File) ;Enter user loop. For $x = 1 To $Users[0] ;Set the users online status to 0. IniWrite($Database_File, $Users[$x],"Online_Status","0") Next EndFunc because I saw some comments about manually having to 0 out the ini status field if the server ended abnormally. This way it starts clean (there should never be a 1 in there if the server isn't running) all the time no matter what.... BTW, this is a perfect app for stunnel - an ssl port wrapper that has a windows binary and is free. If there are any concerns about encryption, you can add this second layer easily and transparently by running your connection through it. Thanks for the big piece though! -Chef Link to comment Share on other sites More sharing options...
Mattraks Posted May 10, 2008 Share Posted May 10, 2008 You should keep working on this, its really awesome! Link to comment Share on other sites More sharing options...
metalicaman8 Posted May 16, 2008 Share Posted May 16, 2008 Global Const $tagCHARFORMAT2 = "uint; int;dword; long; long; dword; byte;byte; char[32]; short; short;long; long; long; short;short; byte;b Error: Unterminated string. this is the error I get [center]Take the Magic: The Gathering 'What Color Are You?' Quiz.[/center] Link to comment Share on other sites More sharing options...
jvanegmond Posted May 16, 2008 Share Posted May 16, 2008 (edited) Global Const $tagCHARFORMAT2 = "uint; int;dword; long; long; dword; byte;byte; char[32]; short; short;long; long; long; short;short; byte;b Error: Unterminated string. this is the error I getReplace the string with: Global Const $tagCHARFORMAT2 = "uint;int;dword;long;long;dword;byte;byte;char[32];short;short;long;long;long;short;short;byte;byte;byte;byte" Edited May 16, 2008 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
metalicaman8 Posted May 16, 2008 Share Posted May 16, 2008 Replace the string with: Global Const $tagCHARFORMAT2 = "uint;int;dword;long;long;dword;byte;byte;char[32];short;short;long;long;long;short;short;byte;byte;byte;byte"I would but the line specified by the error message reads: endif Nothing else. Where do I put what you said? [center]Take the Magic: The Gathering 'What Color Are You?' Quiz.[/center] Link to comment Share on other sites More sharing options...
jvanegmond Posted May 16, 2008 Share Posted May 16, 2008 REPLACE: Global Const $tagCHARFORMAT2 = "uint;int;dword;long;long;dword;byte;byte;char[32];short;short;long;long;long;short;short;byte;b yte;byte;byte" WITH: Global Const $tagCHARFORMAT2 = "uint;int;dword;long;long;dword;byte;byte;char[32];short;short;long;long;long;short;short;byte;byte;byte;byte" github.com/jvanegmond Link to comment Share on other sites More sharing options...
Alek Posted July 4, 2008 Author Share Posted July 4, 2008 Bin updated, mostly just the server, but client has bin updated to work with the newest version of Autoit. [font="Impact"]Never fear, I is here.[/font] Link to comment Share on other sites More sharing options...
DexterMorgan Posted July 4, 2008 Share Posted July 4, 2008 Bin updated, mostly just the server, but client has bin updated to work with the newest version of Autoit.Yay... I love this Alex.. Thanks.. code Link to comment Share on other sites More sharing options...
karliky Posted September 20, 2008 Share Posted September 20, 2008 Tnx for the source code Link to comment Share on other sites More sharing options...
playlet Posted August 6, 2009 Share Posted August 6, 2009 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
TuhCaldas Posted October 25, 2011 Share Posted October 25, 2011 hello, an error occurred while trying to compile the client. follows the log. C:\Documents and Settings\Administrador.GEJ16\Desktop\AutoIt3\Include\dllcallback.au3(114,25) : ERROR: undefined macro. If @Unicode Then ~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrador.GEJ16\Desktop\AutoIt3\Include\dllcallback.au3(127,25) : ERROR: undefined macro. If @Unicode Then ~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrador.GEJ16\Desktop\AutoIt3\Include\GuiRichedit.au3(56,40) : ERROR: $EM_SETPASSWORDCHAR previously declared as a 'Const' Global Const $EM_SETPASSWORDCHAR = 0xCC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrador.GEJ16\Desktop\AutoIt3\Include\GuiRichedit.au3(150,37) : ERROR: $WM_LBUTTONDOWN previously declared as a 'Const' Global Const $WM_LBUTTONDOWN = 0x201 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrador.GEJ16\Desktop\AutoIt3\Include\GuiRichedit.au3(151,37) : ERROR: $WM_RBUTTONDOWN previously declared as a 'Const' Global Const $WM_RBUTTONDOWN = 0x204 Link to comment Share on other sites More sharing options...
twitchyliquid64 Posted October 25, 2011 Share Posted October 25, 2011 it was written with an older version of autoit, and you compile with new, different, script breaking one. see da problem? ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search Link to comment Share on other sites More sharing options...
JackER4565 Posted February 9, 2012 Share Posted February 9, 2012 i've deleted the Global Const $EM_SETPASSWORDCHAR = 0xCCGlobal Const $WM_LBUTTONDOWN = 0x201 Global Const $WM_RBUTTONDOWN = 0x204and it still works with the rich from the post.. but the problem is that on the client there are chinese or japanese letters o.o Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now