Giter Club home page Giter Club logo

pubg-radar's People

Contributors

aiyinzilegong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pubg-radar's Issues

How to draw separate sights for ourselves and to other players?

So, in GLMap.kt, I am looking at the function ShapeRenderer.drawPlayer and whatever modifications I apply to it, they are applied to every single player.
What I want to do is to draw a longer line on ourselves, but not on the other players, as they can stay as they are.
What would you guys change in this function? Basically I want to be able to apply a different (drawSight) solely to our own player.

fun ShapeRenderer.drawPlayer(pColor: Color?, actorInfo: renderInfo, drawSight: Boolean = true) {
    val zoom = camera.zoom
    val backgroundRadius = (playerRadius + 2000f) * zoom
    val playerRadius = playerRadius * zoom
    val directionRadius = directionRadius * zoom

    color = BLACK
    val (actor, x, y, dir) = actorInfo
    circle(x, y, backgroundRadius, 10)

    color = if (isTeamMate(actor))
      teamColor
    else pColor

    circle(x, y, playerRadius, 10)

    if (drawSight) {
      color = sightColor
      arc(x, y, directionRadius, dir - fov / 2, fov, 10)
    }
  } 

Network Lag Issues while spoofing

Hello all! I am using a second pc (laptop) to run the map, but my network on gaming PC really takes a hit (for every 10 steps I get teleported back 3-4 steps, discord also spikes to huge ms) whenever I start arpspoof, I am not familiar with arpspoofing, is there any way to filter sniffing/spoofing so it only sniffs pubg packets and not cause lag? Or any other solution will be much appreciated! Thank you!

2d-3d kotlin

hey, i know this is just indirectly something about the radar, but are you willing and able to contribute a 2d->3d translation in this language? ๐Ÿก

Not displaying map and not following my player

I have two issues, the radar is just grey and does not display any map, and secondly I can see people on the radar and it works however it does not follow me and I have tried voice chat. Any ideas?

Error: Could not find or load main class jar

Sorry i`am newbie, but trying to make this works.
What i did

  1. installed Ubuntu on my vmware
  2. downloaded sources
  3. installed maven
  4. compiled sources with command "mvn install"
  5. trying to run jar with terminal "java jar pubg-radar-1.0-SNAPSHOT-jar-with-dependencies.jar"
    and now i am stucked because i have an error:
    "Error: Could not find or load main class jar"

What i`am doing wrong ?

RenderBadPicture?

when i run sudo java -jar pubg-radar-with-dependencies.jar <middle_pc_ip> <PortFilter|PPTPFilter> <game_pc_ip>
i get :
Error of failed request: RenderBadPicture (invalid picture parameter)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 7 (RenderFreePicture)
Picture id in failed request: 0x120003c
Serial Number of failed request: 689
Current serial number in output stream: 692
AL lib: (EE) alc_cleanup: 1 device not closed

Need some help with this.

GLFW_PLATFORM_ERROR & Grey Screen

Hello, I've build with maven, it worked without a problem, tried building the master branch and the linux, I had to use the linux branch since it gave me RenderBadPicture issue. I would do everything correctly and get grey screen, even so I tried opening a pubg match, when the match started I got the following problem:

[LWJGL] GLFW_PLATFORM_ERROR error
	Description : X11: RandR monitor support seems broken
	Stacktrace  :
		org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:2296)
		com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:142)
		com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:110)
		pubg.radar.ui.GLMap.show(GLMap.kt:97)
		pubg.radar.GameKt.main(Game.kt:49)

After reading the Issues I found this helpful post #22, done what was in it and the same thing happened, I took both the bpm for the maps from linux branch and put on master, also changed the code for that commit, got RenderBadPicture again.

I've tried to run it in windows, also tried using windows linux bash subsystem and couldn't make it work. In windows the issues would be I couldn't get a alternative to dsniff to work (I'm using winpcap on both my windows pc [the game and the one trying to be the middlepc], just not using winpcap on linux)

In my linux system I'm running the arpspoof correctly and runnin the jar, you can see at the attached screenshot.

I'm out of ideas, can't get it to work, can someone enlighten me?
screenshot from 2018-02-11 16-56-09

Dormant localplayer

As the title says, no matter if I run the built binary on localhost or a middle-man, the localplayer is dormant at the starting location of the map, that is the island on Erangel, and the prison in Miranmar, both facing East(If you are dormant, it will face right), and all other players render perfectly if I were to minimize the map. I have tried pull request #21 , but it didn't work, I also tried to modify the if checker according to issue #10 , but it didn't work as well...

DAMNCheaters... can we do the same?

Hello guys,
I think everyone here wants to get the most out of this project. so thinking about it, I recently bought a Map-package from DAMNCheaters to see their implementations.

it is clear from the first moment that they are using much of this project.

They already have:

  • Hotkeys to hide items, ui and etc... (check at the end)
  • Camera position (not the player direction, how?)
  • Clear items names on the map (check at the end)
  • when the item is collected it disappears from the map (how?)
  • Players arrows (how?)

My question...

All this is possible with java or they are using other type of language? my knowledge is only in html5.

Thanks.

items_dc
ui_dc

LinkError

I built a .jar from modules with dependencies and moved it to a different pc which has winpcap etc installed. Whenever I run "java -Xmx1024m -jar /D:/jar.jar" I get the following error:

Connected to the target VM, address: '127.0.0.1:51706', transport: 'socket' Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\s\AppData\Local\Temp\jna-105006804\jna17563392344963319234.dll: Can't find dependent libraries at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2614) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2499) at java.base/java.lang.Runtime.load0(Runtime.java:812) at java.base/java.lang.System.load(System.java:1821) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) at com.sun.jna.Native.<clinit>(Native.java:140) at com.sun.jna.Pointer.<clinit>(Pointer.java:41) at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:28) at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:24) at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:48) at pubg.radar.sniffer.Sniffer.<clinit>(Sniffer.kt:68) at pubg.radar.GameKt.main(Game.kt:41) Disconnected from the target VM, address: '127.0.0.1:51706', transport: 'socket'

Use the radar on another computer

Hello,

The radar works well, but to be safe from BE i'm trying to make it work on my other PC, but I don't really know how to do that. I can see the packets of my gaming PC, not on my 2nd computer

Can someone help me a little bit? Thanks ๐Ÿ‘

Step 5 question

On step 5, what do I put for <PortFilter|PPTPFilter> and where would I find whatever that is looking for?

Players don't show up at the end

Hello, it's me again
I got it to work, but some players (especcially at the end) do not show up on map (I did use the updated sniffer.kt and I speak at the beginn

Noob - Setup Guide

Hello, not fully understanding how to setup. anyone able to make quick guide on software and steps to get it working?

Is all this installed on same PC as PUBG atm? guessing you using a VM and if so that is still undetectable on local PUBG PC?

Thanks in advance.

Map doesn't display

Hi,

Thanks for your great work. Btw, I cannot make the map to display. The only thing I can see is gray blank window.
And, is it correct to run SNAPSHOT-jar-with-dependencies.jar? I cannot run these others because of error: No main manifest attribute.
Pardon me since I am not familier with Java and related thing.

Editted:
Nvm, my bad xD thanks again for your work.

Description : WGL: Failed to create OpenGL context

I try to run on windows 7 guest(vmware) and get this error
[LWJGL] GLFW_VERSION_UNAVAILABLE error
Description : WGL: Failed to create OpenGL context
Stacktrace :
org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1235)
org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1388)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWin
dow(Lwjgl3Application.java:425)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(
Lwjgl3Application.java:372)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3
Application.java:107)
pubg.radar.ui.GLMap.show(GLMap.kt:97)
pubg.radar.GameKt.main(Game.kt:43)
Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't
create window
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(L
wjgl3Application.java:428)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl
3Application.java:372)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Appli
cation.java:107)
at pubg.radar.ui.GLMap.show(GLMap.kt:97)
at pubg.radar.GameKt.main(Game.kt:43)
AL lib: (EE) alc_cleanup: 1 device not closed

Hide items dots.

Hey guys, im using this project since the beginning great work.

in java is possible to create some hotkey to hide the items dots?

not expert in java... It's a pity that it's not in html5

About the "detection"

I know that a passive sniffing tool on another computer shouldn't be detectable at all.

After some research i found 2 things though, that made me question the statement above:

  1. https://security.stackexchange.com/questions/25011/how-can-i-detect-if-someone-is-sniffing-network-packets-on-the-lan

over here you can read about some possible detection tools. One of them can check if another client in the network is running in promiscuous mode, which the sniffer is sinca few commits ago, right?

  1. In another thread about the commercial version of this radar someone talked about that it is detectable when steam "reserves nodes" of which i have no clue what he means by that. As an example he gives DankHax which has been detected in the past although it was external.

Is the deof this radarv or any other dev able to give a statement about the ways mentioned above? Do you think it is possible to detect this radar or are there any reasons that make tbe points from above irrelevant?

Thanks in advance

setup guide - newbie

hello guys, can anyone teach me to setup this pubg radar? thanks in advance :)

Already installed maven

So as I said I already install maven finish and I really have no idea what to do next please help ๐Ÿ’ƒ

Latest game update made some protocol changes?

Seems like the latest game update made some changes to the protocol.
While the radar still works (in some way), it only shows my position and my teammates positions.
Enemies seem to be stuck on certain positions/only update very slowly. Items don't show at all.

Build project maven

I build the project in maven, what should I do?
image
And how to open it later?

Installation help

Hello everybody. I am newbie. Who will help to ruin the complete installation of radar from scratch? I will be very grateful. My Discord (Ruffian#2384)

Player position stuck

Every match at the end of airplane path green point get stuck. I'm dissapearing from map and if I get car I will appera as red enemy dot
https://i.gyazo.com/2008209cc4366dbdc6a7521a024dd6ac.png (my real position is at blue arrow)

So I can't scroll the map, it always fixed at wrong position and then at the end of the game (~after 20 min) position changes to far far away from the map

xxxx

Hello,

I'm basically new to programming and stuff like this so please don't get upset if this is an easy fix or whatever, I'm still learning. Everything is setup, I run the two arpspoof commands and then when I want to run the .jar file I get the following error:

Error of failed request: RenderBadPicture (invalid Picture parameter)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 7 (RenderFreePicture)
Picture id in failed request: 0x460002b
Serial number of failed request: 2649
Current serial number in output stream: 2655
AL lib: (EE) alc_cleanup: 1 device not closed

Any help will be highly appreciated, thanks!

Player position.

Hi,

The program looks good but for some reason. my position is always fixed to the starting point.
Is see everybody moving except me. (green Dot)

Can't make it work

Hello, thanks for your sharing but i can't make it works :(

I tried all 3 jar ( dependencies, sources, default)

When i click on it, nothing happen, I will tell you what I did maybe you will see the problem somewhere

-installed winpcap/wireshark

  • Installed maven ( did the path, m3_home etc changes)
  • Installed java jdk ( did java_home change)
  • i launched cmd w/ admin rights : cd "the path of the unzip folder"
  • mvn package (tried mvn install too)

the software do the work, some notifications like "playerhead" (its an exemple) is not used anywhere.

reho(dot)st/self/b2bccaf8afb50381f560edd9fd3d9c56e3fd2372(dot)jpg

Plus the build say :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

Guess that's not normal, isn't it?

But after that i got a message saying build successful and I have 3 executables

And like I told you, when I click on it nothings happen.

I did a fresh install of my W10

Own PlayerLocation & No-Map inside a VM (HOW TO FIX!)

Hello,

For everyone who is having problems getting this to work, Here is how to resolve those 2 main problems:

  • First Problem: No-Map (Black map) (Windows)
    Download the 2 map images from the Linux Branch and put them in the same location for the main branch, Then edit the code like the following commit

This should resolve the "black map"

  • Second Problem: Own PlayerLocation not correct
    Check my Pull Request

Also pressing your VOICE button (for me this is T) at the beginning of the round is required since pubg only sends your own location when you at least used voice-chat once

ARPSPOOF WINDOWS !

How run this commands windows ?

run sudo apt-get install dsniff to install arpspoof.
edit /etc/sysctl.conf. add/uncomment net.ipv4.ip_forward=1. save and run sudo sysctl -p to enable ip_forward.
run sudo arpspoof -i <eth_interface_name> -t <game_pc_ip> <router_ip> to spoof game pc.
run sudo arpspoof -i <eth_interface_name> -t <router_ip> <game_pc_ip> to spoof router.
run sudo java -jar pubg-radar-with-dependencies.jar <middle_pc_ip> <PortFilter|PPTPFilter> <game_pc_ip>

setup guide

I do not understand here. I am a newbie.
I want you to explain it easily.

run sudo arpspoof -i <eth_interface_name> -t <game_pc_ip> <router_ip> to spoof game pc.
run sudo arpspoof -i <eth_interface_name> -t <router_ip> <game_pc_ip> to spoof router.
run sudo java -jar pubg-radar-with-dependencies.jar <middle_pc_ip> <PortFilter|PPTPFilter> <game_pc_ip>

can not using with vpn?

I ran the radar on VMware (pptp vpn used).
It probably seemed to work.

But the map image could not be loaded. (works on game PC. not works only vmware. idk why)
And unable to update my current location.

https://imgur.com/RRfszU1

How can I fix it?

Thanks for sharing. :)

sorry.
It works without VPN.
๐Ÿ‘

how to works with VPN?

Need some tips

tips

Using compilation of TheUserUnknown's fork.

  1. what is this phantom marks on the radar at number 1 on the pic?
  2. what do the counter at number 2 on the pic?
  3. why is downloading speed drops from 10mb/s to 200 kb/s n discord lagging "like hell" while spoofing, how to fix it?
  4. in the last few laps people are not displayed at all on radar, or just in last game on last laps 10 ppl alive but on radar just 5 or 6, how to fix it?
    and when ppl, obviously, quickly enter the radar coverage area (1.5km) on transport at a speed of 100 km/h+ - they do not appear in it, i mean they are near to you, but not displayed on radar
  5. for what is an sound allert used?
    it seems to me he is procs some kind of random.
  6. TheUserUnknown as default/AiYinZiLeGong with additions forks work fine for me, but
    compilation of PubgKnown fork - runs without errors, everything is fine, but .jar does not start, and his radar after comp is bigger then original by the 80 mb, it is because of the loot images added?

I apologize for the incorrect construction of proposals

Scrollable map

Can you make map scrollable and not player fixed please? As I still have player position stuck at start, I see this is the most easy solution

Does not work on linux

First I get Cannot save settings file to /root/.pubgradar/settings.properties even though I run it as root and then I get:

6
6
6
7
2
0
0
0
0
0
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  7 (RenderFreePicture)
  Picture id in failed request: 0x560001a
  Serial number of failed request:  1093
  Current serial number in output stream:  1094
AL lib: (EE) alc_cleanup: 1 device not closed

and the program closes...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.