commit 16/10/2025
Overview menu beres
This commit is contained in:
@@ -69,7 +69,7 @@ class TCP_Android_Command_Server {
|
||||
din.read(bb)
|
||||
// B4A format, 4 bytes di depan adalah size
|
||||
val str = String(bb, 4, bb.size - 4)
|
||||
println("Received command from $key : $str")
|
||||
//println("Received command from $key : $str")
|
||||
str.split("@").map { it.trim() }.filter { ValidString(it) }
|
||||
.forEach {
|
||||
process_command(key,it) { reply ->
|
||||
@@ -308,7 +308,7 @@ class TCP_Android_Command_Server {
|
||||
if (userlogin != null){
|
||||
val userdb = db.userDB.List.find { it.username == username }
|
||||
if (userdb != null){
|
||||
println("Sending initialization data to $key with username $username")
|
||||
//println("Sending initialization data to $key with username $username")
|
||||
val result = StringBuilder()
|
||||
// kirim Zone
|
||||
result.append("ZONE")
|
||||
|
||||
Reference in New Issue
Block a user