_TDC_HaDeS_L_ Report post Posted August 26, 2004 heyas, i want to make a trading bot, can some1 explain how to do this? i wanna make it something like linux Share this post Link to post Share on other sites
Cicero Report post Posted August 26, 2004 Learn how to program. Read the source code to the client. Share this post Link to post Share on other sites
Tumaros Report post Posted August 27, 2004 Rinse, lather, repeat. Share this post Link to post Share on other sites
chatterbug89 Report post Posted August 27, 2004 Rinse, lather, repeat. Don't forget to give your newly created C program lots of love too Share this post Link to post Share on other sites
Wytter Report post Posted August 27, 2004 Learn how to program. Read the source code to the client. Create a sticky telling ppl to stfu if they wish to create a bot but don't know how to program - anyone who knows how to program and has an idea of the client source should know how to get started on making a bot anyway, so how about banning the whole "How do I make this/that"-talk from the programming section - it really doesn't have anything to do with the client development.. These kind of posts should be counted as spam. Share this post Link to post Share on other sites
Grum Report post Posted August 27, 2004 Nah, these sort of thread are ideal to show off how 1337 programmers are. I suggest that if you want to write a bot, you start learning functional programming first, using for instance unlambda (http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/), and then find out how to do TCP/IP in it. If you already know a bit of imperative programming, it might be easier to do it in intercal or brainfuck, though. Share this post Link to post Share on other sites
jamesvm Report post Posted August 27, 2004 well topic programing skill like say took a course c++ program just let you know that do some skill in not much but do Share this post Link to post Share on other sites
chatterbug89 Report post Posted August 27, 2004 Well, let's discuss an example: the following Unlambda program calculates and prints the Fibonacci numbers (as lines of asterisks) ```s``s``sii`ki `k.*``s``s`ks ``s`k`s`ks``s``s`ks``s`k`s`kr``s`k`sikk `k``s`ksk What has programign come to?! What ever happen to goo old languages based on C, such as C, C++, PHP, and whatever...cries...LOL... I will hav eto check out the Unlambda programing language thou...it will comfuse kids at school even more than PHP or C at school Share this post Link to post Share on other sites
frak Report post Posted August 28, 2004 heres a free book. http://mitpress.mit.edu/sicp/full-text/book/book.html :lol: Share this post Link to post Share on other sites
chatterbug89 Report post Posted August 28, 2004 That book dosen't tell what language it is?! My favorite scritp/program for any lanaguage.... #include <stdio.h> main() { printf("Hello World!"); } <?php echo "Hello World"; ?> That's in PHP and C Also...for the C program you could compile it without including stdio.h...but oh well.... Share this post Link to post Share on other sites
Placid Report post Posted September 1, 2004 even easier : public class HelloWorld{ public static void main(String[] args){ System.out.println( "Hello World!" ); } } #> javac HelloWorld.java #> java HelloWorld Hello World! #>_ Share this post Link to post Share on other sites
Leeloo Report post Posted September 1, 2004 My favorite scritp/program for any lanaguage.... Actually, a program for any language (or rather four) would be something like: REM /* 2>/dev/null ':' # * ':' # * This program works in C, VB, SH and COBOL. ':' # * ''''/b*in/echo Hello world; exit ' */() {} int main() { printf("Hello world\n"); return 0;} /* ' PROGRAM-ID. hello. ' REMARKS. Module Module1 Public Sub Main Windows.Forms.MessageBox.Show("Hello world") End Sub End Module ' PROCEDURE DIVISION. ' MAIN. ' DISPLAY "Hello world" AT LINE NUMBER 15 ' */ Share this post Link to post Share on other sites
Cicero Report post Posted September 1, 2004 How about 7 languages? (*O/*_/ Cu #%* )pop mark/CuG 4 def/# 2 def%%%%@@P[TX---P\P_SXPY!Ex(mx2ex("SX!Ex4P)Ex= CuG #%* *+Ex= CuG #%*------------------------------------------------------------------*+Ex= CuG #%* POLYGLOT - a program in seven languages 15 February 1991 *+Ex= CuG #%* *+Ex= CuG #%* Written by Kevin Bungard, Peter Lisle, and Chris Tham *+Ex= CuG #%* *+Ex= CuG #%* We have successfully run this program using the following: *+Ex= CuG #%* ANSI COBOL: MicroFocus COBOL85 (not COBOL74) *+Ex= CuG #%* ISO Pascal: Turbo Pascal (DOS & Mac), Unix PC, *+Ex= CuG #%* AIX VS Pascal *+Ex= CuG #%* ANSI Fortran: Unix f77, AIX VS Fortran *+Ex= CuG #%* ANSI C (lint free): Microsoft C, Unix CC, GCC, Turbo C++, *+Ex= CuG #%* Think C (Mac) *+Ex= CuG #%* PostScript: GoScript, HP/Adobe cartridge, *+Ex= CuG #%* Apple LaserWriter *+Ex= CuG #%* Shell script: gnu bash, sh (SysV, BSD, MKS), ksh *+Ex= CuG #%* 8086 machine language: MS-DOS 2.00, 3.03, 4.01, 5.00 beta *+Ex= CuG #%* VPix & DOS Merge (under unix) *+Ex= CuG #%* SoftPC (on a Mac), MKS shell *+Ex= CuG #%* *+Ex= CuG #%* Usage: *+Ex= CuG #%* 1. Rename this file to polyglot.[cob|pas|f77|c|ps|sh|com] *+Ex= CuG #%* 2. Compile and/or run with appropriate compiler and *+Ex= CuG #%* operating system *+Ex= CuG #%* *+Ex= CuG #%* Notes: *+Ex= CuG #%* 1. We have attempted to use only standard language features. *+Ex= CuG #%* Without the -traditional flag gcc will issue a warning. *+Ex= CuG #%* *+Ex= CuG #%* 2. This text is a comment block in all seven languages. *+Ex= CuG #%* *+Ex= CuG #%* 3. When run as a .COM file with MS-DOS it makes certain *+Ex= CuG #%* (not unreasonable) assumptions about the contents of *+Ex= CuG #%* the registers. *+Ex= CuG #%* *+Ex= CuG #%* 4. When transfering from Unix to DOS make sure that a LF *+Ex= CuG #%* is correctly translated into a CR/LF. *+Ex= CuG #%* *+Ex= CuG #%* Please mail any comments, corrections or additions to *+Ex= CuG #%* peril@extro.ucc.su.oz.au *+Ex= CuG #%* *+Ex= CuG #%*------------------------------------------------------------------*QuZ= CuG #%* *+Ex= CuG #%*!Mx)ExQX4ZPZ4SP5n#5X!)Ex+ExPQXH,B+ExP[-9Z-9Z)GA(W@'UTTER_XYZZY'CPK*+ CuG #(* *( C # */); /*( C # *) program polyglot (output); (*+ C # identification division. C # program-id. polyglot. C # C # data division. C # procedure division. C # C # * ))cleartomark /Bookman-Demi findfont 36 scalefont setfont ( C # * ( C # C # * hello polyglots$ C # main. C # perform C * ) 2>_$$; echo "hello polyglots"; rm _$$; exit print C stop run. -*, 'hello polyglots' C C print. C display "hello polyglots". ( C */ int i; /* C */ main () { /* C */ i=printf ("hello polyglots\n"); O= &i; return *O; /* C *) (* C *) begin (* C *) writeln ('hello polyglots'); (* C *) (* ) C * ) pop 60 360 ( C * ) pop moveto (hello polyglots) show ( C * ) pop showpage (( C *) end .(* ) C)pop% program polyglot. *){*/} I win Share this post Link to post Share on other sites
Leeloo Report post Posted September 1, 2004 I win No you don't, unless your name is Kevin Bungard, Peter Lisle, and Chris Tham Share this post Link to post Share on other sites
Placid Report post Posted September 1, 2004 lol, that was kinda genius tho cicero.. ..but as said before: No you don't, unless your name is Kevin Bungard, Peter Lisle, and Chris Tham Share this post Link to post Share on other sites
frak Report post Posted September 1, 2004 That book dosen't tell what language it is?! languages are ez to learn. That book is about programming. Thats something only a few ppl here really know Share this post Link to post Share on other sites
teranoz Report post Posted September 1, 2004 That book dosen't tell what language it is?! languages are ez to learn. That book is about programming. Thats something only a few ppl here really know Correct. If you are able to do programming, it takes aonly a small time to learn another programming language. The Windows Architecture (from MS) for those that want to program under windows is something very useful to start with. Or start with learning Access to get insight into some simple programming. Share this post Link to post Share on other sites
Placid Report post Posted September 1, 2004 Im sorry, but microsoft development products and programming languages ABSOLUTELY suck. Try learning the concepts of Object Oriented Programming, then start programming in C or Java. You could even Learn HTML,JavaScript and then do some PHP (HTML + JavaScript take about 1Hour each to learn). Share this post Link to post Share on other sites
Leeloo Report post Posted September 1, 2004 Try learning the concepts of Object Oriented Programming, then start programming in C or Java. If you go for object oriented programming, C would be a stupid choice. Pick C++ instead. And ignore anyone that says that the languages are similar, or recommends starting with C. If you want to learn both langunages, learn C++ first. Share this post Link to post Share on other sites
fred_penner Report post Posted September 1, 2004 Why start with an OO language? Get a simple language like VB and start with the standard stuff like loops, if blocks, procedures, etc. Then learn scope rules for variables, recursive functions and stuff like that. Save OO and classes for more advanced learning later. Share this post Link to post Share on other sites
Cicero Report post Posted September 1, 2004 VB ruins any chance of you ever becoming a good programmer. Try something like Python for a beginning language. Share this post Link to post Share on other sites
Placid Report post Posted September 2, 2004 True ^^^ In fact, dont code in any language associated with Micro$oft. They are weak, only written for windows and SUCK! <_< Share this post Link to post Share on other sites
crusadingknight Report post Posted September 2, 2004 Just out of interest, would B, C, Objective C, C--, C++, and D count as different languages? Anyway, don't start with object oriented... begin with learning procedural programming instead. Share this post Link to post Share on other sites
frak Report post Posted September 2, 2004 like some noob would know what language is procedural, functional or OO. But thats ok. cause it doesnt really matter what u begin with. with Python u have it all in 1 language. Share this post Link to post Share on other sites
fred_penner Report post Posted September 2, 2004 VB ruins any chance of you ever becoming a good programmer. That's retarded. I'd expect more from you, Cicero. Share this post Link to post Share on other sites