NFS Offline Server wine

02/14/2017 11:35 leipero#16
Same thing even with higher port number (tried up to 60000 as you suggested).

Maybe, but i always do ufw disable, and even tried to reboot just in case (even tho ufw status says inactive as soon as disable is passed). But it should work with ufw enabled also, since I had to make exception for whole range of local addresses (because of LAN sharing).

I'm using Arch, and since i prefer minimalistic install, it's possible that I'm missing some dependencies? Host is configured as suggested on ArchWiki, and I even tried with disabled dnsmasq I normally use.

The only difference to regular systems is that i use static IP (I did tried to change that also in GetChatInfo.xml, even tho i had no clue what I'm doing lol), I'm kinda curious if that is teh case on leorblx mac system? And if that have anything to do with it, since I did not enabled dhcpcd, I just started it manually when system was installed,a fter i gave network manager to deal with it, and changed to manual addresses there.
02/14/2017 12:02 Nilzao#17
When you run
nc -l 60000
Check
netstat -a | grep 60000
And look what ip address is listening in that port.

Compare with 7331 port.
02/14/2017 12:57 leipero#18
I'm lost, netstat does not give any output, however, since it wasn't installed (deprecated from core utils), i also tried that replacement (ss), and ss -atn always shows the same:


PS: This might be helpful, when just server is started, ss -a shows this for xmpp-client:
tcp LISTEN 0 50 :::7331 :::*
tcp LISTEN 0 50 :::xmpp-client :::*
02/14/2017 13:07 Nilzao#19
My guess... listening on ipv6. I don't know if wine can connect to ipv6.

When you use ss -n show port numbers. xmpp-client is just translation of 5222.

This translation usually is inside /etc/services
02/14/2017 13:48 leipero#20
And your guess would be good :). I've disabled ipv6 and now it shows address 127.0.0.1 for xmpp. So that's good. But same thing happens as before, nc -l 21000 for example, still reconnecting etc.

And game still freezes, but, this is server log now, and everything seems fine when it freezes(?), closed at the end is ofc when i kill nfsw:

PS, when it's static it shows this:
udp UNCONN 0 0 192.168.0.47:netbios-dgm *:*
udp UNCONN 0 0 *:netbios-dgm *:*
tcp LISTEN 0 50 *:microsoft-ds *:*
tcp LISTEN 0 50 *:7331 *:*
tcp LISTEN 0 50 *:xmpp-client *:*
02/14/2017 14:27 Nilzao#21
Check your cryptoticket and getrebroadcasters files.

They are supressed on log, and called only when xmpp handshake works.
02/14/2017 15:03 leipero#22
I don't know what to check about them? In getrebroadcasters it is 127.0.0.1 port 9999, cryptoticket file have "nothing", this is what it is in it:

I've also tried to run it isolated in wine, with same result (game frozen), wine cmd, to server directory, java -jar ., started game with wine etc., so it should have used all internal connections of wine, wine ipconfig /all:

This is exactly how other configurations look like (in wine), but it might be helpful.
02/15/2017 01:48 Nilzao#23
@[Only registered and activated users can see links. Click Here To Register...]
did you try playing without using powerups?

in your log, this line:

POST: 1805681994

is the juggernout powerup.

if the game freeze when you use powerups, still getting problems with xmpp.

what's your wine version?

My wine 2.1 is freezing in 5 seconds too.

same problem with wine 1.9.19

I'm using wine-1.6.2 from ubuntu 16.04, and it's working fine.
02/15/2017 07:18 leipero#24
Yes I did, it freezes anyway, the reason why I'm pressing powerups is when i change something (for example those ports) i test if powerups work.

I've tried on multiple wine versions, 2.0-rcX, 2.1, 1.7.44.

Yeah, so it is wine problem, i will try latter with wine-1.6.2, the problem is, I'm using gallium nine patch (to get performance boost on OSS drivers), ofc. I tested it without it, it makes no difference for this problem. Will post result as soon as i try.

Just tried with clean prefix on 1.6.2 version, it works, but without powerups, so we can easilly run it on other versions of wine (without powerups) by changing port number to 7331 (to prevent reconnecting, we can doa ny other port tho) in GetChatInfo.xml as you suggested.

It must be something about the way wine connects to the host?
08/23/2017 01:06 leipero#25
Sorry for bump, I don't know what have changed (aside from game exe, will explain latter) but game works now under wine 2.14-staging witsh server 1.9.3 (with that custom .exe)

Long story short, I did not used that nfsw.exe from only one alive link now, as far as I remmember it wasn't there? Anyway, it works out of the box for me with configuration as follows.

Installed:
jdk8-openjdk 8.u144-1
jre8-openjdk 8.u144-1
jre8-openjdk-headless 8.u144-1
and dependencies:
java-runtime-common 2-2
java-environment-common 2-2

clean 32-bit wineprefix
winetricks directx9 d3dx9_43

Copy nfsw.exe from 1.9.3 server to game Data folder and overwrite, for easier usage you can make a script for server:

Server.sh
Code:
#!/bin/bash
cd "/your/server/location/1.9.3"
java -jar nfsw1930.jar &
sleep 3
cd "/your/game/location/sdx/Data"
wine nfsw.exe US http://127.0.0.1:7331/soapbox/Engine.svc a 1
Make it executable:
chmod +x Server.sh

And now it should work fine.

[Only registered and activated users can see links. Click Here To Register...]
08/24/2017 17:42 berkay2578#26
It works because that executable is cracked to not have XMPP&UDP packet verification. Game might be a bit weird though, that is a debug exe.
08/25/2017 00:43 leipero#27
Quote:
Originally Posted by berkay2578 View Post
It works because that executable is cracked to not have XMPP&UDP packet verification. Game might be a bit weird though, that is a debug exe.
Yeah, there are some weird things (like when you scroll parts it zooms out car also regardless of mouse position, or maybe that was the case before i don't know), but still, now works with wine like a charm :handsdown: :)