Well im going into EG on DeadlySoldier!!, it works normal, but, i made up a new name and when i go into the zone it just says "Connection to Server Lost" So why cant my new name get in? Oh yeah and i would like to note this is not only on SSC, but SSA and all zones.
Doesnt say what to do, other then try playerlist->head, which is what i had before and it didnt work.. ClassBleh and BlehList; wow, thanks.. Pfft great explanation. Foo
... if (c->check("choose"))
{
int InShip=0;
int InSpec=0;
[b]_listnode <Player> *parse = parse->item[/b]
while(parse);
{
if(p->ship != SHIP_Spectator)
InShip++;
else
InSpec++;
parse=parse->next;
}
int randnum=rand()%InShip;
int temp=0;
parse=playerlist->head;
while(parse)
{
if(p->ship != SHIP_Spectator)
temp++;
if(temp==randnum)
{
sendPrivate(p, "Your the chosen one..");
sendPublic("*arena " +(String)p->name +" is the randomly chosen Levi.");
}
parse=parse->next;
}
} Do i change the bold text to that??
Alrighty now.. That compiles fine, then i do !choose and it does this: sendPrivate(p, "Your the chosen one..");
sendPublic("*arena " +(String)p->name +" is the randomly chosen Levi!"); Thats good, there, but, its just showing the name of whoever types !choose, how can i make it choose someone Random.
I dunno man, pointman will prolly -*BAD WORD*- at the maker of it if someone makes it for mervbot.. He just finished -*BAD WORD*-ing at me for making a riot plugin and a riot map, saying i was cloneing eg..
I was thinking you could just do a if (p->tile.x == blablabla) stuff and then make it warp them, but yeah man thats -*BAD WORD*-a confusing after i thought about it you have to make it check wich squares are open and which arent, what duel boxes are being used andwat arent.. blah
How do people do it.. Ive seen (Public 31337) and (Public 1337)... Weird stuff, is it a bug? ?go (Public 1337) doesnt work, and ive seen it in the last 2 days..
Okay, fixed it up a bit to fix my settings, now it has some *wierd* error.. first off, heres the code.. void botInfo::GetLevi()
{
if (getIngame() < 2) return;
int t = GetTickCount() % getIngame();
_listnode <Player> *parse = playerlist->head;
while (parse)
{
Player *p = parse->item;
if ((p->ship != SHIP_Spectator))
if (!(--t))
{
sendPrivate(p, "Blah");
break;
}
parse = parse->next;
}
} Now heres the error.. Compiling...
command.cpp
Linking...
Creating library Debug/riot.lib and object Debug/riot.exp
spawn.obj : error LNK2001: unresolved external symbol "public: int __thiscall botInfo::getIngame(void)" (?getIngame@botInfo@@QAEHXZ)
Debug/riot.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.