ADCH++ Thread

Discussion and questions about hub software
yapi
Newbie
Posts: 8
Joined: 25 Feb 2009, 15:24

Re: ADCH++

Post by yapi » 28 Feb 2009, 18:35

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... :(

Toast

Re: ADCH++

Post by Toast » 28 Feb 2009, 19:04

ldcpp isnt adc 1.0 but there is an experimental bzr branch at launchpad that you could try

lys
Junior Member
Posts: 25
Joined: 09 Feb 2008, 16:42

Re: ADCH++

Post by lys » 09 Mar 2009, 22:45

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????

Toast

Re: ADCH++

Post by Toast » 10 Mar 2009, 12:35

What BZR reversion are you using lys ?

lys
Junior Member
Posts: 25
Joined: 09 Feb 2008, 16:42

Re: ADCH++

Post by lys » 11 Mar 2009, 05:19

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

Toast

Re: ADCH++

Post by Toast » 11 Mar 2009, 09:44

i recommend that you report it at adch++ launchpad site so it can be taken care of

lys
Junior Member
Posts: 25
Joined: 09 Feb 2008, 16:42

Re: ADCH++ Thread

Post by lys » 11 Mar 2009, 23:02

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

Toast

Re: ADCH++ Thread

Post by Toast » 11 Mar 2009, 23:13

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 :)

Toast

Re: ADCH++ Thread

Post by Toast » 17 Sep 2009, 08:56

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
Attachments
Cert_Generator.7z
Contains both files
(823 Bytes) Downloaded 615 times

Toast

Re: ADCH++ Thread

Post by Toast » 11 Jan 2010, 22:16

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
Attachments
adchpp_batch_build_script_0.1.1.7z
(1.71 KiB) Downloaded 677 times

Locked