Jump to content
SSForum.net is back!

Lynx

★ VIP
  • Posts

    2397
  • Joined

  • Last visited

Everything posted by Lynx

  1. How much is cheap? (Feel free to pm) ^^?
  2. I can't believe I am going to say this but... If you had kids, I'm sure you'd understand. Listening to profane music should be the optional extra on top of clean music, not the other way around.
  3. Because kids play this game, and while the word 'nigger' may not be immediately racist; it's still derogatory, hence why we should refrain from using it, and furthermore refrain from streaming it on radio shows. It's not hard to set up tw-only DJs that abide by the rules that Trench Wars or other (politically correct) zones have, while letting other DJs play for other zones that are more lenient.
  4. So, yeah... After reading that post, I know that this will be just like the other 8937192831 attempts at getting SS-Radio started.
  5. That's quite rich. You're trying to say that I can't read, when I clearly answered your question. Perhaps the condescending comments on reading courses should be saved for other morons such as yourself. Here, let me walk you through this one: Seeing as your comprehension skills are minimal, I'll elaborate further for you on my example. A 'final' ship in Hyperspace will typically be far less valuable than the price it cost for you to get that final ship. The same logic applies to loans in this system. I didn't notice any other blatant questions in your babbling replies. If I missed something, let me know what. --- Now to dissect your whole (shockingly dumb) 'can you not just hold onto that 50k instead? It's much cheaper, as you don't even have to pay back that 50k' comment and logic. If things were as simple as that, what IS the point in a bot that gives out loans? Why would anybody EVER need a loan, if they could just hold onto the money and spend it later? I mean, seriously? And LOL to you trying to jump on the great white righteous horse because I called you an idiot. Goodness me, I never knew that stating somebodies obvious behavior was such a personal threat; please - do not jump off a building, I'd hate to have that hanging over my conscience. Idiot.
  6. Yeah Purge, fkn noob. Fix up Halo.
  7. Incorrect. SpiderNL said that he wanted help with the logic of his 'banking and shares' bot, to help make sure it will not lose money if it gets scammed. The above is a banking bot that is guaranteed to always survive in the chance of scams. The only time the bank will run a loss (i.e. my money) is when you withdraw 100hs$ without paying back. Of course there are other ways of scamming it, but a little human intervention after a scam makes those chances vanishingly small. Thanks for playing.
  8. Nothing new here, righteous religious people going to another country at it's darkest hour, and using what they can provide as a reason to support their religion. To be honest though, if I had just survived an earthquake; had no food or water - I'd have jumped on that van and hoped for the best. If some religious nuts want to feed me provided I listen to them babble; then I'm happy to listen. If it makes a few weak-minded individuals suddenly see a God, then good for them. As long as what they believe in doesn't effect me, I don't care. I have no issues with religion etcetera, I only have an issue when religion effects me. That happens 99.9% of the time due to either: bad political policy or people forcing their ways upon me. Also, religion and education are two immeasurable attributes. Depending on who you are, depends on how either will affect you. I'd argue that children are obviously easier to 'brainwash'; but I think that anybody will eventually make up their own mind provided they hear all of the arguments. I was brought up a strict Catholic, but I do not practice catholicism, and I think it's far more likely that god does not exist. In my experience, however, I find people typically get sucked into a religion when something bad happens in their lives, or a lot of the people whom they idolise are also religious.
  9. Aiye, I've heard things about Python 3 that causes a lot of incompatibility; that could be why. Also, for future reference be careful with copy+pasting code from the web, as the code parser on this forum counts 1 tab as 8 spaces. There are usually functions on programming editors that allow you to convert spaces to tabs, which makes checking that kinda stuff quicker.
  10. O i see what u did thar.
  11. I've had a chance to jump on Linux (where I have Python installed). Here is the correct code, it probably still has a couple of minor bugs but this is how I'd have done it: # Lottery Application import random import time def playAgain(): playAgain = str(raw_input("Would you like to play again? (y/n): ")) if playAgain == 'y' or playAgain == 'n': if playAgain == 'y': userChoices = [] randNumbers = [] beginGame() elif playAgain == 'n': print("Thanks for playing!") exit() else: print("Let's try again, shall we?") playAgain() def beginGame(): userName = raw_input("To begin, enter your name: ") print("Hello, %s, my name is Xog." % userName) randNumbers = [] userChoices = [] while len(userChoices) <= 4: randNumber = random.randint(0, 5) randNumbers.append(randNumber) userChoice = int(raw_input("Pick a number between 1 and 5: ")) userChoices.append(userChoice) print("So far you've picked: " +str(userChoices)) else: randNumbers.sort(); userChoices.sort() matchingNumbers = [a for a in randNumbers if a in userChoices] if len(matchingNumbers) > 0: print("Congratulations " +userName +" you've won! You entered: " \ +str(userChoices) +" and our computer picked " +str(randNumbers) \ +" That's " +str(len(userChoices)) +" of " +str(len(randNumbers))\ +" correct! Well done!") else: print "Sorry, you lost!" playAgain() print("Hello, welcome to Xog's Lotto application! Thank you for playing!.") time.sleep(2) beginGame()
  12. A message, usually of urgency.
  13. Lol, I'm baked so I might have to read this again later, but did you just argue that Unicorns are real because the bible said so?
  14. rootbear is cool?
  15. It should be 'name = raw_input("What is your name?: ")'. If you leave the function empty, you'll get an error. My bad on the use of multiple variables and operators to make a truth statement, 5am. :/ I've just done this a minute ago, I've not tested it so it probably won't run but: # Bleuurghh bored, I should have gone to the pub... import random import time def beginGame(): userName = raw_input("To begin, enter your name: ") print("Hello, %s, my name is Xog." % userName) randNumbers = [] userCoices = [] while len(userChoices) <= 4: randNumber = random.ranint(1, 5) randNumbers.append(randNumber) userChoice = int(raw_input("Pick a number between 1 and 5: ") userChoices.append(userChoice) print("So far you've picked: " +str(userChoices) else: randNumbers.sort; userChoices.sort matchingNumbers = [i for i, j in zip(randNumbers, userChoices) if i == j] if len(matchingNumbers) > 0: print("Congratulations %s, you've won!" % userName) if len(matchingNumbers) == 4: print("You entered: " +str(userChoices) +" and our computer picked "\ +str(randNumbers) +" and you managed to guess them all correctly! GJ!") elif len(matchingNumbers < 4: print("Unfortunately you never got them all correct, here are the ones\ that you guessed: " +str(userChoices) +" and here are the ones that\ our computer picked: " +str(randNumbers) +" better luck next time!") playAgain = str(raw_input("Would you like to play again? (y/n): ") if playAgain == y or playAgain == n: if playAgain == y: beginGame() elif playAgain == n: print("Thanks for playing!"); exit() else: print("Seeing as you can't hit y/n, you don't deserve me") exit() print("Hello, welcome to Xog's Lotto application! Thank you for playing!.") time.sleep(2) beginGame() That's an idea of how I'd do it.
  16. You do need to spend that much money to get a 50K loan, just like it costs 10 fold the amount to build a final ship, as you have to run through numerous upgrades before you can get the best equipment. In order for the bank to survive the high chance it will be scammed, it needs to charge interest on loans to recoup for the (inevitable) damages, and the trust-buildup will help build more money but will help invest, instead of exploit. A typical 50K loan would be available (in my experimental, thought-out in 5 minutes model) at about 59% interest, after ~25 loans have already been made. The bank will have already, by that time, profited by approximately 50 thousand - however I am sure if I gave even half a care into designing a competitive (not risk free) system, I could cut all of those figures. Either way, all of this skips the fact that you're attempting to make a banking bot, in which case what I have provided is the nearest thing, requires the least capital to start, and is most fair. PS. You clearly never got the point, because you're firstly an idiot, and secondly - if you had understood, you wouldn't have been continuously babbling stupid, illogical questions.
  17. I like being able to identify them when I am browsing the directory servers, too.
  18. OKay, SpiderNL spent an hour or so trying to understand the principles of this bot. Before I begin, here are the reasons why 'banking' bots will fail in Hyperspace: * There is zero risk for the players * There is 100% risk to the bot/bot owner * There are no assets to claim if somebody doesn't pay back their loan To take that into consideration, if a bot were ever to be made; I'd argue that it should be 100% automated, open and therefore, less likely to be scammed by both the players, or by the bot owners greed. Therefore, each player should be allowed an insignificant base loan, which we will say is 100hs$. This base loan should only be available, provided the user has say 20 kills/?showmoney/?usage criteria met. Then, for each hs$ loaned out, a player can be awarded x Credits. In this example, we'll say 0.10 credits. A loan of 100hs$ will therefore, give a player 1 credit. To make loans get bigger a little faster, we'll have an interator increase the credit worth by (x-value) per loan that's carried out. If you don't get this, view the chart at the bottom of this post. We can then say, for each credit awarded will give more in future loans. So, for our example, we'll say that one credit more will give you 10hs$ per loan. So, after one loan is paid back, you can then loan 110hs$. These values can obviously be changed to suit the 'economy' of hyperspace. Then, to help the bot be profitable (and therefore capable of giving out larger loans, and withstanding the inevitable truth that somebody will scam the bot), an interest rate needs to be put in place (to allow a player to also not be stung too badly by the bot). So, going by those principles, if a user takes out a loan of $100, they'll gain 1 credit, and therefore will be able to loan out $110 after they've paid back the original $110. Now, if the user carries on placing loans, going by that method it would run as: Note: Ignore the rounded values column. Then of course, people will try and scam such a system - to handle that you'd allow the loan to be paid back via hours*credits*2 or whatever suits you. Once a player doesn't pay back, they'll be blacklisted. Now of course, knowing hyperspace people will probably try to build up their loan as much as possible, before pulling out. Other features that can easily be implemented is a !vote to blacklist players that are known to scam, to ?showmoney to only allow players with x exp to use it (less chance of scamming, again), or have players selected that can all !veto on whether a player should get a loan, if it's above a danger limit, or whatever. Either way, this system requires $100 in investment, and is capable of making a lot of money, while being a useful service. I'm not an idiot, so I know it will be scammed - however if I were to create a damn banking bot, I'd do this instead of a pointless, literally, _POINTLESS_ bot that just works out how much I've lent out, and adds interest to that. Seeing as I can't expect anything more to come from this thread, other than SpiderNL fapping on that it'll be scammed, or people won't use it because it takes too long to build up money, I really doubt I'll reply again.
  19. maybe validate against the ssforum user/password database
  20. In Python, it will increment your value by one.
  21. Hey, that seems like a good first try. Here are some points I'd pick up on first: # Getting to know you userName = raw_input("Hi, don't get too hasty, enter your name: ") print "Hi there, " +name +" it's nice to meet you! Let's move on..." # here is an example of a sentinal controlled iterator, # which will save you writing out the same code over and over counter = 0 # create an 'empty' variable userPicks = [] # create a list to store the users lottery picks while counter < 5: # grab a number from the user, store it as an int pickedNumber = int(raw_input("Please enter a number: ")) # append that to the list we created earlier userPicks.append(pickedNumber) # just to highlight the use of sentinal controlled values print "The counter is currently " +str(counter) # iterate the sentinal by 1 counter += 1 You can also use the same methods above, but generating another instance of random.randint() each time. You can then compare the contents of both lists, the easiest way to do this is to sort both lists - then compare them. to do this, you'll need to refer to the Python documentation (make use of the interpreter if you're struggling.) ps. Try not to pass col. 79 when writing any code.
  22. Sounds like a recipe for disaster to me.
  23. I think that this is a good idea. Calling TW retarded for disagreeing on what kind of music you play though, that's not a good idea.
  24. Don't let yourself get stalled for long enough that you get frustrated.
  25. Post your code when you're done, we'll give feedback.
×
×
  • Create New...