I THINK THAT, that same problem HALALICE just occurred with me The ERRORR messages is seem to be getting are 222266536 or something Simular.
I thing that the last AUTOMATICUPDATE on my 2k3server Just don something???
I think that THE INTERNET OPTIONS / ACTIVEX setting maybe at fault.
Lucky ive got a MINI NETWORK OF (hals) ALL SAME NAME.
SUN TZU (SOON) yum yum.....
HERE IS MY NEW ALICE FUNCTION WITH RELEVENCY
'----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
'RESPOND: CALL CheckALICEBRAIN FUNCTION
'----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
'This function will check for ALICE and respond . It is built into this script,
'so you can edit it.
If ((Len(GetResponse) < 4 And GetResponseBlock <> True) Or DebugMode = True) Then
CheckALICEBRAIN = Trim(ALICEBRAIN(UserSentence,UserName,ComputerName,LearningLevel,WorkingDir,Hate,Swear,Insults,Compliment,PrevSent,LastResponseTime,PrevUserSent))
If Len(CheckALICEBRAIN) > 4 And GetResponseBlock <> True Then
UserBrainRel = 8 'autogain relevency
AvoidBeingFlag = True
If UserBrainRel + 1 > HighestRel Then
HighestRel = UserBrainRel + 1
HighestRelResponse = HalUserBrain
End If
Hurdle = GainControl + 20 - Int(((Learninglevel - 22) * 0.

) 'This formula lets the user define the hurdle in Hal's options
Score = UserBrainRel + 2 + HighestRel + 17
DebugInfo = DebugInfo & "The user has CheckEDALICEBRAIN : " & CheckALICEBRAIN & """ which had a relevance of " & Score & " which was compared to " & Hurdle & ". "
If Len(GetResponse) < 4 And Score < Hurdle Then
GetResponse = GetResponse & CheckALICEBRAIN & VbCrLf
DebugInfo = DebugInfo & "Hal has decided to use the alice brain.." & CheckALICEBRAIN & VbCrLf
Else
DebugInfo = DebugInfo & "Hal has decided not to use the alice brain." & CheckALICEBRAIN & VbCrLf
End If
End If
End If
'----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
' END OF CALL ALICE FUNCTION
'----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
' The respose should be placed in the response section of the hal brain, but above the PROCESS AUTOGAIN Response.
' THE FUNCTION should be placed at the end With the Other Functions..
'--------------------------------------------
' ALICEBRAIN FUNCTION
'--------------------------------------------
Function ALICEBRAIN(ByVal UserSentence, ByVal UserName, ByVal ComputerName, ByVal LearningLevel, ByRef WorkingDir, ByRef Hate, ByRef Swear, ByRef Insults, ByRef Compliment, ByRef PrevSent, ByRef LastResponseTime, ByRef PrevUserSent)
'CREATE HALBRAIN ACTIVEX OBJECT
'This ActiveX control contains many functions
'needed for the script to proccess a sentence.
Set Alice = CreateObject("HalAlice.PlugIn")
'GET RESPONSE
ALICEBRAIN = Alice.Respond(UserSentence, UserName, WorkingDir, "data\bot.ini", "loglocaluser.txt")
Set Alice = Nothing
End Function
'--------------------------------------------
Download Attachment:
alice PLUgin.uhp4.05 KB
good luck all
SPYDAZ
IM getting into the alice now....