noother / DDracemaX

DDracemaX' git has moved to http://github.com/noother/DDRace - branch: ddracemax - please refork - only the issues are still active here for now
http://github.com/noother/DDRace
3 stars 2 forks source link

optional fix comment in call vote #22

Closed Tsin closed 13 years ago

Tsin commented 14 years ago

[----MAP BY SZYKER-----] shouldnt be voteable

this is the same issue Oy said it wont be fixed ;/ https://github.com/oy/teeworlds/issues/closed#issue/229

but in one of comments Fisico October 21, 2010 "sushi fixed this already pull his master branch thx to sushi"

Lemon and I searched for this comit on shusi's git couldnt find it =/

will look later maybe will find it

noother commented 14 years ago

You can't add_vote invalid votes anymore - So they can't be voted.

GreYFoX commented 14 years ago

https://github.com/SushiTee/teeworlds/commit/b250536b81ff16311270901bf8f5b89763782858

but you can;t vote these anymore but if u want to add comments in DDMax see the commit above that u were searching for

JulianAssange commented 13 years ago

I may have found a way too do this:

in void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)

add this line:

if(!pSelf->Console()->LineIsValid(pResult->GetString(0)) && pResult->GetString(0)[0] != '#') SendChatTarget(ClientId, "You cant vote header votes"); return;

I personally wont do this untill someone confirms this is correct

noother commented 13 years ago

done by lemon: https://github.com/noother/DDRace/commit/119c106d65f0eb1d654928656efd1463c951b1d7

JulianAssange commented 13 years ago

i already did this and asked you