Party improvements thread Anonymous 2023/08/03(Thu) 17:37 No.33
Re: Party improvements thread grrr 2023/08/03(Thu) 19:01 No.34
where do i see the source code?
Re: Party improvements thread Anonymous 2023/08/03(Thu) 20:17 No.35
English version isn't public yet, but you can download the Japanese original here: https://app.h3z.jp/games/download/?download=111
Re: Party improvements thread Anonymous 2023/08/03(Thu) 20:21 No.36
Do note that I'm not a programmer, so pseudo code isn't much use (;^Д^)
Also I implemented code and pre tags (see the notes link above) which will help format code snippets
Also I implemented code and pre tags (see the notes link above) which will help format code snippets
Re: Party improvements thread Anonymous 2023/08/03(Thu) 21:07 No.37
>>35
I'm getting a 403 on that link.
>>34
The client code can be found in your browser (for example shift+ctrl+i will usually open your developer console, and you can enter the debugger tab to see everything). It's rather easy to read.
p.s. the backslash on this bbs translates to yen sign (yay, shift-jis!).
Any plans to release the heyuri source sometime?
I'm getting a 403 on that link.
>>34
The client code can be found in your browser (for example shift+ctrl+i will usually open your developer console, and you can enter the debugger tab to see everything). It's rather easy to read.
p.s. the backslash on this bbs translates to yen sign (yay, shift-jis!).
Any plans to release the heyuri source sometime?
Re: Party improvements thread Anonymous 2023/08/03(Thu) 22:08 No.38
>I'm getting a 403 on that link.
Guess that site haets direct links, here's the download page: https://七海灯.jp/contents/games/atparty2
Click on "スクリプトダウンロードはこちら" to show the download links, it's version v1.45 u want
>p.s. the backslash on this bbs translates to yen sign (yay, shift-jis!).
It's UTF-8, but the MS PGothic font (and compatible fonts) does this anyway (;^Д^)
>Any plans to release the heyuri source sometime?
I intend to, it's just a matter of taking the time to gather all the files and make sure no unecessary data, passwords, etc. are left in it
I'd just release it as a .zip and leave it to kaguya or someone else to turn it into a git or whatever if they want to - gits are too confusing and arcane to me (;^Д^)
Guess that site haets direct links, here's the download page: https://七海灯.jp/contents/games/atparty2
Click on "スクリプトダウンロードはこちら" to show the download links, it's version v1.45 u want
>p.s. the backslash on this bbs translates to yen sign (yay, shift-jis!).
It's UTF-8, but the MS PGothic font (and compatible fonts) does this anyway (;^Д^)
>Any plans to release the heyuri source sometime?
I intend to, it's just a matter of taking the time to gather all the files and make sure no unecessary data, passwords, etc. are left in it
I'd just release it as a .zip and leave it to kaguya or someone else to turn it into a git or whatever if they want to - gits are too confusing and arcane to me (;^Д^)
Re: Party improvements thread Anonymous 2023/08/03(Thu) 22:10 No.39
>It's UTF-8, but the MS PGothic font (and compatible fonts) does this anyway (;^Д^)
...that said, using
...that said, using
code tags
orpreshould allow backspaces to appear normally
tags
Re: Party improvements thread Anonymous 2023/08/04(Fri) 14:49 No.40
I made a big improvement! A violentmonkey script that automatically plays slots. Yes, it goes back home to rest automatically once tired.
キタ━━━(・∀・)━━━!!
キタ━━━(・∀・)━━━!!
Re: Party improvements thread Anonymous 2023/08/04(Fri) 17:00 No.41
i made a script that changes the title to missed messages
might be totally b0rked but works for me
https://greasyfork.org/en/scripts/472434-party-ii-notifier
might be totally b0rked but works for me
https://greasyfork.org/en/scripts/472434-party-ii-notifier
Re: Party improvements thread Anonymous 2023/08/05(Sat) 14:40 No.42
Arigatou to SordFish for making this script to add movement buttons to @Dungeon:
const mes = document.querySelector(".mes")
if(mes && mes.textContent.includes("Turn limit")) {
const frm = document.querySelector("#form")
const btn = document.querySelector(".button_s")
const ipt = document.querySelector(".text_box_b")
const direction = (dir) => () => { ipt.value = dir; btn.click() }
const dirContainer = document.createElement("div")
dirContainer.style.display = "inline-grid"
dirContainer.style.gridTemplateColumns = "auto auto auto"
dirContainer.style.gridTemplateRows = "auto auto auto"
const northBtn = document.createElement("button")
northBtn.append(document.createTextNode("^"))
northBtn.onclick = direction("@North")
northBtn.style.gridRowStart = "1"
northBtn.style.gridColumn = "1 / span 3"
dirContainer.append(northBtn)
const eastBtn = document.createElement("button")
eastBtn.append(document.createTextNode(">"))
eastBtn.onclick = direction("@East")
eastBtn.style.gridRowStart = "2"
eastBtn.style.gridColumn = "3 / span 1"
dirContainer.append(eastBtn)
const westBtn = document.createElement("button")
westBtn.append(document.createTextNode("<"))
westBtn.onclick = direction("@West")
westBtn.style.gridRowStart = "2"
westBtn.style.gridColumn = "1 / span 1"
dirContainer.append(westBtn)
const southBtn = document.createElement("button")
southBtn.append(document.createTextNode("v"))
southBtn.onclick = direction("@South")
southBtn.style.gridRowStart = "3"
southBtn.style.gridColumn = "1 / span 3"
dirContainer.append(southBtn)
frm.append(document.createElement("br"))
frm.append(dirContainer)
}
Re: Party improvements thread Anonymous 2023/08/06(Sun) 14:11 No.43
HeyuriTan job has been added! Requires 10 previous job changes, may include severe b0rkage
https://cgi.heyuri.net/party2/icon/job/74_f.gif
https://cgi.heyuri.net/party2/icon/job/74_f.gif
Re: Party improvements thread Anonymous 2023/08/08(Tue) 14:23 No.50
Laddies and gentlemen, I present to you HeyParty, an improved interface userscript for @PartyII !!!!1one
https://pastebin.com/q2kdaFCU
>wut?
Over 1k lines of pure autism!
A userscript (see greasemonkey, violentmonkey, etc.) that rewrites the DOM and turns the game into a single-page application.
It's a bit betaish and it needs some proper styling pretty badly. Contriboots whalecum.
>for what porpoise
The following features are included:
- Brand new DOM, pretty much fully rewritten, allowing much easier styling and a platform for future modifications
- Live chat updates
- Separate log messages and chat messages
- Saved quest settings and quest selection dropdown (for each quest category, e.g. @Party is saved separately from @Dungeon), so you can just press submit instead of reentering everything all the time. Meaningful party names ahoy!
- Comment and action queuing. You will never again be warned by the server that you're clicking too soon.
- Dungeon directional pad. Press arrow buttons instead of messing around with @West and @North!
- Targeted action list hover. Hover over a target to see a dropdown of actions. This isn't contextual but it does feature some amount of filtering, making it a useful dropdown->click list.
- Action buttons. @Actions get added to the textbox if my script does not yet support them, otherwise the action will be submitted directly without having to hit submit yourself.
- Emergency exit button: in case the script fucks up, press the [Original] button present on any page in the controls area (or go back with [New]) to interact with the latest page the script fetched in the background.
- ???
- Probably moar, i forget!
>that dun answer muh q-
You WILL use it and you WILL enjoy it!
>huh?
Download a script manager such as violentmonkey (or any other, since this script exclusively uses vanilla javascript), go to settings, add a new script, and copy-paste this in here. To disable the script, click the script manager button and click the party2-improved entry. It will remain disabled until you reenable it.
Enjoy!
https://pastebin.com/q2kdaFCU
>wut?
Over 1k lines of pure autism!
A userscript (see greasemonkey, violentmonkey, etc.) that rewrites the DOM and turns the game into a single-page application.
It's a bit betaish and it needs some proper styling pretty badly. Contriboots whalecum.
>for what porpoise
The following features are included:
- Brand new DOM, pretty much fully rewritten, allowing much easier styling and a platform for future modifications
- Live chat updates
- Separate log messages and chat messages
- Saved quest settings and quest selection dropdown (for each quest category, e.g. @Party is saved separately from @Dungeon), so you can just press submit instead of reentering everything all the time. Meaningful party names ahoy!
- Comment and action queuing. You will never again be warned by the server that you're clicking too soon.
- Dungeon directional pad. Press arrow buttons instead of messing around with @West and @North!
- Targeted action list hover. Hover over a target to see a dropdown of actions. This isn't contextual but it does feature some amount of filtering, making it a useful dropdown->click list.
- Action buttons. @Actions get added to the textbox if my script does not yet support them, otherwise the action will be submitted directly without having to hit submit yourself.
- Emergency exit button: in case the script fucks up, press the [Original] button present on any page in the controls area (or go back with [New]) to interact with the latest page the script fetched in the background.
- ???
- Probably moar, i forget!
>that dun answer muh q-
You WILL use it and you WILL enjoy it!
>huh?
Download a script manager such as violentmonkey (or any other, since this script exclusively uses vanilla javascript), go to settings, add a new script, and copy-paste this in here. To disable the script, click the script manager button and click the party2-improved entry. It will remain disabled until you reenable it.
Enjoy!
Re: Party improvements thread Anonymous 2023/08/08(Tue) 14:48 No.51
Oh fug there r bugs do not use script yet Σ(;゚Д゚)
Temporary fixes:
https://pastebin.com/6e3ZGCkH
Do NOT have the script on while trying to login for now. Although it should be fixed, I am banned for about 5000 minutes so I can't actually test... (゚ー゚)
There was also a bug with missing initial data in localstorage that is now fixed.
Anonwaha HALP
Temporary fixes:
https://pastebin.com/6e3ZGCkH
Do NOT have the script on while trying to login for now. Although it should be fixed, I am banned for about 5000 minutes so I can't actually test... (゚ー゚)
There was also a bug with missing initial data in localstorage that is now fixed.
Anonwaha HALP
Re: Party improvements thread Anonymous 2023/08/08(Tue) 15:09 No.52
>Although it should be fixed, I am banned for about 5000 minutes so I can't actually test... (゚ー゚)
Should be unbanned now (;^Д^)
Should be unbanned now (;^Д^)
Re: Party improvements thread Anonymous 2023/08/08(Tue) 15:10 No.53
Moar fixors:
https://pastebin.com/9dZdpsVb
- I am now able to login with the script enabled. I tested with tampermonkey and violentmonkey and it works in both. I would like someone daring to give it a spin, though.
- The fixes above makes @Logout work correctly
https://pastebin.com/9dZdpsVb
- I am now able to login with the script enabled. I tested with tampermonkey and violentmonkey and it works in both. I would like someone daring to give it a spin, though.
- The fixes above makes @Logout work correctly
Re: Party improvements thread Anonymous 2023/08/08(Tue) 18:19 No.54
https://pastebin.com/kk0payJh
New version.
Changes:
- Can now enable or disable status updates in the script with a constant at the top of the file. This was causing wobbling from the menu because I can't into CSS, which some could find distracting.
- Fixed some menus not using the right action
- Added more supported actions
- Can now merge the chat and log (like in the default view) using a constant at the top of the script.
- Various bugfixes.
New version.
Changes:
- Can now enable or disable status updates in the script with a constant at the top of the file. This was causing wobbling from the menu because I can't into CSS, which some could find distracting.
- Fixed some menus not using the right action
- Added more supported actions
- Can now merge the chat and log (like in the default view) using a constant at the top of the script.
- Various bugfixes.
Re: Party improvements thread Anonymous 2023/08/09(Wed) 15:33 No.59
I uploaded the latest heyparty version to greasyfork. It contains a lot of QoL improvements based on feedback I received so far.
https://greasyfork.org/en/scripts/472792-heyparty
https://greasyfork.org/en/scripts/472792-heyparty
Re: Party improvements thread Anonymous 2023/08/11(Fri) 18:12 No.67
In the code for quests, enemies have jobs assigned which gives them skills. There's a number value representing a job, and then a comment next to it saying what the job is
Some of these numbers and comments didn't match up with each other, and in some cases were very obviously wrong - so I corrected them!
Here's the complete list of enemies that have changed, with the original values on the left (job/former job) and the corrected versions on the right:
Some of these numbers and comments didn't match up with each other, and in some cases were very obviously wrong - so I corrected them!
Here's the complete list of enemies that have changed, with the original values on the left (job/former job) and the corrected versions on the right:
Black: BlackMage/BlackMage -> BlackMage/DarkMage
FlameDemon: Mage/BlackMage -> Mage/DarkMage
Bomb: Devil -> BlueMage
GamblingFaerie: Mime -> Gambler
DarkShield: Archfiend/Summon -> BarrierMage/Summon
BigDracky: BarrierMage -> Dragon
DarkEye: Assassin -> DarkMage
Minitaurus: Moogle -> Shepherd
Satan: Soldier/FallenAngel -> FallenAngel/DarkKnight
Pseudo-code, client-side:
let latest = undefined
Put this handleSubmit in the form action for the submit button:
const handleSubmit = e => {
e.preventDefault()
const text = e.target.value
// check if this is an action, i.e. first non-empty char is @
if(text.match(/\s*@.+/)) {
latest = text
} else {
// This is a spoken line or such, just do the normal submit action
}
}
in party2/html/party.js under active_gage when gage_width is calculated:
if(gage_width === 100) {
(do the actual current form's action, but using latest instead of the text field's value)
}