Page 153 of 153 FirstFirst ... 53103143151152153
Results 2,281 to 2,285 of 2285

Thread: Improvements for the dedicated server

  1. #2281
    Hunter Catalysm's Avatar
    Join Date
    Aug 2017
    Location
    Belgium
    Posts
    101
    Rep Power
    0
    I made a wrapper around the web API a while ago. I just updated it to v1.3.1 to support the new 'count' parameter in the getLog endpoint. This will work in a browser or on a server (nodejs). It's written in Typescript so you will get intellisense on the responses in most IDEs.

    Maybe it'll be useful for someone ^^

    https://github.com/CatalysmsServerMa...ie-API-wrapper

  2. #2282
    Refugee
    Join Date
    Mar 2019
    Location
    Sweden
    Posts
    2
    Rep Power
    0
    @Annihlator
    I used the map.js provided (and tried the one from Prisma), added a cart.png to the images folder, verified permissions and I copied the prefabs.xml from folder into webserver folder but there is still no icon.
    I am obviously not sane, could you please provide some more detail what step I could have missed or done wrong?

    Nvm, probably a rights or size problem. Got a 32x32 cart.png and made sure it had the same rights as the others and now it seems to work...
    Last edited by Dirtylobster; 03-21-2019 at 10:43 AM.

  3. #2283
    Hunter Catalysm's Avatar
    Join Date
    Aug 2017
    Location
    Belgium
    Posts
    101
    Rep Power
    0
    Heya Alloc

    I'm making a browser based thingamajig but I've ran into a wall with CORS. I was wondering if you could implement this old ticket so I can make requests to the API from a browser?

    https://7dtd.illy.bz/ticket/135

    Thanks for all you do

  4. #2284
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,135
    Rep Power
    1
    Hm, yeah, basically it's not much of an issue, just has to be configurable ... And configuration is something I wanted to wait on til I can provide some generic storage for mods in 7dtd so it's not like it is now with everyone using his own stuff
    I'll see about some simpler solution for now and get that added, but *most likely* not within the next two weeks.

  5. #2285
    Hunter Catalysm's Avatar
    Join Date
    Aug 2017
    Location
    Belgium
    Posts
    101
    Rep Power
    0
    Quote Originally Posted by Alloc View Post
    Hm, yeah, basically it's not much of an issue, just has to be configurable ... And configuration is something I wanted to wait on til I can provide some generic storage for mods in 7dtd so it's not like it is now with everyone using his own stuff
    I'll see about some simpler solution for now and get that added, but *most likely* not within the next two weeks.
    That's cool! No hurry or anything. For now, I've got a little hack in place that proxies the commands through an API I control so I bypass CORS

    Since I'm a bit further in my app now, I think that browser requests to the API will fail anyway because of mixed content (app is served through https but 99% of server maps aren't available over SSL).

    Thanks for replying ^^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •