- //LMA: check if both aren't already driving.
- if (thisclient->Ride->Drive&&otherclient->Ride->Drive)
- {
- return true;
- }
but this is report by my user, someone can ride request other with CG, like cart.
in my server, I do not allowed that with this small fixed:
file: worldpackets.cpp
FIND:
ADD:
- if((otherclient->items[138].itemnum<xxx)||(otherclient->items[138].itemnum>xxx)){
- Log( MSG_HACK, "%s Try to ride request with CG or Cart without backseat", otherclient->CharInfo->charname);
- return true;
- }
edit:
change the xxx to your backseat number:
I know that is not a good fixed, but work
The best way is need to check if slot [135] is cart frame (pat type 511) and slot[138] is backseat.