hoeencoder / wavelength Goto Github PK
View Code? Open in Web Editor NEWThe github repository for the Wavelength server on Pokemon Showdown.
Home Page: http://wavelength.psim.us/
License: Other
The github repository for the Wavelength server on Pokemon Showdown.
Home Page: http://wavelength.psim.us/
License: Other
Currently Economy.logDice does nothing and is not viewable in moneylog nor is there a command to view it? Should we merge it in moneylog or new command?
I'm basically going to play around with the trainer AI in SGGame and report anything we should improve.
List of Checks needed:
Possible Implementation:
Hi so. I wish to greenlight SSBFFA but I have decided (along with HoeenHero) that there are certain things that should be changed to give more freedom to people, give less wait time for trying out something new, and gives us developers to not get us swamped with work. So here is what we decided. Feel free to discuss
Instead of getting access to a custom tailored move after a 1 time purchase, we have decided to use a tier system that gradually gives you stronger stuff as you go higher.
here is what we have for moves:
Standard: use 1 move† that the pokemon cant learn normally
Advanced: Standard + access to some powerful pre-coded custom moves
Ultimate: Advanced + Server programmers work with you to add 1 move just for you†.
abilities:
Standard: nothing special
Advanced: access to an ability that the pokemon cant have normally†
Ultimate: Advanced + Server programmers work with you to add a custom ability just for you†
items:
Standard: nothing special (access to normal items or no item)
† We reserve the right to change/remove/reject it if there are issues regarding balance, code, or something else.
__
Let me know what you think :)
random reference to #239
Catch rates/ Base EXP values currently aren't avaliable for the new USUM pokemon.
I've set temporary rates & values for them atm, but true data is wanted ASAP.
Alot of side servers, including Wavelength, have a global varaible that acts as a holder for utility functions. This can be useful, though these variables are also used for other things at times that could be self contained in their chat-plugin files.
What I want to do with "WL" in this refactor is either A. replace it with a "Tools" global for utility functions that are used all over the server only or B. merge these utilities into Chat (or another appropriate variable like Dex).
You may be wondering, "Why not use Dex if we aren't going to use WL anymore?". Dex is more for sim ("pokedex") based tools, Dex.getTemplate gets a pokemon template, Dex.getAbility gets an ability, ect. Things like WL.nameColor don't make much sense there, especially since Dex is loaded in the battle processes and nameColor isn't used there (waste of memory).
I'm open to other suggestions and ideas, please reply and let me know what you think we should do.
Typescript was disabled for the SGgame branch temporarly, until i can learn it and implement things for wavelength. This is mostly a note so I don't forget to re-add it.
"scripts": {
"start": "node pokemon-showdown",
"test": "eslint --rulesdir=dev-tools/eslint --cache . && tsc && mocha"
},
It kinda goes without saying
Formats that are approved for refactoring and re-addition
Formats pending approval for refactoring and re-addition (may be cut, refactor at your own risk)
(If any custom formats are missing let me know).
Leaving Forrce incharge of this for the most part. Basically, feel free to vouch for or against any of the above pending formats staying on Wavelength. For those that are approved and unclaimed (no parens after the format name) feel free to post here to claim it and then refactor it. This includes any mod code or chat-plugins needed to make these work.
Chat Plugins are probably the area that needs to most work as they are the most modified.
To consider:
Please try to keep plugins self contained (they stay inside their own file and code in other files is NOT needed)
Please ensure all commands have a /help entry
Chat Plugins approved for refactoring and re-adding
Chat Plugins pending approval before refactoring and re-adding. Refactor at your own risk.
If I missed something, or you have opinions on what to keep/remove reply to this. For those that are approved and unclaimed (no parens after the plugin name) feel free to post here to claim it and then refactor it.
PLEASE READ THIS POST BEFORE REPORTING A BUG
Thanks for your interest in helping with SGgame development, either through reporting bugs, or fixing them. Both are appreciated!
This issue is for tracking bugs with SGgame Alpha 2.0, NOT Alpha 1.0.
The code for 2.0 can be found in the v2 branch
If you are reporting a bug:
Please make sure the bug has not already been reported, we are already aware if it has been.
Please be specific about what happened, "It crashed" isn't useful. Specifically:
We may ask you for further details, if you don't check github often leave your PS username and what server I can find you on (main, wavelength, other (give the name!)). Thanks for the help again!
Since there isnt really one ill just be the first to do so!
Clicking a pokeball if there is no mons on your side of the field results in the game freezing
move learning on evolution doesnt work
Whenever a mon levels up in the middle of an SGgame battle its stats are buffed uncontrollably
%Arrays: if a mon levels up mid match it stops gaining exp and doesnt level midmatch || %Arrays: but it does level outside the match
Main TODO:
Remove former auth for SG
Update Ranks
Import Tsunami's Auth
Add wgc (Nothing i can do rn so i just left a message on the txt file)
New Descriptions
Also if thou must, This is probably a good time to update any staffmons if you feel like it!
If a user switches from their name to another, and switches back appears to cause a crash.
Achievements would be another way of getting stardust and a way to get badges: which give effects if you have them. Right now I have ideas for achievements for coming on daily, winning/losing battles, uno matches, and probably ambush, PSGO cards, and ontime. (if we keep/fix it).
Badges give certain effects similar to how something on Spacial Gaze worked (It gave more stardust for tours and uno wins but I don't actually remember if it was badges or something else) The effects range from adding a stardust for the daily stardust to getting more stardust from winning tours and games right now. There may be some badges that do nothing but show that you got a really big (or even secret) achievement.
Some things that may change because of this may be Profiles and the Daily Stardust because of this.
Global Leader are being able to promote anyone to admin and demote admin to regular user while being global leader.
Lottery:
Surveys:
SSBFFA:
PSGO:
config/cards.json
1st crash:
The server needs to restart because of a crash: TypeError: this.room.log.push is not a function
at CommandContext.parse (C:\Users\Administrator\Desktop\Impulse-Server\chat.js:313:20)
Please restart the server.
2nd Crash:
~Wavelength Server: The server has crashed: Error: Obsolete command; use room.sendMods. at BasicChatRoom.sendModCommand (C:\Users\Administrator\Desktop\Impulse-Server\rooms.js:122:27)
Both crashes occur after last night's update from main.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.