Jump to content
SSForum.net is back!

Bak

★ VIP
  • Posts

    1064
  • Joined

  • Last visited

Everything posted by Bak

  1. http://subversion.tigris.org/faq.html#co-svn
  2. subversion is a version control system which I am using to develop Discretion. Use wikipedia and google as well as the sites I posted to get more information.
  3. does .40 have any new features? or is it just bug fixes and anti-cheat nonsense?
  4. there's a reset? omg i worked so hard for my ship and it's all wasted why
  5. You can view the svn tree over http with this link: http://ss-discretion.svn.sourceforge.net/v.../ss-discretion/ although if you want to download the whole thing you're better off using the svn program: http://subversion.tigris.org/
  6. so my harddrive is kinda crappy and has bad sectors, one of which ended up in my filesystem's (ReiserFS) "system" area, which pretty much means I can't do !@#$%^&* save buy a new harddrive and copy everything over or reinstall and pray it doesn't happen again. I ordered a new harddrive so when I get that I might finally get a chance to get the linux version compiling again.
  7. I think you can embed opengl into SDL... so if you're some opengl guru who wants to make cool effects for discretion... go ahead!
  8. It's both not dead any is open source. To download the latest source access the svn server on the sourceforge site. I've finished up file transfers and it works wonderfully, both HTTP and directly from the server. It does version checking and everything too in case the http version is out of date. It's just stupid for me to update news for things like this... there's going to be a playable version very soon, although the security probably isn't going to be in during the first release. If you want to help out, try downloading the source using svn and figure out how to compile a module using dev-cpp since that's what you use. When it works, post the instructions for all to use.
  9. I like that idea doc flabby. One thing I came up with for these sorts of items like repels or portals is to give the server the option of having a delay between when the player presses the key and before it activates... so like when you press insert it won't warp you until 1 second later, thus preventing a cheat that says you pressed insert if you were about to get blown up (or repel, for that matter). Checking everything probably isn't necessary (you could check 10% of packets at random, for example), since you only have to catch someone cheating once to ban them but they have to cheat often to have an advantage.
  10. a correct compiler won't allow it It's 5 times a second at most... 90% of seconds it will never get executed. doing .c_str() doesn't take any more memory, so i'm not really converting it back to an array, just getting a pointer to the string's char array. That's sort of why a compiler should never allow changing values of a const char*, since if one could modify the array returned by .c_str(), the length/capacity/hash of the string would be incorrect.
  11. void clear(const char* array) { array[0] = '\'; } will not compile. (or shouldn't, anyway)
  12. good points. since the parameter is a const char*, it can't be modified as is, so a copy of the parameter will have to be made at some point, whether as a c-string or as a c++ string. Also, you mention trimming down the code, but doing what you suggested would make the code much longer and maybe less clear: string name = name_cstr; toLower(&name); versus your suggestion, without tolower: char name[128]; snprintf(name,sizeof(name),"%s",name_cstr); int len = strlen(name); for (int x = 0; x < len; ++x) { if (name[x] >= 'A' && name[x] <= 'Z') name[x] += ('a' - 'A'); } another important point, in any project, but especially in large projects like Discretion, is to optimize where it matters. If you look at the physics module, which has code executed potentially hundreds of times a second, you'll notice I spent a great deal of time optimizing at the expense of code clarity. This function, playLoopingAnimation, is called at the start of every animation that runs in a loop, so at most five times a second. Gaining 10 nanoseconds here will make little difference in overall performance. One can always optimize code more (even going down to !@#$%^&*embly sometimes), but it's a balance that needs to be achieved based on your program's demands. btw I've been doing some more work on the net and filetransfer modules... expect STP to be working soon then I'll see about getting the linux version to compile for you.
  13. change Snprintf.h to snprintf.h i'm pretty sure the linux build is out of date, broken, or both. The wiki page on the mgb forums has some suggested to do, although I'll start working on this soon so maybe a real list is in order.
  14. peer to peer might hurt on the upload... unless like you send it to two people who send it to two more ect, but then there might be a delay if they're the last one on the chain.
  15. Bak

    Word Association

    Florida
  16. Bak

    Word Association

    contradiction
  17. Bak

    sourceforge

    I just uploaded the stuff to the SVN on sourceforge
  18. Bak

    Get Me In :)

    it's not hard at all, as long as you have an internet connection somewhere (at home, for instance); they probably block them by looking at how much traffic is going through each site. Normal internet usage uses very little bandwidth, so that if one site is using a lot and is called something like megaproxy.com, it may get blocked.
  19. Bak

    Get Me In :)

    here's how you could do it, although I have better things to do than make stupid programs for you: http://img.photobucket.com/albums/v622/bak2007/udp_over_tcp.png
  20. Bak

    lanc army!

    there should be an anti-flanking weapon that like closes off the base for 60 seconds or something; maybe using doors and setting the doormode
  21. says the guy that made the bot that suicides itself to enery vortex
  22. I made it using C++. You can edit it using notepad and compile it using a C++ compiler.
  23. I've moved the site to sourceforge today... turns out using sftp was a lot less painless than using their s!@#$%^&* service. Expect development to restart soon.
  24. here's the source code. You need to have an open continuum window in 640x480x16 with transparent radar off. You also probably need to be using the same windows theme as I (windows xp default, see picture). when you run the program, press the "go" button and the bot should take over; you can't really use other apps and stuff when it's doing its thing. good luck! The bot, as is, will only work (effectively) in hyperspace. It will probably get confused as to what direction it's facing if you try it in a different zone, if brain changes the wb graphic, or if you try to use a ship other than a wb. also, set ?target=0 here's what my warbird has: +------------------+ | Warbird | +------------------+-------+------------+-----------------------------------------------------+ | Item Name | Count | Ammo Count | Item Types | +------------------+-------+------------+-----------------------------------------------------+ | String of Pearls | 1 | 0 | Bomb | | Tokamak | 1 | 0 | Reactor | | Close Combat | 1 | 0 | Utility | | Pulse Laser | 1 | 0 | Gun | | Brick Attack | 1 | 0 | 2 Brick | | Tunnel Runner | 1 | 0 | Utility | | Shock Matrix | 1 | 0 | Armor | | Ion Drive | 1 | 0 | Sublight Drives | | Gravity Trap | 1 | 0 | Utility | | Energy Scanner | 1 | 0 | Computer/Sensor | | Extra Utility | 1 | 0 | Computer/Sensor, -1 Utility, Converter | | Siege Pack | 1 | 0 | Utility | | ID Drives | 1 | 0 | FTL | | Antideath | 1 | 0 | Alien Tech | +------------------+-------+------------+-----------------------------------------------------+ http://img.photobucket.com/albums/v622/bak2007/ssBot.png continubot.zip
  25. yo yo yo it was my lil bro playing he's not too good at subspace or avoiding walls and such, plus he's too young to understand typing. also: way to not tell anyone d1
×
×
  • Create New...