There is your bypass answer when you clicked on any button.
Код:
while (rset.next())
{
tb.append("<button value=\"" + rset.getString("map_name") + "\" action=\"bypass -h voteformap_" + rset.getInt("mapId") + "\" width=170 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">");
_mapNames[rset.getInt("mapId")] = rset.getString("map_name");
}
Check it by your logger.
P.S> And i dont know why this voting realized with DB connection. If we can see:
Voting for next faction map has begun. It will end in 60 seconds. It save votes fro this 60 seconds, for what? ;D