luckyTamme / PUBG-Radar-setup

Easy setup script for PUBG Radar
https://github.com/EmberVulpix/Gaydar
50 stars 23 forks source link

Support #4

Closed luckyTamme closed 6 years ago

luckyTamme commented 6 years ago

If you have questions or need help, post here.

rawr1 commented 6 years ago

run in terminal:

xhost +

koser623 commented 6 years ago

screenshot from 2018-04-20 10-31-29 this is the screen that i got while the match start. ping can be establish from both way and that still doesnt work

C-Cicho commented 6 years ago

qq 20180419174650 I have joined the game and waited for some time. The radar didn't work.

OprekerSejati commented 6 years ago

I use vpn for radar pc, have same result as @C-Cicho , using windows 10 as host

rawr1 commented 6 years ago

@OprekerSejati You don't need to use vpn.

@C-Cicho Your xserver is broken. Did you activate enhanced graphics in virtual box? You can also try to install newer version of ubuntu, there might be newer apt-get sources for glfw.

C-Cicho commented 6 years ago

Thank you. I'll try again. @rawr1

patrick012018 commented 6 years ago

are you on a 4G connection sharing ?

mlgarrido commented 6 years ago

@koser623 same problem here

luckyTamme commented 6 years ago

@C-Cicho Please tell me if you use Ubuntu 16.04, if not use it! @koser623 @morigamio Are you using bridge network with replicate physical connection? @patrick012018 What do you mean with 4G connection sharing?

koser623 commented 6 years ago

@zecjy Im using Ethernet cable for both 2 pcs with direct connection to router

luckyTamme commented 6 years ago

So you have installed Ubuntu on your PC directly. If you use a VM, I said it for the VM settings.

koser623 commented 6 years ago

@zecjy Fair enough, Ill try to install VM and have a try
TA

koser623 commented 6 years ago

@zecjy I switched to VirtualBox and still the same thing. is there something to deal with this error msg"Network service discovery disabled- current network has a .local domain, which is not recommended"

koser623 commented 6 years ago

@zecjy capture

q129303 commented 6 years ago

Is it correct? https://imgchr.com/i/CKvmz8

luckyTamme commented 6 years ago

Dude, you have 364MB free Ram but want to use 4 GB???

q129303 commented 6 years ago

How to input

rawr1 commented 6 years ago

It broke completely now for me. I did like 3 reinstalls, the radar won't open with your run.sh. I can open it manually with the jar comman but it stays gray then even with arp spoof up

q129303 commented 6 years ago

https://imgchr.com/i/CMSNSP Not working

q129303 commented 6 years ago

https://imgchr.com/i/CMp1XT

luckyTamme commented 6 years ago

You don't have enough RAM!!!!! Second error is wrong ip again.

q129303 commented 6 years ago

All right, I set up this time 4GB RAM

Bellecurve commented 6 years ago

Recently, players are not correctly displayed https://imgur.com/a/vCVPr9v

Opfor33 commented 6 years ago

i ran it, it says "net.ipv4.ip_forward = 1" and after that nothing happens

Edit- Im using VM with bridge network

q129303 commented 6 years ago

https://imgchr.com/i/CMknNF I think this is the code you compiled wrong I used previous versions work

luckyTamme commented 6 years ago

I will look into it later, something is weird, more people experience bugs/not working atm.

Opfor33 commented 6 years ago

https://i.imgur.com/AjduHal.png Can someone help please? I dont know what I did wrong Do I need to install additional app in vm?

xpv64 commented 6 years ago

How to use previous versions?

xpv64 commented 6 years ago

i have the same problem, stuck at net.ipv4.ip_forward = 1

Bearman321 commented 6 years ago

https://i.imgur.com/BiLgBXb.png I'm getting the net.ipv4.ip_foward = 1 error to.

I'm actually trying to get this to work on xbox one and using my pc as radar.

rawr1 commented 6 years ago

Hello,

you did nothing wrong. It seems that the last push broke the installation.

q129303 commented 6 years ago

@rawr1 How should we solve this problem

rawr1 commented 6 years ago

I have found the error in his code:

His create_run.sh is faulty

Change

else
arpspoof -i $interface -t $game_ip $router_ip &> /dev/null
arpspoof -i $interface -t $router_ip $game_ip &> /dev/null
fi

to

else
arpspoof -i $interface -t $game_ip $router_ip & >/dev/null
arpspoof -i $interface -t $router_ip $game_ip & >/dev/null
fi

My create_run.sh:

#!/bin/bash

echo ""
echo "PUBG PC IP (192.168.??.??)"
read game_ip

echo ""
echo "Router (gateway) IP (192.168.??.??)"
read router_ip

echo ""
echo "Radar PC IP (this machine) (192.168.??.??)"
read radar_ip

echo ""
echo "interface name"
ls /sys/class/net
read interface

echo ""
echo "ram to use (e.g. 4g or 3g)"
free -h
read ram

cat >run.sh <<EOF
#!/bin/bash
sysctl -w net.ipv4.ip_forward=1
arpspoof -i $interface -t $game_ip $router_ip & >/dev/null
arpspoof -i $interface -t $router_ip $game_ip & >/dev/null
java -Xmx$ram -jar PUBG-Radar/target/Gaydar-6.9-jar-with-dependencies.jar $radar_ip PortFilter $game_ip
EOF

chmod +x run.sh

It starts the raydar again but it stays gray. So maybe they added new encryption? dunno

Update: OK got it working again. Start Pubg -> start radar -> start game in pubg. That worked for me.

Update: nope. It works sometimes, sometimes it doesn't.

q129303 commented 6 years ago

Wait for him to fix this

koser623 commented 6 years ago

@rawr1 that doesn't fix the issue of mine... : (

schulzjona commented 6 years ago

@rawr1 there is no "faulty" create_run.sh. If you would take a closer look into the code, you would see that there is an selection if the user is using the argument "--show_arpspoof". If it is used, you will see the common arpspoof output. If it is not used, arpspoof is "silenced".

So there is no faulty create_run.sh :)

rawr1 commented 6 years ago

@schulzjona

I did, but I don't think that you did

arpspoof -i $interface -t $game_ip $router_ip &> /dev/null

&> /dev/null

->

& >/dev/null

this is actually wrong too I think it would have to look like

& > /dev/null

It doesn't even matter because it does not work even when the radar opens.

q129303 commented 6 years ago

Who has the previous documents

schulzjona commented 6 years ago

I opened this https://github.com/zecjy/PUBG_radar_setup/pull/10 PR which is fixing the issues

luckyTamme commented 6 years ago

Fix is coming :)

rawr1 commented 6 years ago

Heh... got it running again. Schulzonas commit works but I had to reanable ipv6 in my windows network adapter to make the radar work again. I don't quite understand this but meh

xpv64 commented 6 years ago

how to do it working?

schulzjona commented 6 years ago

read the readme of the repo? @vpx11

xpv64 commented 6 years ago

i did everything, applied your fix to "create_run.sh" , but when i run, the map don't load and is stuck in grey.

schulzjona commented 6 years ago

Post the content of your run.sh in a new Issue pls :)

luckyTamme commented 6 years ago

Thanks to @schulzjona, everything should be working now! Just run the update.sh again choose N when asked if you want to keep the run.sh.

q129303 commented 6 years ago

@schulzjona Thanks,,,,,,,,Now I can work properly

koser623 commented 6 years ago

capture capture2 still not working for me ... @schulzjona plzzzzzzzzz help

luckyTamme commented 6 years ago

@koser623 you didn't typed any adapter. use create_run.sh again and type enp3s0 or whatever your adapter is (look ifconfig)

koser623 commented 6 years ago

@zecjy thanks
that work for me