Find Jobs
Hire Freelancers

Server - client part in C visual studio [URGENT- QUICK MONEY]

$30-250 AUD

已关闭
已发布超过 5 年前

$30-250 AUD

货到付款
Hello! We have $30-$40 and 5 hours for this so please dont bid otherwise :) -> Well, we have a simple CONSOLE C text game. There are several maps. we have a player (c character) who can take trasures and advance his accuracy, attack and armor. there are some enemies and a final boss. All in text ! The solo mode is ready. Also some part of multiplayer is ready: all clients know when another client moves or attacks. I ATTACH in the 7z server and client code here (in this version there is only 1 map in debug file and there are no accuracy/armor/attack additions). ALSO I ATTACH THE DESCRIPTION C_game(1).DOCX What has to be added is explained by the guy who coded the game here (please be patient:P): ok, the server is setupped, every new connection is handled by a new thread, you can see the example connection, when one player moves ("move") request all the players needs to receive a request from the server, then the client will change the position of the user the same thing if a user kill a monster if he has a different ip or port he can change SERVER_IP and SERVER_PORT but the connection to the server is already setupped User Avatar before he needs to modify the pattern of the maps folder, MapsDirChar is the variable of the [login to view URL]'s path to load the map you only need to modify this variable after that he fixed the connection between the client and server you need to handle the new connections from the server and handle the sended messages from the client to server and parse it with json -> then you can response to the other users that for example player1 moved to posx, posy (message encoded in json obv) then you need to do it also if a player kills a monster for example: player1 moves to posx, posy -> send to server the request move and posx, posy, then the server sends to the other users that player1 moves to posx, posy -> so the other users modify the position of player1 if you can use my server, but if he wants to you can easily take only the setup of the server and then create all the structures to manage the connections text you can try the map1 in solo mode, to see how the game works and how you can send to the server when the player moves you only need to modify the MapsDirChar variable that contains this: "C:\\Users\\DomainsHax\\source\\repos\\GameClient\\Debug\\maps\\[login to view URL]" to your [login to view URL] path (maps directory is contained into the GameClient project at in Debug directory) Thank you a lot and I wait for your bids :) ty
项目 ID: 17826778

关于此项目

1条提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1 freelancer is bidding on average $184 AUD for this job
用户头像
Hi, I am an experienced C programmer and I was always longing to work on a fully console based game in, without any graphics APIs. I saw the code was on Windows( since it uses Winsock, and I have experience in Socket programming in C, so I can also port the networking code to linux. Waiting to here back from you, Regards Suprotik
$184 AUD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

GREECE的国旗
Thessaloniki, Kalamaria, Greece
5.0
126
付款方式已验证
会员自3月 2, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。