1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Discussion StarryPy - A plugin driven server wrapper written in Python.

Discussion in 'Multiplayer' started by Carrots Are Mediocre, Jan 29, 2014.

  1. teihoo

    teihoo Ketchup Robot

    Ye in this version you have to change the code, that will do (every permission is at the beginning of function definition just like you said).
    You can also disable a plugin, like fuel plugin, then it wont show up all together (in config put autoactive = false).

    Also atm, I think the version 1.4.2 (I'll put a few more updates in few mins, making it 1.4.3) is better than 1.3.2 in original repo... besides, would mean a lot if you find bugs in this latest version, since I'm actively working on this one now :)

    Edit: Just imported the IRC check for commands into latest 1.4.3 version, that I'll put up, along with claims.
     
    Last edited: Mar 16, 2014
  2. NuRRi

    NuRRi Starship Captain

    When will Carrot update his version? Cause its just important for me to know which repo to take. Since I used the first post tutorial I used carrots repo. So it would be nice also to see this repo updated.

    Greetings
     
    MaxHeadroom likes this.
  3. teihoo

    teihoo Ketchup Robot

    Join IRC webchat on StarryPy dev channel, or starbound-dev channel:
    http://webchat.freenode.net/?channels=##starrypy
    or
    http://webchat.freenode.net/?channels=##starbound-dev

    Carrots started new work, and we didn't hear from him since, still waiting for him to show up :(

    And I did update CarrotsAreMediocre/StarryPy repo with latest stable version back then, I'm still working on updated 1.4, so it's not finished, but is very close now.
     
  4. MaxHeadroom

    MaxHeadroom Void-Bound Voyager

    Thanks for the in depth reply Teihoo!

    That cleared up some of my questions. A follow up though, which of the forks would you recommend to pull to set up a server with then?
    version 1.2 in Carrots repo, your 1.4.x or the new SP3K 2.x?

    Which is the recommended stable release so to say?


    EDIT: Didn't see your prior answer to NuRRi . Then I take it that version 1.4.3 is the recommended release provided one dont mind with bug reporting.
     
    Last edited: Mar 16, 2014
  5. teihoo

    teihoo Ketchup Robot

    Yeah, I just pushed latest build up and labeled it as 1.4.3. Hoping this one will be good enough to get back to ship protection :)
    Latest version here: https://github.com/teihoo/StarryPy_Teihoo
     
    MaxHeadroom likes this.
  6. MajorCyto

    MajorCyto Phantasmal Quasar

    Man, StarryPy is so laggy with 15+ people on.. super large delays. I decided to say (fck it) and added the StarryPy3K repo in anyways, and while it still has some weird delay sync its not near as bad and were at 20+ at the moment. No big delays anymore. Just all the monsters are in "matrix" mode lol.

    ==
     
  7. Crasher

    Crasher Yeah, You!

    Decided a few hours ago to finally add StarBound to the list of servers me and a few others host and after a tiny bit of reading and thread-hopping, I felt compelled to at least stop and say thanks for the effort to keep things going despite the abandonment =) (or otherwise absent development)
    It looks very promising and helpful, all things considered!
     
  8. teihoo

    teihoo Ketchup Robot

    There are issues with 1.x core, which is written using a twisted plugin. This is why Carrots decided to make new one, and using latest python 3.4 with asyncio instead of twisted. Personally I usually get lags on starbound server, not the wrapper, but i'm not running nearly as many users, but yeah its quite possible / likely you will come to some sort of problems with many users on 1.x (while 2.x hasn't been tested as much, but it should have better performance). Since Carrots is still missing, I may have to look at warping ships in 2.x (which is still missing), if I get that implemented, then could work more on 2.x.
     
  9. combatmedic02

    combatmedic02 Void-Bound Voyager

    Your latest I think? I'm not sure, this thread is a bit of a mess really. Maybe its about time to make a new thread? If anything just to update the first post so its actually current? I downloaded it from your github which had files updates in it 2 days ago. Not the 3k one but the other one? That right?
     
  10. teihoo

    teihoo Ketchup Robot

    Well the first part indicates its dropping connection from the client, and starrypy has some strange packet errors, is this happening all the time, or when certain amount of players join? If you put wrapper in passthrough mode, that solves all the connection problems that are happening?

    The thread got pretty darn big, true. I'd love to make a new threead, since I can't update the first post. But I didn't start this project, I'm merely trying to help with it and fix it for my own use. If I'd have just a little bit more of stuff in 2.x i'd work with that. But until @Carrots Are Mediocre is back, I can't do much really. Hoping he'll show up really soon though :/

    Edit: With 1.4x version you should be able to get server version using the /uptime command.
     
  11. Brockway

    Brockway Pangalactic Porcupine

    i found another bug, poi are not save upon restart i guess. i think that because i lost all my poi regulary.

    Also what about protection againt projectile ?
    last build fix the bug with container or i still have to apply ?

    Cheers. (i hope you dont dislike my (many) feedback :p)
     
  12. NuRRi

    NuRRi Starship Captain

    teihoo thanks again for your fast answers and support. I see you are really putting a lot of motivation and work into this project.
    I am using CarrotsAreMediocre/StarryPy repo. So if you have rights on that one too I can wait until you release "stable / official" 1.4 version.
    As I understood you are working on it and it will be pretty soon out. But of course I can just pull your version out in a new folder and use this one than trying to help you a little bit. For me its just important not to mix too many versions / repos and to now that I can pull from a repo that will be updated...

    A little question about the "new_player_greeter_plugin":
    What I dont understand is the new player greeter in both versions.
    The Item array is empty in the configuration file but in the info of the plugin on git you can read this:
    "Greets first-time players on the server. Gives them a greeting (located in new_player_message.txt) and gives them a pack of starter items (located in starter_items.txt). Default items are 200 coalore and 5 alienburgers."
    I dont see this Items defined in the configuration. And well you also have the "starteritems_plugin" that is also autoactivated so I am asking me why so many "giving items" plugins. For me its just important to give new players one time some coal to change the defaultplanet. So I thing new player greeting is the right plugin for that which is not really defined right? Fuel Giver can be used one time a day and the gamer needs to use the command by hinself,so thats not a plugin I am looking for. It should just be one time and automaticly.

    About the IRC Bot:
    Another thing that would also be pretty nice is to just let post the IRC Bot the universe (global) chat and not the planet chats.
    This is really a lot of spamm / chat in one IRC channel. And lot of people who are chatting on an own planet want to have some "chat privacy". So this could be a feature for next versions also.

    Greetings
     
    Last edited: Mar 17, 2014
  13. teihoo

    teihoo Ketchup Robot

    Maybe you had version 1.3.2 and moved to 1.4.x where poi's file store changed. Old ones were stored in plugins/planet_wars/warps.json, new ones are located in /config/bookmarsk/pois.json and they should be saved each time a player updates poi's (same with bookmarks, excpept they're stored in UUID.json files, where UUID is player UUID, this is for easier individual bookmarks management).

    Protection against projectiles is in there, might not be blocking all, but I was updating it with stuff ppl reported (like boneswoosh). Will need more testing I guess.
     
    Armed Mosquito likes this.
  14. teihoo

    teihoo Ketchup Robot

    You can have multiple versions in different folders like StarryPy, StarryPy14, StarryPy3k ... There's a few changes you want to mind importing settings from 1.3 to 1.4:
    copy your /plugins/planet_warps/warps.json -> config/bookmarks/pois.json
    copy your /plugins/bookmarks/*.json -> config/bookmarks/*.json

    I disliked new_player_greeter force giving items to every new player, but since some ppl prefer that, I just removed default set of items, so it only gives a greeting. Players can then get starter items if they choose so, with /starteritems. You can disable any of these two plugins, the way you prefer for your server. Starter items plugin doesn't auto give items, it has to be initiated by the player.
    Also, there is FUEL plugin that will give players by default a fillerup item (once per 24hrs) that fills your ship to max fuel.

    OK good point probably, I'll see what I can do.
     
  15. Brockway

    Brockway Pangalactic Porcupine

    i test old build on my personnal computer, but i start with a 1.4.x build on my server, and this is the one experimenting those lost of poi.
    Also if you can block the item "bomb" or atleast the packet comming from it.

    Also if guest cant build, they can place interactable like chest, torch, and npc spawners etc... can you block that too ?
     
  16. teihoo

    teihoo Ketchup Robot

    Try with ENTITY_INTERACT, this will prevent them from placing objects, but they're pretty much helpless to do anything with that. For bomb, its no. 1 on the list:
    "blacklist": [
    "bomb",

    But I'm just checking this, seems like it doesn't check for custom player protection - based on users added to the planet. I'll try fixing with this today. But it should already block guests.

    I call self.savepois() for poi_set or poi_del, which means it should save it, unless something was wrong. I actually never had that happen, so I have no idea what happened to your pois.json rly...
     
  17. Brockway

    Brockway Pangalactic Porcupine

    For more precisions, i activate global protection on all the server, i dont protect my spawn planet with commands.
     
  18. teihoo

    teihoo Ketchup Robot

    Probably some more stuff can be done around protection I'm sure. I was just looking at the code for projectiles, and made it work like planet protection and I noticed something quite bad ... there was a for loop looking through all the planets protected, instead of just cheking the one in question. Let me see how much this improves StarryPy load.
     
  19. Brockway

    Brockway Pangalactic Porcupine

    Question : How do you handle in commands people that have usernames like that "Mata Hari", basicly with spaces in the middle.

    I try everything...
     
  20. SweFox

    SweFox Guest

    With quotes.
     
    Crasher likes this.

Share This Page