[Include] Cleverbot - Never Be Alone Again!
#21

very nice job now i dont need to talk with myself
Reply
#22

Will this happen when anyone talks or only when anyone talks when there are only 1 player ?
Reply
#23

Lolz this is awesome!
Reply
#24

Код:
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : error 017: undefined symbol "format"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(31) : error 017: undefined symbol "SendClientMessage"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : error 017: undefined symbol "format"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(37) : error 017: undefined symbol "SendClientMessage"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
uh what? help? i get this when i try to compile the include file. :S
Reply
#25

Quote:
Originally Posted by xXitsgodzillaXx
Посмотреть сообщение
Код:
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : error 017: undefined symbol "format"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(30) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(31) : error 017: undefined symbol "SendClientMessage"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : error 017: undefined symbol "format"
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(36) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\CleverBot.inc(37) : error 017: undefined symbol "SendClientMessage"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
uh what? help? i get this when i try to compile the include file. :S
You're not suppose to compile the include. Put the .inc file in your pawno/include folder then go to your gamemode and do
pawn Код:
#include <CleverBot>
also check the example on the first post to see how it it's working.
Reply
#26

Quote:
Originally Posted by Fj0rtizFredde
Посмотреть сообщение
You're not suppose to compile the include. Put the .inc file in your pawno/include folder then go to your gamemode and do
pawn Код:
#include <CleverBot>
also check the example on the first post to see how it it's working.
what i meant to say was, thats what i get when i compile my GM with the include installed, sorry for that i was tired. lol

*EDIT* okay never mind i put

pawn Код:
#include <CleverBot>
above

pawn Код:
#include <a_samp>
*EDIT 2* okay, hopefully this is the last time i edit this post XD

BUT, im getting a warning saying

Код:
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(3674) : warning 203: symbol is never used: "message"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
im not sure were i have to put

pawn Код:
CMD:message(playerid, params[])
{
    if(isnull(params)) return SendClientMessage(playerid,-1,"Error Use It Like This: /message [Text]");
    new test[128];
    format(test, sizeof(test), "Me: %s", params);
    SendClientMessage(playerid, 0xFFFFFFFF, test);
    SendPlayerMessageToCleverbot(playerid, params);
    return 1;
}
is there any specific function im supposed to put it under?
Reply
#27

Quote:
Originally Posted by xXitsgodzillaXx
Посмотреть сообщение
what i meant to say was, thats what i get when i compile my GM with the include installed, sorry for that i was tired. lol

*EDIT* okay never mind i put

pawn Код:
#include <CleverBot>
above

pawn Код:
#include <a_samp>
*EDIT 2* okay, hopefully this is the last time i edit this post XD

BUT, im getting a warning saying

Код:
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(3674) : warning 203: symbol is never used: "message"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
im not sure were i have to put

pawn Код:
CMD:message(playerid, params[])
{
    if(isnull(params)) return SendClientMessage(playerid,-1,"Error Use It Like This: /message [Text]");
    new test[128];
    format(test, sizeof(test), "Me: %s", params);
    SendClientMessage(playerid, 0xFFFFFFFF, test);
    SendPlayerMessageToCleverbot(playerid, params);
    return 1;
}
is there any specific function im supposed to put it under?
That code is for ZCMD. I guess you dont use it so the only function you shoud use is this one:
pawn Код:
SendPlayerMessageToCleverbot(playerid, "Message Here!");
Reply
#28

Can someone link me to their host?
Reply
#29

Can someone give me .inc?
I don't know to make include file, would someone send me it?
Reply
#30

help again!
__________________________________________________ __________________________________________________

E:\SWSetup\SP32105\tgGames\GTA - San Andreas\WINDOWS SERVER\gamemodes\azargm.pwn(6) : fatal error 100: cannot read from file: "foreach"
__________________________________________________ __________________________________________________
Reply
#31

Wow that's hilarious
Reply
#32

Nice!
Reply
#33

Gud job
Reply
#34

After a while, it started not working so I updated API and edited it a bit.
So... here it is:
http://pastebin.com/MHZq8gNE
replace contents in chatterbotapi.php and it will start working
Reply
#35

Will this pass Turing test just like Eugene did a few days ago?
Reply
#36

What's wrong?
Reply
#37

Yea. Great work. Keep it up man <3
Reply
#38

Quote:
Originally Posted by deryan
Посмотреть сообщение
What's wrong?
Yeah I get this exact problem even when hosting it on my own web-server...
Reply
#39

This doesn't work anymore...I think the PHP API need some edit.
Reply
#40

The api at http://cleverbot.com/webservicemin is no longer available, anyone found another solution? (i found one but they want to get paid for x api calls like wtf)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)