#NacaBattle - Online VPet battle platform from within your web browser

383 messages · Page 1 of 1 (latest)

golden raven
#

For a while I've been working on a website where you can make use of your Acom (and soon to work WifiCom) to battle between users without making use of any external apps outside of your web browser.

The website aims to replace Alpha Serial in a way that you only need to hand to your opponent a code, and after that, choose your device and then you can battle directly between users.

Currently the only functional piece is the new server software. I'm no expert at building UIs so the interface is going to be very simple.

Planing to add:

  • Wificom support
  • Internal database that logs a user's Digimon which have battled, a profile of the user with the win rate
  • A ranking system?

I also managed to find a way to host the server in a very cheap manner, so probably by the end of this week/next week, it should be available online for the basic battle functionality.

(I also cannot do tests with real VPets at the moment as mine have ran out of battery juice)

#

Extra functionality the server has:

  • The server has a lobby with a capacity of 20 people (arbitrary number I chose).
  • When two users pair, they get out of the lobby. After that both players can communicate directly.
  • If a user does not do anything for 30 seconds after logging in (again, arbitrary number) and is taking up space in the lobby, the user gets kicked out and the code gets invalidated.

Issues I cannot fix due to how websockets work:

  • If a player disconnects, both players have to restart the connection.
#

Next I have to make is the device selection and the communication stuff in the client, will be using a library I built a long time ago based in JavaScript to connect the ACom to the web browser.

In the case of the WiFiCom, I plan on the server doing the communication with it, as it works on a completely different way from what I understand.

#

Then another thing, this website only works on Google Chrome, and Chromiun based browsers, like Edge, Opera and such.

This is in the case of using an ACom, in the case of the WiFiCom, as the client doesn't need to do anything apart from displaying graphics, so it could be used on any web browser, or even mobile devices.

random fjord
#

Nice project !

golden raven
#

VPet Battle server (for AComs and WifiComs)

polar zenith
#

Very cool! Reach out with any questions on the wificom App when you get to that part 🙂

golden raven
#

going to make use of kanban for this, definitely helps to control more everything since i tend to hop in and out of projects a lot

golden raven
#

Let's see if I can make a working ACom implementation by tonight

#

Working now on the priority system and the dice roll + the interface

golden raven
#

dice roll system and the priority system are now working, next is going to be the device selection screen, once i'm done with that, it's just a matter of adding the acom stuff once and cleaning the layout

golden raven
#

Aight, after a while the first alpha is almost done, and now i have hosting to run it on

#

I'd have to ask moderators to publish links, i don't really have a domain, only a freedns subdomain, but should be enough for testing

#

sorry for keeping y'all updated, university sucks

#

another thing i have to clarify again is that for now it's only compatible with chrome and chromium based browsers, again, but next thing i have planned is to create a separate client in the case you are using an incompatible web browser

#

next thing i'll do is finish support for dmog, dm20s, dm20t and penz, and once that is done, i'll publish the current status to my hosting service

#

been doing tests with a dmx

golden raven
#

Quick summary after a few months of stalled development

  • Both acom and wificom are supported
  • Battling works in live battles and slow battles
  • Can be used to send digiroms to acoms directly with an API or just by manually writing the digirom on the site
  • During battles the application can tell apart the digimon you are using to battle and will communicate it to your rival
#

The app is live and it can be used

#

Now future plans I'm working on is:

  • NacaStorage: a live DigiDex you can upload your digimon to the site and see completion for each device (like D-Terminal)
  • Public API for accessing these digimon: in the case you are an app developer you can use this data in your game to get the digimon of a user
  • Vital Bracelet stuff: I'd love to be able to create an alternative application to VB arena with multiplayer battles, but until then it'll be a long way to go
#

Here is a screenshot of the storage functionality

Currently the DM20 is the only device supported, as I have to crop and resize sprites

#

NacaBattle - Online VPet battle platform from within your web browser

golden raven
#

Progressed a bit more and the dex progress is working. The way it will work is that, every time you battle with someone, if you are logged in, the platform will slowly complete the dex without you having to register the digimon manually, making it a bit better

#

There is a dex, and also a section to upload your favorite mons

golden raven
#

here it is, i was able to upload directly from my acom

#

and you can upload two at a time too if your device supports tag battles

golden raven
#

color sprites? sure thing!

#

i'll put the original source on the site once i add the devices i'm interested in adding

eternal oracle
#

is this already open to public ?

golden raven
#

yes

#

the dex is still work in progress, but aside of that, everything is working

#

welp, turns out the website hosting died again

#

i'm tired of this company

#

i'm going to fix this

#

nvm it's now back

#

i'm going to be moving away from hosting with this cloud provider, which is proving to be quite an unstable service to hosting at home on my dell optiplex using cloudflare

golden raven
#

I just added a new update to the site, penc is now a supported device to battle

bitter lodge
golden raven
golden raven
#

I could make a video on how to use it, but at the same time making 3 step guide on first usage shouldn't be difficult

bitter lodge
#

Usage

golden raven
#

Ah ok, I can make it, might do in a week or so as I already scheduled the next few features and bugfixes

bitter lodge
#

For sure! Just figured it’d be cool to see it work.

#

And like how to set it up

golden raven
#

More or less it's a straigforward process,
In live battles, paste the opponents code, then choose whether you want to use an acom/wificom, roll the dice, select the device and whoever rolled higher starts the battle

dusk tartanBOT
golden raven
#

I do have to add some more messages like: "Ready to scan", "Waiting for opponent to scan" or "Failed to scan, try again"

golden raven
bitter lodge
#

Awesome!

golden raven
#

very basic but should do

noble saddle
#

does this not support xc and xd devices for the dex yet?

golden raven
#

not yet, going to release them soon tho

#

i'm working on a tournament function and i want to do a test tournament with the DMX devices

noble saddle
#

Oki

golden raven
#

actually i added them today alongside dmog

noble saddle
#

i saw, i still need to get a dmog eventually

#

ive uploaded what i have so far in the dex as well

golden raven
#

Now I'm working with penog and investigating japanese Digivices/wonderswan games

noble saddle
#

nice

#

the wonderswan is also what im interested in besides the pen Z's

golden raven
#

New update:

  • Added support for D2 Color Digivices
hard patio
#

Its called the miami

golden raven
#

Wat

#

Is the D2 called the miani really?

hard patio
#

...no but its not called the d2

#

Its just the digivice

golden raven
#

Oh I see

#

Will correct tomorrow

hard patio
#

Its ok lol this project is really cool btw,you do great work

golden raven
#

tysm ❤️

loud horizon
#

Oh my gosh I've never heard of this project until now. Incredible work. Also thanks for the Digivice name correction 😌

golden raven
loud horizon
#

Perfection

golden raven
#

Been a while, but I just added a new application to the NacaEcosystem. Say hello to NacaUpdater. This new NacaApp will allow you to update your ACom from your web browser. I have tested it with 3 different arduinos (atmega328p, both new and old bootloader and atmega328pb) and they all seem to work. If you have any issues do let me know.

https://battle.nacatech.es/nacaupdater

As for the library I am using to update the Arduino firmware it is called avrbro and I have created a fork of it on GitHub with all the changes that NacaUpdater uses

https://github.com/nacabaro/avrbro

Have fun!

GitHub

A tool to upload .hex files on Arduino boards with Serial API - nacabaro/avrbro

golden raven
#

Right, so I just released a new update to all the versions of NacaHelper, with a few improved stuff in terms of stability.

Windows and Linux now have ACom autodetection, just plug in your ACom on your computer when you open the app and it'll use it, no need to open device manager to see which is which.

For Android I have fixed a small bug where rotating the screen will cause NacaHelper to crash.

For both versions I have redone the protocol a bit in order to get rid of a stability issue that plagued the app, where sometimes it could reach a race condition and lock up.

Updating is necessary, otherwise it won't work

chilly cape
#

'get rid of a stability issue' is lowkey the sexiest sentence when it comes to development and programming.

golden raven
#

Wait I said that? Lmfao I didn't notice

#

HAHAHAHAHA

golden raven
#

Have been implementing a new system status page for nacabattle, essentially replacing the default cloudflare page in case of nacabattle going down for maintenance

golden raven
#

if you were trying to access any nacaapps, sorry for the inconvenience, everything is up and running now

golden raven
#

currently ongoing maintenance, expect nacabattle to be down for the next 30 minutes

#

i'm adding missing sprites

golden raven
#

Due to popular demand, I have added more digiroms to the serial console in NacaBattle, now you are able to scan in your devices and preview their digirom data

#

also idk if i mentioned this, but the digirom analyzer also got a lot more new supported devices too

#

next thing on the menu, time to enhance the navigation of the site, and it can be confusing in some circumstances

golden raven
#

also i hid an iC related easter egg

#

good luck finding it

solid brook
#

does it relate to wallpapers

golden raven
#

no

golden raven
#

jogress rooms will be coming to nacabattle

#

this is like live battles, but for jogress

hollow bronze
#

Sorry if this is the wrong place to ask, but can someone help me with this error I keep getting with my DMC when trying to fight with the a-com?

silver socketBOT
#

@hollow bronze has leveled up! (5 ➜ 6)

solid brook
hollow bronze
#

Huh I thought I selected the DMC punching bag. anyways I tried using another device and it worked so I’m thinking something is up with my connectors for the DMC

golden raven
#

Fixed in the next version, my bad

hollow bronze
#

No worries thank you for calling that out!

novel spoke
#

This is an amazing tool 🤩

golden raven
#

New update v0.23:

  • Add Pendulum Progress support ✅
  • Improve overall website navigation ✅
  • Add more devices to digirom analyzer ✅
  • This means also improving the penc analyzer ✅
  • Update digiroms in Serial Console ✅
  • Improved DigiROM listing in the digirom sender utensile. ✅
  • Improve digirom conversion ✅
  • Jogress rooms ✅
#

have some things missing to add, so i'll be adding them as i have some free time

#

if you find issues do let me know

golden raven
#

Also forgot to mention, but now I support community made devices

golden raven
#

New update to NacaBattle, now you can see the battle animations in compatible systems, also including who wins and who loses

#

Also the outcome of the battle will be stored by NacaStorage, you'll be able to see it in your profile (but later)

#

Compatible battle systems are

  • OG Digital Monster
  • Digital Monster Color
  • OG Pendulum
  • Pendulum Color
  • US/SEA (the animation is not accurate, but the result and outcome is)
  • Digital Monster ver 20 and revival, both single and tag battles
  • Pendulum 20, both single and tag battles
  • Pendulum X / Digimon Mini / iC 3-prong / Accel (which iirc it also uses the 3-prong system)
outer perch
#

This is amazing, thank you

golden raven
#

Currently trying to understand the Prog's battle system and the iC one, but the iC one doesn't seem to be difficult

#

having more issues with the prog's one

outer perch
#

I tried with 2 A-com

golden raven
#

i'll check later

outer perch
#

Storage is working fine though

outer perch
#

DMX also not working in Live Battles, but Slow is working fine

golden raven
#

checking now

#

found the issue

outer perch
#

Nice

golden raven
#

fixed

outer perch
#

Thank you!

#

Now Working

golden raven
#

DMX does not work since the system was not reversed

#

nor PenZ

#

need to see how the Digivice Color system works and the iC one is in progress

#

also tried doing the PenProg one but that'll take me a bit

winged abyss
#

Hey @golden raven , got an edge case for you.

Tried scanning my D-cyber 2.0 as a PenX 2.0.

D-cyber asked if I wanted to use US or JP connection betalol
Chose JP, (tried US after and it didn't seem to work at all)
And scanned my Monochromon.

Nacastorage clocked it as Baby I and Baby II. But nothing more.

Nothing I need fixed personally, just thought you'd be interested.

Also, I scanned my PenZ LoaderLionon to the group hatch, the cute little landscape showed an impmon instead,
but the scan was successful and the data seemed right.

Love the cute little landscape by the way, really livens up the process.

golden raven
#

I'll check tomorrow

#

Went onto a deep side tangent and it's now 1:55 in the morning

golden raven
#

idk if i'll be able to use this screen, thing is like 240x240 in size, so i either, start chopping resolution in my buffer and manually place pixels or just get a smaller display

novel spoke
golden raven
#

if anyone would like to see me divagate as I make a vpet you can check it in #1373405432747659385

#

might also make some blog posts as to how i built it in my site

runic compass
golden raven
#

thinking about doing something soon

#

have a digimon project that you wanna add battling to? there we go

solid brook
#

does this implicate implementing nacabattle as a backend or mirror for slow and live battles

golden raven
#

would mean that other people or fan projects can use nacabattle to do battles with real vpets

#

i wrote the specification on a typewriter and then scanned it into the computer

light solar
#

hi , i got a digimon swap in the scan,
Bastemon from PenProgress turn into a Andiramon , also check in W0rld but Bastemon its not listed 😦

silver socketBOT
#

@light solar has leveled up! (6 ➜ 7)

light solar
#

fight the bunny >:D

golden raven
#

fixing one sec

golden raven
light solar
#

2

golden raven
#

complete

#

if you uploaded to nacastorage, upload again

light solar
#

yep it works

golden raven
#

i'm going to start doing something about the sprites

golden raven
#

coming soon

#

you can let nacabattle which is your preferred connection type and it'll remember

#

you can perfectly ignore it too, if you don't want a default you just don't set it and it'll behave like always

light solar
#

got another swap
uploading lilithmon give me cherubi

golden raven
#

yeah, i just realized why the prog is having these issues

#

turns out it's like the mini again

#

will fix it later today, finishing a thing now to try and port NacaHelper to macOS

#

With any luck this should work

golden raven
#

i had to modify the entire penprog thing

golden raven
#

Guess I broke it even more

golden raven
#

can you check now?

light solar
#

ok
scanned in progress v1 give cherubimon v2 dukemon v3 xuanwumon

light solar
#

maybe v2 having have 4 child instead of 3 make something?

dull kiln
#

on Pen20 Octmon is showing as Gottsumon when scanned

golden raven
#

is octmon something copymon?

#

were you uploading two digimon?

dull kiln
#

no just one I tried it again with togemon and that went in fine used the pen20 single option

golden raven
#

what's your username?

#

and did you delete gottsumon?

dull kiln
#

yea i did delete him blknoize. let me try it again and ill let you know

#

it worked this time

#

strange but thanks

golden raven
#

lol

#

i didn't touch anything

dull kiln
#

It could of been that i removed the pen from the com to quickly. I just noticed it displays the digirom unfortunately since i closed it before i cant go back and read the previous rom it sent out.

golden raven
#

no worries

#

it does happen a lot

#

i don't think i check the digirom is complete in nacastorage, since i only use part of the first few packets

golden raven
light solar
golden raven
#

i think i finally got the penprog sorted out

#

(except indexes)

golden raven
#

just pushed a small update to the dmc to dmog converter

light solar
stone nacelle
#

I’m having trouble merging digimon @golden raven

I have Gesomon, Marin Devimon, and Pukumon from my Pen20 that won’t merge.

Same for Angemon>HolyAngemon from Pen20

#

Does merge not like Pen20 yet? 😭

golden raven
#

merge is something i have tor eview

#

since it's running on broken dreams, too much lack of sleep and a lot of spaghetti code

stone nacelle
#

Okay that’s fair

golden raven
#

i'm going to merge manually

#

put everyting in a folder and let me know the name

stone nacelle
#

Merge-DSa and Merge-VBu

golden raven
#

thanks

#

done

#

noted to fix this

stone nacelle
#

Thanks!

#

Wait the Marin Devimon was supposed to merge with Pukumon too

#

My marin Devimon shows Pukumon as his perfect level now 😅

golden raven
#

oh my bad

#

check now

#

looks like i mistyped the id

stone nacelle
#

Perfect!

#

I just discovered that feature. It’s neat!

golden raven
#

yee it is

#

anyway going to sleep

#

will continue doing stuff tomorrow

golden raven
#

there was a small bug where you couldn't upload evolution lines, fixed

stone nacelle
#

Whenever I try to Upload Megidramon from the NSoZ I get this. It says success. 2 impmon appear. But nothing shows in my storage

#

My main goal is i tried to upload him to Chimeramons evo line and it just says "error" if I try to do it that way

glass frost
#

Sorry for some reason the two impmon are just so funny to me

stone nacelle
#

Yeah it’s really funny. They even dance and mock you on the screen 😂

#

“Task failed successfully”

golden raven
#

Gonna check in a bit once I get out of bed

golden raven
#

fixed

golden raven
#

also supports native language translations

#

rn the language files won't be that difficult, in the future i'll add them on github so whoever wants can help translate

#

i want to get this over quick, because the current site is very difficult to maintain, this favors modularity and will make it much easier to add new features without wrecking my head

golden raven
#

battling with d3c is now possible

solid brook
#

how do i light mode

golden raven
#

i'm redoing the site from scratch

#

you will be able to light mode around september

#

rewrite is going very well too, so do not worry

#

since the code i wrote for the windows 98 looking website can be ported very easily to the new site

solid brook
winged trellis
winged abyss
#

Hey Naca, still got small hiccup with the prog2 roster

Scanned seasarmon, got tailmon instead.

golden raven
#

Gonna fix

golden raven
#

fix complete

golden raven
#

progress

#

gonna see if i can get done today the new storage and the new dex

golden raven
#

nacastorage redone, started with the dex today, will finish it tomorrow

#

gonna make the visual aspect right now and then will link it to the api by the end, since i want to change a lot of methods to make it cleaner

#

even mobile layout works as intended

golden raven
dense gulch
#

Oops all agumon

golden raven
dense gulch
#

I know, just joking, looks great

#

Seeing kiwami on there makes me want to get one now

golden raven
#

some day i'll set up a public agumon count

#

heh

golden raven
#

gonna stop for now, made a simple DigiROM selector

#

will make the sender tomorrow

#

i'mma go play some yakuza

winged trellis
#

Aw yes, my favorite Japanese soup opera

golden raven
#

sorry took down the server due to updates

golden raven
bitter lodge
#

Can’t remember but wasn’t there an online version of serial for connecting to do unlocks? So all I’d need to do was connect my acom and use that site and send the code

#

Found it. Hella easy to use. Omg.

golden raven
#

I'm creating a swagger spec

#

Documenting APIs so everyone can use them

#

Set up a small ai model to create the documentation, I'm revising it but right now it's not that badly documented, will have it fixed before release

golden raven
#

doing some maintenance

golden raven
#

sorry, maintenance complete

solid jay
#

Can I play with the bracelet?

golden raven
#

#1325936394207625267

neon moat
#

My Poyomon looks weird...

#

Naca, shouldn't it use the color sprite?

bitter lodge
#

Question. Can I use this through chrome/brave on an iPhone?

solid brook
#

only if you are using any flavor of wifi-com. iphone does not support web serial nor the serial protocol arduinos use.

bitter lodge
#

Ah dang. Yeah my acom is just a plug into an computer via usbc

#

Thanks though! I guess I’ll just use my work computer when my guys finally evolve.

golden raven
#

@quick dragon let's move here

#

feel free to ummute if you want

#

i might ummute too

quick dragon
#

ok! Lemme get a drink first

#

i'm also gonna be looking at some resistors with my dad rq so i'll prolly be a few minute

#

s

golden raven
#

no worries

quick dragon
#

i'm probably gonna have a LOT of questions though lol
since this whole thing overlaps with stuff i really wanna do for both hobbies and possibly work

golden raven
#

sure

#

which i will mention, there is a nacabattle api spec

#

if you want to do stuff surrounding it

#

it's incomplete

quick dragon
#

that's fine, i mostly wanna learn as much as i can before trying to do anything like modding devices or making custom stuff for NacaTech programs

golden raven
#

thanks for hanging out and the feedback

quick dragon
#

I meant to close out of the stream 💥
good night though!!!

golden raven
#

gonna go to sleep now

#

thanks!

quick dragon
#

i'd be down to toss around ideas and hang out next time too!

golden raven
#

status update too for everyone, live battles work, live preview needs some rework and more testing

#

but everything appears to be ready

#

will publish tomorrow a build

golden raven
dusk tartanBOT
#

Gave +1 Digi-rep to @quick dragon (current: #731 - 1)

golden raven
#

a bit more work is ensued, but it's kind of there

quick dragon
#

ok naca
you said there's an api right?
Is it compatible with NacaStorage?

#

do you think
It would be possible to code a WIFI-Com to proccess Vital Bracelet data?

golden raven
#

It should be possible

#

But for that there is #1325936394207625267

#

Which I have in pause rn since I'm trying to rush as many nacabattle things as possible before finishing my exam period

#

Once I finish my exams I'll pause NacaBattle and switch to vb helper

quick dragon
#

o

#

i was going to suggest learning how to do it so i could develop a way to let VB stuff in on things like W0rld and stuff too

#

as in
i would learn how to make it work, and then hook it up to the NacaTech system when i finished it

-# i did forget that VB helper was in development though lol,,

golden raven
solid brook
#

oh they only said process. it's probable that it could store it too

golden raven
#

Yeah, last I checked it only processes the dim cards to battle against DMC

#

Which is hells cool, but I feel like it's a bit out of scope for naca

#

Naca is more vpet related, so I keep the VB separate with VB helper

#

I won't deny that maybe in the future I'll reconsider my stance of VB mons in naca

#

But until then... VB helper will prevail as the preferred choice

solid brook
#

it would be cool to have web browser play

golden raven
#

I do want to play around VB mons, and it could be possible, since we might be using nacaauth for managing VB helper's online stuff

#

At least that's the last thing I know about it

#

Been a while

quick dragon
#

yeah
i just think it'd open up more folks to using their favorites from the VB in other games, since i'm not entirely sure if rarer mons like Blucomon or Pulsemon really have much/any support outside of their DiM cards.

golden raven
#

rebooting server

#

messing with networking today

#

please come back online with no issues please

#

that took a while

quick dragon
#

Did it work?

golden raven
#

yeah

#

i'm trying to connect another server i had to my network of servers, but the route tables wouldn't update without rebooting

golden raven
#

there we go

#

will use this thing for testing stuff that needs public internet access

quick dragon
#

tomorrow i will be able to participate!!!!

#

(resistors arrive friday so i can build my a-com)

golden raven
#

i swear, this thing is cursed beyond belief, why is it not routing my pings across

#

maybe it's lxc, let's go LXD

#

it was firewalld

#

it fix

#

goodnight

golden raven
#

did a few things network related

#

container is finally set up with natting, hopefully crashes at random should go away

golden raven
#

maintenance time

solid brook
#

is anyone else having problems with hacking nacabaro i cant connect

golden raven
#

i cannot get git working from the container istg computers hate me

latent pilot
#

Hi is this compatible to use for nacaupdater? My mobile chrome browser can't detect the serial port from this device.

#

And another question is digimon color compatible for this a-com?

solid brook
#

yes and yes if you update it

golden raven
#

https://new.battle.nacatech.es/nt/digiroms added a digirom listing to nacabattle, now you can copy the digiroms from naca without having to jump through the stupid sidebar in the serial console and the digirom sender

#

It also has a way to view it in json

#

I forgot I had this

#

If you send this digirom to your vpet it immediately evolves into ikkakumon

open wolf
golden raven
#

it was the usb adapter

open wolf
#

Ok, I need to buy another usb adapter for my acom. Any brand you can suggest?

golden raven
#

I have the usb a to c from a Samsung phone

open wolf
#

I'll search for this brand. Thanks Naca

runic hornet
#

Slow Battle generates a permanent link right?

golden raven
#

Yes

golden raven
#

HUGE

gritty parcel
#

anyone got a saiyu code I can battle?

#

ping me so i can see any offers

rare creek
#

Ahora con la nueva actualización tengo problemas para usar mi Wifi-Com, alguien más le pasa lo mismo? Solo se me habilita la opción de A-Com

golden raven
#

entiendo que tienes metidos el wificom name y wificom secret en la web, no?

rare creek
#

Los tenía, ahora me pidio meter en una carpeta el secrets. Luego de hacerlo no me deja seleccionar el Wifi-Com para subir a mi estorage.

silver socketBOT
#
SHINKA!

@rare creek has evolved into Baby I!

golden raven
rare creek
#

En la nueva

golden raven
#

la nueva y la antigua son dos distintas, entonces tienes que volver a meterlos en la nueva

#

lo haces desde settings > set up wificom

rare creek
#

Dale, gracias, lo intentaré

golden raven
#

nada nada

#

sorry por tanta confusion entre la web antigua y la nueva, es que soy malisimo escribiendo info

#

un dia de estos me tengo que poner a escribir mas info

golden raven
#

Maintenance time