ForeverAloneTrucker Posted December 22, 2014 Share Posted December 22, 2014 ^ Yes nothing change. Link to comment Share on other sites More sharing options...
ForeverAloneTrucker Posted December 22, 2014 Share Posted December 22, 2014 There's something I did wrong? - Python installed. - Radar files installed on C:/upper - Open game and join eu 1 - Alt tab and going to desktop - Open cmd with administrator - Start launcher.py with in game id - back to game and drive. - alt tab and going to ets2map - looking my location but nothing. and - windows firewall closed - antivir closed - upnp active on modem Link to comment Share on other sites More sharing options...
Movvy Posted December 22, 2014 Share Posted December 22, 2014 seems like theres maybe a connection issue with some ppl..as with me we concluded i was sending too little packets. Link to comment Share on other sites More sharing options...
Takumi Fujiwara 86 Posted December 22, 2014 Share Posted December 22, 2014 If I am allowed to share it, I have made a simple batch file that will automatically run the launcher without having to do all the stuff in cmd beforehand. Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 22, 2014 Author DevOps Share Posted December 22, 2014 If I am allowed to share it, I have made a simple batch file that will automatically run the launcher without having to do all the stuff in cmd beforehand. Feel free to put it on the forum here with a <code> tag Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 22, 2014 Author DevOps Share Posted December 22, 2014 There's something I did wrong? - Python installed. - Radar files installed on C:/upper - Open game and join eu 1 - Alt tab and going to desktop - Open cmd with administrator - Start launcher.py with in game id - back to game and drive. - alt tab and going to ets2map - looking my location but nothing. and - windows firewall closed - antivir closed - upnp active on modem Im pondering there may be an issue, by chance do you have more than one NIC card on your computer? Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
Richie_NZ Posted December 22, 2014 Share Posted December 22, 2014 Outstanding work. Very nice indeed, welldone Don't be upset I don't give a fuck, Be upset I once did but you were to blind to see \ Almost 50 drive trucks IRL and don't want speed limiter on, so " GO FUCK YOURSELF" not everybody that wants limiter gone is a kid Link to comment Share on other sites More sharing options...
Takumi Fujiwara 86 Posted December 22, 2014 Share Posted December 22, 2014 here is the code for the batch file as requested: C:/upper/Launcher.py<or if you put it somewhere else put the FULL path of the file> put that in a text program such as notepad or notepad ++ save as all file types, put .bat in the name be sure to run as administrator or it will not work alternatively if you do not want to use a batch file you can just type in CMD cd C:/upperLauncher.py<new line indicates press enter> Link to comment Share on other sites More sharing options...
ForeverAloneTrucker Posted December 23, 2014 Share Posted December 23, 2014 Im pondering there may be an issue, by chance do you have more than one NIC card on your computer? I have Avermedia tv tuner on pc. Most bda drivers showing ethernet adapter on windows. I'll try tomorrow delete bda drivers. Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 23, 2014 Author DevOps Share Posted December 23, 2014 Updated to v1.1Fixed - High CPU usage (Really.. it's a lot more lightweight now) Improved - Better loading screen Please re-download all 3 files again from http://ets2map.com/upper/ Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 23, 2014 Author DevOps Share Posted December 23, 2014 I have Avermedia tv tuner on pc. Most bda drivers showing ethernet adapter on windows. I'll try tomorrow delete bda drivers. If you'd like you can try editing this section of pServer.py , I -THINK- it will force the next card (Change from a 0 to 1); self.s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_UDP) self.s.bind((self.HOST, 0)) self.s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1) Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
Takumi Fujiwara 86 Posted December 23, 2014 Share Posted December 23, 2014 Hey Kat, I made an EXE installer file for the radar if you want it Link to comment Share on other sites More sharing options...
Tavren Posted December 23, 2014 Share Posted December 23, 2014 It's good idea, but it's better to make on server side of ETSMP, they already have info about all players positions, so they just need to store it and show on WEB, this not add aditional load on client CPU and network. In this type, i think better to use some more fast and useful code language like C++,C# or maybe Java for processing packets on client side and send only coodrs to map server - it's reduce network load and better solution than mirroring traffic to server with more unused data. And using other language can prowide performance and reduce CPU usage. Link to comment Share on other sites More sharing options...
Amazing Red Panda Posted December 23, 2014 Share Posted December 23, 2014 Is there only me that when i open ets2map.com, i can only see traffic at Rotterdam area ? Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 23, 2014 Author DevOps Share Posted December 23, 2014 It's good idea, but it's better to make on server side of ETSMP, they already have info about all players positions, so they just need to store it and show on WEB, this not add aditional load on client CPU and network. In this type, i think better to use some more fast and useful code language like C++,C# or maybe Java for processing packets on client side and send only coodrs to map server - it's reduce network load and better solution than mirroring traffic to server with more unused data. And using other language can prowide performance and reduce CPU usage. While you make valid points, without giving out details, a better system is in the works so players do not have to run this. The CPU usage is no longer an issue with v1.1 after the bug I found was fixed. The reason I am mirroring traffic vs processing it is I was asked by Rootkiller not to include any code that deals with the packets or structures of packets. I am fully aware of the inefficiencies of this design by forwarding all packets, but I must work with what I have and I went to Rootkiller to get permission before this was released. The reason I went with python is because it is what I know. The part about performance being an issue, while valid for some applications of programming, is quite moot at this point for this project (now and into the future). The server application I wrote that processes and vends all of the data used quite literally using 0.23% cpu with a 9MB footprint (that is including a compliant webserver running in the code as well). I have scale tested the design to thousands of trucks being tracked and thousands of api requests per second with no issue. Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2014 Share Posted December 23, 2014 Is there only me that when i open ets2map.com, i can only see traffic at Rotterdam area ? ets2map.com relies on this to provide additional info on the map, if nobody is running it then only Kat's cameras provide data to the map. Link to comment Share on other sites More sharing options...
Takumi Fujiwara 86 Posted December 23, 2014 Share Posted December 23, 2014 i ran a little test of installing off of the installer, and the results were a success! Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 23, 2014 Author DevOps Share Posted December 23, 2014 i ran a little test of installing off of the installer, and the results were a success! That is awesome! The only thing I try to do is not have exe's / installers anymore. I've released things in the past for other games and there is always one person who false claims they got virus for you and suddenly people think you are up to fishy things.I will test out the batch file and will probably include that on the downloads as well (with credit to you) Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
Mazokki Posted December 23, 2014 Share Posted December 23, 2014 Works great! Amazing work as always! Thanks Kat_pw Link to comment Share on other sites More sharing options...
ForeverAloneTrucker Posted December 23, 2014 Share Posted December 23, 2014 If you'd like you can try editing this section of pServer.py , I -THINK- it will force the next card (Change from a 0 to 1); self.s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_UDP) self.s.bind((self.HOST, 0)) self.s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1) this is not help but I disabled aver tv ethernet adapter without uninstalling driver and its working. Link to comment Share on other sites More sharing options...
Guest Posted December 24, 2014 Share Posted December 24, 2014 Hi Kat! After talking with Takumi Fujiwara for a while, he suggested that I post this issue that I am having here. The issue is that when I go to open the bat file as an administrator, it comes up real quick then goes away. What do I do? (https://www.youtube.com/watch?v=4rtg_N-KDdI) Link to comment Share on other sites More sharing options...
Takumi Fujiwara 86 Posted December 24, 2014 Share Posted December 24, 2014 the person above's problem was fixed by installing the correct version of python (he had installed version 3 instead of version 2.) he was also my beta tester for the installer and batch file EDIT: I think something is wrong with the radar server because ets2map.com isnt updating radar posistions Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 24, 2014 Author DevOps Share Posted December 24, 2014 the person above's problem was fixed by installing the correct version of python (he had installed version 3 instead of version 2.) he was also my beta tester for the installer and batch file EDIT: I think something is wrong with the radar server because ets2map.com isnt updating radar posistions I am running into some parsing issues with some invalid packets coming in. As it is random, I need some time to narrow down issue to implement fix. In meantime if you see trucks stop moving on map, this probably happened. Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
DevOps Kat_pw Posted December 25, 2014 Author DevOps Share Posted December 25, 2014 Update, Server API seems to be fixed. Traffic Cameras : twitch.tv/kat_pw | Ets2Map : ets2map.comKat_pw Status:[CCTV #1] Status:[CCTV #2] Status:[CCTV #3] Status: Link to comment Share on other sites More sharing options...
konfig0 Posted December 25, 2014 Share Posted December 25, 2014 Update, Server API seems to be fixed. Wow man, I have very much respect for you, 1st: You are making the MP mod so much fun for a lot of people2: You are even bringing updates out on christmas! 3. You are an amazing admin. I wonder if you look both ways when you cross my mind.. Be slow to critize, be fast to appreciate. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.