This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

my eggdrop can not join in channel with ascii codes :(

General support and discussion of Eggdrop bots.
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

my eggdrop can not join in channel with ascii codes :(

Post by Syem »

I have one chan and no have protection for this because my eggdrops can not join this because containts ascii codes .
This is my channel #ʞɔƞɟ.əɥʇ.ʇɐɥʍ . Can help me that problem ? I want one tcl to make eggdrop to read this code... ex: Ϟ ڤ Ф ܔ ܞ etc... Or just make read #ʞɔƞɟ.əɥʇ.ʇɐɥʍ for join in chan... (sorry for my english) .Thanks.
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

So you're typing .+chan #ʞɔƞɟ.əɥʇ.ʇɐɥʍ in partyline but the bot's entering a different channel?
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

I try manny commands... not working. Eggdrop join to #žTž_.Ye‡.‡Pe :(
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

Ok thx man. But i dont understant what say thommey... how to install what say thommey ? it is a tcl or ?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Syem wrote:Ok thx man. But i dont understant what say thommey... how to install what say thommey ? it is a tcl or ?
It's a patch file applied to eggdrop source before (re)compiling.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

I try to install this patch ( patch -pl < exemple.patch ) but is not work, i get this error "patch: **** strip count l is not a number". Or this command for install this patch is incorrect ?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try:

Code: Select all

patch -p0 <exemple.patch
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

Hmm.. i try what you say, and result this line :

Code: Select all

root@blu:/dev/shm/eggdrop1.6.19$ patch -p0 <eggdr.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- eggdrop1.6.18.original/src/main.h   2006-03-28 04:35:50.000000000
+0200
|+++ eggdrop1.6.18.utf8/src/main.h       2008-04-01 20:57:29.000000000 +0200
--------------------------
File to patch:
In src folder result same error
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

Hmm.. no one can help me ?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Try using a higher value for -p, ie 1.
NML_375
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

Dont work, same error :( . Maibe its another command for install this patch.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Well, you could always apply the patch manually...

The -p switch simply tells "patch" how much of the file-paths to trim off..
0 means keep as is, 1 means drop the first folder in the path, and so on..

From what you posted, patch looks for the file "main.h" at the relative location of "eggdrop1.6.18.original/src/" (translates to "/dev/shm/eggdrop1.6.19/eggdrop1.6.18.original/src/main.h"). Most likely, it should look for "src/main.h", and this is where -p1 comes in... It tells "patch" to drop the "eggdrop1.6.18.original" part...

Also make sure you're in the correct directory yourself when you issue the command (where you unpacked the source).
NML_375
S
Syem
Voice
Posts: 14
Joined: Sat Jul 05, 2008 9:20 pm

Post by Syem »

I downloaded eggdrop.1.6.18, and i put patch (eggdr.patch) in folder base, and i have install patch with this command "patch -p1 <eggdr.patch" , and result this :

Code: Select all

patch -p1 <eggdr.patch
patching file src/main.h
Reversed (or previously applied) patch detected!  Assume -R? [n] yes
patching file src/tcl.c
Hunk #1 FAILED at 650.
1 out of 1 hunk FAILED -- saving rejects to file src/tcl.c.rej
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

What was the content of the src/tcl.c.rej file?
NML_375
Post Reply