Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle invalid allegiance names #181

Open
amoeba opened this issue May 25, 2020 · 0 comments
Open

Handle invalid allegiance names #181

amoeba opened this issue May 25, 2020 · 0 comments

Comments

@amoeba
Copy link
Owner

amoeba commented May 25, 2020

Emus don't properly restrict allegiance names so players in those allegiances get errors:

2020-05-25T07:48:37.068424713Z app[web.1]: 2020-05-25 07:48:37 - JSON::ParserError - 783: unexpected token at '{"version":"2","name":"Guru","race":"Gharu'ndim","gender":"Male","level":165,"allegiance_name":"Moe says, "thats why i have a fat wife"","rank":1,"followers":0,"server":"Drunkenfell","deaths":12,"birth":"5/22/2020 11:16:16 PM","total_xp":16237135914,"unassigned_xp":277040369,"skill_credits":15,"attribs":{"strength":{"name":"Strength","base":205,"creation":50},"endurance":{"name":"Endurance","base":221,"creation":40},"quickness":{"name":"Quickness","base":199,"creation":30},"coordination":{"name":"Coordination","base":178,"creation":10},"focus":{"name":"Focus","base":289,"creation":100},"self":{"name":"Self","base":281,"creation":100}},"vitals":{"health":{"name":"Health","base":287},"stamina":{"name":"Stamina","base":383},"mana":{"name":"Mana","base":448}},"skills":{"melee_defense":{"name":"melee_defense","base":301,"training":"Trained"},"missile_defense":{"name":"missile_defense","base":75,"training":"Untrained"},"arcane_lore":{"name":"arcane_lore","base":217,"training":"Trained"},"magic_defense":{"name":"magic_defense","base":198,"training":"Trained"},"mana_conversion":{"name":"mana_conversion","base":270,"training":"Specialized"},"item_tinkering":{"name":"item_tinkering","base":234,"training":"Untrained"},"assess_person":{"name":"assess_person","base":0,"training":"Untrained"},"deception":{"name":"deception","base":0,"training":"Untrained"},"healing":{"name":"healing","base":0,"training":"Unusable"},"jump":{"name":"jump","base":317,"training":"Trained"},"lockpick":{"name":"lockpick","base":0,"training":"Unusable"},"run":{"name":"run","base":344,"training":"Trained"},"assess_creature":{"name":"assess_creature","base":0,"training":"Untrained"},"weapon_tinkering":{"name":"weapon_tinkering","base":247,"training":"Untrained"},"armor_tinkering":{"name":"armor_tinkering","base":255,"training":"Untrained"},"magic_item_tinkering":{"name":"magic_item_tinkering","base":289,"training":"Untrained"},"creature_enchantment":{"name":"creature_enchantment","base":330,"training":"Trained"},"item_enchantment":{"name":"item_enchantment","base":340,"training":"Trained"},"life_magic":{"name":"life_magic","base":335,"training":"Trained"},"war_magic":{"name":"war_magic","base":371,"training":"Specialized"},"leadership":{"name":"leadership","base":0,"training":"Untrained"},"loyalty":{"name":"loyalty","base":5,"training":"Trained"},"fletching":{"name":"fletching","base":0,"training":"Unusable"},"alchemy":{"name":"alchemy","base":0,"training":"Unusable"},"cooking":{"name":"cooking","base":0,"training":"Unusable"},"salvaging":{"name":"salvaging","base":145,"training":"Trained"},"two_handed_combat":{"name":"two_handed_combat","base":128,"training":"Untrained"},"void_magic":{"name":"void_magic","base":0,"training":"Unusable"},"heavy_weapons":{"name":"heavy_weapons","base":128,"training":"Untrained"},"light_weapons":{"name":"light_weapons","base":128,"training":"Untrained"},"finesse_weapons":{"name":"finesse_weapons","base":126,"training":"Untrained"},"missile_weapons":{"name":"missile_weapons","base":89,"training":"Untrained"},"shield":{"name":"shield","base":192,"training":"Untrained"},"dual_wield":{"name":"dual_wield","base":119,"training":"Untrained"},"recklessness":{"name":"recklessness","base":0,"training":"Unusable"},"sneak_attack":{"name":"sneak_attack","base":0,"training":"Unusable"},"dirty_fighting":{"name":"dirty_fighting","base":0,"training":"Unusable"},"summoning":{"name":"summoning","base":0,"training":"Unusable"}},"monarch":{"name":"Snow","race":1,"rank":5,"gender":1,"followers":248},"patron":{"name":"Snowone","race":10,"rank":3,"gender":1},"current_title":13,"titles":[13,433],"properties":{"6":102,"139":163,"326":1,"354":7,"355":12},"key":"a317764085af5a63240805209fe5f3bac978430d54f4136a37b7e4d6d833ba68"}':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant