jagrosh / Selfbot

A simple Discord selfbot that is fast and easy to set up and use
Apache License 2.0
99 stars 56 forks source link

Create a spoiler image #31

Open ghost opened 7 years ago

ghost commented 7 years ago

Crash anytime I try to use the spoiler text command. My use was: self.spoiler test spoiler tag I have 3 error txt files and the screenshot below. I've probably overlooked something, first time trying out a selfbot.

capture

1_hs_err_pid12520.txt 2_hs_err_pid12168.txt 3_hs_err_pid1684.txt

jagrosh commented 7 years ago

Are you running the bot with admin perms and in a folder that java can write files?

Bluscream commented 7 years ago

no root on !spoiler test

blu@homeserver:/opt/selfbot$ java -jar JSelfBot.jar

[16:43:17] [Info] [Emojis]: Successfully loaded 36 custom emojis!
[16:43:17] [Info] [Todo]: Successfully loaded 1 todo entries!
[16:43:24] [Info] [JDA]: Login Successful!
[16:43:25] [Info] [JDASocket]: Connected to WebSocket
[16:44:28] [Info] [JDA]: Finished Loading!
[16:44:28] [Info] [Selfbot]: Successfully logged in as Bluscream#2597!
You are currently in 99 guilds!
Type !help in Discord to get started!
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6acce48, pid=21295, tid=21362
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195526.buildd.src)
# Java VM: OpenJDK Client VM (9-internal+0-2016-04-14-195526.buildd.src, mixed mode, serial gc, linux-x86)
# Problematic frame:
# C  [libjava.so+0x18e48]  JNU_GetEnv+0x18
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/selfbot/hs_err_pid21295.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

it crashes my whole screen so i have to restart it manually :(

root@homeserver:/opt/selfbot# l
total 20M
drwxr-xr-x  2 blu  blu  4.0K Jun 14 16:44 ./
drwxr-xr-x 26 root root 4.0K May 29 21:41 ../
-rw-rw-r--  1 blu  blu   140 May 29 23:37 config.txt
-rw-rw-r--  1 blu  blu  2.4K Jun 14 17:06 emojis.json
-rw-rw-r--  1 blu  blu  1.0K Jun 10 22:31 .emojis.json.swp
-rw-rw-r--  1 blu  blu   40K Jun 14 16:37 hs_err_pid19658.log
-rw-rw-r--  1 blu  blu   40K Jun 14 16:42 hs_err_pid20810.log
-rw-rw-r--  1 blu  blu   39K Jun 14 16:44 hs_err_pid21295.log
-rw-r--r--  1 blu  blu  9.9M Jun 14 16:31 JSelfBot.jar
-rwxrwxr-x  1 blu  blu    42 Jun 14 16:35 JSelfBot.sh*
-rw-r--r--  1 blu  blu   10M Apr 29 04:49 Selfbot-1.0-all.jar
-rw-rw-r--  1 blu  blu    34 Apr 29 02:15 todo.json
jagrosh commented 7 years ago

Make sure you're using JDK1.8 and not OpenJDK. Also, make sure to be running on Version 0.9.