Jump to content
SSForum.net is back!

DeadlySoldier!!

Member
  • Posts

    149
  • Joined

  • Last visited

Everything posted by DeadlySoldier!!

  1. Well i tried the bounty rabbit choose random player thing, didnt work i got like 25 gay errors.. void botInfo::GetRabbit() { if (getIngame() < 2) return; rabbit = 0; int t = GetTickCount() % getIngame(); _listnode <Player> *parse = playerlist->head; while (parse) { Player *p = parse->item; if ((p->ship != SHIP_Spectator) && (p->ship != SHIP_Javelin) && (p->safety == 0)) if (!(--t)) // if done counting random down playerlist { // prize 2k bounty if they are below 2k if ( p->bounty < 2000 ) sendPrivate(p, "*prize 2000"); rabbit = p; // timer for rabbit countdown[0] = 10 * 60; /* String s; s = "New Bounty Rabbit: "; s += p->name; s += " at "; s += getCoords(p->pos.x, p->pos.y); s += ". Kill the Rabbit to steal the 2000 bounty reward."; sendPublic(s); */ sendPrivate(p,"You're the new Bounty Rabbit. Reward: 2000 bounty. Lose it if you die, ship change, spec, attach to a jav, leave arena, or go in a safe zone. New bounty rabbit chosen in 10 minutes."); break; } parse = parse->next; } Didnt edit any of that.. and got 29 errors :/ Or i could just use the code that explody gave me if someone helps me fix it?
  2. #include "stdlib.h" Still, same error.
  3. I changed Rand to rand still same error.
  4. Gave me this error: command.cpp(169) : error C2064: term does not evaluate to a function if (c->check("choose")) { int InShip=0; int InSpec=0; _listnode <Player> *parse = playerlist->head; while(parse) { if(p->ship != SHIP_Spectator) InShip++; else InSpec++; parse=parse->next; } int rand=Rand()%InShip; int temp=0; parse=playerlist->head; while(parse) { if(p->ship != SHIP_Spectator) temp++; if(temp==rand) { sendPrivate(p, "Blah your the chosen one (Test)"); } parse=parse->next; } } The error is on this line: int rand=Rand()%InShip;
  5. Where would i put that? Where it needs to start the action??.. in the !start command somewhere??
  6. Prittk kinda sounds like a superhero.. Like.. "Im Priitk! I save the world"
  7. Mr. Ekted is too smart, lol.
  8. Is there a way i can make the bot choose a player at random in the arena THAT MUST BE IN GAME, NOT IN SPEC..?? Would be greatly appreciated.. Oh and i need it to choose the player when i do !start on.. if (c->check("start")) { sendPublic("*arena ------------- Riot Rules --------------"); sendPublic("*arena : Everyone starts off as a warbird :"); sendPublic("*arena : To win be the last surviving Warbird :"); sendPublic("*arena ---------------------------------------"); if (c->checkParam("on")) gamestart = true; else if (c->checkParam("off")) gamestart = false; if (gamestart) sendPrivate(p, "Game Started!"); else sendPrivate(p, "Game Off!"); sendPublic("*arena Game Stopped!"); } Theres the code, thanks.. OH YEAH! And also, is there a way i can make the bot check how many people are on team 1??? And make it so that if there is 1 person on team 1 it does *specall??
  9. and then i guess it doesnt re spec itself? lol
  10. Mhz, Ghz, whatever man
  11. 3.4 mhz would be amazing.. Im on 1.4 i think and even this is fast..
  12. I have a 12 year old computer upstairs in my room but it needs a new hard drive
  13. umm SOS's bot has buy.ini where u can let people by arena messages i believe.. TM_Mer.dll
  14. that's what I said No its not u said..
  15. Pfft, im 13 and im 5'0".. Tall people only own because your tall akai.. u 6'5" giant (somethin like that) And Ekted, why dont you just take a new pic
  16. http://www.subspacegallery.com/mrekted.jpg Is that you ekted?
  17. Have ya re installed ie? But then when i think of it if neither netscape or ie work then yeah, call ISP
  18. your gonna fly to europe just to take his hard drive.. :S
  19. ..there should be a Continuum.exe or something if thats what you mean..
  20. There goes akai again.. showing his Hippiness Signs of being a hippy: "Far out" "Groovy" "I like hot pink" "make it so that if you hit CTRL+SHIFT+S+E+X+Y all the colors turn hot pink and some 70s music like "ooooOooooh, baby...." "/// HAhaha J/p akai
  21. Kick!@#$%^&* idea.. do it..
  22. I have heard click click click as if im clicking alot, but it still works
  23. I THINK i saw a pic of ekted one time.. lol
×
×
  • Create New...