Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Swordsower

Members
  • Posts

    240
  • Joined

  • Last visited

    Never

Everything posted by Swordsower

  1. Robin is a pretty cool guy. Eh has adventures on the internet and doesn't afraid of anything.
  2. Shoot I didn't know it was this popular. These were just some modifications I was tinkering with. I'll have more free time once I'm back in Germany or transitioning, which ought to be in…well, shoot for May 1st. I'll be able to update before then, but once May 1st rolls around, it will be a good day indeed. I'll definately be out of Afghanistan by June 1st.
  3. It's fairly straightforward to do. It took me about 10 hours all together to modify my source the first time, adding the new stats to everywhere they were needed. Adding a new bar would be a bit trickier, but my advice is to use a basic version of Eclipse, whichever you like best but not E€, and retrace my footsteps by adding the new stats. You're basically finding anywhere the source refers to any stat, and adding the new ones. Use CTRL+F to find MAG and modify that code wherever you find it. Pay attention to small details, and it'll go smoothly.
  4. PutVar and GetVar are not designed to do what you're trying to do. Soul's answrar works though.
  5. I can refer you to a good tutorial, but that's about the limit of my teaching capability at this time: http://www.vb6.us/tutorials/how-read-simple-text-files
  6. I've been short of time lately, which is why I have failed to do any updates.
  7. I'm straight about the not-dying part. Trust your training and you'll be fine. That, and depending on position, there are some Lieutenant Colonels with less than 15 years in that have more political pull than some Congressmen. It's ridiculous.
  8. The way I would do it is pretty simple, I would just create a binary file within the script editor to store the script in, and the script would be 100% VB6. Then, when needed, I'd have the code pulled from the binary file. Soft Coding rocks. That, or I'd try to foresee every possible use for the scripts, and hard-code the major ones
  9. Every few years I stay in afterwards only increases the pay when I retire. I could retire as a colonel, or stay in to be a general, retiring in the late 40s to being completly set. After earning a retirement that young, I'd rather just go on to do something else though.
  10. Officers get MUCH higher pay. I'd be making Master Sergeant pay at age 25, most Master Sergeants are dang 36-42 years old. It's a terriffic program, and I got hella lucky with the letter of recommendation.
  11. Point 1\. I'm in Afghanistan right now, and I know better than anyone what is going on in the world. Let me worry about that. Point 2\. When I say retire at 38, I mean, I'll never have to work again because I'd be making something like $5,800 a month for having done 20 years in the army. Officer retirement is hugely better than Enlisted. Point 3\. If it was TA-50 the guy left behind, as in, army equipment, then he should have had a hand receipt. All the same, you can always do up a statement of charges and pay for the stuff yourself, and then track down the a-hole that left it with you. No offense Draken, but your cousin's story has holes. Point 4\. Treason? Give me a break. I've already been in the army for two years and that hasn't happened. It's all endlessly more complicated than that. Subpoint of Point 4\. Robin, you're more treasonous than anyone here, what say you on point 4?
  12. Yes, another one of €ryptø's military topics. Green-to-Gold is a program in the military where, in basic terms, a soldier that is accepted is given a totally free ride through college. As I have no college, were I to be accepted, I would be getting a free 4-year degree, all the while being paid more than I'm currently making **just to go to school**. Once I get my bachelors/baccalaureate degree, I will be directly commissioned as a 2nd Lieutenant, back into the army. The catch is that this also extends my contract a bit. If I do 2 years, do 4 years G2G, and do 14 years as an Officer, I'll retire as a Colonel at the age of 38. As for the acceptance part, I may have scored a letter of recommendation from Brigadier General Smith, of the 5th Signal Command, USAREUR. That would be the tits.
  13. @Robin: > @€rypto: > > > We all tend to think of DirectX as a graphics-only system > > We do? :| I busted the myth in that sentence! Why you even gotta go and do a thang?
  14. Swordsower

    WoH vs. WN

    Now Robin's going to get dozens of requests to code the battle system used in his first post. I'm calling it right now.
  15. @Robin: > Haha. Well put, as always.
  16. DX7 is capable of supporting it. We all tend to think of DirectX as a graphics-only system, but DirectSound7 would be able to do streaming audio across pre-configured channels. The issue I have with this is that it tends to get sloppy as far as data-consumption, and would likely bog down the server. Vent is the best for this. It would have to be done in source, but I don't rightly know how off the top of my head.
  17. @Greendude120: > Crash detection is the stuff. Ppl will download this thing just for that crash detection. And then this happened lol. Excellent as usual Soul.
  18. I'd use scheduled tasks. In windows, you can schedule a task to execute at a given time. The server won't start up if it's already up anyway, so just set the computer to run the server app once every hour, so if it were to crash, it'd be up in no more than an hour. I'm lazy though. As for an app to do this automatically, it would be pretty simple. Create the app, and make a timer in the form where you put in the interval for auto-restart. We'll say 20 minutes. Then, make a loop that will check if the process is running, and if not, will execute the server.exe file. Have this secondary app running in the background. It's a simple program, so it would end up being easier for me to build the program myself than to just research what commands are needed. MSDN is a good thing, friend. Also, I'm sorta busy right now, or I wouldn't mind writing it for you >.<
  19. Crash as in stop responding or crash as in the computer restarts because of windows updates or some crap?
  20. Rules? Simple. When Robin kicked you the last time, what was the reason? I've given 4 votes per person, since it is likely that many of us have been kicked multiple times.
  21. Will that work? I thought the lblHP needed to be imbedded in the shpHP.
  22. @DawnSawn: > Anyone know how I could make this script randomize which sprite it picks? > > call setplayersprite(index, ) Silly folks arguing about this. There are a bunch of ways to do this, but I'll set you up for success. First, in the server, go to clsCommands and add this at the end: ``` Function Dice(ByRef Number As Long, ByRef Sides As Long) As Long Dim roll As Long, range As Long If IsNumeric(Number) = False Or IsNumeric(Sides) = False Then Dice = 0 Exit Function End If range = (Int(Number * Sides) - Number) roll = 1 For roll = 1 To Number Dice = Int((range * Rnd + Number) + 1) roll = roll + 1 Next roll End Function ``` This code here gives you access to a new command, the Dice() command. Dice() is simple, it rolls a D&D style dice, done like this: ``` Call Dice(1, 6) ' This will roll (1) Six-Sided die, your result is 1 - 6 Call Dice(3, 11) ' This will roll (3) Eleven-Sided dice, your result is 3 - 33 Call Dice(1, 1000) ' This will roll (1) One-Thousand-Sided die, your result is 1 - 1000 ``` Now, to use this to do a random sprite, just do this: ``` Call SetPlayerSprite(Index, Dice(1, 20)) ``` Just use Dice() in place of the number for the sprite change.
×
×
  • Create New...