View Full Version : AMC Messenger [Open 2 All]
rexzooly
03-24-2008, 02:31 PM
Everyone Run Project:
Name:
AMC Messenger
You Will Need:
1.A website or local webserver that as php and mysql
2.A copy of php121 installed
3.The Files Below.
This is not any diffrent to A.B.B.O but simply is open for anyone to change
edit or whatever and one or two images changed also removed none needed
code and files that as no longer been used.
hope some of you enjoy :)
I am including the Apz and Serverside.rar
you will need php121 installed on a web server details of
php121 can be found at there website www.php121.com
(http://www.php121.com)
simply copy all the files within the Serverside.rar there should be 3 files
within this rar, unrar to your pc and upload to your server i don't advise
editing these file as this will brake the way the messenger is set up to work with them files.
//EDIT//
Also remeber to change the url under Globle or the messenger wont talk to your server lol
Also if you rename the DIR of php121 to something else remeber to change the DIR under Globle also
//END EDIT//
i am intrested in what people come up with please if you get time post back with what you
have used it for or what you have changed then give use all a tast :)
This as been in a along time of making as well i am not as smart as some people
on here so sorry if some of the code is wrong or a little but crazy.
Sorry for the images i have used also aka Kai and the alienware image
as i could not find any good once and now i have none as i have just
to night reformated my system.
Credit:
Credit is to everyone and no one we all get a fair share of credit :D
also sorry have to stat this but a big credit gose to AMS(Indigrose) for
a great product in the first place :p
Enjoy :)
Files below:
screwed over
03-24-2008, 05:36 PM
thanks, might find this very useful. is there anyway to send data other than text through it? It would be more useful to me than air if you could.
rexzooly
03-25-2008, 05:44 AM
thanks, might find this very useful. is there anyway to send data other than text through it? It would be more useful to me than air if you could.
if you can find a php script that lets you send data/files then i can see
it its possable to adapt the program to be able to send files to other usres online
i am not sure tho if thats possable one way would be to add a shared web folder
but all members using the software would be able to see the files you upload.
but php121 dose not support file trasnfer so i am not sure how i would get around that one.
Update:
Bug fix needed.
Ok i remeber now that there is a bug if you open the software twice and close
one it will deleted then decypited file its using away around this was to
make a boot.exe that booted the main messenger i have got this but others
might want to do it other ways to stop it from doing this.
I will post a new version later today or tomorrow with the added Boot.exe
i will also if i get time get a copy if php121 to bundle with it so everything
you need is in one place. but i will be only getting the standard version
not the suppoters version as only the person planing to use php121
supporters version is able to donate and get it.
Thanks for the idea screwed over i will look in to this later if i get time.
FoxLeader
03-25-2008, 07:26 PM
Hello,
Just my opinion on this: you would need to upload a file to the server then download it to ther other's computer. I think it might be possible to make something like a box.net (or any similar service) integrated interface, however I wouldn't recommend you uploading files using your personal server.
Though that's only my opinion. Hope that helps ;)
FoxLeader
screwed over
03-25-2008, 08:39 PM
Ok i remeber now that there is a bug if you open the software twice and close
one it will deleted then decypited file its using away around this was to
make a boot.exe that booted the main messenger i have got this but others
might want to do it other ways to stop it from doing this.
why not on exit make it search through the open processes to see if theres more than one occurences of the application? and if there isnt then delete the file.
also, is it able to transfer things such as commands? e.g. for an admin? i could probably do that using text (e.g. /Ban_uName) but that way anyone could ban someone etc.
thanks again for an awesome post!
rexzooly
03-26-2008, 05:32 AM
why not on exit make it search through the open processes to see if theres more than one occurences of the application? and if there isnt then delete the file.
i am not sure how to do this maybe a little example if you could in your spare time?
also, is it able to transfer things such as commands? e.g. for an admin? i could probably do that using text (e.g. /Ban_uName) but that way anyone could ban someone etc.
thanks again for an awesome post!
PHP121 already covers that but so i don't have to lol erm soon as you install make the first account that becomes the owner/admin account there for that account only unless you make someone else admin also that is the only account that is able to block users.
hope that awsers that one for you.
FoxLeader thanks yes i was thinking somthing on these lines but with maybe more of a locked down limit if run on a standard server but i am still lost how
to intergrat with with the users its a idea i am working on but not going to add untill i know way lot more what i am doing on that matter but talking about box.net i am setting up a Mirror site for AMS still working on the upload
options it will work with the file that needs to be mirrored will be uploaded to a temp i will be emailed with that users request of mirror and then i set
the mirror up its for this forum only so over user should not be a problem.
screwed over
03-26-2008, 09:43 AM
ok, try this (should work):
on StartUp
--if File.IsInUse("Boot.exe") then
Crypto.Base64DecodeFromFile("lanbuds.sys", "lanbuds.sys_temp");
IsConnected = HTTP.TestConnection("http://google.com", "2", "80", nil, nil);
if (IsConnected == false) then
Dialog.Message("Notice", "No Internet connection was detected.");
Application.Exit();
end
Connected = HTTP.TestConnection(sSurl , "2", "80", nil, nil);
if (Connected == false) then
Dialog.Message("Service Error", "We are sorry this service seems to be\r\ndown at this time please try later.");
Application.Exit();
else
Page.Jump("Page1");
end
if File.DoesExist(_WindowsFolder.."\\AMC\\Data.ini") then
wOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences")+1;
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc);
else
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", "1");
end
on ShutDown:
INIFile.SetValue("lanbuds.sys_temp", "URL", "F", "php121login");
StatusDlg.Show(MB_ICONNONE, false);
StatusDlg.ShowProgressMeter(true);
Crypto.Base64EncodeToFile("lanbuds.sys_temp", "lanbuds.sys", 0);
StatusDlg.Hide();
if File.DoesExist(appPathOriginal().."\\lanbuds.sys_temp") then
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc-1);
nOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences");
if nOcc <= 0 then
File.Delete(appPathOriginal().."\\lanbuds.sys_temp");
end
end
GW = Web.GetURL("Web1");
GR = sSurl..sSdir.."php121login.php"
if GW ~= GR then
Web.LoadURL("Web1", sSurl..sSdir.."php121login.php?op=logout");
end
rexzooly
03-26-2008, 09:48 AM
ok, try this (should work):
on StartUp
--if File.IsInUse("Boot.exe") then
Crypto.Base64DecodeFromFile("lanbuds.sys", "lanbuds.sys_temp");
IsConnected = HTTP.TestConnection("http://google.com", "2", "80", nil, nil);
if (IsConnected == false) then
Dialog.Message("Notice", "No Internet connection was detected.");
Application.Exit();
end
Connected = HTTP.TestConnection(sSurl , "2", "80", nil, nil);
if (Connected == false) then
Dialog.Message("Service Error", "We are sorry this service seems to be\r\ndown at this time please try later.");
Application.Exit();
else
Page.Jump("Page1");
end
if File.DoesExist(_WindowsFolder.."\\AMC\\Data.ini") then
wOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences")+1;
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc);
else
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", "1");
end
on ShutDown:
INIFile.SetValue("lanbuds.sys_temp", "URL", "F", "php121login");
StatusDlg.Show(MB_ICONNONE, false);
StatusDlg.ShowProgressMeter(true);
Crypto.Base64EncodeToFile("lanbuds.sys_temp", "lanbuds.sys", 0);
StatusDlg.Hide();
if File.DoesExist(appPathOriginal().."\\lanbuds.sys_temp") then
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc-1);
nOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences");
if nOcc <= 0 then
File.Delete(appPathOriginal().."\\lanbuds.sys_temp");
end
end
GW = Web.GetURL("Web1");
GR = sSurl..sSdir.."php121login.php"
if GW ~= GR then
Web.LoadURL("Web1", sSurl..sSdir.."php121login.php?op=logout");
end
Whats this new INI file doing ?
I will have a play later with this new code just busy with my site and i have to go out in like 13 mins to meet family.
looks complexs and good lol just a little info on it please :)
Thanks for all the intrest :yes
screwed over
03-26-2008, 01:06 PM
its basicly adding 1 to the occurences in that ini file on open and then subtracting 1 one close, it then checks if theres no occurences and if there is then it doesnt delete the file.
rexzooly
03-26-2008, 03:39 PM
its basicly adding 1 to the occurences in that ini file on open and then subtracting 1 one close, it then checks if theres no occurences and if there is then it doesnt delete the file.
Ok thanks changers will be added later as a i think it makes the code look
more well pro looking lol and its not a option i thought if using and makes
it all in one exe but i would like also tell the user beforer the program closes
if there is more then one open to tell the user online one instandes of the software
can be used at any one time.
:yes:yes
rexzooly
03-26-2008, 06:04 PM
So So Sorry i did not releace the Fix tonight i was wanting to just get the Mirror
site all working seems to be all there now so i will do the fix's tomorrow sorry.
AMC Messenger after this Fix will also be mirrored there
The Source and the exe with the server Files needed to make
it work with a link to php121.com to get that installed on your
server :).
If i get time i might also install php121 on another one of my sites as a test
server for Dev's
Rex
rexzooly
04-08-2008, 07:38 PM
ok, try this (should work):
on StartUp
--if File.IsInUse("Boot.exe") then
Crypto.Base64DecodeFromFile("lanbuds.sys", "lanbuds.sys_temp");
IsConnected = HTTP.TestConnection("http://google.com", "2", "80", nil, nil);
if (IsConnected == false) then
Dialog.Message("Notice", "No Internet connection was detected.");
Application.Exit();
end
Connected = HTTP.TestConnection(sSurl , "2", "80", nil, nil);
if (Connected == false) then
Dialog.Message("Service Error", "We are sorry this service seems to be\r\ndown at this time please try later.");
Application.Exit();
else
Page.Jump("Page1");
end
if File.DoesExist(_WindowsFolder.."\\AMC\\Data.ini") then
wOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences")+1;
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc);
else
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", "1");
end
on ShutDown:
INIFile.SetValue("lanbuds.sys_temp", "URL", "F", "php121login");
StatusDlg.Show(MB_ICONNONE, false);
StatusDlg.ShowProgressMeter(true);
Crypto.Base64EncodeToFile("lanbuds.sys_temp", "lanbuds.sys", 0);
StatusDlg.Hide();
if File.DoesExist(appPathOriginal().."\\lanbuds.sys_temp") then
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc-1);
nOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences");
if nOcc <= 0 then
File.Delete(appPathOriginal().."\\lanbuds.sys_temp");
end
end
GW = Web.GetURL("Web1");
GR = sSurl..sSdir.."php121login.php"
if GW ~= GR then
Web.LoadURL("Web1", sSurl..sSdir.."php121login.php?op=logout");
end
Vista had a problem with me using this software on limited users and
using the windows folder so i have added it to the app folder
if File.DoesExist(appPathOriginal().."\\AMC\\Data.ini") then
wOcc = INIFile.GetValue(appPathOriginal().."\\AMC\\Data.ini", "Messenger", "Occurences")+1;
INIFile.SetValue(appPathOriginal().."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc);
else
INIFile.SetValue(appPathOriginal().."\\AMC\\Data.ini", "Messenger", "Occurences", "1");
end
rexzooly
04-08-2008, 07:52 PM
if File.DoesExist(appPathOriginal().."\\lanbuds.sys_temp") then
INIFile.SetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences", wOcc-1);
nOcc = INIFile.GetValue(_WindowsFolder.."\\AMC\\Data.ini", "Messenger", "Occurences");
if nOcc <= 0 then
File.Delete(appPathOriginal().."\\lanbuds.sys_temp");
end
end
Also this dose not work gives me a error about w0cc-1
RizlaUK
04-08-2008, 07:58 PM
i would change
"_WindowsFolder"
with
Shell.GetFolder(SHF_MYDOCUMENTS).."My App Name"; on vista
and
Shell.GetFolder(SHF_APPLICATIONDATA) on xp and anything else
unless you can know for sure the user has access to write to restricted areas then use common unprotected areas to save application settings
rexzooly
04-08-2008, 08:21 PM
i would change
"_WindowsFolder"
with
Shell.GetFolder(SHF_MYDOCUMENTS).."My App Name"; on vista
and
Shell.GetFolder(SHF_APPLICATIONDATA) on xp and anything else
unless you can know for sure the user has access to write to restricted areas then use common unprotected areas to save application settings
Thanks for the tips :) will test them out tomorrow.
Just need to get this other thing working that screwed over posted.
rexzooly
04-11-2008, 06:44 AM
I am closing work on AMC Messenger sorry time is just not on my site
the files what are here will be here for the next week or so then i will remove
them to alowe space for other projects thanks :)
if you want the code after take down just pm me i will be happy to give
you it if i still have it.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.