Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

gothboiclique

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

1 Neutral

Profile Information

  • Gender
    Male
  • Location
    Virginia
  • Interests
    Game Development

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I'm not too familiar with C++ development but I recently purchased Ultra App Kit and installed it on my M1 MacBook. When attempting to build with cmake (using CLion), I get the following error: Undefined symbols for architecture arm64: "_CFArrayGetCount", referenced from: CocoaInterface_GetDisplayInfo(std::__1::vector<CocoaInterface_DisplayInfo, std::__1::allocator<CocoaInterface_DisplayInfo> >&) in libAppKit.a(CocoaInterface.o) ... ld: symbol(s) not found for architecture arm64 and more. I added the library like this: include_directories("/us
  2. Alright, so the float bytes are reversed, I'm not sure what the technical explanation is but I am sure there is one. Floats are working properly now.
  3. Any idea on why my floats aren't reading correctly? Writing float 1 for example produces: 1.1754944E-38 Writing float 9 produces: 1.469368E-39 Here's my code: float f1 = BitConverter.ToSingle(bytes2, 0); Seems like the bytes are in a different order possibly?
  4. int i = 0; byte[] bytes = new byte[4]; foreach (var element in Event.Packet.Data) { if (i < 4) { bytes[i] = element; } i++; } int eventId = BitConverter.ToInt32(bytes, 0); Really quick example that I'm going to turn into a BankStream class for C# but I'm able to get the Event ID and next int. Floats seem to use a different size and for strings, I'm not sure what the separation you use is.
  5. By the way, your suggestion was correct, I was able to take the first 4 bytes and convert them to the message ID. I will still need a way to handle the other types afterwards though like WriteFloat and WriteInt.
  6. How about like floats and ints? If I use a bankstream to write a float and integer is there a certain length I can except so I can parse it?
  7. Hi again. Messing around with the built in networking (ENet), I wrote a C# app for testing with an ENet Library wrapper. I'm able to connect and send messages but I'm not quite sure how to parse a bank stream on my server's end. Any ideas from C#? For example if I send a string "this is a test" using Client:Send in Leadwerks, my server will see "? This is a test" the question mark being a wrongly parsed symbol which I assume is the message ID from Leadwerks. var dataString = Encoding.ASCII.GetString(Event.Packet.Data);
  8. Okay, sounds good. I haven’t seen anything about it yet but will Ultra Engine have any more advanced built in networking? Like replication? Or will this still be up to developers to implement. thanks!
  9. That's what I feared. I haven't really looked at the Newton API but frankly, I don't feel like converting every object in the map to Newton. I hope that Josh perhaps has an answer. I have found this: https://github.com/jamesbrink/docker-opengl and https://github.com/thewtex/docker-opengl. Both projects appear to allow OpenGL from inside Docker which would be perfect for a server environment with no GPU. I will try to test it tomorrow and see if it will work for me. The main goal of my project would be to simulate hitboxes, collisions, ray casting, etc. I have some prett
  10. Okay, that's useful information. Thanks!
  11. Both of these appear to be good ideas, I will try to implement them soon! Thank you for your help.
  12. In the documentation for Map::Load() it is stated: However, this appears to be the default behavior and after looking through Map, I do not see any integer representing a way to disable script loading. The main reason I need this is for my server implementation, which will not be using any of the scripting but will still be using the map itself. I suppose the alternative could be to just delete every script file but preferably I would just like to guarantee that scripts will not be loaded.
  13. Hello again, Would it be possible to run Leadwerks without a GPU in a server environment to simulate physics? Edit: Just for some more information, I've been working on a multiplayer game in Leadwerks for the past few months, it's very basic right now. I've written a client and a server using the engine. The clients simulate all information with interpolation and the server validates movement to prevent teleporting, etc. The server needs to be able to determine if a weapon was fired without obstruction, etc. Edit #2: Removing context->sync and world->render b
  14. Hi, say I have a barrel (just using the built in prefab). I want the object to fall on the ground when it is in the air but I don't want the barrel to fall on its side. How can I prevent rotation of this object from physics? Thanks!
  15. Yes, however, after leaving the program running for a few hours I got Lua Error: Out of Memory. Also, how can I apply to get access to the Ultra Engine beta? EDIT: I was referring to my own project, my apologies, it's an issue I'm currently solving. Thank you Josh for the response, I am still interested in the beta. Let me know, thanks!
×
×
  • Create New...