Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Help me please.

carlosm
Registered User
Quote
2020-05-29 22:47:27

Hello everyone.

So I would really like Niko to develop it if you answer that, but if anyone knows anything it is also welcome!

ccbDoHTTPRequest () makes a GET network request via HTTP to any web server, and ccbCancelHTTPRequest can cancel that request while it is running.

I need to know if there is any function or way to make a post!
why with get I get information from a specific server. Do I need to send it? Is there any way or form for this?


carlosm
Registered User
Quote
2020-05-30 00:09:17

I tried to use XMLHttpRequest from javascript and nothing.
I need a way to send data to a simple server.

position - name - rotation and etc.

I'm trying to make a mmo server with coppercube.
but the big problem is it has no way of sending data.

some games development programs use the messaging system that uses the language of the lua programming.

that is, if the coppercube had an efficient way to send data!
for a server it would be great ready made easy.

it only receives data through ccbDoHTTPRequest ().

if there is any medoto - function or something of the kind I don’t know, help me! thank you.

Note: I can connect to a server and receive the data. I could pass the player's location or any other type of information, but it doesn't help if I can't send the player's location or other information to the server as well.


count2rfeit
Registered User
Quote
2020-05-30 19:51:22

over the past few years, many people have tried to make a multiplayer system for CC....and there was some success.

you should search the forum for what others have said about it.

https://www.ambiera.com/forum.ph...


carlosm
Registered User
Quote
2020-05-30 22:09:37

I searched! and unfortunately I didn't find any multiplayer games and mmo needs to receive and send data and CopperCube does.

I know that as an engine developer - Niko must know something about.

he could at least add a simple function to it and leave
as well as ccbDoHTTPRequest - one that uses post or set!
and don't get.

after all he created the command ccbDoHTTPRequest! that only receives data does not send.


morice.cube
Registered User
Quote
2020-05-31 18:25:27

carlosm, just use my example of an on-line game.
For Windows, it works very well.

Look at this post:
https://www.ambiera.com/forum.ph...




carlosm
Registered User
Quote
2020-06-01 00:10:52

Thank you!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (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