17-10-2025 09:42:42.23594[0][4] - Elapsed time: 9.933 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 Thu Sep 4 05:08:52 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
17-10-2025 09:42:42.23697[4][4] - Elapsed time: 1.035 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-10-2025 09:42:42.23779[4][4] - Elapsed time: 0.814 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-10-2025 09:42:42.23815[4][4] - Elapsed time: 0.366 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-10-2025 09:42:42.23955[4][4] - Elapsed time: 1.397 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-10-2025 09:42:42.23959[4][4] - Elapsed time: 0.041 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-10-2025 09:42:42.23993[0][4] - Elapsed time: 0.336 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = b88ead929f0a88efc72734a51520f59b 
-----------------------
17-10-2025 09:42:42.23996[4][4] - Elapsed time: 0.035 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'haloNama Kamu Siapa?'. 
-----------------------
17-10-2025 09:42:42.24001[4][4] - Elapsed time: 0.051 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-10-2025 09:42:42.24004[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-10-2025 09:42:42.24007[3][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `si2h6234_dbdavid`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
17-10-2025 09:42:42.24075[1][4] - Elapsed time: 0.675 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: b88ead929f0a88efc72734a51520f59b 
-----------------------
17-10-2025 09:42:42.24079[2][4] - Elapsed time: 0.042 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-10-2025 09:42:42.24082[3][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `si2h6234_dbdavid`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
17-10-2025 09:42:42.24160[2][4] - Elapsed time: 0.780 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-10-2025 09:42:42.24164[2][4] - Elapsed time: 0.041 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-10-2025 09:42:42.24243[2][4] - Elapsed time: 0.791 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
17-10-2025 09:42:42.24315[3][4] - Elapsed time: 0.711 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #193 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'b88ead929f0a88efc72734a51520f59b'   , 1 , '0'        , '202.10.43.123', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
17-10-2025 09:42:42.24375[3][4] - Elapsed time: 0.603 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `si2h6234_dbdavid`.`client_properties` WHERE `user_id` = 193 AND `bot_id` = 1; 
-----------------------
17-10-2025 09:42:42.24467[2][4] - Elapsed time: 0.922 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-10-2025 09:42:42.24487[2][4] - Elapsed time: 0.202 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on haloNama. 
-----------------------
17-10-2025 09:42:42.24492[2][4] - Elapsed time: 0.044 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-10-2025 09:42:42.24604[2][4] - Elapsed time: 1.127 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-10-2025 09:42:42.24610[2][4] - Elapsed time: 0.061 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Kamu. 
-----------------------
17-10-2025 09:42:42.24617[2][4] - Elapsed time: 0.068 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-10-2025 09:42:42.24622[2][4] - Elapsed time: 0.046 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Siapa. 
-----------------------
17-10-2025 09:42:42.24629[2][4] - Elapsed time: 0.074 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ?. 
-----------------------
17-10-2025 09:42:42.24635[4][4] - Elapsed time: 0.053 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'haloNama Kamu Siapa?' 
-----------------------
17-10-2025 09:42:42.24681[4][4] - Elapsed time: 0.460 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALONAMA KAMU SIAPA' 
-----------------------
17-10-2025 09:42:42.24684[2][4] - Elapsed time: 0.038 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALONAMA KAMU SIAPA
Convo id: b88ead929f0a88efc72734a51520f59b
Bot id: 1
Format:  
-----------------------
17-10-2025 09:42:42.24687[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-10-2025 09:42:42.24690[2][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-10-2025 09:42:42.24693[3][4] - Elapsed time: 0.035 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `si2h6234_dbdavid`.`conversation_log` WHERE `user_id` = 193 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
17-10-2025 09:42:42.24954[4][4] - Elapsed time: 2.610 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
17-10-2025 09:42:42.25066[2][4] - Elapsed time: 1.113 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-10-2025 09:42:42.25070[3][4] - Elapsed time: 0.044 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `si2h6234_dbdavid`.`bots` WHERE bot_id = 1; 
-----------------------
17-10-2025 09:42:42.25135[4][4] - Elapsed time: 0.647 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-10-2025 09:42:42.25139[0][4] - Elapsed time: 0.047 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-10-2025 09:42:42.25142[0][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-10-2025 09:42:42.25144[0][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALONAMA KAMU SIAPA: raw say = haloNama Kamu Siapa? 
-----------------------
17-10-2025 09:42:42.25147[4][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-10-2025 09:42:42.25149[2][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALONAMA KAMU SIAPA' to the front of the [user_say] array 
-----------------------
17-10-2025 09:42:42.25160[4][4] - Elapsed time: 0.112 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-10-2025 09:42:42.25166[0][4] - Elapsed time: 0.053 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = haloNama Kamu Siapa?, RAW say = haloNama Kamu Siapa? 
-----------------------
17-10-2025 09:42:42.25168[2][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'haloNama Kamu Siapa?' to the front of the [input] array 
-----------------------
17-10-2025 09:42:42.25171[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-10-2025 09:42:42.25174[4][4] - Elapsed time: 0.036 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-10-2025 09:42:42.25177[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALONAMA KAMU SIAPA' 
-----------------------
17-10-2025 09:42:42.25180[4][4] - Elapsed time: 0.036 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALONAMA KAMU SIAPA' 
-----------------------
17-10-2025 09:42:42.25183[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
17-10-2025 09:42:42.25305[4][4] - Elapsed time: 1.220 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-10-2025 09:42:42.25311[3][4] - Elapsed time: 0.061 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `si2h6234_dbdavid`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'b88ead929f0a88efc72734a51520f59b'
    AND (
        'HALONAMA KAMU SIAPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-10-2025 09:42:42.25381[2][4] - Elapsed time: 0.700 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-10-2025 09:42:42.25385[4][4] - Elapsed time: 0.043 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-10-2025 09:42:42.25388[4][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-10-2025 09:42:42.25486[4][4] - Elapsed time: 0.983 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
17-10-2025 09:42:42.25493[3][4] - Elapsed time: 0.067 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `si2h6234_dbdavid`.`aiml` WHERE
    bot_id = 1 AND (
        'HALONAMA KAMU SIAPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-10-2025 09:42:42.25579[3][4] - Elapsed time: 0.862 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-10-2025 09:42:42.25583[2][4] - Elapsed time: 0.039 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-10-2025 09:42:42.25683[4][4] - Elapsed time: 1.004 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-10-2025 09:42:42.25687[4][4] - Elapsed time: 0.032 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALONAMA KAMU SIAPA' 
-----------------------
17-10-2025 09:42:42.25714[4][4] - Elapsed time: 0.280 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
17-10-2025 09:42:42.25717[4][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-10-2025 09:42:42.25844[4][4] - Elapsed time: 1.271 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 556
            [bot_id] => 1
            [pattern] => _NAMA KAMU SIAPA_
            [thatpattern] => 
            [topic] => 
            [filename] => LoqBot.aiml
            [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
            [score] => 369
            [current_that] => 
            [aiml_id] => 556
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)
        )

    [1] => Array
        (
            [id] => 553
            [bot_id] => 1
            [pattern] => _HALO_
            [thatpattern] => 
            [topic] => 
            [filename] => LoqBot.aiml
            [template] => Eh halo, LoqBot di sini! Ada yang bisa aku bantu?
            [score] => 359
            [current_that] => 
            [aiml_id] => 553
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _halo_ (8 points)
        )

    [2] => Array
        (
            [id] => 566
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => LoqBot.aiml
            [template] => <random>
        <li>Hmm, maksud lo gimana tuh bro? ????</li>
        <li>Boleh ulangin gak? Biar aku ngerti lebih jelas.</li>
        <li>LoqBot belum nangkep nih, coba jelasin lagi dong.</li>
      </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 566
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
17-10-2025 09:42:42.25851[2][4] - Elapsed time: 0.068 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 556
            [bot_id] => 1
            [pattern] => _NAMA KAMU SIAPA_
            [thatpattern] => 
            [topic] => 
            [filename] => LoqBot.aiml
            [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
            [score] => 369
            [current_that] => 
            [aiml_id] => 556
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)
        )

)

 
-----------------------
17-10-2025 09:42:42.25906[4][4] - Elapsed time: 0.552 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 556
    [bot_id] => 1
    [pattern] => _NAMA KAMU SIAPA_
    [thatpattern] => 
    [topic] => 
    [filename] => LoqBot.aiml
    [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
    [score] => 369
    [current_that] => 
    [aiml_id] => 556
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)
)
 
-----------------------
17-10-2025 09:42:42.25908[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-10-2025 09:42:42.25911[4][4] - Elapsed time: 0.034 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:556 (_NAMA KAMU SIAPA_) 
-----------------------
17-10-2025 09:42:42.25913[3][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-10-2025 09:42:42.25915[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '_NAMA KAMU SIAPA_' 
-----------------------
17-10-2025 09:42:42.25916[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
17-10-2025 09:42:42.25917[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)NAMA KAMU SIAPA(.+)$~siuU: Searching haloNama Kamu Siapa? for a match. 
-----------------------
17-10-2025 09:42:42.25927[2][4] - Elapsed time: 0.100 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => haloNama Kamu Siapa?
        )

    [1] => Array
        (
            [0] => halo
        )

    [2] => Array
        (
            [0] => ?
        )

)
 
-----------------------
17-10-2025 09:42:42.25932[2][4] - Elapsed time: 0.044 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'halo' to the stars stack. 
-----------------------
17-10-2025 09:42:42.25933[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => halo
)
 
-----------------------
17-10-2025 09:42:42.25934[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding ' ' to the stars stack. 
-----------------------
17-10-2025 09:42:42.25935[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => halo
    [2] =>  
)
 
-----------------------
17-10-2025 09:42:42.25936[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-10-2025 09:42:42.25938[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-10-2025 09:42:42.25940[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 556
    [category_id] => 556
    [html_template] => 
    [lookingfor] => HALONAMA KAMU SIAPA
    [pattern] => _NAMA KAMU SIAPA_
    [score] => 369
    [stars] => Array
        (
            [1] => halo
            [2] =>  
        )

    [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => haloNama Kamu Siapa?
)
 
-----------------------
17-10-2025 09:42:42.25942[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-10-2025 09:42:42.25943[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-10-2025 09:42:42.25953[4][4] - Elapsed time: 0.101 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>aku LoqBot, bot asik yang siap nemenin kamu ngobrol!</text></template> 
-----------------------
17-10-2025 09:42:42.25978[2][4] - Elapsed time: 0.246 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-10-2025 09:42:42.25985[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>aku LoqBot, bot asik yang siap nemenin kamu ngobrol!</text></template>
 
-----------------------
17-10-2025 09:42:42.25987[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-10-2025 09:42:42.25990[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-10-2025 09:42:42.25993[4][4] - Elapsed time: 0.032 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>aku LoqBot, bot asik yang siap nemenin kamu ngobrol!</text> 
-----------------------
17-10-2025 09:42:42.25994[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
17-10-2025 09:42:42.25996[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-10-2025 09:42:42.25997[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-10-2025 09:42:42.25998[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the response array. tag name is text 
-----------------------
17-10-2025 09:42:42.26000[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-10-2025 09:42:42.26001[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
)

 
-----------------------
17-10-2025 09:42:42.26002[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-10-2025 09:42:42.26004[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' 
-----------------------
17-10-2025 09:42:42.26005[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the response array. tag name is template. 
-----------------------
17-10-2025 09:42:42.26007[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-10-2025 09:42:42.26009[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
)

 
-----------------------
17-10-2025 09:42:42.26010[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-10-2025 09:42:42.26011[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' 
-----------------------
17-10-2025 09:42:42.26012[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: aku LoqBot, bot asik yang siap nemenin kamu ngobrol! 
-----------------------
17-10-2025 09:42:42.26014[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-10-2025 09:42:42.26015[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-10-2025 09:42:42.26017[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the front of the [that_raw] array 
-----------------------
17-10-2025 09:42:42.26018[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-10-2025 09:42:42.26036[2][4] - Elapsed time: 0.178 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the front of the [that] array 
-----------------------
17-10-2025 09:42:42.26039[4][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-10-2025 09:42:42.26041[4][4] - Elapsed time: 0.025 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' 
-----------------------
17-10-2025 09:42:42.26043[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' 
-----------------------
17-10-2025 09:42:42.26045[4][4] - Elapsed time: 0.027 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LOQBOT BOT ASIK YANG SIAP NEMENIN KAMU NGOBROL' 
-----------------------
17-10-2025 09:42:42.26047[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LOQBOT BOT ASIK YANG SIAP NEMENIN KAMU NGOBROL' 
-----------------------
17-10-2025 09:42:42.26049[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the front of the [parsed_template] array 
-----------------------
17-10-2025 09:42:42.26050[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-10-2025 09:42:42.26052[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!' to the front of the [template] array 
-----------------------
17-10-2025 09:42:42.26053[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-10-2025 09:42:42.26056[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-10-2025 09:42:42.26058[3][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `si2h6234_dbdavid`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'haloNama Kamu Siapa?',
      'aku LoqBot, bot asik yang siap nemenin kamu ngobrol!',
      193,
      'b88ead929f0a88efc72734a51520f59b',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-10-2025 09:42:42.26746[4][4] - Elapsed time: 6.880 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-10-2025 09:42:42.26806[3][4] - Elapsed time: 0.603 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `si2h6234_dbdavid`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
17-10-2025 09:42:42.26885[2][4] - Elapsed time: 0.785 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-10-2025 09:42:42.26889[4][4] - Elapsed time: 0.038 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-10-2025 09:42:42.26890[2][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-10-2025 09:42:42.26893[4][4] - Elapsed time: 0.031 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"b88ead929f0a88efc72734a51520f59b","usersay":"haloNama Kamu Siapa?","botsay":"aku LoqBot, bot asik yang siap nemenin kamu ngobrol!","botData":{"convo_id":"b88ead929f0a88efc72734a51520f59b","bot_name":"Loq Bot","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"193","totallines":1,"user_name":"Seeker","rawSay":"haloNama Kamu Siapa?","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10025@student.unika.ac.id","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"556","bot_id":"1","pattern":"_NAMA KAMU SIAPA_","thatpattern":"","topic":"","filename":"LoqBot.aiml","template":"aku LoqBot, bot asik yang siap nemenin kamu ngobrol!","score":369,"current_that":"","aiml_id":"556","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)"}}} 
-----------------------
17-10-2025 09:42:42.26967[2][4] - Elapsed time: 0.735 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-10-2025 09:42:42.26977[0][4] - Elapsed time: 0.096 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 43.698 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => haloNama Kamu Siapa?
    [conversation] => Array
        (
            [convo_id] => b88ead929f0a88efc72734a51520f59b
            [bot_name] => Loq Bot
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 193
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => haloNama Kamu Siapa?
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => 24n10025@student.unika.ac.id
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 556
                    [bot_id] => 1
                    [pattern] => _NAMA KAMU SIAPA_
                    [thatpattern] => 
                    [topic] => 
                    [filename] => LoqBot.aiml
                    [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
                    [score] => 369
                    [current_that] => 
                    [aiml_id] => 556
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => haloNama Kamu Siapa?
            [lookingfor] => HALONAMA KAMU SIAPA
            [category_id] => 556
            [pattern] => _NAMA KAMU SIAPA_
            [thatpattern] => 
            [template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
            [html_template] => 
            [topic] => 
            [score] => 369
            [aiml_id] => 556
            [stars] => Array
                (
                    [1] => halo
                    [2] =>  
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
        )

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

    [time_start] => 1760668962.226
    [user_say] => Array
        (
            [1] => HALONAMA KAMU SIAPA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => haloNama Kamu Siapa?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => AKU LOQBOT BOT ASIK YANG SIAP NEMENIN KAMU NGOBROL
                )

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

    [parsed_template] => Array
        (
            [1] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => aku LoqBot, bot asik yang siap nemenin kamu ngobrol!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"b88ead929f0a88efc72734a51520f59b","usersay":"haloNama Kamu Siapa?","botsay":"aku LoqBot, bot asik yang siap nemenin kamu ngobrol!","botData":{"convo_id":"b88ead929f0a88efc72734a51520f59b","bot_name":"Loq Bot","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"193","totallines":1,"user_name":"Seeker","rawSay":"haloNama Kamu Siapa?","conversation_lines":"1","remember_up_to":"10","debugemail":"24n10025@student.unika.ac.id","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"556","bot_id":"1","pattern":"_NAMA KAMU SIAPA_","thatpattern":"","topic":"","filename":"LoqBot.aiml","template":"aku LoqBot, bot asik yang siap nemenin kamu ngobrol!","score":369,"current_that":"","aiml_id":"556","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern match with underscore (100 points), uncommon word match: _nama (8 points), direct word match: kamu (2 points), uncommon word match: siapa_ (8 points)"}}}
)

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