Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Google
Continue with Facebook
or use


Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here
Continue with Google
Continue with Facebook
or use


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Continue with Google
Continue with Facebook
or use


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Stack Ask

Stack Ask Logo Stack Ask Logo

Stack Ask Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/game-box

Stack Ask Latest Questions

nhân lê tuấn
  • 0
nhân lê tuấnBeginner
Asked: April 21, 2022In: Unity

Lựa chọn giao thức cho game idle/simulator: Websocket hay HTTP hay cả hai?

  • 0

Em đang làm một game dạng idle/simulator/defense – thể loại SPRG. Game mechanic là xếp formation một lượng character cho trước vào grid[row,column] tương ứng. Sau khi có được dữ liệu formation, Lựa chọn đối thủ (có formation) và ...

ezyfox-servergame-boxhttpunitywebsocket
  • 2 2 Answers
  • 24 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 10, 2021In: EzyFox Server

Không serialize được list ở C# client sdk

  • 0

Em trả về 1 List ở server. Nhưng khi gọi List roomIdList = data.get(0).toList(); ở client thì báo lỗi không cast được. Cụ thể ở hàm toList : public List toList() { List answer = new List(); foreach (Object item in list) { answer.Add((T)item); } return ...

game-box
  • 5 5 Answers
  • 70 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 10, 2021In: EzyFox Server

Làm sao add lobby room vào globalRoomManager khi khởi tạo

  • 0

Em dùng `@EzyConfigurationBefore` để khởi tạo `lobbyRoom`: @EzyConfigurationBefore public class MMOVirtualWorldConfig extends EzyLoggable { @EzySingleton("lobbyRoom") public NormalRoom lobbyRoom() { logger.info("Initialize lobby room"); return NormalRoom.builder() .build(); } } Trong `GameService` lại có 1 thằng roomManager để quản lý toàn bộ rooms: @Setter @EzySingleton public class GameServiceImpl implements GameService { private final RoomManager roomManager = ...

game-box
  • 3 3 Answers
  • 35 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 10, 2021In: EzyFox Server

Khi nào dùng SynchronizedPlayerManager vs. DefaultPlayerManager

  • 0

Em thấy trong code breaking-game anh dùng DefaultPlayerManager để quản lý Player của toàn bộ game. Sao anh không dùng SynchronizedPlayerManager ạ?

game-box
  • 1 1 Answer
  • 16 Views
Answer
Vu Luong Anh
  • 1
Vu Luong AnhPundit
Asked: August 7, 2021In: EzyFox Server

EzyWrap khác gì String thường?

  • 1

https://github.com/youngmonkeys/game-box/blob/master/src/test/java/com/tvd12/gamebox/testing/MMORoomGroupTest.java#L103 Trong MMORoomGroupTest em thấy a có dùng EzyWrap. Sao phải dùng nó và khi nào nên dùng nó ạ?

game-box
  • 1 1 Answer
  • 37 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 3, 2021In: EzyFox Server

Cách test MMORoom

  • 0

Em đang code cái `MMORoom` ở https://github.com/youngmonkeys/game-box/pull/2. Em có 1 số câu hỏi: 1. Ở `NormalRoom`, thằng playerManager là raw type, làm sao chuyển nó thành `PlayerManager` ở MMORoom. 2. Với vòng lặp vô hạn ở `MMORoom`, mình viết ...

game-box
  • 3 3 Answers
  • 43 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 3, 2021In: EzyFox Server

Usecases của các loại Room trong game-box

  • 0

Hiện tại em thấy có 3 loại room trong game-box: `NormalRoom`, `LocatedRoom` và `MMORoom` (đang phát triển). Anh có thể giải thích sự khác nhau và usecases cụ thể của từng loại được không ạ? Anh có thể giải ...

game-box
  • 3 3 Answers
  • 49 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 3, 2021In: EzyFox Server

Các loại PlayerManager trong game-box

  • 0

Cho em hỏi sự khác nhau giữa `LocatedPlayerManager` và `SimplePlayerManager.` Tại sao thằng `LocatedPlayerManager` không extends thằng `PlayerManager`? Thằng `MMOPlayerManager` nên có logic như nào và extends thằng nào vậy ạ?

game-box
  • 1 1 Answer
  • 23 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 2, 2021In: EzyFox Server

LocatedRoom khác gì Room

  • 0

LocatedRoom có thêm chức năng quản lý slots, sao mình không đưa nó vào Room được ạ? MMORoom có nên extends LocatedRoom thay vì Room, vì nó cũng cần quản lý slots?

game-box
  • 2 2 Answers
  • 29 Views
Answer
Vu Luong Anh
  • 0
Vu Luong AnhPundit
Asked: August 1, 2021In: EzyFox Server

Warning khi dùng synchronized

  • 0

Em thấy có warnings ở chỗ synchronized (gameService) và synchronized (room). Anh giải thích giúp em vì sao có warnings này được không ạ?

freetankgame-box
  • 2 2 Answers
  • 24 Views
Answer
1 2

Sidebar

Ask A Question

Stats

  • Questions 553
  • Answers 1k
  • Best Answers 62
  • Users 290
  • Popular
  • Answers
  • monkey

    [Deep Learning] Làm thế nào để xác định được cái ...

    • 16 Answers
  • Tú Trần Anh

    [Ezyfox Server] Unity game client không gửi được command khi ...

    • 12 Answers
  • monkey

    [Go] khi nào go func được gọi?

    • 10 Answers
  • Hoàng Kiếm
    Hoàng Kiếm added an answer Huy ơi bạn đã thử login bằng command, mysql -u… May 21, 2022 at 5:42 am
  • tvd12
    tvd12 added an answer public class EzyEventLoopGroup { private final EzyRoundRobin eventLoops; private final… May 19, 2022 at 2:20 pm
  • monkey
    monkey added an answer Như vậy có nghĩa là chưa cài thành công em… May 19, 2022 at 9:17 am

Top Members

tvd12

tvd12

  • 63 Questions
  • 1k Points
Enlightened
monkey

monkey

  • 88 Questions
  • 580 Points
Enlightened
Nguyễn Thái Sơn

Nguyễn Thái Sơn

  • 140 Questions
  • 220 Points
Professional

Trending Tags

.net core abstract class analytics android ansible anti-flooding apache poi api async asyncawait atomicboolean backend backend nestjs bash script batch bean big project binding bitcoin blockchain blog british buffered build bundle c# cache caching callback career career path cast centos chat cloud cloud reliability commit company content-disposition contract cors cosmos css database datasource datastructure decentralized exchange deep learning design-pattern devops dex distraction programing docker download draw.io du học eclip editor employee english erc20 erc721 eth ethereum ethereum login extensions exyfox ezyfox ezyfox-boot ezyfox-server ezyfoxserver ezyhttp facebook fe flutter freetank french front-end frontend fullstack fulltextsearch future game game-box game-room game-server get git go golang google grapql grpc guide hazelcast hibernate hibernateconfig html http https indexing intellij interface interview io ipfs isolate issue it java javacore java core javascript java spring javaw java web job jpa js json jsp & servlet jvm jwt kafka keep promise kerberos keycloak kotlin language languague library load-balancing log log4j log4j-core login machine learning macos math maven merge messaging metamask microservice model msgpack multiple tenant multithread multithreading mysql n naming naming convention netcore netty nft nft game nio nodejs non-blocking io opensource optimize orm pagination pancakeswap panic pgpool phỏng vấn pointer postgresql pre programming promise push message android python python unicode question queue rabbitmq reactive reactjs reactjs download recyclerview redis request resource rest roadmap ropssten ropsten rust rxjava schedule search security server shift jis singleton sjis slack smart contract socket soft delete sosanh spring spring-boot-test spring-jpa spring aop springboot spring boot spring data jpa spring redis springsecurity spring security sql sql server sse stackask storage stream structure trong spring boot system environment variables thread threadjava thymeleaf totp tracking location unit test unity upload file vector view volatile vue vue cli web3 web3 client webpack websocket windows 11 winforms work zookeeper

Footer

Stack Ask

Stack Ask is where Developers Ask & Answers. It will help you resolve any questions and connect you with other people.

About Us

  • Meet The Team
  • About Us
  • Contact Us

Legal Stuff

  • Terms of Service
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2021 Stack Ask. All Rights Reserved
Powered by youngmonkeys.org