+ {
+ aClient *tempPtr, *tempPtr2;
+
+ list<aClient*>::iterator iter;
+ char *nick = "testing";
+ unsigned long hv = iHASH((unsigned char *) nick);
+ tempPtr = new aClient(nick);
+ tempPtr2 = new aClient("testing2");
+
+ tempPtr->stats = new Player;
+ clients[hv].push_back(tempPtr);
+ clients[hv].push_back(tempPtr);
+ clients[hv].push_back(tempPtr);
+ clients[hv].push_back(tempPtr);
+ clients[hv].push_back(tempPtr2);
+ clients[hv].push_back(tempPtr2);
+ clients[hv].push_back(tempPtr2);
+ delete tempPtr->stats;
+
+
+ tempPtr = find(nick);
+
+
+ //iter = find((clients[0].begin()), (clients[0].end()), tempPtr);
+ // cout << "Nick: " << (*iter)->getNick() << endl;
+ clients[hv].remove(tempPtr);
+ for (unsigned long x = 0; x < U_TABLE_SIZE; x++)
+ {
+ for (iter = clients[x].begin(); iter != clients[x].end(); iter++)
+ {
+ cout << (*iter)->getNick() << endl;
+ }
+ }
+
+ }
+ {
+ // This is where you can test stuff
+ /*
+ string itemname;
+ item *tempitem;
+
+ cout << "Enter an item name: ";
+ cin >> itemname;
+ char num[16];
+ for (int x = 1; x < 6000001; x++)
+ {
+ sprintf(num, "%d", x);
+ tempitem = new weapon((itemname + num));
+ items.push_back(tempitem);
+ }
+
+ item *tester = items.front();
+ cout << tester->getName() << endl;
+ item *tester2 = items.back();
+ cout << tester2->getName() << endl;
+ items.clear();
+ */