Let's start with a download from Wamp of xampp and Netplay Plus you install it and then go to the folder where you have geinstaleert. If you are a bit down scrolls you see (at least I) xxamp-control or wampmanager click on it and make sure you Mysql and Apache impetus Now go to the admin of Apache you see your localhost site, and there is left a bar with everything you can use it, click PHPMyAdmin,. Users of Wamp should click on the taskbar and then show them a iglootje click it and then PHPmyadmin now you get a new site open. There is also a new database or create new Create Database that you can create a new database to create a new database using the name to you taste. If it says that it can not be another name and setting. Open your database and select import that apparently top of the page, there is now a new page click to browse or browse it and go to your Netplay folder, click Server and click sqlfile, then simply start or go. Well done you have the files on the server geimporteert! Now go to the start and close the site. Go to the Netplay files and go to the folder where you first called Server was. Open the "Config" file it says Attention! The brackets should continue this ", the brackets
Code:
Host = "152.105.166.15" This is your host that can be found at www.whatismyip.com
Port = 50000 This is your port should be the same in the scripts of your game otherwise he may not contact
ServerName = "Netplay Plus Server" So is your server that you can figure out yourself
ServerVersion = "3.0 This is the version of the server (it's best not change)
GameCode = "918302475" This is the password from the server if it is the same in the scripts of your game all the details of it to your server gestuurt
WebServer = "localhost / www / Netplay" The server of your web?
DB_server = "localhost" The server of your database. Note that must remain!
DB_user = "trebor777" This should be root
DB_password = "D4d1co0l" This should be nothing
DB_name = "netplay_p_db" This should be the name of the database that you have mentioned
Message = "Entering the Official Netplay Plus Server ..." This is the text which will start the server if you
If you have anything you set this step beyond
You scripts of Netplay change
First you open the Netplay game and copy all your scripts of the Netplay game to a new game and overschrijf you with the Main Main of the Netplay game and copy the folder you to the graphics to the game ... So now you have the graphics and scripts of the Netplay game. Put all folders and files in the directory of your new game except for the Data folder, which puts you there are not going to copy you. Open the Data folder of the Netplay game and copy it to the folder Scripts Dates of your new game, test your game.
If it fails to sign the error and let the piece of script. Now go to the script editor and locate line 45 in the Network Library. Now you see 3 texts Ip, Port, Gamecode, put the numbers beside them what you have set the config file so you move your IP address late in the first half in the port that you have set in the config on the server and third is the gamecode which you have set in the config on the server. If you think you can trust everything that steps in your game moves (Please be sure in advance a backup of scripts.rxdata maybe you can scripts override)
Hee I can not register!
Here you learn register for the Netplay game.
Go to your database (you can see how you going in chapter 1)
Users Find the table and if you have done that you have to explore or browse print that is placed in the vicinity of imports. Now click on Insert or insert that is also the top, then you get a whole list of questions that you should introduce the ID here is the first question you have to the number of the ID so you are entering the third account then you 3 filling as that fails 4, the second question is Login this is the username when you log in, now you get the question password but also a bar, but here you need to click on that bar alongside password and function of function and MD5 in implement now you can enter the password you want to log in, now you have a question which states that Email is simply your email, now you get a question which states reg_dat that your registration data one must simply fill out a few figures to view it later to search, now you get the question log_dat same as reg_dat, now you get the permission question that is the grade you have admin is the allerbest moderator below standard and below it, now you get the question guild that knows I am not just 1 introduced and that same money for the next question, now that you have to have on the box of ignoring or ignore pressing than you do not have a time to fill in, and then click on Start. If you can do as well in other news, if you 1 of the others do not understand you can send it here. Now you can return to the home gaanen the bunch. Go to the directory server and go to Lib and you see a ruby program (. Rb) with the name Server open him with wordpad or notebook (Warning! Do not you standart openmaker of) and change it with this:
Code:
# If do not find the default library, the load provided one
Client.mysql.query ( "UPDATE characters SET savetime = UNIX_TIMESTAMP (), status = 'offline', client_id # = (0), online_id = # (0) WHERE user_id = # user_id) (AND online_id = # (user_id); ") rescue print" M: Error while updating characters table \ n \ r #{$!} \ n \ r "
Client.mysql.query ( "DELETE from online_users WHERE id = '# user_id }';") rescue (print" M: (ensure) Error while deleting online_users entry \ n \ r #{$!}"
Client.mysql.query ( "OPTIMIZE TABLE` online_users `;") rescue print "M: (ensure) Error while optimizing table online_users \ n \ r"
@ @ Clients.delete (io)
Client.socket.close
Client.mysql.close
End
End
End
Updating and launch
We can upgrade him to the script editor of the game with the scripts of netplay plus you need to go there to go and find your main line 12 there is # map_export change with map_export and do a testplay pressure before he comes to the login window on Z, and then closed the game out now you see your maps and tilesets in the folder converted from the directory of your game. Put those maps and tilesets that is converted to the DATA directory of the server and you have him updated!
Now is the day that you can finally try!
Make sure MYSQL is on concern that Wamp is turned on so you have to Wampmanager click and go to the directory Server and main pressure on the local server if you run press Y and if it is not so in N eventually comes to server running, now try to start the game and if everything fails then send a message on this topic!