berkay2578

elite*gold: 15 The Black Market: 11 /0/ 1 /0/ Join Date: Aug 2012 Posts: 3,041 Received Thanks: 6,375

NFS World - Offline Server







Need for Speed World: Offline Server

Version v1.8Beta Update3 Hotfix3



"There is no real end for NFSW until we say so."





Introduction

They, even me, said it was impossible. Well, it turns out that it's possible and it can be done. Please welcome the first ever public custom server for NFS: World.



To those willing to help, the code resides in . Send commits as pull requests.



About

It's a pretty straight-forward tool but since it's in beta it requires many dependencies. These include: Java, Python2, Windows. We try our best to bring you the best experience but remember that it will take time.



How to use

Read the "readme.html" in the archive. It tells you everything you need to know.



Bugs If you use parts from your inventory, they will not be removed from your inventory. You have to sell them to get rid of them!

Card packs, insurance and amplifiers don't work and can't be bought.

When broken, TH Streak will reset itself after server is restarted if it wasn't completed in a single run.

Troubleshooting Make sure your firewall is disabled.

Make sure your antivirus is disabled.

Make sure you did NOT change anything in the server.

Make sure you have installed Java 8 Update 66 or up.

Make sure you have reinstalled Python if you used versions before 1.8. (Also make sure to delete C:\Python27 before installing Python)

Make sure you have installed Python following the link in the readme. Then, made sure to follow instructions on the README.

Make sure you did NOT touch Python after installing it.

Make sure you are NOT using an operating system that's from 2001 and had its last update 7 years ago. (aka Windows XP) ->

If you can't get past this:

"Attempting to connect XMPPHOST. #X

Failed, retrying"

Uninstall Python, delete C:\Python27, and then install Python using the links and instructions on the README.

Uninstall Python, delete C:\Python27, and then install Python using the links and instructions on the README. If nothing helps, here's a magnet link of NFSW(thx to GMZ):

magnet:?xt=urn:btih:2DC6F0736F982FB2...F30C4208BA20EB

Changelog

Quote: Release v1.8 BETA - UPDATE 3 HOTFIX #3 - 08/12/2015 10:40pm GMT+3

|1| Fixed a bug where sold inventory parts wouldn't be decreased from the UsedSlotCounts.



->

Release v1.8 BETA - UPDATE 3 HOTFIX #2 - 08/12/2015 10:25pm GMT+3

|1| Fixed a bug where game would crash after finishing an event.

|1|a| This literally happened because I forgot to add ONE line. Only ONE.



->

Release v1.8 BETA - UPDATE 3 HOTFIX #1 - 08/12/2015 9:40pm GMT+3

|1| Fixed LoginAnnouncements.

|2| Added console output for basketIds.

|3| Added source to the archive.

|3|a| This is now, just like back in the beta 1.0 days, an open-source server.

|3|b| Any usage of this code in your server would mean that you have to give credits to the original creators: Nilzao & berkay2578.



->

Release v1.8 BETA - UPDATE 3 - 08/12/2015 7:00pm GMT+3

-------------------------------------------------------------

| The Offline Server Launcher has been improved.

|1| First Time Launch? function has been improved.

|1|a| It will now check for the selected server's version and act accordingly to it.

|1|b| It will now also copy /server/serverSettings if it exists.

|2| Server Settings tab has been added.

|2|a| Ability to change race rewards has been implemented.

|2|a|.| Rank 1 Reward: This is the base IGC value of 1st place before any multiplication or division.

|2|a|.|.| Rank 2 will be divided by 2, rank 3 will be divided by 4 and other ranks will be divided by 20 before any multiplication.

|2|a|,| Mulipliers: These are the values of multiplication that will happen after the base reward calculation described above.

|2|a|,|,| These will affect both REP & IGC, including the extra rewards.

|2|b| Ability to change drop rates has been impletened.

|2|b|.| Currently, these percentages can only be powers of 10.

|3| Export function now will take a backup of /server/serverSettings.

|4| Powerups tab has been removed.

|5| Completely fixed the "invalid XML" bug when importing personas or restoring from old versions.

|6| Increase AutoSave timer tick to 5 seconds.

|6|a| The Launcher will now also save when "Start Server" is clicked.

|7| Under-the-hood changes to make the server more consistent.

|8| UI improvements.

|8|a| Inputs that could only be numbers now use NumericUpDowns instead of Textboxes.

|8|b| Right clicking on "Start Server" will now make the launcher open the server and NFS:W with no error checks.

|8|c| Replaced manifest icon with the new icon.

-------------------------------------------------------------

| The Offline Server has been improved.

|1| Since the users profoundly continue to use WinXP even despite Microsoft dropping support, server's size is back up to it's original size.

|2| Inventory system has been revamped.

|2|a| Added support for multiple inventories.

|2|a|.| Every persona will now have it's own inventory, along with it's own count of powerups.

|2|b| Inventories' UsedSlotCount attribute is increased every time a new part is added.

|2|b|.| Players can no longer have infinite amounts of parts in their inventory.

|2|b|.| Inventory now has a limit, which can be changed in objects.xml, and the server will not go over that limit.

|2|c| Ability to sell inventory items has been added.

|2|c|.| Do note that NFS:W itself has a bug in selling inventory items. When selling over 3 items you might experience some hiccups or even crashes.

|2|c|.| Any items that were won from races before the 1.8.3 update will be sold for 0IGC. Sorry folks.

|3| Fixed bugs related to the TH.

|3|a| Fixed a bug where a broken TH couldn't be revived.

|3|b| Fixed a bug where TH would reset back to 0 gems on on server restart if all 15 gems weren't collected in a single run.

|3|c| Fixed a bug where another seed would be generated for TH on server restart if all 15 gems weren't collected in a single run.

|4| Fixed a bug where the server would count XMLNodes as if it was one less.

|5| Fixed a bug where reaching level 70 would crash the game.

|5|a| The server will no longer award REP when level 70 is reached.

|6| The server has been reworked to accept custom server settings from the Server Launcher.

|7| Merged basket file fixes from GlideImage.

|8| Reverted back to old performance shop catalog.

|8|a| Fixed the "invalid" bug after races.

|8|b| This does mean, however, not all performance parts will be in the shop.

|9| Made it harder to level up. Changed "75" multiplier of the formula to "50".

|10| Under-the-hood changes to make the server more consistent.

-------------------------------------------------------------

| Server features you might not be aware of:

|1| To launch an MP event as SP, follow these steps:

|1|a| Open the map, select the event you want to play.

|1|b| Click Multiplayer(or Team Escape) on the Event Screen.

|1|c| Launch a random event as Singleplayer.

|1|d| The server will load the selected event instead of the random event.

|2| If your current car has support for cop lights pressing the button "L" in-game will activate them; if it doesn't, it will only blink the light instead.

|3| Right-clicking on "Start Server" automatically starts the server and NFS:W without showing any confirmation messages, assuming everything is properly set.

|4| Right-clicking on "Start NFS: World" will remove the settings.ini. This is good for troubleshooting "nfsw.exe" issues.

|5| It's not idiot-proof. old versions Quote: Release v1.8 BETA - UPDATE 2 - 29/11/2015 9:00pm GMT+3

-------------------------------------------------------------

|| The Offline Server Launcher has been improved.

|| --> Update checks for new versions is now implemented.

|| --> "First Launch?" setting is added.

|| ----> If the launcher is started for the first time for a server version, it will ask whether the user wants to import his/her old drivers from an old version(versions only after 1.8BETA).

|| ----> At first launch, it will also automatically unblock the files of the server.

|| --> Removed the settings "Is Python Installed" and "Python Path".

|| --> Removed the message "Python isn't installed.".

|||||||||| If one follows the README to install Python, he/she won't have any problems anyways.

|| --> The launcher will now auto-load and auto-save the field in sync with NFS:W.

|| ----> If NFS:W isn't open, the launcher will auto-save the settings every 3 seconds.

|| ----> If NFS:W was open and it was then closed, the launcher will auto-load new data from the server.

|| --> If "Auto Time" is checked, the time will keep up with the OS Time instead of getting the time only once.

|| --> "Export Persona" function has been added. It will create backups of the personas for you. YOU CAN USE THESE BACKUPS DIRECTLY! JUST OVERWRITE THE WWW FOLDER WITH THE BACKUP\WWW AND YOU WILL GET YOUR PERSONAS BACK.

|| --> Donation button has been removed.

|| --> Small UI improvements.

|| --> Added new holiday option: "Christmas & New Years". Combines fireworks and snow.

|| --> Fixed a bug where importing a carslots with multiple linebreaks would crash the launcher.

|| --> Fixed a bug where NFS:World wouldn't play in-game music.

|| ----> Removed the "No Intro" patch.

-------------------------------------------------------------

|| The Offline Server has been improved.

|| --> Server's size has been further decreased to 402 KB (412,532 bytes).

|| --> Treasure Hunt support has been added.

|| ----> Each treasure hunt will reward 500REP, 1kIGC and 500BOOST.

|| ----> The server will keep a log of the streaks.

|| ----> The player will only be able to do one Treasure Hunt a day.

|| --> All performance parts have been added to the store. (nlgzrgn, oh you beauty <3)

|| --> Fixed a bug where getting busted in a Team Escape would still give rewards.

|| --> Fixed a bug where buying car slots would crash the server.

|| --> Fixed a bug where converting ProductTitle to TitleCase would crash the server.

|| --> Fixed a bug where purchasing items with no basket data would still reduct money from the player's balance.

|| --> Fixed a bug where selling a car and then changing cars would crash the server.

|| --> Fixed a bug where users actually knew how to operate an operating system. <^ u ^> Quote: Release v1.8 BETA Hotfix #1 - 28/11/2015 2:30pm GMT+3

-------------------------------------------------------------

|| Fixed the "invalid root" bug while importing carslots.

|| Fixed won parts not being added to the inventory.

|| Fixed a bug where finishing the Treasure Hunt would crash the game.

-------------------------------------------------------------

EXTRACT INTO A NEW FOLDER, DO NOT MERGE WITH v1.8! Quote: Release v1.8 BETA - 28/11/2015 2:00am GMT+3

-------------------------------------------------------------

|| "ServerEditor" modified.

|| --> Renamed to "Offline Server Launcher".

|| --> Miniscule code changes, remains mostly as is.

|| --> Auto-Time support, uses computer time for in-game time.

|| --> New settings file, auto-detects NFS:W and Phyton's folder.

-------------------------------------------------------------

|| SERVER OVERHAUL.

|| --> Economy support has been added.

|| ----> Supports:

|||||||||| After-Event rewards.

|||||||||| Buying and selling cars.

|||||||||| Buying (NOT SELLING) customization parts (A/M parts, Vinyls, Paints etc.)

|||||||||| Repairing cars.

|||||||||| Buying car slots.

|||||||||| Buying powerups.

|| ----> Both IGC and Boost's maximum limit has been raised to 1,000,000,000.

|||||||||| NFS:World NATURALLY only supports the maximum limit of 10,000,000. This does cause some issues to happen after surpassing this default limit, however, the issues have minimal effect on gameplay.

|| --> Basket system revamped.

|||||||||| The prefix "NFS-NA:" is no longer used. Instead, "SRV-PARTIDENTIFIER" is now used.

|||||||||| THIS RENDERS ALL OF THE MODS THAT WERE RELEASED BEFORE THIS VERSION(1.8BETA or 28/11/2015) INCOMPATIBLE!

|| --> Progression support has been added.

|| ----> Players can now level up.

|| ----> A pursuit/team escape/race will reward Reputation points using this formula:

|||||||||| Total Gained REP = ((75 * Current Level) + ((53 * Current Level) * (LeaderboardRanking <= 3 ? -> |LeaderboardRanking - 5| :-> 1))) / DragRace = true ? -> 2 :-> 1

|||||||||| Using this formula, if you were a level 8 player that just finished first in a circuit race this is how much rep you would get:

|||||||||||| (75 * 8 + (53 * 8) * |1-5|) / 1

|||||||||||| 600 + 1696 = 2296 REP

|| --> After-Event rewards have been implemented.

|| ----> After any events that have a chance to drop a card will now yield card drops along with Cash and Rep winnings.

|| ----> Expected winnings and drop rates:

|||||||||| Circuit/Sprint Prizes

||||||||||| 1st -> 20k IGC

||||||||||| 2nd -> 10k IGC

||||||||||| 3rd -> 5k IGC

||||||||||| 4th, 5th etc -> 1k IGC

||||||||||

|||||||||| Drag Prizes

||||||||||| 1st -> 10k IGC

||||||||||| 2nd -> 5k IGC

||||||||||| 3rd -> 2.5k IGC

||||||||||| 4th, 5th etc -> 500 IGC

||||||||||

|||||||||| Number of Collisions (aka ramming)

||||||||||| 0 -> Extra 1k IGC & 500 REP || 500 IGC & 250 REP if it's a drag race

||||||||||| 1 -> Extra 100 IGC & 100 REP || 50 IGC & 50 REP if it's a drag race

||||||||||| 2, 3 etc -> 0 IGC

||||||||||

|||||||||| Perfect Start -> Extra 1k IGC & 250 REP || 500 IGC & 125 REP if it's a drag race

||||||||||

|||||||||| Drop Types (event type not important)

||||||||||| 1st -> Performance Parts, Visual Parts, Skill Mods, Powerups, Cash Drops[IGC or Boost]

||||||||||| 2nd -> Visual Parts, Skill Mods, Powerups, Cash Drops[IGC or Boost]

||||||||||| 3rd -> Skill Mods, Powerups, Cash Drops[IGC or Boost]

||||||||||| 4th, 5th etc -> Powerups

|||||||||| Every 10 level, the player will be granted a drop of a random car. All cars have the same odds, so the chance of getting a Bugatti Veyron is equal to that of a Ford Focus ST.

|| --> Fake Event Launch system has been added.

|| ----> 1. Open the Event UI of the event you want to play in singleplayer. (Example: Open the map, click "Join" on an event, click "Multiplayer", or "Team Escape" if it's a Team Escape, on the Event UI.)

|| ----> 2. Start a random event as singleplayer. (Example: Open the map, click "Join" on a random event that can be played singleplayer, click "Singleplayer".)

|| ----> 3. The event, which you selected "Multiplayer" on, will be loaded instead of the other random event.

|| --> Everytime a persona is logged in or a car of a persona is sold, that persona's carslots will be reconstructed to reorder the cars. (Fixes the famous "my car is now something else" bug)

|| --> Powerups will now decrease when used.

|| --> MITMProxy dependency has been removed.

|| --> Cryptoticket & getrebroadcasters GET loop has been fixed.

-------------------------------------------------------------

|| --> Answering Keule on his weird "comments" about the 1.7.

|| --> He said this on a forum on 25.11.2015 20:17:

|||||||||| Man beachte, das ich die 1.7 in die 1.2 "eingefügt" habe, inklusive all meiner Mods und Features, trotzdem nach dem kompilieren einen kleineren Server habe, als ursprünglich

|||||||||| 1.2 = 1.174kb laut Explorer

|||||||||| 1.7 = 1.182kb laut Explorer

|||||||||| 2.0 = 1.169kb laut Explorer <-- meine Version

|| --> After hearing of this, I used a custom wrapper for compiling instead of the default Eclipse compiler.

|| --> The v1.8 server now has a size of 853 KB (874,142 bytes) and the whole server structure is 1.64 MB (1,724,620 bytes)).

|| lololol gogo kid. Release 28/07/2015 4:40PM GMT+3 ||GOT HOTFIXED ON 5:26PM GMT+3 - 28719 d/ls Not uploading the source since you can still read the code with a decompiler, saves b/w.

SERVEREDITOR ONLY SUPPORTS THE 1613 BUILD!

The famous 'Out of Memory', '-1 Car Index', 'Cant sell car' problems should be fixed. I did all I could.

'BASIC' 3 driver support is added. Changing drivers support is added.

ServerEditor and XMPPHost modified to support multiple drivers.

To use powerups after you changed drivers: Go to freeroam, come back to safehouse and go back to freeroam. REMEMBER IT'S ONLY A BASIC MODULE!

Adding car slots support is added. (Car Dealer -> Purchase Cars -> Buy Car Slot)

Car repair support is added.

Code has been optimized to run on even lower hw. (eg: you can host it in a Raspberry Pi Series 1 now. HYPE.)

Every freaking car that's in-game has been added to the shop. (BAMBIE <3) You will, besides the original special cars, find 'special' car models.

Reverted back to Jetty M2. [Stability]

Kim Jong-Un sadly left our crew for private reasons. You will be missed dearly. <3 :'( On the other hand Kim Kardashian has joined the crew!

XMPP approval function removed.[plzdontsueme]

Pressing "L" in-game will activate the cop light function while using any car. Cop lights will activate only if the car has them. [eg: megablocks mustang, silvia s15]

Otherwise there will only be blinking lights.

Server optimizations and new log system.

||--||

ServerEditor optimized & fixed. ServerEditor now runs on .net 3.5 CP. [XP and shit.]

It will auto-close server when NFS:W is closed.

It won't let user open NFS:W until server is up.

It will now wait for the server to open properly before letting the user to start NFS:World.

Fixed a bug in File Modder, where it would always save to default carslots instead of the selected carslots.

Added "Remove" on right click for the Car Listbox.

Basket datas minified. [From 5mb to 2.4mb]

Merged all of the updates community did. (New vinyls, wheels, bodykits etc.) Release 18/07/2015 9:48AM GMT+3 - 12975d/l Recompiled, removed Locale.setDefault and moved it to command line. (This could be the reason for all of the Out of Memory stuff)

ServerEditor will now close the server when nfsw.exe is closed.

Re-added file modification support, just make sure you follow the formats of the files, please.

Hell if I know what's the problem, just try this version too and let me know. Release 17/07/2015 5:00PM GMT+3 Couldn't add the UDP classes from Nilzao's release as I just didn't have the time for it. They will be added no worries.

Catalog files updated to the latest one, including Pagani Zonda F Roadster.

All achievements are added and "badge-set" support is added. I'll eventually add actually "achieving" them.

I added an example hidden achievement called "XKR Speed Hunter". There are 28 more achievements that are hidden. Follow the example to add them.

I addded all the community-done stuff 'till the date 14/07/2015. I'm currently on vacation so can't d/l the new ones.

Out of memory bug fixed. DAMN YOU JAVA!

Code is optimized from ground-up. Uses byte[] instead of String for response.

LoginAnnouncements done and an example donation link is added, go crazy(?).

FileUtil taken care of, no more shitty functions to read files.

YAY and shit.

Sell cars are added back and works without a problem.

New ServerEditor incoorporated. Support for carslots.xml only for now. Others will come.

New Readme.html.

All around new stuff.

Look around in the code for the other changes, I'm kind of a too *distracted* to remember the other changes. Release 07/07/2015 00:50AM GMT+2 - 7320d/l Every part is added to shop/inventory. Thanks to edin1989's help. Performance Parts -> Inventory A/M, Skill -> Shop

Every basket data for the cars in the car dealer is added. Thanks to zsomboor's help.

Added ServerLauncher, maybe now people will be able to play without crashes.

Fixed bug in ServerEditor.

CATALOG FILES FOR CAR DEALER AREN'T UPDATED! Release 04/07/2015 10:25AM GMT+2 - 2249d/l Basket+Commerce systems fully implemented, anything will work. (except some SB cars I didn't add to the car dealer, I'll leave those to you guys.) A/M shop fully works and installs parts on-spot. Performance shop fully works and installs parts on-spot. Skill shop fully works and installs skills on-spot. Paint shop fully works and can repaint each part individually. Vinyl shop works, supports upto the default 31 layers.

Fixed(added?) ability to change cars. No longer resets when you go back to safehouse etc.

Fixed missing VinylCategory, you'll be able to edit vinyls now. I even added the special ban hammer vinyl.

Added a function that automatically changes new car ID from 1 to 10k. Please load a persona that you used before the Car Dealer update to fully live the experience without bugs.

Removed the need of ".txt" files from /basket.

Source files updated, edit it, make it yours, I don't give a fuck AS LONG AS YOU GIVE PROPER CREDITS .

. NEW VERSION: 1.0 BETA . Release 01/07/2015 00:23GMT+2 ::FIXED 01/07/2015 07:30GMT+2 - 2224d/l ServerEditor v1.8 Now supports editing in-game time. Now checks whether or not cars/carslots file is valid so that player doesn't end up in the infamous "select your first car" dialog. Now supports .xml extension on files cars and carslots(compability patch for ExCeed). Exception handlers everywhere, so that player know that who's the one that fucked up.

Basket Data imported. Currently only IGC cars can be bought. All other basket activity will crash the server and possibly corrupt your carslots. You cannot sell cars, yet.

Pursuits are fixed. Player can know evade or get busted.

Default personaID changed.(something for upcoming releases)

Catalog data updated to the version 01/07/2015. (Stirling Moss IGC etc.) [grr] Release 28.06.2015 04:41GMT+2 - 760d/l Removed all buggy code from last release.(Really really sorry about this, I don't know what was in my mind)

Timeout times set to proper times, you should have less fatal13 or fatal5 now.

ServerEditor now runs on .net framework 3.5. Should work on XP.

Disabled special effects editor in ServerEditor, needs some improvements.(some people reported no track at golf course)

Source updated to v1.2.0, for people that want to debug EA's server.

and some other stuff I forgot. We are working on basket system now so expect that. Release 28.06.2015 00:14GMT+2 [BUGGY BUILD, DOWNLOAD NEW ONE] Added ServerEditor.

Server edited to work with ServerEditor.

Powerups edited to 110.

Added special effects.(Christmas etc. Use ServerEditor to change.)

Minor bug fixes. - 12975d/l- 7320d/lRelease 04/07/2015 10:25AM GMT+2 - 2249d/l::FIXED 01/07/2015 07:30GMT+2 - 2224d/l- 760d/l

DO NOT SHARE THIS SERVER TO OTHER PLACES WITHOUT GIVING PROPER CREDITS AND LINKING THE DOWNLOAD LINK TO HERE! PEOPLE THAT MAKE MONEY OFF OF MY WORK WILL JUST CAUSE ME TO DELETE AND STOP WORKING ON THIS PROJECT ONCE AND FOR ALL, DON'T BE A BITCH.



They, even me, said it was impossible. Well, it turns out that it's possible and it can be done. Please welcome the first ever public custom server for NFS: World.It's a pretty straight-forward tool but since it's in beta it requires many dependencies. These include: Java, Python2, Windows. We try our best to bring you the best experience but remember that it will take time.Read the "readme.html" in the archive. It tells you everything you need to know. Attached Files nfsw-srv.rar (2.72 MB, 72033 views)



