| Blockland Forums > General Discussion |
| [VIDEO] Aimbot |
| << < (5/8) > >> |
| DrenDran:
--- Quote from: Chrono on May 18, 2011, 01:45:44 AM ---Actually, I'm quite curious on how they're getting the player's positions. --- End quote --- In addition to just simple math with positions gotten from child objects of the 'serverconnection' object, there is also this: --- Code: ---function aimbot_pos(%obj) { if(isObject(aimbotPlayer)) aimbotPlayer.delete(); %name = %obj.getName(); %obj.setName(aimbotTemp); new Player(aimbotPlayer : aimbotTemp) { datablock = aimbotTemp.getDatablock(); }; %pos = aimbotPlayer.getPosition(); aimbotPlayer.delete(); %obj.setName(%name); return %pos; } --- End code --- I guess that gets the client's position? |
| Lørd Tøny:
Why are you showing everyone? |
| DrenDran:
--- Quote from: Lørd Tøny on May 18, 2011, 07:01:18 AM ---Why are you showing everyone? --- End quote --- A simple function really won't hurt. All it does is return a position vector. |
| MillCzarr:
Now we just need an anti aim bot server mod. |
| Chrono:
--- Quote from: DrenDran on May 18, 2011, 07:00:11 AM ---In addition to just simple math with positions gotten from child objects of the 'serverconnection' object, there is also this: --- Code: ---function aimbot_pos(%obj) { if(isObject(aimbotPlayer)) aimbotPlayer.delete(); %name = %obj.getName(); %obj.setName(aimbotTemp); new Player(aimbotPlayer : aimbotTemp) { datablock = aimbotTemp.getDatablock(); }; %pos = aimbotPlayer.getPosition(); aimbotPlayer.delete(); %obj.setName(%name); return %pos; } --- End code --- I guess that gets the client's position? --- End quote --- You are prevented from getting the player object positions from the ServerConnection object. However, that code seems like it would work because it creates a fake player on the client side, gets the position of that, and deletes it. |
| Navigation |
| Message Index |
| Next page |
| Previous page |