Bug with Plugins Path trailing backslash or OpCom?

DCH++ has been abandoned, this forum serves mainly as an archive

Moderator: Moderators

Locked
bonch
Posts: 6
Joined: 2005-01-18 18:40

Bug with Plugins Path trailing backslash or OpCom?

Post by bonch » 2005-01-18 18:53

90% of the time the hub appears to hang when the plugin path has a trailing slash.
For example, in dchpp.xml I have:

Code: Select all

<Plugins Path="E:\Program Files\DCH\plugins\">
If I start the hub and try to join :

Code: Select all

[15:38] *** Connecting to 192.168.0.10:34999... 
[15:38] *** Connected
And it stops. Even I don't appear in the userlist, motd never displays, etc... Everything just stops, it seems. The log from this situation looks like this:

Code: Select all

2005-01-18 15:38:10: dchpp: DCH++ v1.0-Release (Plugin API v1.0) started from console
2005-01-18 15:38:10: OpCom: Loading language file: OpCom-Example.xml
2005-01-18 15:38:10: PluginManager: OpCom.dll loaded
On occasion though, the hub will start fine with the trailing slash in there and the bots will work fine. This is a rarity though.

If I remove the trailing slash from the plugins path, Ithe hub works fine (plugins obviously aren't started though).. The log looks like:

Code: Select all

2005-01-18 15:10:39: dchpp: DCH++ v1.0-Release (Plugin API v1.0) started from console
2005-01-18 15:10:39: PluginManager: Failed to load OpCom.dll: The specified module could not be found.
I hope I've included enough info here, if not, just let me know.

bonch
Posts: 6
Joined: 2005-01-18 18:40

Post by bonch » 2005-01-18 19:04

Also, the problem is the same if I use forward slashes as someone did in another thread/

edit: sorry to make a thread about this, I see that someone else already has. Still no solution though.

hot hot link action: http://dcplusplus.sourceforge.net/forum ... hp?t=14680

Locked