Jump to content

Gh0stReaper

Members
  • Posts

    35
  • Joined

  • Last visited

Reputation

23 Excellent

Profile Information

  • About me
    Launch sabotager
  • Location
    Definitely not on dres...

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Banned for almost but not totally being Kerbal.
  2. Tried to go to the mun for a science mission. Ended up tipping over upon landing without breaking anything. Got a bunch of science in the container. Didn't transmit it (yet). Was trying to right it. Crashed and then even though the crew was alive I couldn't turn off the engine or control anything. Lost all the science. P*ssed off rn.
  3. Banned for not having an accurate location
  4. Probably my attention span. A lot of my missions have been little things like building a helicopter and going to the mun. Simple things.
  5. You guys are all so helpful and a common theme is more planets and Extraplanetary Launchpads so I'll look into it. Thank you all.
  6. I pour liquid nitrogen over it and steal your cookie. My cookie.
  7. So, I have played this game for (according to steam) 357 hours but I have been playing for at least double that and I am losing interest in the game. I see these wonderful missions to Jool and Eve and all these monstrous crafts and I want to do something like that but I'm losing my creativity. I would like some advice to "rediscover" the game and get some more replayability from it. Anything would be great.
  8. I hacked your browser for the KSP forum cookie. My cookie.
  9. Using particle entanglement I teleport the cookie into a secret hideout. My cookie.
  10. # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'chat_client1.ui' # # Created: Thu Jul 30 16:47:54 2015 # by: PyQt4 UI code generator 4.9.3 # # WARNING! All changes made in this file will be lost! from PyQt4.QtCore import * from PyQt4.QtGui import * import sys, socket from thread import * def app_version(): msg_box("Application Version", "Null-Byte P2P Chat v1.0") def msg_box(title, data): w = QWidget() QMessageBox.information(w, title, data) def update_list(self, data): self.listWidget.addItem(data) print "\a" def server_socket(self): try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(('', 6190)) s.listen(1) except socket.error, e: msg_box("Socket Error !!", "Unable To Setup Local Socket. Port In Use") return while 1: conn, addr = s.accept() incoming_ip = str(addr[0]) current_chat_ip = self.lineEdit.text() if incoming_ip != current_chat_ip: conn.close() else: data = conn.recv(4096) update_list(self, data) conn.close() s.close() try: _fromUtf8 = QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_MainWindow(object): def setupUi(self, MainWindow): self.start_server() MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(662, 448) self.centralwidget = QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.frame = QFrame(self.centralwidget) self.frame.setGeometry(QRect(10, 10, 651, 41)) self.frame.setFrameShape(QFrame.StyledPanel) self.frame.setFrameShadow(QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.label = QLabel(self.frame) self.label.setGeometry(QRect(10, 10, 131, 21)) self.label.setObjectName(_fromUtf8("label")) self.lineEdit = QLineEdit(self.frame) self.lineEdit.setGeometry(QRect(90, 10, 161, 21)) self.lineEdit.setObjectName(_fromUtf8("lineEdit")) self.label_2 = QLabel(self.frame) self.label_2.setGeometry(QRect(260, 10, 131, 21)) self.label_2.setObjectName(_fromUtf8("label_2")) self.lineEdit_2 = QLineEdit(self.frame) self.lineEdit_2.setGeometry(QRect(300, 10, 121, 21)) self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2")) self.frame_2 = QFrame(self.centralwidget) self.frame_2.setGeometry(QRect(10, 60, 301, 321)) self.frame_2.setFrameShape(QFrame.StyledPanel) self.frame_2.setFrameShadow(QFrame.Raised) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.textEdit = QTextEdit(self.frame_2) self.textEdit.setGeometry(QRect(10, 10, 281, 261)) self.textEdit.setObjectName(_fromUtf8("textEdit")) self.pushButton_3 = QPushButton(self.frame_2) self.pushButton_3.setGeometry(QRect(10, 280, 171, 31)) self.pushButton_3.setObjectName(_fromUtf8("pushButton_3")) ############################################################# # Executes When The Send Message Button Is Clicked self.pushButton_3.clicked.connect(self.client_send_message) ############################################################ self.pushButton_4 = QPushButton(self.frame_2) self.pushButton_4.setGeometry(QRect(190, 280, 93, 31)) self.pushButton_4.setObjectName(_fromUtf8("pushButton_4")) ############################################################# # Executes When The Clear Logs Button Is Clicked self.pushButton_4.clicked.connect(self.clear_logs) ############################################################## self.frame_3 = QFrame(self.centralwidget) self.frame_3.setGeometry(QRect(320, 60, 331, 321)) self.frame_3.setFrameShape(QFrame.StyledPanel) self.frame_3.setFrameShadow(QFrame.Raised) self.frame_3.setObjectName(_fromUtf8("frame_3")) self.listWidget = QListWidget(self.frame_3) self.listWidget.setGeometry(QRect(10, 10, 311, 301)) self.listWidget.setObjectName(_fromUtf8("listWidget")) MainWindow.setCentralWidget(self.centralwidget) self.statusbar = QStatusBar(MainWindow) self.statusbar.setObjectName(_fromUtf8("statusbar")) MainWindow.setStatusBar(self.statusbar) self.menubar = QMenuBar(MainWindow) self.menubar.setGeometry(QRect(0, 0, 662, 29)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuAction = QMenu(self.menubar) self.menuAction.setObjectName(_fromUtf8("menuAction")) MainWindow.setMenuBar(self.menubar) self.actionExit = QAction(MainWindow) self.actionExit.setObjectName(_fromUtf8("actionExit")) ####################################################### # Executes When The SubMenu Item Version Is Clicked self.actionExit.triggered.connect(app_version) ####################################################### self.actionExit_2 = QAction(MainWindow) self.actionExit_2.setObjectName(_fromUtf8("actionExit_2")) ####################################################### # Executes When The SubMenu Item Exit Is Clicked self.actionExit_2.triggered.connect(qApp.quit) ####################################################### self.menuAction.addAction(self.actionExit) self.menuAction.addAction(self.actionExit_2) self.menubar.addAction(self.menuAction.menuAction()) self.retranslateUi(MainWindow) QMetaObject.connectSlotsByName(MainWindow) def clear_logs(self): self.listWidget.clear() def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QApplication.translate("MainWindow", "Null Byte P2P Chat", None, QApplication.UnicodeUTF8)) self.label.setText(QApplication.translate("MainWindow", "IP Address:", None, QApplication.UnicodeUTF8)) self.label_2.setText(QApplication.translate("MainWindow", "Nick: ", None, QApplication.UnicodeUTF8)) self.pushButton_3.setText(QApplication.translate("MainWindow", "Send Message", None, QApplication.UnicodeUTF8)) self.pushButton_4.setText(QApplication.translate("MainWindow", "Clear Logs", None, QApplication.UnicodeUTF8)) self.menuAction.setTitle(QApplication.translate("MainWindow", "Menu Actions", None, QApplication.UnicodeUTF8)) self.actionExit.setText(QApplication.translate("MainWindow", "Version", None, QApplication.UnicodeUTF8)) self.actionExit_2.setText(QApplication.translate("MainWindow", "Exit", None, QApplication.UnicodeUTF8)) def start_server(self): start_new_thread(server_socket, (self,)) msg_box("Success", "Server Started Sucessfully") def client_send_message(self): ip_address = self.lineEdit.text() nick = self.lineEdit_2.text() nick = nick.replace("#>","") rmessage = self.textEdit.toPlainText() rmessage = rmessage.replace("#>","") rmsg = nick + " #> " + rmessage c = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: c.connect((ip_address, 9000)) except Exception, e: msg_box("Connection Refused", "The Address You Are Trying To Reach Is Currently Unavailable") return try: c.send(rmsg) self.listWidget.addItem(rmsg) self.textEdit.setText("") except Exception, e: msg_box("Connection Refused", "The Message Cannot Be Sent. End-Point Not Connected !!") c.close() if __name__ == "__main__": app = QApplication(sys.argv) MainWindow = QMainWindow() ui = Ui_MainWindow() ui.setupUi(MainWindow) MainWindow.show() sys.exit(app.exec_())
  11. Trying to explain how the internet works to an English teacher so she can convert to computing.
  12. I fold space to shorten the space between me and your cookie then steal the cookie. My cookie.
  13. Can quantum tunnel anywhere. This building is a blue box...
×
×
  • Create New...