Page 3 of 4

Re: ADCH++

Posted: 28 Feb 2009, 18:35
by yapi
ok, why not :) it's weekend so i hope i'll find some time :geek:
btw "the" problem with connection is still there... I left connected linuxdcpp to adchpp since yesterday and today i did reconnect and again I cannot see myself... only when i restart daemon.. and a friend of mine also connected after me and i cannot see him. I think linuxdcpp does not refresh user list. i can see him if i reconnect, but it'll work only when there is not much idle time between server start and reconnection... so i don't know is it a linuxdcpp problem or adchpp problem... :(

Re: ADCH++

Posted: 28 Feb 2009, 19:04
by Toast
ldcpp isnt adc 1.0 but there is an experimental bzr branch at launchpad that you could try

Re: ADCH++

Posted: 09 Mar 2009, 22:45
by lys
u guys got any of the broken scripts here please ?

Code: Select all

2009-03-09 22:43:59: LuaScript: Error loading file: /usr/local/share/lua/5.1/chatcommands.lua:143: attempt to index global 'adch' (a nil value)
2009-03-09 22:43:59: LuaScript: Error loading file: /usr/local/share/lua/5.1/reghelp.lua:4: attempt to index global 'cfg' (a nil value)
2009-03-09 22:43:59: LuaScript: Error loading file: /usr/local/share/lua/5.1/motd.lua:63: attempt to index global 'adch' (a nil value)
2009-03-09 22:43:59: LuaScript: Error loading file: /usr/local/share/lua/5.1/reglist.lua:1: '<eof>' expected near 'elseif'
2009-03-09 22:43:59: LuaScript: Error loading file: /usr/local/share/lua/5.1/opcommands.lua:255: attempt to index global 'adch' (a nil value)
had this running better nearly 2 years ago lol, ideas or sugestions or anything please????

Re: ADCH++

Posted: 10 Mar 2009, 12:35
by Toast
What BZR reversion are you using lys ?

Re: ADCH++

Posted: 11 Mar 2009, 05:19
by lys
Toast wrote:What BZR reversion are you using lys ?

Code: Select all

2009-03-11 05:11:58: adchpp: ADCH++ v2.2.0 (r0) Release starting from console
2009-03-11 05:11:58: SocketManager: Starting
2009-03-11 05:11:58: ScriptManager: Starting
2009-03-11 05:11:58: LuaScript: Loaded /usr/local/share/lua/5.1/access.lua
2009-03-11 05:11:58: LuaScript: Loaded /usr/local/share/lua/5.1/autil.lua
2009-03-11 05:11:58: LuaScript: Loaded /usr/local/share/lua/5.1/history.lua
2009-03-11 05:11:58: LuaScript: Loaded /usr/local/share/lua/5.1/util.lua
2009-03-11 05:11:58: LuaScript: Error loading file: /usr/local/share/lua/5.1/motd.lua:63: attempt to index global 'adch' (a nil value)
2009-03-11 05:11:58: PluginManager: Script.so loaded
2009-03-11 05:11:58: BloomManager: Starting
2009-03-11 05:11:58: PluginManager: Bloom.so loaded

Re: ADCH++

Posted: 11 Mar 2009, 09:44
by Toast
i recommend that you report it at adch++ launchpad site so it can be taken care of

Re: ADCH++ Thread

Posted: 11 Mar 2009, 23:02
by lys
done ;) and by the way why does everyone presume ubuntoo :-/ the startup script and the install script don't work in gentoo linux ( obviously apt get ? ) don't hold ya breath but i think that's not a prob

Re: ADCH++ Thread

Posted: 11 Mar 2009, 23:13
by Toast
lys any help on gentoo platforms are welcomed im a debian freak so apt-get is natural for me but if u wanna helpout and make the script compatible please do :)

Re: ADCH++ Thread

Posted: 17 Sep 2009, 08:56
by Toast
Filename: generate_certs.bat

Code: Select all

@echo off

set Header = ADCH++ Certifcation Generator
echo Check that your Windows Installation got Win32 OpenSSL Installed
echo Win32 OpenSSL - http://www.slproweb.com/products/Win32OpenSSL.html
pause

set SSL=%PROGRAMFILES%\OpenSSL\bin\openssl.exe
if not exist "%SSL%" (
   echo OpenSSL isnt found make sure path is correct, exiting...
   pause
   exit
)

echo OpenSSL is found going ahead with key generation
call "%SSL%" genrsa -out privkey.pem 2048
cls
call "%SSL%" dhparam -outform PEM -out dhparam.pem 1024
cls
call "%SSL%" req -new -x509 -key privkey.pem -out cacert.pem -days 1095
cls
mkdir certs
cd certs
mkdir trusted
cd..
move *.pem certs\

set SSL=
exit
Filename: generate_certs.sh

Code: Select all

#!/bin/bash

echo "Checking for OpenSSL"

if [ "$(which openssl)" ];
        then
        echo "OpenSSL was found, generating keys..."
        openssl genrsa -out privkey.pem 2048
        clear
        openssl dhparam -outform PEM -out dhparam.pem 1024
        openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
        clear

        if [ -f certs/trusted ];
        then
                echo "No need create a directory that already exists"
        else
                mkdir -p certs/trusted
        fi

        mv *.pem certs

        echo "All done!"
else
        echo "Unable to locate OpenSSL, please make sure it is installed"
fi
a small update to adch++ these might be included into the rep

Re: ADCH++ Thread

Posted: 11 Jan 2010, 22:16
by Toast
Here is my build script for adchpp for windows i included a sample ftp script in it

you need to configure it to use your paths line 8-40 hope this helps you compile adchpp and distribute it, it also requires that you have downloaded the source from bazaar since it uses bzr commands to update source and set reversion number