Judas - Apr 17, 2013 4:15
Someone using my other SVN reported this problem. Confirmed that it happens on Hercules as well, and not sure if its official or not, but it could cause problems with other servers.
You can still attack while in a chat room. Someone said a player abused this and just farmed anthell01 on the eggs since their attack was so slow and the eggs has a fast spawn rate..
Anyways steps to produce:
1)@spawn 1905 (a barricade)
2) Ctrl+Click (auto attack i think) on the barricade
3) alt+c to bring up chat room, and create one
4) You are still attacking
Proposed Solution:
[code=auto:0]
cd = chat_createchat(&sd->bl, title, pass, limit, pub, 0, "", 0, 1, MAX_LEVEL);
if( cd )
{
cd->users = 1;
cd->usersd[0] = sd;
pc_setchatid(sd,cd->bl.id);
clif->createchat(sd,0);
pc_stop_attack(sd); //<-----Can be placed to stop attack when create chat room
clif->dispchat(cd,0);
}
else
clif->createchat(sd,1);
return 0;
}
[/code]