11-11-2025 15:11:35.21673[0][4] - Elapsed time: 0.791 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
11-11-2025 15:11:35.21695[4][4] - Elapsed time: 0.228 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
11-11-2025 15:11:35.21712[4][4] - Elapsed time: 0.163 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
11-11-2025 15:11:35.21720[4][4] - Elapsed time: 0.081 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
11-11-2025 15:11:35.21750[4][4] - Elapsed time: 0.308 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
11-11-2025 15:11:35.21752[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
11-11-2025 15:11:35.21762[0][4] - Elapsed time: 0.103 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = b9b3ff0ab125fb38b968371019431d5b 
-----------------------
11-11-2025 15:11:35.21763[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Namaku Riski'. 
-----------------------
11-11-2025 15:11:35.21764[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
11-11-2025 15:11:35.21765[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
11-11-2025 15:11:35.21766[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
11-11-2025 15:11:35.21786[1][4] - Elapsed time: 0.199 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: b9b3ff0ab125fb38b968371019431d5b 
-----------------------
11-11-2025 15:11:35.21787[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
11-11-2025 15:11:35.21788[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
11-11-2025 15:11:35.21818[2][4] - Elapsed time: 0.299 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
11-11-2025 15:11:35.21820[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
11-11-2025 15:11:35.21851[2][4] - Elapsed time: 0.318 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
11-11-2025 15:11:35.21885[3][4] - Elapsed time: 0.334 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #10 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'b9b3ff0ab125fb38b968371019431d5b'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
11-11-2025 15:11:35.21902[3][4] - Elapsed time: 0.174 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 10 AND `bot_id` = 1; 
-----------------------
11-11-2025 15:11:35.21922[2][4] - Elapsed time: 0.198 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
11-11-2025 15:11:35.21924[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Namaku. 
-----------------------
11-11-2025 15:11:35.21925[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
11-11-2025 15:11:35.21956[2][4] - Elapsed time: 0.318 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
11-11-2025 15:11:35.21958[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Riski. 
-----------------------
11-11-2025 15:11:35.21960[4][4] - Elapsed time: 0.021 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Namaku Riski' 
-----------------------
11-11-2025 15:11:35.21962[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
11-11-2025 15:11:35.21963[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: NAMAKU RISKI
Convo id: b9b3ff0ab125fb38b968371019431d5b
Bot id: 1
Format:  
-----------------------
11-11-2025 15:11:35.21964[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
11-11-2025 15:11:35.21964[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
11-11-2025 15:11:35.21965[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 10 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
11-11-2025 15:11:35.22007[4][4] - Elapsed time: 0.420 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
11-11-2025 15:11:35.22030[2][4] - Elapsed time: 0.232 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
11-11-2025 15:11:35.22032[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
11-11-2025 15:11:35.22051[4][4] - Elapsed time: 0.196 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
11-11-2025 15:11:35.22053[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
11-11-2025 15:11:35.22053[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
11-11-2025 15:11:35.22054[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = NAMAKU RISKI: raw say = Namaku Riski 
-----------------------
11-11-2025 15:11:35.22055[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
11-11-2025 15:11:35.22055[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [user_say] array 
-----------------------
11-11-2025 15:11:35.22056[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
11-11-2025 15:11:35.22057[0][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Namaku Riski, RAW say = Namaku Riski 
-----------------------
11-11-2025 15:11:35.22058[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Namaku Riski' to the front of the [input] array 
-----------------------
11-11-2025 15:11:35.22059[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
11-11-2025 15:11:35.22060[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
11-11-2025 15:11:35.22060[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU RISKI' 
-----------------------
11-11-2025 15:11:35.22061[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
11-11-2025 15:11:35.22062[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
11-11-2025 15:11:35.22081[4][4] - Elapsed time: 0.192 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
11-11-2025 15:11:35.22083[3][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'b9b3ff0ab125fb38b968371019431d5b'
    AND (
        'NAMAKU RISKI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
11-11-2025 15:11:35.22102[2][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
11-11-2025 15:11:35.22104[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
11-11-2025 15:11:35.22104[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
11-11-2025 15:11:35.22122[4][4] - Elapsed time: 0.183 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
11-11-2025 15:11:35.22124[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'NAMAKU RISKI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
11-11-2025 15:11:35.22149[3][4] - Elapsed time: 0.255 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
11-11-2025 15:11:35.22151[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
11-11-2025 15:11:35.22170[4][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
11-11-2025 15:11:35.22171[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'NAMAKU RISKI' 
-----------------------
11-11-2025 15:11:35.22174[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
11-11-2025 15:11:35.22174[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
11-11-2025 15:11:35.22194[4][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => 
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
11-11-2025 15:11:35.22196[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => 
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
11-11-2025 15:11:35.22210[4][4] - Elapsed time: 0.140 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 657
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [score] => 252
    [current_that] => 
    [aiml_id] => 657
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
11-11-2025 15:11:35.22210[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
11-11-2025 15:11:35.22212[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
11-11-2025 15:11:35.22213[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
11-11-2025 15:11:35.22240[2][4] - Elapsed time: 0.268 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
11-11-2025 15:11:35.22241[1][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'NAMAKU RISKI' to the unknown_inputs table. 
-----------------------
11-11-2025 15:11:35.22241[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:657 (*) 
-----------------------
11-11-2025 15:11:35.22242[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
11-11-2025 15:11:35.22243[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
11-11-2025 15:11:35.22243[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
11-11-2025 15:11:35.22244[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching Namaku Riski for a match. 
-----------------------
11-11-2025 15:11:35.22245[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => Namaku Riski
        )

    [1] => Array
        (
            [0] => Namaku Riski
        )

)
 
-----------------------
11-11-2025 15:11:35.22246[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'Namaku Riski' to the stars stack. 
-----------------------
11-11-2025 15:11:35.22246[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => Namaku Riski
)
 
-----------------------
11-11-2025 15:11:35.22247[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
11-11-2025 15:11:35.22247[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
11-11-2025 15:11:35.22248[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 657
    [category_id] => 657
    [html_template] => 
    [lookingfor] => NAMAKU RISKI
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => Namaku Riski
        )

    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

    [topic] => 
    [topic_stars] => Array
        (
        )

    [user_raw] => Namaku Riski
)
 
-----------------------
11-11-2025 15:11:35.22249[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
11-11-2025 15:11:35.22250[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
11-11-2025 15:11:35.22251[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template> 
-----------------------
11-11-2025 15:11:35.22255[2][4] - Elapsed time: 0.041 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
11-11-2025 15:11:35.22257[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template>
 
-----------------------
11-11-2025 15:11:35.22258[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
11-11-2025 15:11:35.22259[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
11-11-2025 15:11:35.22260[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text> 
-----------------------
11-11-2025 15:11:35.22261[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
11-11-2025 15:11:35.22262[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
11-11-2025 15:11:35.22262[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
11-11-2025 15:11:35.22263[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is text 
-----------------------
11-11-2025 15:11:35.22263[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
11-11-2025 15:11:35.22264[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
11-11-2025 15:11:35.22265[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
11-11-2025 15:11:35.22265[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
11-11-2025 15:11:35.22266[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is template. 
-----------------------
11-11-2025 15:11:35.22267[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
11-11-2025 15:11:35.22267[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
11-11-2025 15:11:35.22268[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
11-11-2025 15:11:35.22268[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
11-11-2025 15:11:35.22269[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
-----------------------
11-11-2025 15:11:35.22270[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
11-11-2025 15:11:35.22270[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
11-11-2025 15:11:35.22271[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that_raw] array 
-----------------------
11-11-2025 15:11:35.22272[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
11-11-2025 15:11:35.22274[2][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that] array 
-----------------------
11-11-2025 15:11:35.22275[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
11-11-2025 15:11:35.22276[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm, bisa ulangi lagi gak?' 
-----------------------
11-11-2025 15:11:35.22277[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm, bisa ulangi lagi gak?' 
-----------------------
11-11-2025 15:11:35.22278[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
11-11-2025 15:11:35.22278[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
11-11-2025 15:11:35.22279[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kadang aku suka bingung????' 
-----------------------
11-11-2025 15:11:35.22279[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kadang aku suka bingung????' 
-----------------------
11-11-2025 15:11:35.22280[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KADANG AKU SUKA BINGUNG' 
-----------------------
11-11-2025 15:11:35.22281[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KADANG AKU SUKA BINGUNG' 
-----------------------
11-11-2025 15:11:35.22282[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [parsed_template] array 
-----------------------
11-11-2025 15:11:35.22282[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
11-11-2025 15:11:35.22283[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the front of the [template] array 
-----------------------
11-11-2025 15:11:35.22284[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
11-11-2025 15:11:35.22285[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
11-11-2025 15:11:35.22286[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Namaku Riski',
      'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????',
      10,
      'b9b3ff0ab125fb38b968371019431d5b',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
11-11-2025 15:11:35.22379[4][4] - Elapsed time: 0.931 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
11-11-2025 15:11:35.22396[3][4] - Elapsed time: 0.174 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
11-11-2025 15:11:35.22418[2][4] - Elapsed time: 0.216 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
11-11-2025 15:11:35.22419[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
11-11-2025 15:11:35.22420[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
11-11-2025 15:11:35.22421[4][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"b9b3ff0ab125fb38b968371019431d5b","usersay":"Namaku Riski","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"b9b3ff0ab125fb38b968371019431d5b","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"10","totallines":1,"user_name":"Seeker","rawSay":"Namaku Riski","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"657","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????","score":252,"current_that":"","aiml_id":"657","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
11-11-2025 15:11:35.22442[2][4] - Elapsed time: 0.211 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
11-11-2025 15:11:35.22444[0][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 8.497 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Namaku Riski
    [conversation] => Array
        (
            [convo_id] => b9b3ff0ab125fb38b968371019431d5b
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 10
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => Namaku Riski
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 657
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
                    [score] => 252
                    [current_that] => 
                    [aiml_id] => 657
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Namaku Riski
            [lookingfor] => NAMAKU RISKI
            [category_id] => 657
            [pattern] => *
            [thatpattern] => 
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [html_template] => 
            [topic] => 
            [score] => 252
            [aiml_id] => 657
            [stars] => Array
                (
                    [1] => Namaku Riski
                )

            [that_stars] => Array
                (
                    [1] => 
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
        )

    [time_start] => 1762848695.2159
    [user_say] => Array
        (
            [1] => NAMAKU RISKI
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => Namaku Riski
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Kadang aku suka bingung????
                    [3] => Hmm, bisa ulangi lagi gak?
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KADANG AKU SUKA BINGUNG
                    [2] => HMM BISA ULANGI LAGI GAK
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [parsed_template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"b9b3ff0ab125fb38b968371019431d5b","usersay":"Namaku Riski","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"b9b3ff0ab125fb38b968371019431d5b","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"10","totallines":1,"user_name":"Seeker","rawSay":"Namaku Riski","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"657","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????","score":252,"current_that":"","aiml_id":"657","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

-----------------------
Total execution time: 8.497 Milliseconds. Goodbye.