NFSW private server project

06/04/2016 00:25 AnonymousEVPV#376
Quote:
Originally Posted by berkay2578 View Post
Fixed AnonymousEVPV's chat bug, he only had to say "players won't leave chat". Also fixed some other bugs. Added cars+getpersonainfo:
[Only registered and activated users can see links. Click Here To Register...]
Yeah i see, Verry nice jobs and Thanks you so much Berkay :D (you are my hero :D)
06/04/2016 00:48 Befuddler#377
I just wanted to pop in and say thank you to Berkay2578 (Legend), Nilzao and Devious. Never thought I would play NFSW again, but thanks to Berkay, Yesterday, I found his thread and now i have it up and running. I added basic harder opponents and am having a blast. Nostalgia overload. I almost wet my pants, hehe. Absolute respect for everyone who is still working on it.

Thank you so much

-GetOutandPush (NFSW)
06/04/2016 15:51 berkay2578#378
achievements first step:
[Only registered and activated users can see links. Click Here To Register...]
06/04/2016 16:26 nfs_fan#379
A weird question is still left (in my mind): "What about the Offline-Server?"
Is the development of it completely "done" now? Or do you do something in the future?
The thing is: Does it makes sense to develop it any further? :D
06/04/2016 16:34 Keule306 ✌#380
Great job dudes, this is really amazing what you are doing here! :)
06/04/2016 16:40 bisztriz#381
Quote:
Originally Posted by berkay2578 View Post
are you sure you compiled the "release" branch and not master? because master has authentication and user login while release is pretty much an offline server.
No I'm not really sure :D Tbh I barely know what I'm doing but I'm an impatient fag who just can't wait and trying to compile it :)

Quote:
Originally Posted by Nilzao View Post
Half way done, gj fixing installed jre inside eclipse workspace options.

You need to run mvn clean build:assembly (something like that, it's inside readme ) to make full jar.

Will be like 12mb. Mvn install do less than 1 mb.
It's around 12mbs. I compiled it with the code listed on github. (clean compile assembly:single)

This is how it looks like when I run the server: [Only registered and activated users can see links. Click Here To Register...]

And I see that there is a new downloadable installer so thank you guys I will download that :D
06/04/2016 17:03 Nilzao#382
Quote:
Originally Posted by bisztriz View Post
This is how it looks like when I run the server: [Only registered and activated users can see links. Click Here To Register...]
Good, now need to create mysql server with root user without password and run rhe db/mysql scripts.
06/04/2016 17:20 bisztriz#383
Quote:
Originally Posted by Nilzao View Post
Good, now need to create mysql server with root user without password and run rhe db/mysql scripts.
Well for me that is chinese so I will try to be patient because I don't even know what mysql is :D Thanks for the help but it's too complicated for me.
06/04/2016 17:36 Nilzao#384
Quote:
Originally Posted by bisztriz View Post
Well for me that is chinese so I will try to be patient because I don't even know what mysql is :D Thanks for the help but it's too complicated for me.
the mysql server:
[Only registered and activated users can see links. Click Here To Register...]

and

the mysql workbench (to run the scripts)
[Only registered and activated users can see links. Click Here To Register...]
06/04/2016 18:56 MatteoF50#385
I tried to run the server (I compiled the "master" branch) on a PC connected to another PC through direct WLAN (only two PCs, no routers or anything). Ping was below 5ms and all fiewalls were disabled.

• All HTTP/XMPP part is working absolutely well. Chat, powerups, etc.

• The UDP part is not working as it should do:
- Event join works
- Lobby works
- Race is not working

Both PCs "see" all the two players in the race, but only one "moves" (who controls the car). The opponent's car remains like "frozen" or moves a very very little in the same direction forever.

The pre-race countdown ("3,2,1") isn't synchronzed between the 2 PCs (one person can launch the car earlier or later). The strange thing is that, when I started before my opponent, then I saw him having the Perfect Start animation (while he was launching his car on the other PC) even if he was completely static on the road on my PC.

So, am I missing something obivious to run the server correctly?
I haven't noted anything strange or errors on the two cmd windows.
06/04/2016 19:52 Nilzao#386
Quote:
Originally Posted by MatteoF50 View Post
I tried to run the server (I compiled the "master" branch) on a PC connected to another PC through direct WLAN (only two PCs, no routers or anything). Ping was below 5ms and all fiewalls were disbled.

• All HTTP/XMPP part is working absolutely well. Chat, powerups, etc.

• The UDP part is not working as it should do:
- Event join works
- Lobby works
- Race is not working

Both PCs "see" all the two players in the race, but only one "moves" (who controls the car). The opponent's car remains like "frozen" or moves a very very little in the same direction forever.

The pre-race countdown ("3,2,1") isn't synchronzed between the 2 PCs (one person can launch the car earlier or later). The strange thing is that, when I started before my opponent, then I saw him having the Perfect Start animation (while he was launching his car on the other PC) even if he was completely static on the road on my PC.

So, am I missing something obivious to run the server correctly?
I haven't noted anything strange or errors on the two cmd windows.
You did all right,

the udp server needs better implementation, we realized that both computers need to be near specs...

example, i can't race intel i3 vs i7...
06/04/2016 20:36 MatteoF50#387
Quote:
Originally Posted by Nilzao View Post
You did all right,

the udp server needs better implementation, we realized that both computers need to be near specs...

example, i can't race intel i3 vs i7...
Yeah, I understand...
I used an Athlon X4 860K @4,0 GHz (Quad Core) and an A8-4500M @2,3 GHz (also Quad Core). The game runs fluently on similiar deail level on both hardware, but at this point is not enough to achieve perfect sync.

Maybe is exactly the CPU clock speed that matters, because I had the impression that the UDP server on my PC "didn't wait" the game on the other PC... so sync is screwed.

I hope you find a way to fix all these problems. Take all the time the project needs. :)
06/04/2016 20:55 bisztriz#388
Quote:
Originally Posted by Nilzao View Post
the mysql server:
[Only registered and activated users can see links. Click Here To Register...]

and

the mysql workbench (to run the scripts)
[Only registered and activated users can see links. Click Here To Register...]
Thank you I will try it :)
06/04/2016 21:54 AnonymousEVPV#389
Hello Berkay and Nilzao

After more test, i see one bug in chat world and mp chat.

If you start game, this launch at 12AM 12:00.

If DEBUG2 join the game after +15mins DEBUG1, this launch at 12AM

So DEBUG1 is 12h15
and DEBUG2 is 12H00

Debug1 and Debug2 no see if this say in chat and mp chat
because (i think) dude no sync

So my question is, it is possible to sync (time) the server ?

Thanks and sorry for my bad english
06/04/2016 23:43 berkay2578#390
Server time sync has nothing to do with chat...