Search results

  1. M

    Coordinates of Players

    So it is 100% impossible using just data from SAMP?
  2. M

    Coordinates of Players

    Hi, Is it possible to get the names and coordinates of ALL players on the server? I tried to do this before and was only able to get the coordinates when the players were within a short radius of me or if i was spectating them. I'm assuming this has to do with streaming in some way?
  3. M

    Game crash while reading memory

    Thanks springfield. That seems to have worked!
  4. M

    Game crash while reading memory

    I have code in my .asi that constantly reads my x,y, and z coordinates from memory. It works perfectly until I die and just as I am about to respawn, the game crashes. Does anyone have any ideas why this might be? Thanks!
  5. M

    CLEO Help Custom text from memory

    Yes, I've tried code that does the same as your example and it works fine when I define the string within cleo, e.g. "TEXT". What I am looking to do is read a string from samp's memory and show it so the problem is likely to be in these lines: 0A8D: 4@v = read_memory 1@ size 5 virtual_protect...
  6. M

    CLEO Help Custom text from memory

    I am trying to read the first 5 characters of a char[6] stored in the exe's memory using the following code but keep getting exceptions and a crash when i run it. The readmemory line works as I use this to read integers in other parts of my code and it works fine. 0A8D: 4@v = read_memory 1@...
  7. M

    CMD Offsets

    T3K Thx!
  8. M

    CMD Offsets

    Thanks man, works perfectly! can I ask where you found the s0beit to get these current offsets?
  9. M

    CMD Offsets

    Hey, can anyone share the current offsets for : FUNC_ADDCLIENTCMD SAMP_CHAT_INPUT_INFO_OFFSET The most recent s0beit source I can find is from late 2013 :/
  10. M

    SA-MP Crashing

    try deleting the gta_sa.set in your "myDocuments\GTASAUserFiles\" folder
  11. M

    Ped Pool

    Try This. As far as I know, playerIds start at 0 so in your for loop, start with i at a value of 0. I've made it so that you have to press the numpad9 key to set the player health. The crash may have been caused as you were trying to set ped health to 0 as soon as the game launched so now press...
  12. M

    Ped Pool

    post all of the code here from your .cpp you are creating an asi, yes?
  13. M

    Ped Pool

    Try this code modified from T3K's example: #define cPedpPoolStart 0xB7CD98                      //Leave out if already defined #define cPedPoolMaximumNumber 0xB74498      // #define OFFSET_HEALTH 0x540                        // for (int i = 0; i < *(int*)cPedPoolMaximumNumber ; i++) {  ...
  14. M

    Anticheat Patch 0.3z

    Ok, I've been trying some things and have found that: 1. If I use a string literal, the dialog displays each time and there is no freezing at all. showSampDialog(0, 0 ,2,"LIST","This is my string","OK","CLOSE"); 2.If I use a char* with a constant string there is no freezing and the dialog...
  15. M

    Anticheat Patch 0.3z

    Thanks T3K, I tried your suggestion and it still froze the game before the dialog was shown around 30% of the time. I'll try whatever other changes i can think of to get this working. without freezing
  16. M

    Anticheat Patch 0.3z

    could that possibly be the cause of my random samp freezes, possibly due to memory corruption / leak? The reason I'm using string is because I am creating a new string on runtime that contains the player's name and other dynamic variables and a std::string allows me to use append() etc.. I'm...
  17. M

    Anticheat Patch 0.3z

    0x688 I'm still trying to fix this bug with my program. Do you think it could be because I am typecasting a std::string to a (char *)? my code is similar to: std::string List = "12345678"; showSampDialog(0, 0 ,2,"LIST",(char *)List.c_str(),"OK","CLOSE");
  18. M

    CLEO Help Dialog w/o SampFuncs

    Hey!, Thanks for the reply. I might use this as a last resort as I am looking to show a dialog just using standard Cleo without having to rely on SampFuncs.
  19. M

    CLEO Help Dialog w/o SampFuncs

    Hey, I'm just looking to know if there is a way to show a SAMP dialog without having to install sampfuncs? thanks!
  20. M

    Help Dialog Style 0 new line

    Thanks HenryTeylor and Opcode.eXe ! . Got it working now
  21. M

    Help Dialog Style 0 new line

    When I show a DIALOG_STYLE_MSGBOX (id 0) the "\n" character has no effect on the text and just shows up as part of the text. I am trying to take a new line. All other special characters such as "\r" and "\t" do not work either. However, "\n" works perfectly for me in a DIALOG_STYLE_LIST (id 2)...
  22. M

    Anticheat Patch 0.3z

    Thanks for the help 0x688. It seems to me that if the game doesn't freeze the first time i show a dialog then it will not freeze and all dialogs will show correctly for the rest of my session. If the game is going to freeze it usually occurs the first time i try to call a dialog after running...
  23. M

    Anticheat Patch 0.3z

    Ok, I am using the function above and patching AC but still have the freezing problem. Does anyone have an alternate Dialog function that they would be willing to share?
  24. M

    Anticheat Patch 0.3z

    Thx T3K!, I'll try with the new function and see if i freeze anymore. I have patchAC() at the start of my first created thread but  tried putting it in the showSampDialog function aswell after i kept crashing.
  25. M

    Anticheat Patch 0.3z

    I mean that the game stops working without crashing. Its as if the game is replaced by a screenshot of the game when i call the function. Not just the player freezes, the whole screen does and I don't get the stack/address information like you would in a normal crash. The only way i can find to...
  26. M

    Anticheat Patch 0.3z

    0x688 I use memcmp() after i apply the patches to check if they applied. My debug output shows that all 6 patches get applied when my dll attaches. I also reapply the patch immediately before calling the ShowPlayerDialog() function. My game still freezes occasionally when i call the...
  27. M

    Anticheat Patch 0.3z

    i am calling the function from samp.dll to show a dialog if i press a key. about 70% of the time it will work fine but the other 30% it will cause my game to just freeze and I have haveto signout of windows as task manager does not work. I also use AddTexttoChatWindow and it never causes me to...
  28. M

    Anticheat Patch 0.3z

    Thanks 0x688!, I have used all of the above patches but my game continues to occasionally freeze when I call functions from samp.dll from my injected dll. Should doing the above patches stop my game from freezing or do i have to do more than just patch the AC?
  29. M

    Anticheat Patch 0.3z

    Has anyone got the address to patch for 0.3z Anticheat? I am currently using "samp.dll + 0x61430" and patching with 0xC3 but my game still occasionally freezes when i call functions from samp.dll from my injected dll.
  30. M

    [ COLLECTION 0.3z OFFSETS ]

    does anyone have the current 0.3z address for the AntiCheat Patch? I've tried using the most recent post's "g_dwSAMP_Addr + 0x61430 " but it doesn't seem to be working. And if i successfully patch this, will it stop my game from occasionaly freezing when i call functions from samp.dll?
  31. M

    Vehicle zAngle

    The offsets for x,y, and z position all work great, but the rotation offsets give me very weird values as described above. by looking i mean that the plane was facing directly west. thanks for all the help!
  32. M

    Vehicle zAngle

    yes i was inside a plane looking exactly west when i took that screenshot
  33. M

    Vehicle zAngle

    Hey, I have used CE to try to work this out, but still it gives me very small numbers (3.89x10^-6) as the z rotation. I have attached a picture of the CE pointer window to show whats happening.
  34. M

    Vehicle zAngle

    Thanks for reply T3K! I modified your code since I am only interested in the Zaxis Rotation and using 0xBA18FC crashes me void GetMyVehicleRotation(float *Rotation) { DWORD CurrentVehicle = *(DWORD*)(0xB6F980); DWORD CMatrix = *(DWORD*)(CurrentVehicle + 0x14); Rotation[0] =...
  35. M

    Vehicle zAngle

    I have been able to calculate the rotation of my vehicle around the zAxis (yaw) however it only calculates correctly if the vehicle is completely horizontal. If the vehicle rotates on the x or y axis, the zAngle becomes offset by between 0-90 degrees and doesn't give the same value as shown...
  36. M

    Vehicle Addresses

    Thanks T3K and Mizg4rd! working perfectly now :D
  37. M

    Vehicle Addresses

    Thanks T3K!, however this is still crashing me. I have no idea why this is happening :/ it is the correct offset seen everywhere.
  38. M

    Vehicle Addresses

    I'm still trying to get this working but it won't. can you see anything wrong with the code? DWORD address = *(DWORD*)(0xB6F980); address = *(DWORD*)(address + 34); int* value = (int*) address; printf("%i", value);
  39. M

    Vehicle Addresses

    Thanks  m1zg4rd!, for the plane model ID, I'm trying: 0xB6F980 (direct pointer to the pool start (CVehicle)) + 0x34 This should be the vehicle id ? I get either 0 or different numbers to the id when i search this address as 2 bytes. Thanks for the help!
  40. M

    Vehicle Addresses

    Thanks!. I found 0x7700F0 earlier, its the address that only works for cars and not for planes. I havent been able to use the vehicles struct since the addresses on the SAMP wiki don't seem to work for me.
  41. M

    Vehicle Addresses

    Hey, i have been trying for a while to find addresses for player Driving_Flying_Vehicle (possibly a bool or an int?) and an address for the current vehicle modelId (as in vehicles.ide). I have been able to find the modelId address for cars but it doesn't seem to work on planes which is what i...
  42. M

    c++ dialog

    Perfect! thanks steezy
  43. M

    c++ dialog

    thanks for the reply, but im not sure if that code applies since i think it would be server side and i need a clientside function
  44. M

    c++ dialog

    I'm wondering if there is a way to make a list dialog in samp without using cleo/sampfuncs?
  45. M

    DrawText

    Hey, is there any functions in GTA/SAMP that will allow me to draw text wherever i choose on the screen? i know of the High priority text and chat text but these are not what im looking for.
  46. M

    Help Static Vehicle Id

    Model ID will be the same for any type of vehicle so every Turismo will have the same ModelID. i am searching for an id that is different for every car on the server and remains constant. Springfield what do you mean by Personal cars id?
  47. M

    Help Static Vehicle Id

    Hey, I am trying to find an id that is static for each vehicle on a server. is this possible? I have used /dl on samp but the vehicle id changes each time i log in. Is there a vehicle id which will remain constant?
  48. M

    link asi cleo

    hey, is there a way to transfer memory between asi and cleo files? possibly via allocating memory using hex in cleo and writing to it with the asi?
  49. M

    Help memory address

    hey, are there memory addresses for each of the coordinates of the current mission checkpoint ?
  50. M

    Untagged Release MapRecorder - objects stealer

    Is there a way to have all recorded objects load when i join a server so that custom mapped areas are not affected by the streaming distance of the server?
  51. M

    CLEO Help Name w/o SAMPFUNCS

    Hey, I'm woindering if there is a way to get the players name on the server without using SAMPFUNCS? thanks!
  52. M

    CLEO Help Read Internet .ini

    Hey, is there a way to get a cleo to read settings from and online .ini file hosted on a website rather than locally ?
  53. M

    Map Download

    Bump. Anyone know of a .cs?
  54. M

    CLEO Help Player Coord

    I am trying to make a cleo which shows other players on the server's coordinates. I am using 20@ = 0 (Earlier in the code) :J_10 20@ += 1 if SAMP.IsPlayerConnected(20@) else_jump @J_10 SAMP.GetStreamedOutPlayerPos(20@, 1@, 2@, 3@)    but it only will show my coordinates. Any Suggestions?
  55. M

    CLEO Help Playing Sound

    Just a quick question. I am using the following opcodes to play 8 .wav files in a row with a gap of around 5 seconds between each 03CF: load_wav 2000 as 2 03D1: play_wav 2 After a wav plays, it loads the next file in it's place as for some reason you aren't able to load a wav as any numbers...
  56. M

    Map Download

    Is there any mods/cleos which download the streamed server map and save it loally to allow it to load as fast as the mainland?
Top