1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

[v1.10] ServerEPRSystem

Discussion in 'Unsupported / Outdated Plugins' started by vharonftw, Sep 11, 2011.

  1. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    oh yeah... cuz EPR only creates a pouch if a player is logged in now i could block the commands of people who aren't logged in altogether but that wouldn't be right... what's easier is to change the groups so that registered members go are assigned to a new group (other than default) and edit the group permissions for the default on (this would now only encompass non-login'd players) so that they can't warp etc. and edit your new group (the one for registered players) to have the permissions you want like warp.

    its set up this way so there can be no confusions and cheating on player accounts. this is so that players can share their pouches b/w different characters (because its created with their account name) and also people can't hack your account by creating a character with the same name as yours
    and connecting when you're not on ( the problem with pouches being created per character).. what would be best is if the system used the players' IPs but some IPs are dynamic and hence this would mean a player wouldn't have access to his/her previous upon account each connect

    Weeeeeeeeeeeeeeee! :D and as for your c3 hooks... hmm.. well idk if it'll be as great as people would expect it to be but i'll have it up as soon as I can (can't really program much on weekdays so it mght take a while :p)

    thanks ^____^
     
  2. alerek

    alerek Level 6

    Joined:
    Jul 25, 2011
    Messages:
    125
    Aye, I had considered just altering my default to not include warp, then assign registered users to a different group, but I don't have a way to auto-assign people to a group right after they register......do I?

    Edit...Is that what
    " "DefaultRegistrationGroupName": "default"," is for?? I thought altering this would just change what "Default" is called......or is this a config option to auto-dump new /registers into a group?
     
  3. Twitchy

    Twitchy Plugin Manager and TShock Dev

    Joined:
    Jul 22, 2011
    Messages:
    281
    That allows you to set which group users get put into when registering, and is what you want
     
  4. alerek

    alerek Level 6

    Joined:
    Jul 25, 2011
    Messages:
    125
    yesssssssssssssssssssssssssssssssssssssssssssssssssss tytytytytyty
     
  5. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    same reaction i had first time i saw that field in the config file :p
     
  6. Hammi589

    Hammi589 Level 0

    Joined:
    Aug 11, 2011
    Messages:
    2
    okay this plugin is confusing. if i type setshop it will only come up with the thing i can do to a shop, not even let me name it or set the shop where i want, help please!
     
  7. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    set up a region first by using /region set 1 /region set 2 /region define [shop name] this will be your shop (basically its still just a region... it will become a shop once you add an item to it) ( i put this in the read me.. there's also a similar discussion in this thread a few pages up)

    add items to it by using /setshop [item] [shop name]

    also for those of you who find /servershop pricelist [shop name] not working thats because there is no such command >_< my bad... the actual command is /servershop shoppricelist [shop name] -- basically its just a typo srry will fix this next build!
     
  8. alerek

    alerek Level 6

    Joined:
    Jul 25, 2011
    Messages:
    125
    Wooo ty! Been wondering why I couldnt get the induvidual ones to work >.<

    Any chance we can get a truncated alternative command to display a shop's price list? Maybe "/pricelist [shopname]" and/or "/pl [shopname]" ?
     
  9. Hammi589

    Hammi589 Level 0

    Joined:
    Aug 11, 2011
    Messages:
    2
    Thanks :) works great can't wait untill the next major release.
     
  10. DankBud

    DankBud Level 8

    Joined:
    Jul 23, 2011
    Messages:
    228
    i like /ss pl
    :D Amazing plugin
     
  11. alerek

    alerek Level 6

    Joined:
    Jul 25, 2011
    Messages:
    125
    I'm just up for anything that would let players see whats available in a shop with typing the least amount of characters as possible~ After running this server since (terraria's official) launch, and seeing an overwhelming amount of players, their average age is quite young (my guess right now is 13, maybe younger,) and the simpler we can make things for them, the better~! I'm only in this to provide a playground for people, and the easier things operate on their end, the more they want to play (and make use of those extra features,) and they would certainly want to take advantage of a neat feature like this~ provided they don't have to memorize a textbook to accurately make use of the features.
     
  12. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    vharon- wierd issue. if you kill a monster with vilethorn it appears to award shards more than once.. ill have to screw around more with it...
     
  13. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    currently for all /servershop commands the truncated version is /ss so its gonna be /ss shoppricelist i can make it so that it will be officially changed to /ss pricelist but it can only be one or the other... (because basically its in a switch block so i'd have to copy and paste it to another case block...) will try an alternative way of shortening these though so dun worry

    already aware of the issue and its not just with vilethorn... basically its set up to award you points whenever your attack goes over the monster's current HP however this does not compute for the damage reduction (should've figured that from the start.. xD my bad) from the defense.. to put it simply it goes like this:

    say you attack a monster with an attack damage of 5 and the monster's current life is 4 this would mean you would get awarded the points for supposedly killing the monster.. but if the monster has 8 defense this would then lower your actual damage but still award you the points... your actual damage would then be 1 (but the code will still see it as 5) so the monster's HP would turn to 3 and still award you points... attacking again would lead to the same result... so effectively you would get awarded 4 times till you actually kill the monster... will fix this next build... also i'll add some features for you to define monster point drops... cuz i hearsay some talk bout people killing EoW a lot cuz it gives u the most points :p (but EoC and Skelly only gives you a small amount) king slimes are good too..

    again i'm only able to code on weekends (sorry for that) so it'll be a while before i actually have the next build up... maybe on saturday i guess.. idk
    --- Last Edited: Sep 22, 2011 2:24 AM ---
    Same goes for crit-hits... say if you kill a monster with 25 hp by doing 13 damage then doubling up for Crit that would mean you actually damaged it 26 points of HP but the code will only see this as 13 damage so it won't award you points
     
  14. Twitchy

    Twitchy Plugin Manager and TShock Dev

    Joined:
    Jul 22, 2011
    Messages:
    281
    If you for for my next version of chat blocker, you will be able to set commands redirects... Id just wait for that.
     
  15. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
  16. alerek

    alerek Level 6

    Joined:
    Jul 25, 2011
    Messages:
    125
    Twitch I've lost count how many times I've professed my love for you, but...

    I love you.
     
  17. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    vharon- we are eagerly awaiting the next release!
     
  18. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    yeah very sorry bout that~_~ im at my parents' house with a laptop that doesnt have Visual Studio so i can't program as much (plus the internet speed here is below hopeless so i won't even try downloading VS :/ )

    used C# express for this.. so i dun have the powerful debug features of Visual Studio but it should work
    posted an update for 1.1.0.3 (should be compatible with TShock 3.3.4.924)

    Expect v 1.2 anytime soon (I'm very sorry... there's just a lot on my plate right now so i can't code as much.. I'm managing my own server, plus a forum for it not to mention the steam and facebook groups.. plus things in IRL just got more hectic)

    Also if there's anyone kind enough to help me with answering Plugin FAQ's I'd gladly appreciate it ^__^
    Need help with the following:
    • wiki for each plugin part (i.e separate Wikis for shop, command costs, points system rank and the things to come)
    • Tips for setting up and implementation into a server (would be included in the wiki)
    • A well-priced ServerShopCatalogue (just opinions on good prices for the items or a list of all the items and the price that you think should suit them)
    I've been putting off doing this cuz this actually takes more time than coding the actual plugin.. so if anyone has a good grasp on any of the topics above and wants to help please feel free to message me here on the forums or hop on over to this irc channel (#emerald) at irc.accessirc.net (you may also contact me here if you have any questions about the plugins)

    thanks in advance to those who will help ^__^
     
  19. vharonftw

    vharonftw Testing until the end

    Joined:
    Aug 19, 2011
    Messages:
    326
    ~_~ err... minor set back... can't code the PVP system till c3 gets recompiled for the latest verson of Tshock ~_~ srry..
     
  20. DarkOS

    DarkOS tShock supporter and programming hack.

    Joined:
    Aug 17, 2011
    Messages:
    849
    can you do a "shard tick" for logged in time? like a 15 shard tick every 15 minutes someone is joined to the server?
    also, i am getting much more familiar with some best practices of setting this up and configuring so i may be able to do some of these docs