Sonickat icon

DebugQueueEvent.JAVA

Sonickat | PRO | 02/01/25 10:50:47 PM UTC | 0 ⭐ | 12450 👁️ | Never ⏰ | [Minecraft 1.20.1, Forge 47.3]
Java |

1.95 KB

|

Gaming

|

0 👍

/

0 👎

package net.sonickat.sklib.common;
 
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
 
public class DebugQueueEvent {
    private final String message;
    private final String timestamp;
    private final CRef affectedBlock;
    private final List<CRef> callStack; // Tracks full chain of triggers
 
    public DebugQueueEvent(String message, CRef affectedBlock, List<CRef> callStack) {
        this.timestamp = Instant.now().toString();
        this.message = message;
        this.affectedBlock = affectedBlock;
 
        // Copy call stack + add this block
        this.callStack = new ArrayList<>(callStack);
        this.callStack.add(affectedBlock);
    }
 
    public String getMessage() {
        return message;
    }
 
    public String getTimestamp() {
        return timestamp;
    }
 
    public CRef getAffectedBlock() {
        return affectedBlock;
    }
 
    public List<CRef> getCallStack() {
        return callStack;
    }
 
    /**
     * Formats the call stack for console output, limiting excessive length.
     */
    private String formatCallStack() {
        int size = callStack.size();
        int maxLength = DebugQueue.MAX_CONSOLE_CHAIN_LENGTH; // Controlled by DebugQueue
 
        if (size <= maxLength) {
            return callStack.toString(); // Show full list if small
        }
 
        // Show first, '...', last few elements (e.g., [..., B, C, D])
        List<CRef> reducedStack = new ArrayList<>();
        reducedStack.add(callStack.get(0)); // Always include the origin
        reducedStack.add(new CRef(0, 0, 0)); // Placeholder for "..."
        reducedStack.addAll(callStack.subList(size - (maxLength - 1), size));
 
        return reducedStack.toString().replace(new CRef(0, 0, 0).toString(), "...");
    }
 
    @Override
    public String toString() {
        return "[" + timestamp + "] (" + affectedBlock + ") <- " + formatCallStack() + " " + message;
    }
}
 

Comments

  • Ravgarin icon
    03/29/26 09:54:53 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎