DCH++ - Page 3
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

DCH++

Started by RiPOFF, 28 January, 2005, 22:29:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Psycho_Chihuahua

#50
got the hub compiled, but how do i compile the scripts?


somehow cant get them running  ;(


btw: usin win 2003 sp1


Ok got them compiled but now i end up with this when i start the hub

1. this one



2. then this one




3. and then it runs



after clicking those 2 messages away the hub works but doesnt load scripts.

has anyone had this prob to?
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Psycho_Chihuahua

ok i found out where i went wrong ^^


only had made the debug versions lol all working now
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

(uk-kingdom)John

QuoteOriginally posted by Quattro
QuoteOriginally posted by Quattro
originaly posted by meka meka :P
mem is not a prob, cpu isnt a prob, but users that dont search 'tested' are not just
being dropped, all connecting users are being dropped
whilst its under attacked


Could be but when a hub is under attack it shouldn't allow anything in because that would pose a security threat wouldn't it?

*sorry for pagestretching :S*

To come back on my post....
I had a flooder in my DCH++ hub several days ago, I think it was a Ptokax Hub destroyer dunno for sure....
But it flooded at 3 posts a second and was pumping my hub full of users and was trying the myinfospam...
The hub used at max 26 MB of memory.....
My computer kept working en i could get the ip of the spammer through the simple log..
I think the hubsoft passed very well...

*edit*
Lost al my users during the attack though
Set my floodtrigger a little faster now
*edit*

did u check the cpu? mine went to 77% --> 99% on a flood/attack test..

Psycho_Chihuahua

any ideas on how to get the lua scripts working on dchpp++?

from what i can see they are supposed to be in /Scripts/
i.e:    Scripts/
and loaded through the LuaScript.xml something like this

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   



or am i madly mistaken? They just dont wanna work even though they are scripts from the same place as the hub is

all i get in the Log is

2005-02-19 03:10:34: LuaScript: Failed reading AntiAdv.lua: Das System kann den angegebenen Pfad nicht finden.
2005-02-19 03:10:34: LuaScript: Failed reading AntiLeet.lua: Das System kann den angegebenen Pfad nicht finden.
2005-02-19 03:10:34: LuaScript: Failed reading CensorBot.lua: Das System kann den angegebenen Pfad nicht finden.
2005-02-19 03:10:34: LuaScript: Failed reading ChatHistory.lua: Das System kann den angegebenen Pfad nicht finden.
2005-02-19 03:10:34: LuaScript: Failed reading FileChecker.lua: Das System kann den angegebenen Pfad nicht finden.
2005-02-19 03:10:34: LuaScript: Failed reading OpComExtra.lua: Das System kann den angegebenen Pfad nicht finden.
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Psycho_Chihuahua

thnx for the Info Mutor, but even after i changed the Path in the config (LuaScript.xml) to scripts/, it still says it cant find the scripts....

Could it be that i did something wrong in compiling? I've tried about 4 times already and also copied the scripts folder all over the place
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

VidFamne

Have you tried absolute path?

Psycho_Chihuahua

Found my mistake...i had copied the scripts folder everywhere exept where iit had to be....

i guess i should stop smoking pot ^^

thnx for the help anyways
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Pothead

hehe Mutor, a man after my own heart.

QuoteOriginally posted by ??????Hawk??????
Probably  because if you are not Capable of  compiling it  then you " Probably " not capable of configuring it and running it....  Choose another Hub Soft...
This is what i thought as well, but what plop says makes a lot of sense.   Updating the source is as easy as clicking on a .bat file.  

I got it 2 days after release and had it compiled 10 mins later, and don't see what all the trouble is (i'm no programming wizard either).  

Only problems i've got with it is the -3 user count in Dreamlands and the hanging on Connected part, if you start and stop the hub a few times (moving the directory sorts this, but is a pain)

FleetCommand

I haven't found any other dchpp forum on the net, so I try to ask here.

I downloaded the new svn today, ./configure works fine, but the make doesn't semms to like me ;)

Do anyone has some idea?

FleetCommand

Quote
fleet@elite:~/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0$ make
Making all in hub
make[1]: Entering directory `/home/fleet/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0/hub'
make  all-am
make[2]: Entering directory `/home/fleet/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0/hub'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -DBUILDING_DCHPP=1 -Wall -g -O2 -MT libdchpp_la-AccessManager.lo -MD -MP -MF ".deps/libdchpp_la-AccessManager.Tpo" -c -o libdchpp_la-AccessManager.lo `test -f 'AccessManager.cpp' || echo './'`AccessManager.cpp; \
then mv -f ".deps/libdchpp_la-AccessManager.Tpo" ".deps/libdchpp_la-AccessManager.Plo"; else rm -f ".deps/libdchpp_la-AccessManager.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I. -DBUILDING_DCHPP=1 -Wall -g -O2 -MT libdchpp_la-AccessManager.lo -MD -MP -MF .deps/libdchpp_la-AccessManager.Tpo -c AccessManager.cpp  -fPIC -DPIC -o .libs/libdchpp_la-AccessManager.o
In file included from AccessManager.h:19,
                 from AccessManager.cpp:15:
Util.h: In instantiation of `IsOfClassType':
Util.h:38:   instantiated from `TypeTraits'
AccessInfo.h:35:   instantiated from here
Util.h:33: error: invalid use of undefined type `class IsOfClassType'
Util.h:28: error: declaration of `class IsOfClassType'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType':
Util.h:38:   instantiated from `TypeTraits'
AccessInfo.h:37:   instantiated from here
Util.h:33: error: invalid use of undefined type `class
   IsOfClassType'
Util.h:28: error: declaration of `class IsOfClassType'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType':
Util.h:38:   instantiated from `TypeTraits'
AccessInfo.h:39:   instantiated from here
Util.h:33: error: invalid use of undefined type `class IsOfClassType'
Util.h:28: error: declaration of `class IsOfClassType'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType':
Util.h:38:   instantiated from `TypeTraits'
AccessInfo.h:43:   instantiated from here
Util.h:33: error: invalid use of undefined type `class IsOfClassType'
Util.h:28: error: declaration of `class IsOfClassType'
Util.h:33: error: enumerator value for `Result' not integer constant
make[2]: *** [libdchpp_la-AccessManager.lo] Error 1
make[2]: Leaving directory `/home/fleet/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0/hub'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fleet/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0/hub'
make: *** [all-recursive] Error 1
fleet@elite:~/dc-hubs/dchpp/dchpp-1.0-szep13/dchpp-1.0$


FleetCommand

AH

Maybe I got the reason. g++ seems to be too old. Well, tomorrow I'll see it... I hope.

SMF spam blocked by CleanTalk