Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Need for Speed World
You last visited: Today at 00:40

  • Please register to post and access all features, it's quick, easy and FREE!


NFS Offline Server wine

Discussion on NFS Offline Server wine within the Need for Speed World forum part of the Other Online Games category.

Reply
 
Old 02/14/2017, 11:35   #16
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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.



leipero is offline  
Old 02/14/2017, 12:02   #17
 
elite*gold: 0
Join Date: Jun 2015
Posts: 331
Received Thanks: 604
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.


Nilzao is offline  
Old 02/14/2017, 12:57   #18
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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 :::*
leipero is offline  
Old 02/14/2017, 13:07   #19
 
elite*gold: 0
Join Date: Jun 2015
Posts: 331
Received Thanks: 604
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


Nilzao is offline  
Old 02/14/2017, 13:48   #20
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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 *:*
leipero is offline  
Old 02/14/2017, 14:27   #21
 
elite*gold: 0
Join Date: Jun 2015
Posts: 331
Received Thanks: 604
Check your cryptoticket and getrebroadcasters files.

They are supressed on log, and called only when xmpp handshake works.
Nilzao is offline  
Old 02/14/2017, 15:03   #22
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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.
leipero is offline  
Old 02/15/2017, 01:48   #23
 
elite*gold: 0
Join Date: Jun 2015
Posts: 331
Received Thanks: 604
@
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.
Nilzao is offline  
Thanks
1 User
Old 02/15/2017, 07:18   #24
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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?
leipero is offline  
Old 08/23/2017, 01:06   #25
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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.

Attached Images
File Type: jpg 2017-08-23 00-31-40.jpg (16.1 KB, 46 views)
leipero is offline  
Old 08/24/2017, 17:42   #26
 
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,367
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.
berkay2578 is offline  
Thanks
1 User
Old 08/25/2017, 00:43   #27
 
elite*gold: 0
Join Date: Jul 2015
Posts: 61
Received Thanks: 14
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


leipero is offline  
Reply



« Exception caught in server 18 | NFS:W Offline Xbox Controller Doesn't Work »

Similar Threads
[How-To] auf einem p server spielen (Linux) mit wine
07/07/2010 - Metin2 PServer Guides & Strategies - 6 Replies
Hi, da ich keinen anderen Thread zu dem Thema gefunden habe, dachte ich mir ich mach den Thread auf... Worum geht es? Wie der Titel schon sagt, wie man auf einem Metin2 P-Server mit Wine spielen kann... LINUX: Schritt 1.) Ihr ladet euch Wine runter... CODE--> sudo apt get install wine
Wine zone help
06/29/2007 - Conquer Online 2 - 3 Replies
i went to wine zone once when i was a noob a few years ago, never went back. i was thinking, can some1 post a map of wine zone for me and maybe can point out the best spwan spot for lvlin a archer ty
p. wow server mit wine auf linux .. suchen profi
03/28/2006 - WoW Private Server - 3 Replies
Hallo, hat hier jemand Interesse an eiem Projekt zu helfen. Wir brauchen noch einen spezialisten, der uns hilft auf unseren root, mit linux WINE zu installieren und die wow emu zum laufen zu bekommen. Bitte meldet euch hier im Topic oder per icq: 213-814-211



All times are GMT +2. The time now is 00:40.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.