Jump to content

martyj

Members
  • Posts

    544
  • Joined

  • Last visited

Everything posted by martyj

  1. I have a bug report on this. http://www.leadwerks.com/werkspace/topic/15587-enttiysetinput-doesnt-rotate-without-movment/ Original Bug Report http://www.leadwerks.com/werkspace/topic/15442-setinput/ Here is how I solve it. if (camMovementZ == 0 && camMovementX == 0) { camMovementZ = 0.001; // Not 0 but not enough to see camMovementX = 0.001; // Not 0 but not enough to see } this->playerModel->SetInput(cameraRotationY, camMovementZ, camMovementX);
  2. @gamecreator I believe Josh just queries the Steam for who is currently logged in. I don't think Josh is then verifying that the logged in user, is really who Steam says they are. So anyone could potentially have an app running on the same local port as Steam does, that responds to the same calls, and fakes a logged in user. Without some sort of backend verification of tokens you can't really know if a user is who "Steam" says they are.
  3. A lot of the pages are missing CPP/LUA examples. API-Reference_Object_Asset_Material_SetPickMode API-Reference_Object_Asset_Shader_GetFloat API-Reference_Object_Color API-Reference_Object_Entity_Emitter Just to name a few.
  4. I guess Josh might be the only one who could answer the question. Does Steamworks work off of local socket requests to the local computer? Edit: I found some info. Apparently after getting a user's CSteamId you can verify its authenticity https://partner.steamgames.com/documentation/auth @Josh do you do this already? Or is this something I need to implement?
  5. So I use leadwerks's Steam library for pulling the user information for who is playing the game. I'm working on moving the player data from their local hard drive to pulling it down via a REST API. That way I can have high scores, and better persistence of data. How secure is it to rely on the information coming from steam? I'd like to eliminate the ability for users to have to register for my game to play it online. But is there a compromise to security for this ease of use? Can we trust that Leadwerks will tell us which Steam account is currently up accurately? How easy would this be to fake? Thanks, Marty
  6. Just dropping this here: RewriteEngine on RewriteCond %{SERVER_NAME} =leadwerks.com [OR] RewriteCond %{SERVER_NAME} =www.leadwerks.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
  7. If https://martyj.net will work in your browser, let's encrypt will. (No content on that page BTW)
  8. So in 'Murica land there is a big push to have HTTPS set for domain names since ISPs can now sell your data. I would like Leadwerks to have full support for HTTPS. How? Well, Let's Encrypt! https://letsencrypt.org/ 100% free. You can set it up to auto-renew.
  9. You could use a geometry shader with it. Allows you to change the verticies on the graphics card.
  10. This might help? http://stackoverflow.com/questions/1279681/mod-rewrite-replace-underscores-with-dashes I'm not really good with regular expressions though.
  11. Well you're re-writing the documentation so I just assumed, why re-invent the wheel twice.
  12. So I take it you don't dig my angular app? No worries. I didn't put that much time into it lol.
  13. I'm not getting a request to set a cookie when I visit that page. When a server wants to add a cookie to a users browser, the server will send a "Set-Cookie" header. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie A simple solution and one that I prefer is to use $_SESSION instead of cookie. That way the data is stored on the server instead of on the users browsers making it more secure. Make sure to call session_start() when working with $_SESSION.
  14. What Ma-Shell said. The nice aspect about this application is it can be deployed separately for 100% offline documentation. Another nice aspect is that if you deploy the application say with version 4.4 of Leadwerks, the documentation matches the code. Kind of self-versioning. I could try a JSONP request to pull down the documentation, the downside is it removes offline capabilities. We could also maybe use local storage to help with this as well.
  15. I have updated the link again. It will allow you to navigate to the SetPosition page. This parses the toc.xml to generate the navigation menu and parses API-Reference_Object_Entity_SetPosition.xml for the specific page. The downsides: Due to CORS issues, all the XML files have to be on the same host (or localhost). So to update it, I'll have to download the XML files.
  16. I've updated my documentation demo here: http://martyj.net/LEDocs/ I don't think I can do much more on it as far as usability goes until more XML gets released. Right now everything is hard-coded JS objects. I'd totally love to finish this project as I'd really want offline documentation. Let me know if you want the source.
  17. @Josh is the only XML page http://www.leadwerks.com/documentation/API-Reference_Object_Entity_SetPosition.xml ? If not, how do we access it via the info provided in toc.xml?
  18. Will this page be available for XML at some point? http://www.leadwerks.com/werkspace/page/documentation
  19. I still have a lot more work to do on this, but here is what I have so far on a documentation app. http://martyj.net/LEDocs/ I'm planning on making it fully offline as I've wanted offline docs since forever. Things left to do: Style page better Parse XML to Javascript Objects Generate NAV based upon XML Support Page Changing with Nav Load XML when you change the page
  20. I'm 98% sure it will be in the original order and not alphabetized. Imagine HTML sorting child elements by name and not order. Would be impossible to style things (Unless you flex).
  21. I'd recommend you split up parameters like this. <parameters> <x> X component of the specified position. </x> <y> Y component of the specified position. </y> <z> Z component of the specified position. </z> <position> the position to set. </position> <global> indicates whether the position should be set in global or local space. </global> </parameters> Would allow for more flexible documentation. If I have some pare time I'll try to throw together a simple Bootstrap/Angular Material example together.
  22. martyj

    Help System Revision

    @Josh have you considered hiring from the community instead of places like Upwork?
  23. martyj

    Website Updates

    You might want to check out http://builtbyhq.com/ My employer works with them a lot. Could be a potential savings.
  24. Check out my implementation of shops in World Factions. Do you guys have any feedback on how I can improve the experience? Thanks, Marty
  25. @Josh, how are you rendering strings in Opengl?
×
×
  • Create New...