#code-talk

2 messages · Page 1 of 1 (latest)

rich stump
#

@fallen sentinel mistorbist

modern owl
#

mist or beast

long raft
#

here is my alignment file for stitching, perhaps some use

errant dome
#

thats good stuff aswell.

#

once war start is over i will like start messing around with it

#

i just figured the EASIEST solution would be to start with something like the full size map kastow initially used and just make the tseko map match that perfectly

long raft
#

i dont think most people use the tiles included in the warapi

#

we extract them from the game assets or a map mod

#

they are 4x larger

#

but you do have to crop them into the hex shape because they have slop

errant dome
long raft
#

are you sure its exported correctly?

#

theres a tiny margin (that looks weird) where the border lines obscure it

#

perhaps if you werent the one that exported it, this is a version that tightened up the alignment to hide that map weirdness

vale citrus
#

What the hell? Unreal Engine 6 is being teased now

#

Unreal Engine 5 is perhaps the biggest pig of an engine my computer has ever had the misfortune of playing a game on and they’re moving onto a version 6 instead of fixing the quagmire that is 5?

unreal cloak
#

I thought it was already out

#

If something is UE5 I try to avoid

#

My gf tried playing the UE5 oblivion remake but the performance is abysmal

#

Constant stuttering

#

Mind you I have a Ryzen 9 or something and an RTX 3070 so I should be able to handle the unrealslop

modern owl
sharp breach
#

Hey @barren quarry @pure sierra @young pilot - tell your friends, tell your family, tell your sister, tell your brother, tell your dog, tell your burrito, here's a place to talk development, code, and so on!

@keen dome

umbral mulch
#

finna code real quick

bold hearth
#

uh

umbral mulch
#

@burrito

bold hearth
#

=get(sir)

burnt cairn
#

Anyone speak, C#?

severe jewel
#

@sharp breach lemme get my dog

edgy harness
#

Unity C#

umbral mulch
#

if(admin != true){
ban[i] == 0;
}

bold hearth
#

I speak quake compiler

severe jewel
#

I spek source 3

bold hearth
#

I speak microsoft excel

edgy harness
#

Probably a place for @zealous sonnet too! 👋

umbral mulch
#

yes

#

dont forget phil

severe jewel
#

where's smokeage when you need em with the floating trucks

umbral mulch
#

has anyone created a game using excel

#

i need to search this

sharp breach
#

Code Talk

• Only development talk
• NOT a place to talk about Foxhole game development
• PLEASE MAKE SURE YOU'RE SCRUBBING YOUR CODE FOR TOKENS/KEYS!!!
• Utilize code block when sharing code; if code is too long, share direct git links or pastebin/ghostbin/whatever bin you use
• No zip or other archive files!
• BEWARE OF ANY FILE YOU SHARE OR DOWNLOAD!!!!!
• No pirated content
• No advertising
• Respect each other and follow the rest of #information
• Be courteous!

Foxhole has an official API! Check it out here: https://github.com/clapfoot/warapi

summer bobcat
#

now I can finally share the perils of my senior project with someone

umbral mulch
#

oh my gof

#

god

#

they have done it

pure sierra
#

can you pin the official warap gihub repo

umbral mulch
#

games made entirely out of excel

pure sierra
summer bobcat
severe jewel
#

pls make this like bughunter chat @sharp breach

summer bobcat
#

dead?

severe jewel
#

I feel like exposing this to the elements is not the best of actions

lunar cobalt
#

^

severe jewel
#

like... dooki like people

#

and y'know

summer bobcat
#

only tech wizards kappaflyinchicken

#

jk

severe jewel
#

Ehhhhh

#

seriously.

#

please.

summer bobcat
#

This is probably temp anyway

#

doesn't feel foxhole-y

severe jewel
#

I hope it is.

#

else it's going to be a armchair breeding ground

summer bobcat
#

anyway, 2:30 am over here, off to bed

sharp breach
#

@summer bobcat nah it's permanent

#

as long as it gets use, it's here to stay

pure sierra
#

sir thought it be better to not be purely FH related for flexibility and generality

severe jewel
#

*hopes to god this channel doesn't get consumed by anarchy

pure sierra
#

kind alike art channel

sharp breach
#

Now I can be publicly aggravated about converting all of modmail from sqlite via knex to using mongo instead.

severe jewel
#

but can you post code as art?

#

@sharp breach can you create a tab that says "nerds" and put this chat under it?

pure sierra
#

i had to spend the day rewriting the team balance monitor, was a written in laravel(php) by someone else, but today it died, dont really know why, would just make really high server load doing basic shit, and it was total overkill to use a framework for something so simple so a rewrote it in 2 notepad scripts, runs much faster now....

sharp breach
#

heh

#

I recently dove into using vue

#

the modmail dashboard is vue

#

Decently robust

wheat crown
#

Bet this be dead?

edgy harness
#

I think this is dead.

sharp breach
#

no u

lunar cobalt
edgy harness
lunar cobalt
#

I need a multicolored epliepsy nou

#

Like my blobdance

sharp breach
floral escarp
#

What's the code being discussed, or is the talk not specific?

sharp breach
#

Any code :)

floral escarp
#

Alright, I'll keep that in mind

neat fossil
#

not coding but how do i get role in this discord server 😄

barren quarry
#

Finally a proper channel for us nerds

sharp breach
neat fossil
#

thanks!!!

barren quarry
#

I spent like half a day trying to figure out how to make the stripes on the progress bar brighter because they were almost invisible on the yellow background I picked

#

That shit was not easy to google

#

Eventually I figured it out using browser inspector

sharp breach
barren quarry
#

the css literally just draws almost transparent lines at an angle

floral escarp
#

But it was easy to do after figuring that out right? Luckily it was only half a day lol. I spent several weeks tweaking code to balance unit stats and sizes for a game once even though the game is rather old.

#

I work mainly with hardware and components these days alongside policies and procedures. Occasionally I help with network design and maintenance though.

sharp breach
#
{
  "name": "foxholegame",
  "version": "2.8.0",
  "description": "This server serves as a major platform to keep in touch with the developers and members of the community during the ongoing development of Foxhole.",
  "license": "UNLICENSED",
  "main": "src/fod.js",
  "scripts": {
    "start": "node src/fod.js"
  },
  "author": "",
  "dependencies": {
    "hb": "^1.4.3",
    "devs": "^0.8.4",
    "blamekfc": "^4.16.3",
    "burrito": "^0.5.0",
    "modmail": "^3.12.1",
    "commend": "^8.3.0",
    "praise": "^0.14.2",
    "warden": "^1.3.4",
    "discordmods": "2.1.13",
    "colonial": "^2.21.0",
    "militarypolice": "^2.0.1",
    "regulars": "^4.0.0",
    "dabfoot": "^3.8.3",
    "welcomerules": "^1.6.2",
    "offtopic": "^3.1.0",
    "gamemods": "^3.6.9"
  },
  "optionalDependencies": {
    "mute": "^1.3.3"
  },
  "devDependencies": {
    "sirstestzone": "^3.9.1"
  }
}
halcyon cave
#

türk var mı

#

are there a turkish people

#

turk chat

barren quarry
halcyon cave
#

turkish caht

#

turkish chat

#

i am a new player

#

pls who can teach a game

barren quarry
#

there is a link to turkish community

halcyon cave
#

ok thanks

#

man

halcyon cave
#

excuse me
game is dont find a server
tell 'restart steam and also verify that you have latest version of the game

sharp breach
halcyon cave
#

i ask but anybody dont asked

daring furnace
#

lol

dusk silo
#

Btw

#

What is code talk ?

warm lintel
#

beep beep, boo-boo beep

barren quarry
#

its a chat for nerds

sharp breach
#

Memes >>>>>> outtahere

dusk silo
#

Oh @sharp breach you can post meme at here ?

mortal reef
#

No...

neat fossil
#

-/../.../.._

frozen talon
neat fossil
#

@frozen talon how did u get happy holidays

frozen talon
#

then ask

neat fossil
#

Neeeeeerdddsssss

kind glacier
#

Remove(@neat fossil);

sharp breach
#

@kind glacier please don't ping roles unnecessarily

frozen talon
#

not role

#

an actual person

sharp breach
#

Fuck me.

frozen talon
#

😂

sharp breach
#

Also, if ya aren't actually talking code or development, this ain't the channel for you.

frozen talon
kind glacier
edgy basin
#

?+colonial

#

? + colonial

sharp breach
floral escarp
#

Guess I should have literally typed out plus

#

Need to figure out a way to force people to read the welcome rules like with a consent agreement

#

Or acceptable use policy

languid harness
#

there is a bunch of bots for that

floral escarp
#

Oh I'm sure there are

languid harness
#

but not in this channel 😉

floral escarp
#

Used similar bots for age restricted channels before

frozen talon
#

this isnt code talk

#

👀

floral escarp
#

This is development talk, so gtfo

frozen talon
#

thats what i like to hear

floral escarp
#

It can also lead to coding

frozen talon
#

👍 this is what i like to hear and see salute

languid harness
#

should continue on my publisher bot

sharp breach
#

What's your publisher bot?

floral escarp
#

What's the publisher bot's function?

languid harness
#

for the newspapers people make 😉

floral escarp
#

Ah

languid harness
#

now our boi has to drop it in every channel, but then it can publish it en masse

#

and perhaps expand on that

floral escarp
#

Like a mass delivery

#

The foxhole war map does similar

languid harness
#

maybe make it that multiple people can publish via it and that you can subscribe to papers per discord

#

so you could also get a warden newspaper when one appears?

#

but first lets this thing first

floral escarp
#

Maybe ask Sethfire about it, since he does that sort of with foxhole war map

#

Not sure if you've seen it

languid harness
#

I talked ith him, but he uses Js, I do python

floral escarp
#

Ah

pure sierra
#

python is cool

floral escarp
#

Python is interesting indeed

neat fossil
#

Node JS is better for discord bots tbh

#

It has a lot more libraries

pure sierra
#

and prob works well with async features

neat fossil
#

^^

languid harness
#

true, but A. more fluent with python, B. python is lower level so it gives more fundamental stuff, and C.I know some good libs

neat fossil
#

Fair enough

languid harness
#

😉

pure sierra
#

im going to add safe houses and rocket pads to the event log assume they are meant to be in dynamic and show them blue or geen

floral escarp
#

That seems logical as safehouses are similar to townhalls in functions

languid harness
#

btw, does someone python here, because I have a very small issue I cannot find the solution for

pure sierra
#

yes i think safehouses makes sense, not sure about rockets

languid harness
#

not breaking, bu very annoying for startig up the thing

pure sierra
#

(i know a little)

neat fossil
#

(I've never tried it)

floral escarp
#

What is the issue?

languid harness
#

I am working with python lists, no libs or anything

neat fossil
#

A dumb question: list is the same as an array?

languid harness
#

kinda

#

it can contain other stuff as well

floral escarp
#

So lists are actually used instead of arrays for python

languid harness
#

well, they have some other properties

#

if you add two together, they are put after each other

#

[1,2]+[3,4]=[1,2,3,4]

#

anyhow, I want to load and write from a text file (which contains the channels). I load it at the start of the code as 1,2,3, which works, and I can then use commands to add or remove certain numbers. Issue being, I want to safe these new lists into the file, which it does as ["1","2","3"], which bugs out my reader if I restart the script

floral escarp
#

I know lists are typically used for smaller data for python as well, and arrays typically are for larger amounts of data

#

They can be used in conjunction though

languid harness
#

but thing is, lists are easier to store these things because they have to be strings

#

and doing stuff with matrixes containing strings isnt nice

hidden path
#

Is this new?

floral escarp
#

Yeah

languid harness
#

I can also opt for using Panda's, but that will be unneasesarly complicate things I guess

hidden path
#

Cool, I love coding

#

Just an odd channel for this group

languid harness
#

have experience with python?

hidden path
#

Nope. I have experience in JS, Lua, C++, and C#

languid harness
#

bonkers

hidden path
#

C# is my primary language atm though

floral escarp
#

Have you tried arrays instead of lists? I've heard arrays work better when adding or subtracting items

languid harness
#

well, that isnt the issue

#

its writing/reading

floral escarp
#

Ah yeah, sorry late at night for me

pure sierra
languid harness
#

hahahaha, never good to program sleepy

floral escarp
#

No it is not. I even played foxhole after finishing a business analysis revolving around SaaS

#

It was a short document of just over 13,000 words

#

I'll let my friend who is more familiar with python look into the probable cause though

neat fossil
#

Whats the issue?

languid harness
#

Python list read/writing: I want to load and write from a text file (which contains the channels). I load it at the start of the code as 1,2,3, which works, and I can then use commands to add or remove certain numbers. Issue being, I want to safe these new lists into the file, which it does as ["1","2","3"], which bugs out my reader if I restart the script

pure sierra
#

save it as a json and read i back that way, json much better/standard for storing array as text

languid harness
#

good idea

#

I'll try that after I test this code

pure sierra
#

as you will run into trouble if your values have text and they end up with apostrophe or quotes in them

#

json can handle that

floral escarp
#

Mouse is the python man for FFL; although I think I remember someone else mentioning it

neat fossil
#

This the code on stackoverflow?

pure sierra
#

nah i just posted taht

languid harness
#

I found a fix

#

and its stored way more comprehended

neat fossil
#

ok. Well normally we would open the the file being read load it into a new list variable and close that file. Alter the contents we are wanting to. Then if you are wanting to keep the old information as well as the new should not write but append.

languid harness
#

I am aware of append

neat fossil
#

ok.

floral escarp
#

What solution did you have for a fix?

languid harness
#

this code uses pickle

neat fossil
#

You may also look into using a dictionary in stead of a list. That way you can call use a key variable to referance what ever your wanting to.

#

So you writing it to binary.

floral escarp
#

His code is for a bot that publishes like a newspaper out to different discord servers btw

languid harness
#

it needs discord channel Ids, which are quite long

neat fossil
#

Hmm. Im not sure how to publish out to alot of discords as my python knowledege is still in a limited scope.

languid harness
#

if loop with every iteration post it in the next channel in the list

neat fossil
#

I think a dictionary should be able to hold them.

languid harness
#

Perhaps

#

Its a bit weird, because I am not sure how many it will need to hold

neat fossil
#

Each discord would have its own key (name) and the value of that called key would be the discord channel itself.

floral escarp
#

Could always start testing the load

neat fossil
#

Then you could use like a popitem if to delete said key.

languid harness
#

well, cool thing about discord is that you dont need the server name or anything, only IDs and the possibility to write in that channel

#

I was currently thinking to limit adding/removing channels to the publisher, but perhaps storing it as a set of seperate keys would ease it up on the user end

neat fossil
#

Depends really on what your going for.

languid harness
#

hmmm

neat fossil
#

using a while loop with a basic y/n toggle for adding another channel seems to be the easiest way to go then storing that data in a dictionary.

#

I prefer dictionarys cause you can access the information easier. Otherwise with lists you may end up having to slice and all of that.

kind glacier
#

🤔

pure sierra
#

just added trend arrows to the map casualty /hr number on my site

lament grail
#

code talk?! nice, i am down for this channel

neat fossil
#

i got some nice code talk

lament grail
#

go ahead

neat fossil
#

hol up

#

it's somewhere in my folders

#

i made it back in the 60's

lament grail
#

Now if it is a .exe

#

Idk about that XD

neat fossil
#

yeah this one

#

trust me it's uncrackable

lament grail
#

OOOOOOO baby thats beautiful

#

Although that is like encryption code lol

neat fossil
#

are you trolling me?

lament grail
#

No

neat fossil
#

do you know what message this is?

lament grail
#

No

neat fossil
#

it's the fucking zodiac killer lmfao

lament grail
#

So are you trolling me?!

neat fossil
#

:))

lament grail
#

:D

neat fossil
#

😠

lament grail
#

D:<

sharp breach
#

Let's keep non actual development/cold talk outta here

neon vaporBOT
#

dynoSuccess ᴋʟᴀʏɴ#7469 was muted, You've been warned already recently. Keep chats appropriate and on-topic for that channel. See you in a couple hours.

timid olive
#

👏👏👏

floral escarp
#

Dang, I saw new message and got excited

ionic veldt
#

So besicly here we talk about things we did with the api, or we talk about improving the api? Or just in general pepole can drink beer and.talk about their curent project?

languid harness
#

@ionic veldt why not all of them

#

also update for those curious, I managed to make a user-id secure system for my commands after diving deep into the API-ref of the discord-py lib. However, I am very sad, because ofcourse it cannot be converted to an .exe, because the discord-py is not supported with any converter and I am not willing to reprogram that crap

ionic veldt
#

Make the change, make a coverter that can use discord py

languid harness
#

I am by far not skilled enough to pull of something like that

#

and will not be anytime soo n

lament grail
#

Soooooooo

#

Does Vivox VoIP services use SIP messaging by any chance?

#

@sharp breach

#

Knowing this could help me trouble shoot if that is the case.

sharp breach
#

I actually don't know. Maybe throw sip alg off?

lament grail
#

Well that is what I am thinking

sharp breach
#

Oh hey

lament grail
#

SIP ALG routes to PBXs

sharp breach
#

maybe

#

ye

lament grail
#

Gotta love working in the VoIP provider world D:

#

let me check this out, I think SIP ALG may also causes issues.

#

OOOO it has a link that can check for SIP ALG

#

That will help me at work!

#

Ill add that link to the technical chat room, thank you again Sir!

vestal topaz
#

what's the purpose of this chat? Code talk in general?

#

or specifically about software for Foxhole

sharp breach
#

@vestal topaz code talk in general

vestal topaz
#

welp

#

I'm currently trying to figure out how to do async programming

#

I've put it off for so long

kind glacier
#

Figured it out at some point, then I moved on to other subjects and it kinda... sagged

vestal topaz
#

i feel like professionally i need it so often

#

for scripting especially

#

i can't tell you how many times i've written code that just connects to an api, grabs some data, and does something with it

#

i think async would help me there immensely

languid harness
#

I just but async block around every output lol

lament grail
#

PHP is 🐐

oblique hare
#

c++ multithread socket programing

neat fossil
#

I was creating the foxhole maps using node js but it would take up to 6min to create all of them. I switched to PHP and it takes less than 2 secs to create 1 map.

cold pewter
#

I just started programming in C++ for school reasons lol, guess i'll be using this chat sooner or later

languid harness
#

why is everyone doing C++ and C#??? what is wrong with python???

neat fossil
#

Why C++?

cold pewter
#

Well i use it cuz of school

soft walrus
#

@languid harness python is euh

#

but C isn't better

#

it's just more expanded

#

most stuff works on C

tired panther
#

Python is not class based

soft walrus
#

^

tired panther
#

It's a bit harder to make complex stuff

languid harness
#

who needs classes in a communist community

tired panther
#

As in it's cluttered af

soft walrus
#

lmao

tired panther
#

lol

#

I need to do more C#

cold pewter
#

nO pOLiTiCs

lament grail
#

PHP is fantastic for websites, but for other things, not so much @neat fossil Lol

neat fossil
#

I'm just happy that now the time taken to create the maps isn't greater the time it takes to update them

#

But yeah, I'm only using php for this. I have no idea how to implement php besides this tbh

lament grail
#

The one big benefit of PHP overall is the fact you can call Variables on the fly

#

So you can just declare one any where !

neat fossil
#

yeah I noticed that

#

it makes everything much easier

lament grail
#

I am currently working on putting a php website for myself on a raspberry pi server

neat fossil
#

that's really awesome

#

I'm making a discord bot and i'll also host it in a pi

#

If you do not mind me asking, what will be the site about?

lament grail
#

It will most likely be a test ground for PHP projects but most likely a resume website

#

It will have the main page which is about myself then hidden login that links to other test pages.

neat fossil
#

one of my biggest inspirations when creating a website is resume/personal websites since this is where creators aren't limited by factors such as clients, audience, etc.

#

It's a fun project imo

lament grail
#

It is where i can just do stuff and make things how i want

#

But, I am not a developer and don't need a portfolio, would just be cool to have a site that i can put on my business cards

sharp breach
#

Should look into getting yourself one of the free tier aws/Google cloud/azure servers

lament grail
#

but that is too easy!

#

I want to host all of this off a raspberry pi

#

I used free tier AWS to setup Apache2 servers in school for Wordpress

neat fossil
#

I'm currently using aws to host my website, but your interest in hosting it in a pi is quite remarkable. best luck with it.

lament grail
#

It isn't too bad, I will need to buy a public IP address from comcast in order to do it. I am fairly decent at networking and have the proper firewall tools to dedicate a VLAN to the raspberry pi on its own subnet. I would basically setup the Raspberry pi with a Ubuntu Server and then attach it to a managed switch with it's own VLAN so public network traffic doesn't spill into the same network as my desktop.

neat fossil
#

It looks like you got it all figured it out.

#

I was thinking about hosting my website in a pi but I didn't really want to go through all of the problem in getting a firewall

#

well a proper firewall

lament grail
#

You dont neccessarily need one

#

Ubiquiti has a Edgerouter-X that can satisfy the neccessary stuff for multiple subnets

#

I also love Ubiquiti, quality and relatively cheap small to medium business network equipment. Works like a charm and has awesome reporting

neat fossil
#

May I ask you a question about the pi since you know a lot more about this than me?

lament grail
#

Sure go ahead

#

Im not a subject matter expert in them but i have set up a bunch of OS's on them. Linux is flexible.

neat fossil
#

In a security standpoint, do you think I would need to go through this kind of process to host the discord bot safely?

#

I'm unsure if this question makes any sense

#

if you want I can rephrase

lament grail
#

Yes

#

Why

#

Because if you host it on the same network as your day to day computers, people will be able to find map your public IP address for your "home network" very easily if it is connected to the bot

#

It is harder when you have two subnets, two public ip address

#

I would host the bot in a cloud server, it would be cheaper in the short run in terms of paying for a public IP address and new network equipment. It is also safer because it is hosted else where which has no connection to your house.

#

Even hosting my website from my house in any way is still risky because it is attached to the same network because of the modem. If i had two seperate modems it would be WAY safer. but that would require two internet subscriptions.

#

If you are the only one using said bot, then who cares. But if you are letting others use it, it is a security issue because the files are located at your house and are access through your modem using your public ip address.

#

Sorry if that is too much lol

neat fossil
#

Thank you very much mate, I really appreciate this kind of information. I didn't know much about this and now i know exactly what I have to do. Cheers

#

Nah mate it is not

#

There isn't such thing as too much

#

especially when I was asking the question

lament grail
#

I would look into net+ certification, the courses teach you A LOT of information about how to setup advanced networks. More than just plugging in a router and changing the wifi password lol

#

I also do not know your level of expertise so i apologize if i am saying anything you already know D:

neat fossil
#

mate, no need to apologize. I didn't know pretty much anything.

#

I'll look into it thanks

lament grail
#

Yeah if you have anymore questions that i can answer feel free to ask 😄

#

Hopefully this channel isn't for Foxhole related code-talk lol

sharp breach
#

You're good!

#

This is general code talk

lament grail
#

Awesome! Then i like this place haha

neat fossil
#

This is the only channel I'll be using here tbh

#

Anyhow, I want to thank you again for such a detailed answer!

lament grail
#

No problem!

floral escarp
#

Yeah, network+ is actually a fun class. I found it fun anyways, and the $121 per exam attempt is worth it.

#

Lots of software and books out there to prep you for it as well; some colleges also offer courses geared towards passing the certification exam

strange hazel
#

Collies suck

lament grail
#

_>

#

Not the channel for that

#

Please use #foxhole-discussion to trash talk teams, but keep it civil. I am not saying do it, but if you are, do not do it here.

strange hazel
#

? it was code for Collies are trash

#

oh nvm read the pinned

#

sorry

sharp breach
#

@strange hazel Yeah I really don't want to have to mute ya mate

bold hearth
#

is there anyone experienced in Quake Compiler (.qc) files

neat fossil
#

No

trail summit
#

QuakeC

#

the c in qc doesnt mean compiler

#

and i haven't touched them since the 90's

#

but i used to write mods

#

i sunk far too much time into writing weapons, bots, gamemodes

ornate orbit
#

Tacos

mellow hornet
#

Roger that sending coordinates now

clever surge
#

Cuban sandwich

mellow hornet
#

Roger that sending cords now

azure forge
#

Doge armadillo doge D7

leaden saddle
#

Mongoose, I say again, mongoose

neat fossil
#

Whiskey tango foxtrot

honest trail
#

Fox Uncle Charlie King Oboe Fox Fox

paper niche
#

November Oscar Uniform

potent trellis
#

Onion bargee repeat Onion bargee

floral escarp
#

That's not code talk

neat fossil
sharp breach
#

It's actually not

#

This is an internal repo between myself and a few others working on it

#

That's the basic version of it from when it was first implemented here like, 8 months ago

neat fossil
#

To be fair, I was looking over the commands and stuff and it didn't look efficient for such a big community.

sharp breach
#

It's actually pretty efficient when set up correctly

#

There's a lot that we've done to it that makes it work much better, including moving the database away from sqlite and over to mongo (massive rewrite) to allow for keyword search. It's also much easier for us to add features and make changes.

#

We also have a web backend as well.

neat fossil
#

Sqlite isn't that great with discord bots

#

I have used it and it gave me lots of problems

sharp breach
#

sqlite works fine for the basics. It's just that it's not as efficient as it could be, particularly for large amounts of data

#

And high read-write as well

#

Mongo is so far the way to go

neat fossil
#

good to know that mongo is working find for you, I went for mysql.

#

but want to change for something else

sharp breach
#

We've done roughly 3500 individual mod mail threads thus far.

#

So you can imagine all of the database information that goes into it.

#

Every single message sent through it is logged.

#

Live.

neat fossil
#

How big is the database? if you do not mind me asking...

#

a few terabytes?

sharp breach
#

Nah. Lemme look at the most recent backup

#

So, a backup that had maybe 2000 individual threads was about 11mb in sqlite

neat fossil
#

oh well I kinda overestimated

sharp breach
neat fossil
#

just a million

#

not much

#

I'll try mongo for the discord bot since it looks like it's working fine for you. Thanks for the idea

sharp breach
young pilot
#

who the fucks shittalking sqlite

#

im running of foxhole war map, foxhole mod database, and foxhole fcl standings bot off sqlite

sharp breach
#

Cool, blog it mate. When you start working with larger data sets let me know.

young pilot
#

arent you still using sqlite for mod mail

sharp breach
#

Nope

#

Last update was the move to mongo

#

Which is why it's taken time to get the database converted

#

The script one of the mm devs wrote basically fucked itself

young pilot
#

bleh sqlite is love sqlite is life

sharp breach
#

Pffft.

young pilot
sharp breach
#

smol

barren quarry
#

i use lowdb for logi calculator

#

ecksdee

frozen talon
#

i use leo as my howi

languid harness
#

@young pilot so cute!

reef elk
#

I am beginning to think my way of setting up voice lines is a bit flawed.

#

Anyone got a soundboard of some kind that lets me click a button that selects from a series of sound files? Rather then simply assigning one key for one sound

pastel hound
#

No idea.

river zodiac
#

noob

undone crown
#

Anyone discover the function to hook for enemy death/kill events?

#

Ive found a number of obfuscated function names but unable to correlate them

real thorn
#

elastic search

#

there nothing faster than that

neat fossil
#

What

pure sierra
young pilot
#

hm

#

what is flag for red

#

0x08?

#

only three are listed
IsVictoryBase (0x01) IsHomeBase (0x02) IsBuildSite (0x04)

#

ill try using 8

#

nah wait its 0x16

#
    "teamId" : "NONE",
    "iconType" : 7,
    "x" : 0.32674313,
    "y" : 0.5694275,
    "flags" : 16
  }, {
    "teamId" : "NONE",
    "iconType" : 35,
    "x" : 0.34913877,
    "y" : 0.6062856,
    "flags" : 16
#

seems like a new icon is also visible, the rocket launch site

#

meh

#

ill just add that under the towns category because im too lazy

#

to add a new category

#

but i cant find any faction colored rockets. nor can i find any red fuckin icons

#

perfect.

languid harness
#

wrong red reeeeee

young pilot
#

@native kernel i need red icons

#

Fuck.

#

Rockets also have the 0x16 flag.

#

Im going to have to do this more carefully

#

instead of putting it as a seperate icon under the sorting system, im going to put it under the teamid flagging system. so all nuked stuff would belong to a 3rd faction, the "reds" im gonna call it

astral sundial
#

that should be the same colour as the one on the ig map

young pilot
#

Nice

#

for now tier 1 is fine as placeholder but eventually ill find the T2 and T3 red townhalls

astral sundial
#

there ya go

#

where are you grabbing the data for your map from, btw?

neat fossil
#

foxhole API

#

check the pinned messages

astral sundial
#

oh nice, might have to give this a go

neat fossil
#

Not much but dec 16 correspond to 0x10

young pilot
#

isnt this beautiful

astral sundial
#

it's pretty pretty

#

lacking just a bit of detail though 😄

young pilot
#

that works

#

lol

#

ill get the official icons from the devs later since the colour might be a little off

#

they work now as placeholders

astral sundial
#

oof I fucked up lmao

#

used a diff method of colouring the rocket to the bases

languid harness
#

Isnt there a rocket site in the top right somewhere?

young pilot
#

fixed now

languid harness
#

👍

drifting roost
#

dunno if you guys are interested but there's a pretty cool challenge that just started

pure sierra
#

its 10000 binary so the 5th bit has the flag , 0x10 hex (in readme) or 16 in dec

#

also seems to be problem with 2 towers in oarbreaker, likely not an issue unless you are doing event logs like me

lament grail
frozen talon
#

look at these old screens

pure sierra
#

So in case any body is interested about the war api flag value you do bit masking on it to get the variable value you are interested in

#

Eg, the new scorched item flag is shown in the api result as 5th bit(digit) of the flag value when converted to binary

#

So in decimal it will day eg 16, this is 10000 in binary

#

So that first number in the binary if 1 or 0 indicates if scorched

#

The other digit positions indicate the other variables like is victory or is build site

#

So to get just the one you are interested in you do bit masking

#

The mask is a 'filter' or pattern applied to your variable to give just the bit you are interested in

#

In this case you use the bitwise AND operator and a mask of 0x10 (hex) or 10000(bin), so an overview of the operation is : if (flag AND 0x10) scorched = true

#

So of you want to test the 2nd position (is home base) you use 000010 or 10 or 0x2 as the mask

frigid saddle
#

hello

languid harness
#

Master hacker here

midnight pendant
#

add missile launch to api? everyone gets notified of it anyway

sharp breach
#

Actually, that would be freaking cool

#

Hey @native kernel

midnight pendant
#

mhm. imagine an alert at the top of one of those maps or something

sharp breach
#

a push notification on your phone for incoming nuke

midnight pendant
#

nice countdown, even showing the affected area?

#

yeah, exactly

#

i used to do the same for minecraft raiding :~)

native kernel
#

MMMMMMMMMM

#

Yeesssss

#

That'd be nice

#

Ill add it to my long list of things to go over when the team gets back in

dusk oxide
#

lol

#

Presidential Alert: Nuke in the Aging Sea

#

But yes, a rocket alert zone would be good so we know what we have to get out and where

neat fossil
#

god yes

languid harness
#

@pure sierra foxholestats has been down all day for me, updating it or is there something wrong?

tribal birch
#

^

exotic steppe
#

He ran out his hosting plan data quota

young pilot
#

I've added all regions except reaching trail now after some requests

#

reaching trail is north of mooring county and half of it is basically outside the map so i'll figure out something with adam's help

languid harness
#

looks sweet

tawdry glacier
#

hello, anyone know if the devs have an opinion on ReadProcessMemory to read certain in-game variables, maybe for a custom overlay? some games allow it, others have strict stances. couldn't find anything about it in a ToS anywhere

#

obviously wouldn't be writing to process memory or doing anything to automate gameplay

languid harness
#

Not that I am aware off, although they have stated that mods will prolly not be a thing. There are a few datastuffies aviable, which the server monitor sites/apps/bots run with

#

But the data in there is also avaliable via the game itself

tawdry glacier
#

im kind of hesitant to do anything because it is possible to gain what i'd consider an advantage just by reading game vars and displaying them in a custom UI

#

but i have some ideas for just QoL things

languid harness
#

Well, the game is in 0.20, amd there is a large route they are following, so expect at least 3, prolly 5ish large updates

tawdry glacier
#

and i like how the game is designed right now, it adds to the stress and realism of battle (having to exit the tank to see fuel/ammo counts or ask the engineer)

#

as an example

languid harness
#

Lots gonna change still

tawdry glacier
#

copy that, would be interested to see if they have a public stance on it at some point

languid harness
#

They recently updated to the current UI for it s larger customizability on the devs end (before that all interfaces were unique). They will prolly make custom interfaces near the final release

tawdry glacier
#

im more interested in it for the statistical details you could pull while in a game session, if youre logi u could use it to track ur personal logi efficiency per hr, optimize routes, etc

#

but if someone created something like an overlay for a BT commander where he could see ammo/fuel/reload progress/tankHP and not communicate at all to the engineer that kinda kills immersion

#

so i can see both sides

languid harness
#

Well, you can ask the dev's stances onnit during the biweekly devstream!

tawdry glacier
#

and to clarify what im talking about it wouldnt be actual in-game UI customization, but a 2d directx overlay on top of the game window with a custom UI that pulls information from the game itself using ReadProcessMemory

languid harness
#

At the latter half, they answer questions

tawdry glacier
#

but thats only because i have not looked into the in-game ui and if they are planning to allow people to customize it or not

#

this kind of thing can generate rather strong reactions from the community depending on what it's capable of doing so you have to tread lightly, thats why im more interested in helping show and gather metrics to optimize and solve for efficiency problems (helping players better themselves) instead of something that would provide a real-time advantage in battle

#

anyways, just want to float that idea out there and see if anyones had a similar thought

#

i will ask the devs on the next stream! thanks for the info @languid harness

pure sierra
#

It's going to be a double edged sword and a can of worms, as can be used to auto gather and process/display enemy data too using alt accounts

#

Crossout dB website does this, read game client memory about trading data and display it on a website, the website and memory reader is open source on github.

sharp breach
#

Maybe @native kernel can chime in on the above

midnight pendant
#

ReadProcessMemory , and the many variants of it windows has, is generally watched for cheating. unless they're not looking at it, i doubt you'd be able to hook it without getting the b&

river zodiac
#

what is code?

languid harness
#

@river zodiac programming, you know, on computers

tawdry glacier
#

ReadProcessMemory is a built-in windows API call, you don't need to do any sort of hooking/detours to use it

#

detecting a ReadProcessMemory call against your process is actually quite involved, you'd have to scan processes that have open handles on your process and make some bold assumptions or do some tricks with VirtualAlloc and QueryWorkingSetEx probably... allocate memory pages with nothing backing them until its accessed, then see which processes accessed these "honeypot" pages and make further conclusions

#

If I get the chance I'll ask about it but after discussing it with a few people here in private I've decided not proceed with my idea since it could be leveraged to abuse/gain advantages in the game (code would be open-source), which I do not want to promote

#

while i think it would provide a great benefit to logi efficiency optimization and route planning there are likely other variables in the game that are best left unknown since they would simplify strategies and current mechanics that require communication and teamwork

little walrus
#

@tawdry glacier That being said, if you do have some ideas for logi efficiency optimization and route planning, please do relay to us! User input from the people actively invested in the game is invaluable. If we think it fits and adds to the game (and we have the dev-time to do it), we might add it.

tawdry glacier
#

Thanks HB, I'll put something together with my ideas and share it in the suggestions channel

floral escarp
#

i always thought adding timers for work orders to the UI in some way would be a neat feature for logistics

#

just could never think how to make it work efficiently

barren quarry
#

@floral escarp have you seen my tool?

#

it could be useful to you

floral escarp
#

i have my own tool used to keep track of logi timers, but wanted a generalized tool available to all through the game

#

especially with the introduction of private orders

barren quarry
#

yes

floral escarp
#

i feel like private orders are more or less left by the creator due to a slip in the mind/forgot the time and that they submitted a work order

tawdry glacier
#

is your tool public @barren quarry ?

#

i'd be interested

barren quarry
#

Yes @tawdry glacier

#

Second from the bottom

tawdry glacier
#

oh thats awesome

#

ill definitely give that a try

velvet jetty
#

Dear internet Friends,

I come fourth to you with this request for assistance:

I need help with a University project that is due Friday night.
I have to write a code in processing which shall be a game called "Scrabbletrainer" in which people get offered letters from which they have to form words. all of which in a timespan of 180 seconds.

If anyone of you great humans feels like he/she is capable of helping out a fellow internet man just ping me and ill send you the details.

fervent relic
#

@velvet jetty feel free to dm me

languid harness
#

sounds like someone has been postponing study 😏

#

it better has been foxhole

velvet jetty
#

lazyness

terse pelican
#

Coding in python and it looks so fkin ridiculous but it works

terse pelican
#

page updates in real time

terse pelican
#

made out of boredom...this serves zero purpose lol but i thought it'd be cool. When you mouseover the div it shows a popup with discord chat in real time.

#

wrong one oops

summer bobcat
#

looks good @terse pelican

#

kms I'm trying to install javafx with jdk 11 and it sucks assss

#

fuck I just wasted like 4 hours for no reason

#

going back to jdk 8 now

terse pelican
#

Thanks. I had to stop it because the method I used violates discord ToS. Lol

summer bobcat
#

You read through it? @terse pelican

terse pelican
#

I read into it after an admin here pointed out to me that I needed to stop because it's a bannable offense. I was using my own account to pull chat logs from this like every 6 seconds. Didn't think there was any harm in it and I wasn't being spammy with it. Discord has a rule against using accounts to pull data from discord because it's considered self botting. People can do it using an official bot made on discords website, but server admins have to grant the bot access to the server and give it management permissions and the admins here obviously won't do that. @summer bobcat

#

It's pretty stupid. Lol

languid harness
#

@terse pelican wait, you ran a script from your compiter via a regular account?

terse pelican
#

I wasn't using an official bot from discord and authorized with server permissions, no. I've already spoke to a foxhole Admin

summer bobcat
#

lol yeah, Sir likes to be on top of server security, I don't blame him

terse pelican
#

Yeah that's who I talked to

#

I'm sort of newer to python. I've made reddit bots and messed around with TeamSpeak. Both of those have far more relaxed rules than discord and being newer to discord I wasn't aware.

#

There's a pretty popular discord api on Google that makes it easy to fetch data from servers. I didn't read into it far enough at first to realize that it's bannable.

languid harness
#

Well, in my view, uaing bots the way Discord does is way better than most other services, although the "illegal" bots arent truly prevented outside of punishment

#

Like, for me there is, afaik, no way to detect you doing it

terse pelican
#

Sir said if he finds anyone doing it here then he's going to ban them. I spoke openly about it to him, so it was obvious I didn't know.

pure sierra
#

i was scraping war-correspondent this way for months to get the casualties stats with an alt account for my site....

#

sir contradicts himself

#

only say this now though now that i dont need to do it anymore as the same data is in warapi @terse pelican

young pilot
#
The question regarding "self bots" has come up here and there, and we'd like to make our stance clear:

Discord's API provides a separate type of user account dedicated to automation, called a bot account. Bot accounts can be created through the applications page, and are authenticated using a token (rather than a username and password). Unlike the normal OAuth2 flow, bot accounts have full access to all API routes without using bearer tokens, and can connect to the Real Time Gateway. Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is forbidden, and can result in an account termination if found.
terse pelican
#

@pure sierra I see.

#

@young pilot yep thats the same article I saw.

#

Any developers here want ownership to foxholeforums.com and its contents? Free of charge

#

The hosting is free on it and its fast, plus routed through cloudflare. Domain name is paid for a year out.

pure sierra
#

i think ull find tough competition between here (discord) and reddit

terse pelican
#

Yeah. lol that's why i'm giving it away. Over time as the community grows, that might change. Idk.. I've ran gaming forums in the far past that had thousands of members but then again reddit wasn't as popular and discord wasn't around.

#

Still though, gaming forums are still a thing. Sythe.org is a great example. 200,000+ users and still really active

#

500,000+ users** myhbad

#

mybad

#

battlefront and company of heroes both use the same forum software as official forums

sharp breach
pure sierra
#

that will be nice, i can finally not need my private svn server as well

#

i guess microsoft trying to earn some brownie points

fervent relic
#

honestly gitlab offered infinite private repos

#

and has for long

barren quarry
#

me and seth have been doing our stuff on glitch for ages

#

but it says glitch projects have a limit of 4000 per hour i think

pure sierra
#

4000 what

languid harness
#

*watt

barren quarry
#

4000 requests

terse pelican
#

Not enough. I request 60,000 times an hour. coloniallol

ruby valley
sturdy current
#

If the question had more code that would support that function within that method I'd would choose answer choice C other than that it would have a error I'd would assume, not fully sure I may be a little rusty

#

Bit interesting question what language is it in?

terse pelican
#

Asian, it would be banana, C

#

@ruby valley

umbral mulch
#

no it would be E

#

Computers have many layers

velvet jetty
#

like onions

languid harness
#

Assuming this is not fucking matlab, I would chose C

#

contrary to almost all programming languages, Matlab doesnt start a list on 0, but on 1. It is the most annoying thung to switch between

lunar cobalt
#

I personally like E the most, but C is correct

left hawk
#

C here aswell, since programming starts from 0 in counting, even if 2 was picked witht he code there, it'd still display onion since the program doesnt know the differance and will pick onion cause its listed.

umbral mulch
#

I think

#

everyone here

#

failed to realize that was a joke

fervent relic
#

i saw it on programmerhumor a while ago, according to OP it was a real test question

young pilot
#

RIP. all my bots are down because there is no automatic ping to keep them on. Foxhole war map hasnt updated in a few hours. to be fair this site is not meant to keep projects up but to monitor the uptime but im using it to ping the project so it doesn't go to sleep under glitch

languid harness
#

lol

#

make a bot who pings the other bots

pure sierra
#

Dude you can get hosting for like $6us per year...

tulip hull
#

uhhhh not sure if this is the right channel for it but what game engine does foxhole uses?

tulip hull
#

nvm got it unreal engine

sharp breach
#

Specifically UE 4.20 as of one of the latest updates

sinful vault
#

420 hell yeaaaaaa

pure sierra
#

Light it up

pure sierra
#

just finished moving foxholestats website to a US host from AU to get better bandwidth/$ so running out wont be an issue now, should also load faster for majority of users that are US based

languid harness
#

Suprsingly, the dutch sre number ten! 🇳🇱🇳🇱🇳🇱

#

And still no own language channel, doh!

maiden basin
#

Poland above Turk yet Turk get their own ch and Polish got their deleted 🤔

languid harness
#

@pure sierra what timr spawn is that data from? Since you launched the service? After you relaunched it?

pure sierra
#

since beginning of site nearly 1 year ago

#

@languid harness

#

google analytics

pure sierra
#

@abstract coral btw the other thing realstew likely did was buy some clicks, ive never looked but im sure there would be sites that sell clicks and you just supply them the link. what i might do is resolve all the click ip's to a country and supply stats next to each user name of click geo distribution, might find 99% of his are in romania

abstract coral
#

lol

#

thanks for the info

#

up to you to resolve it

pure sierra
#

i tihnk i find website that will do it quci know copy pasto

#

@abstract coral

#

US US - 360 domains
GB GB - 72 domains
CA CA - 62 domains
DE DE - 34 domains
AU AU - 21 domains
NL NL - 18 domains
PL PL - 16 domains
BE BE - 12 domains
RU RU - 11 domains
SE SE - 11 domains
ES ES - 9 domains
FR FR - 8 domains
CZ CZ - 8 domains
IT IT - 6 domains
DK DK - 5 domains
RO RO - 5 domains
FI FI - 5 domains
AR AR - 4 domains
BR BR - 4 domains
IE IE - 4 domains
NO NO - 4 domains
PH PH - 3 domains
LT LT - 3 domains
PT PT - 3 domains
TR TR - 3 domains
KR KR - 3 domains

#

that is his hits

abstract coral
#

hmm

#

those 3-10 are obviously after he got initial 400

#

or 500

#

i think

pure sierra
#

thought that too

abstract coral
#

can you check if he got majority only from link click?

#

if u can differ the point from link/commend click

pure sierra
#

i cant differentiate

abstract coral
#

rip

#

how does it compare to mine?

#

do i also have majority of us votes?

pure sierra
#

loading

#

rip i hit limit

abstract coral
#

oof

pure sierra
#

ill pm you your ip list

abstract coral
#

US US - 200 domains
PL PL - 43 domains
DE DE - 43 domains
GB GB - 39 domains
CA CA - 39 domains
RU RU - 30 domains
CN CN - 20 domains
NL NL - 18 domains
FR FR - 17 domains
TR TR - 13 domains
AU AU - 12 domains
PH PH - 10 domains
BE BE - 8 domains
BR BR - 7 domains
MY MY - 6 domains
KR KR - 6 domains
SE SE - 6 domains
CZ CZ - 6 domains
ID ID - 6 domains
SG SG - 5 domains
AR AR - 5 domains
SK SK - 5 domains
RO RO - 4 domains
UA UA - 4 domains
LV LV - 4 domains
ES ES - 4 domains

#

so still us majority

#

but way less

#

suprisingly my own country is 2nd voter

#

way less gb ca

pure sierra
abstract coral
#

so i think he might've bought from a site that has english clickers

pure sierra
#

likely

abstract coral
#

ye fiver

#

well thanks for the data
i'll go burn the ip list now
🚶

pure sierra
#

"A new API has been to WarAPI for retrieving the current time/day"

lunar cobalt
#

Uh... I guess that's a sentence?

sharp breach
#

heh

pure sierra
young pilot
#

Oh yeah.. I forgot I asked for that feature

#

I think casey implemented it

delicate cliff
#

is there any way to get the contents of in game chats in third party programs?

#

i had a nice idea for logi about how to give more condensed reports that another program could display for you outside the game

lunar cobalt
#

Probably on the blacker side of grey as well

pure sierra
#

well it depends on purpose really

#

but problem is even if it is for good, proliferation of the methods could go dark

long raft
#

speaking of the blacker side of grey... hayden, do you get much harassment over your site IRL?

#

i wanted to share something with the foxhole communty but debate over publishing anything with my name on it

pure sierra
#

@long raft when you say IRL do you mean online out of game ? or real real life ?

long raft
#

out of game, lol

#

yes i know foxhole is real life too

pure sierra
#

what i meant is online ?

long raft
#

yea i suppose

#

something outside of the foxhole space, somewhere unwelcome

pure sierra
#

i wouldnt call it harrasment, ive had objections and complaints and suggestions i didnt agree with but that was more back in the beginning

#

its all legit now that they shut down steam api and there is only official api

long raft
#

like I know a guy who publishes an online dictionary and gets death threats over it

#

and ive heard recent rumor of members of the community being "doxed" for something that happened in the game space

#

i would, for example, be concerned about even using a DNS listed back to my name

pure sierra
#

nah nothing like that

summer bobcat
#

@long raft any way around that? Creating a company to use as an alias?

long raft
#

Yeah there might be but wasnt sure how necessary

lunar cobalt
#

You can still find names through a company, it's just a bit harder

safe hinge
#

1337

pure sierra
barren quarry
#

ayyy

pure sierra
#

update 0.21 & world conquest 21 ??

pure sierra
#

coincidence ?

fallen dirge
#

I think not

tulip crypt
#

the game runs great on Linux Mint with Proton, just had to turn the settings down to Medium

summer bobcat
#

Unofficial Linux support coloniallol

languid harness
#

hmmmmm

long raft
#

did you have to turn it down to medium because of proton?

#

i had seen the performance was like 99%

pure sierra
#

@native kernel need new warapi icon for upgrade part mine 0.21

native kernel
#

@pure sierra Thanks ill add it to our list

pure sierra
#

😃

long raft
#

no more alt-tabbing...

lunar cobalt
#

What the actual fuck

#

Like, while I think that this is amazing and needs more attention, (like something in #community-resources) I'm still going to question why you did this

long raft
#

i didnt feel like playing on saturday morning so i did this

#

and because i have 1 monitor lol

languid harness
#

this is hilarious

#

now I need an alexa

#

or better, make a Discord bot who connects with the alexa, so you can ask coords and then immediately have it said to the gunner lol

soft walrus
#

@long raft is it like overlay?

languid harness
#

I know green text are illegal in these places, but I have to share my 40 minute pain

when you are trying to make something with only using the API without looking up examples of how other people do it
ToTestMyAbilitiesOfcourse.jpg
I understand everything, was able to gather the data necessary
somehow cannot process data however hard I try
ask on Discord.py discord
"to get the item, use List[0]"
have been using [1]
God I hate Matlab for skrewing up my brain

young pilot
#

lol

sharp breach
#

oof

long raft
#

No it's not overlay just all audio

barren quarry
#

jesus christ

hidden path
#

What language is the War API using?

long raft
#

JSON i think ...

#

so uhh javascript

hidden path
#

Ok, I have not used JS in so damn long lmao

#

I'd like to work on something using the API, just not sure what to do yet...

sharp breach
#

I had started to work on a correspondent replacement but there's enough out there

#

I'd like to see more data-oriented projects

#

Like, showing casualty trends and so on

barren quarry
#

hayden's map has quite a lot of those graphs

languid harness
#

Data analytics, hmmmm

hidden path
#

Is there a reason that all the data is null?

barren quarry
#

yes there is

#

there is no conquest running

hidden path
#

Ok, yeah that is what I thought. So is there no data available for skirmishes I guess?

barren quarry
#

im not very aware on the topic of sending skirmish data to api

pure sierra
#

skirmish is not in api yet

#

likely wont be, as mark has said he wants to vanquish the word skirmish from the game

#

the api is not in any language, so you can use any to interract with it you just make GET requests (aka load a web page) which contains the results in a json of data

long raft
#

to be fair, it is in english

pure sierra
#

good point, so yes, technically it is in english, at least the documentation is, the api itslef could be said to return english or foxhole speak, which happens to use symbols and numbers appropriated from the english langage.

hidden path
#

I am just not very well versed with APIs, but I did some research earlier and figured out how everything basically works.

long raft
#

its the easiest web api you'll ever use...

languid harness
#

Thing is with APIs is that they are meant for people who arent well versed

long raft
#

lol i could just populate that alexa skill with the city locations, and you could just say where you are and the name of the town hall to target lol

pure sierra
#

ive thought of something like that , where you can just click on a map where you are and your target and it tell you the arty details without need for binocs

long raft
#

like an overlay?

pure sierra
#

more a standalone app

long raft
#

that's kind of the dream i guess - they could always integrate that into the game

pure sierra
#

make it a website and it can be opened in steam overlay

long raft
#

well there is an arti calculator site of course you can open in the overlay...

#

but yea its not braindead...

pure sierra
#

yes, but this would not need a spotter

long raft
#

yea you dont absolutely have to have one if you could measure the map well

#

compass + caliper works pretty well actually in real life

#

at least for howi...

pure sierra
#

yep

long raft
#

so like, pull up the map, then pull up the overlay, line it up, and pick coords?

#

damn that could work...

pure sierra
#

hey that would work better in that you would have your position already plotted

long raft
#

bringing arti back 2019

languid harness
#

They should simplify the map and then add a tactical map item which allows for a more detailed map (including buildings and everything) and tools to measure distances and such

modest trail
#

So how do you use this War API thing? I like to keep and see how the war goes and now without war correspondent I need something else

barren quarry
#

seth and me and other folks made an interactive map that uses this war api

#

hayden, the guy above, also has a working map

#

but our map is a bit malfunctioning atm because we need new region images

young pilot
languid harness
#

oof

long raft
#

the war correspondent is gone?!

languid harness
#

oh my god, I think I did it guys! I finished this bot finally. Now I need order a Raspberry Pi and try to run it on that; who has experience with Raspberries?

long raft
#

i do...

#

why wouldnt you just ... run the bot in the cloud somewhere

#

use some free credit or w/e

languid harness
#

could also be possible

#

but I also wanna get some experience with hardware

long raft
#

well a raspberry pi would be the most expensive end of mini computers

languid harness
#

I am studying to become an engineer, if I dont even know how to do this, is all that money really worth it?

long raft
#

you can do cheaper, you can do like 5 USD

#

banana pis, orange pis, im sure there are a hundred flavors/variations now

languid harness
#

hmmm

long raft
#

it sounds like you wouldnt need all the bells and whistles of a modern raspberry pi like bluetooth and wifi

#

maybe wifi...

languid harness
#

maybe wifi yeah

#

although I have the router of the house in my room lol

long raft
#

maybe just for convenience later.

languid harness
#

Yes yes

#

Good suggestion, thanks!

long raft
#

what did you write your bot in? gotta be friendly with linux on an arm processor?

languid harness
#

I did it in Python

long raft
#

eh yea should be fine then

languid harness
#

Yeah, Pi's usually do better than arduino's with python hehehehehe

#

there is a python arduino, but not sure how that is configured

sharp breach
#

Yeah I would just throw it on AWS or google cloud free tier

long raft
#

i guess a rpi 3B is only like 30 usd...

languid harness
#

Then I'd get it wayyyy cheaper, I have some gut connections, mhuhahahaha

long raft
#

how can you get cheaper than that?

#

are you in the UK?

languid harness
#

NL 🇳🇱

#

Can get some cheaper stuff via the uni

long raft
#

oh ok

#

well thats a US price, every computer part in europe is like +20-50% more

languid harness
#

Well, if you import them from china, they are way cheaper! Good thing I live near one of the worlds biggest harbors

long raft
#

if you import them from china they arent a real raspberry pi rofl

languid harness
#

they are close enough

long raft
#

true, i mean i guess the schematics are published...

sharp breach
#

Yes, let's trust our Discord servers to a bot hosted in a chinapi. kappaflyinchicken

languid harness
#

For a project, we had to order some Arduino's, we later had to buy new ones because we were quite abusive, we have had 3 different models lol

#

China ftw

long raft
#

abusive? like you ruined them?

#

eek i just ordered a video card from china, but its so old and slow its probably not counterfeit lol

#

bought 4 1080ti's last month off of ebay and that was scary too

languid harness
#

we had some non-truely engineers, like an architect and Industrial Engineer

#

IE is the most confusing term for this, but they never thouch a tool

long raft
#

IE?

#

oh i see

languid harness
#

We call it theoretical company management

#

because it is about process theory and shit, and not about hammering that piece of metal so it fits your design

long raft
#

yea theres a lot of business variations of that degree that dont require engineering livenses lol

#

licenses*

#

you know - middle management type of stuff

languid harness
#

Yeah, it is just a bit confusing in English

sharp breach
#

It's a degree in ISOgofuckyourself

languid harness
#

anyhow, back to topic! would it be possible to connect an ethernet cable to a micro-usb via a trans-cable and not have the bandwidth all screwed up?

#

I feel like really bogging this thing

long raft
#

you want to use usb as your network?

#

yea you get a usb network adapter lol

languid harness
#

,,,,, perhaps

long raft
#

and if its on a raspberry pi its ... what? usb 2.0?

#

with all the speed ramifications that includes

#

certainly faster than your internet speed, probably not as fast as your hard drive even

languid harness
#

Raspberry Pi Zero uses Micro USB OTG port

long raft
#

yea but its usb 2, right? not 3.0?

#

no way its 3.0....

languid harness
#

doesnt state it, lemme get a closer look

long raft
#

usb 2 is max speed 480 mbps

#

so like ... i dunno 25% of the capacity of your network probably

sharp breach
#

Just skip the pi already

#

Like

#

The pi is a bad idea

#

Just bad

long raft
#

but it doesnt matter - the raspberry pi's use sdcards for storage and they are slow AF

#

you wont be able to write to them as fast as the network

sharp breach
#

No good justification for using a pi in this case

long raft
#

and more importantly, the raspberry pi already has a network cable, why would you add another?

languid harness
#

we need an angry Foxhole Dev emoji

long raft
#

i mean it already has integrated gigabit network adapter

languid harness
#

hey hey hey, I havent done much of this stuff before

long raft
#

the two most important part of raspberry pi is the video chipset and the network adapter in my opinion - its what makes it a full computer

#

actually - my rpi was 100mbps dunno if they do gigabit network yet

languid harness
#

((btw, its micro 2.0))

long raft
#

no im wrong its 100 mbps ethernet, so yea ... slower than USB

sharp breach
#

@native kernel can you send me a selfie of you being outrageously angry? It's for a good cause.

languid harness
#

@sharp breach also, I have looked around for a few online hosting things, but either has a small fee, or some weird small letters. Since I do not like to agree to those terms, it isnt a bad idea to host something myself. My landlord pays for my electricity, and we have glassfiber internet, so I dont pay anything for hosting it in my room except the initial piece. Now if it appears the bot is getting in disuse, I will be able to scavange the thing easily for another project. It also gives some experience and a small test bed to test random stuff on, so that is a plus as well

sharp breach
#

wat

long raft
#

jeez free electricity and fiber? and youre ONLY using a raspberry pi? server farm time.

sharp breach
#

Oh you're one of those

languid harness
#

welcome to the brainport region

sharp breach
#

Press F to pay respects for @languid harness 's project

long raft
#

@languid harness you have a desktop or a laptop?

languid harness
#

Uni bought laptop

long raft
#

doh

#

raspberry pi actually a good media machine for watching videos and stuff

#

not sure if chipset can do h265 or vp9 decoding, actually...

#

it USED to be great for watching 1080p on your tv with h264

languid harness
#

man, I am also kinda like, why not get a arduino nano, run the python converter on it? The bot doesnt deal with any kind of imaging or anything, and is hella small

#

I think it is cheaper

#

does le bulk buy

#

actually, that is way more expensive damn

long raft
#

isnt arduino like ... not a computer?

#

i mean its ... a computer

#

its not a FULL computer

#

its definitely not a desktop experience

languid harness
#

well, I am not really looking for a full computer, am I? I just need to run a script

long raft
#

you need a server

#

thats like a full computer

languid harness
#

I need a thing that connects to the internet and runs a script I imput

long raft
#

i feel like an arduino is like programming a television remote

#

and a raspberry pi is like a tiny slow laptop

languid harness
#

pretty much yeah

long raft
#

arduino harder for sure

languid harness
#

hence I am like, fuck visuals

long raft
#

also more power efficient and cheaper expense if youre mass producing a product

#

i would imagine the arduino is going to be a lot more work to get what you want

#

i dunno, what about that raspberry pi zero?

languid harness
#

yeah, I have been comparing stats

long raft
#

$10!!

languid harness
#

I thing a Zero W is the best budget

long raft
#

jeez i might get one too today lol

#

i cant believe they can put wifi on it for $5 more

#

512mb of ram for $5, unbelieveable.

languid harness
#

Yeah, the arduinos cost way more for that ram

#

but has its own advantages

long raft
#

yea if you like programming in c++ heh

#

i have no idea what the arduino is in actually... i imagine its many languages but still

#

very low level management

lunar cobalt
#

Arduinos are... interesting

long raft
#

nothing like re-inventing a real time OS lol

lunar cobalt
#

I would not recommend them for something like this

#

Like, I would recommend a hamster wheel before an Arduino

long raft
#

both of them will eat their babies when stressed...

lunar cobalt
#

Heh

#

The Arduino will also eat your baby though

long raft
#

im not exactly sure who even tinkers with arduinos

#

its really only if you need a realtime embedded device i would think

lunar cobalt
#

I know some people who use them for more black hat endeavors

#

which may or may not be related to the large stocks of drones they have "acquired"

pure sierra
#

just had a little play, the boats are very neat

#

was a bit depressing to think about bothering too much though with wc starting tomorow