Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Simple online with a server

ngame
Registered User
Quote
2021-04-17 13:19:23

Hello. This is a simple multiplayer source code. I made it at the hint of Just_in_case. The code is very simple.The system is based on an ftp server and the curl command for the command line.
Instruction manual:
1. Install curl (available in the game files). Players will also need to install curl.
2. Take the FTP Username and FTP Password from the ftp server. If you don't have a server, you can create one for free. These servers do not require additional software.
3.Take the FTP Hostname. For example, my FTP Hostname is ftp://ftpupload.net/.
4.Replace the FTP Username, FTP Password, and FTP Hostname data with your own data.
I have htdocs/Worlds after FTP Hostname (ftp://ftpupload.net/htdocs/Worlds). This means that the files are saved in the Worlds subfolder of the htdocs folder.
!Replace the data with your own in the bat files and source code!
https://yadi.sk/d/6Yzt-NsSbsR5UA


ngame
Registered User
Quote
2021-04-17 13:28:18

A few tips:
1.Instead of the standard character move command, use the move without collision command. To do this, you can create a cube that takes the place of the second player, and then get the coordinates of this cube and put the second player in the place of the cube.
2.You can convert bat files to exe, but some antivirus programs perceive such programs as viruses.


ngame
Registered User
Quote
2021-04-17 13:32:21

3.If you have improved the plugin, then you can share it right here. Then you will help other users, and they will probably improve your code.


just_in_case
Moderator
Quote
2021-04-17 14:20:51

Cool, glad that you managed to add and understand the aystem commands code i gave you to integrate successfully into your server, and then managed to create a basic multiplayer game.

As i recommended you before, put the movemnet (positions) of the object into an array so that the movement will look animated instead of happening at once.

I was already planning to upload a video on the topic of system commands and a basic multiplayer but that will take some time as i have a lot of other stuff to do work.

You are always welcome to ask for anykind of help you need.😇


ngame
Registered User
Quote
2021-04-17 19:54:17

wrote:
Cool, glad that you managed to add and understand the aystem commands code i gave you to integrate successfully into your server, and then managed to create a basic multiplayer game.

As i recommended you before, put the movemnet (positions) of the object into an array so that the movement will look animated instead of happening at once.

I was already planning to upload a video on the topic of system commands and a basic multiplayer but that will take some time as i have a lot of other stuff to do work.

You are always welcome to ask for anykind of help you need.😇

Ok, thanks


ngame
Registered User
Quote
2021-04-21 16:04:29

I plan to update the source code soon...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact