[QUOTE=E.N.I.G.M.A;47743886]Remote Admin App for your Android phone.
<Screenshots>
I've been working on this when I was bord. Don't no if I should continue working on this project or start a new one, so I thought I post some screenshots to see what people think.[/QUOTE]
How do you handle security?
[QUOTE=Melted Bu11et;47738688][URL="https://github.com/MeltedBu11et/GM-A-Pathfinder"]I completely recoded my pathfinder to use metatables[/URL] after I learned how to use them (they kick fucking ass) and decided to throw it in a github because why not. There's documentation related to each function in the Pathfinder object/class/whatever you'd call it and you should be able to figure out how it works by reading the code. I'll probably go ahead and make a thread later, just want some feedback for right now here though.[/QUOTE]
Guess I might as well share the terrible culling function I wrote so SCHED_FORCED_GO_RUN looks slightly less shitty:
[lua]
local function cullPath(path, mask, maxdist, minhull, maxhull)
mask = mask or MASK_PLAYERSOLID
maxdist = (maxdist or 512)^2
minhull = minhull or Vector(-16, -16, 20)
maxhull = maxhull or Vector(16, 16, 72)
if minhull.z < 20 then minhull.z = 20 end
local i, n = 1, #path
while i < n do
local from = path[i]
local j = i + 1
while j <= n do
if j == n then
for k = i + 1, j - 1 do
table.remove(path, i + 1)
n = n - 1
end
return path
end
local to = path[j]
if (to - from):LengthSqr() > maxdist then
for k = i + 1, j - 2 do
table.remove(path, i + 1)
n = n - 1
end
break
end
local tr = util.TraceHull({
start = from,
endpos = to,
mins = minhull,
maxs = maxhull,
mask = mask
})
if tr.Hit then
for k = i + 1, j - 2 do
table.remove(path, i + 1)
n = n - 1
end
break
end
j = j + 1
end
i = i + 1
end
return path
end
[/lua]
[t]http://puu.sh/hQTiy/4aa520c8c3.jpg[/t]
This could probably be done while generating the path, but I did it for gm_navigation so it had to be after-the-fact.
[QUOTE=Ott;47745620][img]http://i.imgur.com/PxJx7xc.png[/img]
[img]http://www.facepunch.com/fp/ratings/tick.png[/img][img]http://www.facepunch.com/fp/ratings/cross.png[/img][/QUOTE]
Neither. Color just the name or just the name + brackets + group?
BOT is a steamid.
The second one looks great, are the colors changable?
off topic: new icons on the website, that is nice.
[QUOTE=Ott;47745620][img]http://i.imgur.com/PxJx7xc.png[/img]
[img]http://www.facepunch.com/fp/ratings/tick.png[/img][img]http://www.facepunch.com/fp/ratings/cross.png[/img][/QUOTE]
The bottom one, except change the SteamID (BOT) to be white. Only the name in blue. I think that'd look good.
[QUOTE=E.N.I.G.M.A;47743886]Remote Admin App for your Android phone.
[IMG]http://i.imgur.com/5wXHHdI.png[/IMG] [IMG]http://i.imgur.com/AOwUwBD.png[/IMG] [IMG]http://i.imgur.com/jICh6v8.png[/IMG]
I've been working on this when I was bord. Don't no if I should continue working on this project or start a new one, so I thought I post some screenshots to see what people think.[/QUOTE]
Can you make an iOS version of this? Also, this will be amazing if you release it!
[QUOTE=E.N.I.G.M.A;47743886]Remote Admin App for your Android phone.
[IMG]http://i.imgur.com/5wXHHdI.png[/IMG] [IMG]http://i.imgur.com/AOwUwBD.png[/IMG] [IMG]http://i.imgur.com/jICh6v8.png[/IMG]
I've been working on this when I was bord. Don't no if I should continue working on this project or start a new one, so I thought I post some screenshots to see what people think.[/QUOTE]
When you're finished, let me know how I can add support for my admin mod.
<snip> I knew what I was saying.
‫‬••‪‫‬••-snop-
[QUOTE=WalkingZombie;47747406]What about iOS, though? Are you saying everyone who wants to remotely admin their server has to have an Android?[/QUOTE]
It would severely help if you actually understood anything you ever talk about.
To get an app on the Apple Store is a pain and costs you $99 a year to become a "developer". Android is free and doesn't cost him anything, so why would he spend the extra money for side project?
Regardless I heavily suggest you do some research before posting something like that.
[QUOTE=Nookyava;47747513]
To get an app on the Apple Store is a pain and costs you $99 a year to become a "developer". Android is free and doesn't cost him anything, so why would he spend the extra money for side project?[/QUOTE]
It costs to get on Google Play too, the "free" factor is when you install apps outside the store.
[QUOTE=Nookyava;47747513]It would severely help if you actually understood anything you ever talk about.
To get an app on the Apple Store is a pain and costs you $99 a year to become a "developer". Android is free and doesn't cost him anything, so why would he spend the extra money for side project?
Regardless I heavily suggest you do some research before posting something like that.[/QUOTE]
Oh trust me, I was well aware of that. Even still, it doesn't seem fair. It's a very cool idea, a mobile app that lets you admin a server. It's just so unfortunate that Android is the only (free/easy) option.
[QUOTE=WalkingZombie;47747777]Oh trust me, I was well aware of that. Even still, it doesn't seem fair.[/QUOTE]
You confuse me.
[QUOTE=NiandraLades;47737486]
Although some of the outputs are complete garbage obviously:
[img]http://i.imgur.com/nSZKPJc.png[/img]
[/QUOTE]
Epileptic Train Simulator 2015
[editline]18th May 2015[/editline]
[QUOTE=WalkingZombie;47747777]it doesn't seem fair[/QUOTE]
He's not making it for you.
[QUOTE=Nookyava;47747513]Android is free and doesn't cost him anything, so why would he spend the extra money for side project?[/QUOTE]
Google play is a one time $25 fee, but developing for android itself is free and there's a lot of alternative app stores/ways of installing apks
[QUOTE=Goz3rr;47747909]Google play is a one time $25 fee, but developing for android itself is free and there's a lot of alternative app stores/ways of installing apks[/QUOTE]
Yeah, you only pay one time to upload to Google Play. ( For the very same reason you pay 100$ for Steam Greenlight ) You can develop and redistribute your android apps for free.
While Apple's policy is more expensive, the result is less shitty apps, unlike Google Play.
[QUOTE=FPtje;47743927]How do you handle security?[/QUOTE]
The basic idea is its build of 3 parts. First there would be a server that you login in to via steam openid that would give you a session key, the app stores the session key like most website logins and when it wants to send a admin commend to a Garry's mod server it would sent the command with the key. Your Garry's mod server would then send session key to the first server to check if the session key against there records to see if you are the right user. I probably have to add some type of encryption so nothing sent in plain text but please feel free to poke holes in my plain as security is my main concern.
As for people asking for an IOS version, I simple don't have money to buy a mac computer plus a IOS devise to debug it on.
[QUOTE=E.N.I.G.M.A;47748332]The basic idea is its build of 3 parts. First there would be a server that you login in to via steam openid that would give you a session key, the app stores the session key like most website logins and when it wants to send a admin commend to a Garry's mod server it would sent the command with the key. Your Garry's mod server would then send session key to the first server to check if the session key against there records to see if you are the right user. I probably have to add some type of encryption so nothing sent in plain text but please feel free to poke holes in my plain as security is my main concern.
As for people asking for an IOS version, I simple don't have money to buy a mac computer plus a IOS devise to debug it on.[/QUOTE]
That's actually a good idea! One problem, though, is that a server can be annoying in the long term. You have to either maintain a central server yourself or have end users make their own server. The latter would be too much effort, and the former is something that might annoy you after a year or so. The app would depend on the server to work. If the domain name of the server or the server itself stops being paid for, the whole app would go down, and that would be a shame.
I'd look in the direction of asymmetric encryption, but that's a pain to code, especially in GMod.
[QUOTE=E.N.I.G.M.A;47748332]The basic idea is its build of 3 parts. First there would be a server that you login in to via steam openid that would give you a session key, the app stores the session key like most website logins and when it wants to send a admin commend to a Garry's mod server it would sent the command with the key. Your Garry's mod server would then send session key to the first server to check if the session key against there records to see if you are the right user. I probably have to add some type of encryption so nothing sent in plain text but please feel free to poke holes in my plain as security is my main concern.
As for people asking for an IOS version, I simple don't have money to buy a mac computer plus a IOS devise to debug it on.[/QUOTE]
Would do you mind to share source? I've tried to create an app (I'm ultra noob in android sdk) and i've just got the rcon working in an activity!
This is just awesome dude!
Insert witty remark here
[media]http://www.youtube.com/watch?v=F46FM6LktFY[/media]
micro helicopters
[QUOTE=Hoffa1337;47749907]Insert witty remark here
[media]http://www.youtube.com/watch?v=F46FM6LktFY[/media]
micro helicopters[/QUOTE]
Not really an expert on helicopter aerodynamics, but it seems a bit wobbly/slidey when you roll and yaw. Also, gibs.
[QUOTE=Revenge282;47750175]Not really an expert on helicopter aerodynamics, but it seems a bit wobbly/slidey when you roll and yaw. Also, gibs.[/QUOTE]
it's just a push upwards and altered angular momentum. It should be fairly close to reality, I'm toggling the mouse control a few times which will counter any angular force, it can get a little shaky due to the return of the momentum.
Edit:
Games overall tend to overstabilize helicopters since they are unstable, wobbly and shaky in real life. People get used to unrealistic mechanics and expect them everywhere, but you can have more fun with real physics.
Every helicopter I have seen in gmod has had such rigid movement that it looks horrible, wobbly is good.
The problem with wobbly helicopters is that if you need to play in first person view for longer than a few minutes, you start getting motion sickness. I had fun and wobbly helicopters in a gamemode but had to rigidify them a lot after having to spend large chunk of development time trying not to throw up.
[QUOTE=Wyozi;47750469]The problem with wobbly helicopters is that if you need to play in first person view for longer than a few minutes, you start getting motion sickness. I had fun and wobbly helicopters in a gamemode but had to rigidify them a lot after having to spend large chunk of development time trying not to throw up.[/QUOTE]
You can reduce motion sickness by keeping camera roll static as the inability to fix your eyes on the horizon worsen it
[QUOTE=unrezt;47750263]Every helicopter I have seen in gmod has had such rigid movement that it looks horrible, wobbly is good.[/QUOTE]
I wasn't suggesting it move perfectly along one axis or another, just that it looked a little slippery.
But like I said, I am not an expert, I can just assume from what I have seen, so Hoffa's reasoning trumps my opinion for sure.
What do you think about my very old progress of helicopter? It doesn't have 100% real physics, however everyone loves it. Unfortunately, not all can be seen on this video and this is all I have... Every movement is very smooth, that is because pilot wants to hit something and that is why it is so easy to control. I hate helicopters when in 1 sec are upside down and 1 sec later pilot is dead with helicopter in underground... Maybe I suck in using helis in games like battlefield or arma.
[video=youtube;n03t8k8na0Y]http://www.youtube.com/watch?v=n03t8k8na0Y[/video]
[QUOTE=Robotboy655;47748144]Yeah, you only pay one time to upload to Google Play. ( For the very same reason you pay 100$ for Steam Greenlight ) You can develop and redistribute your android apps for free.
While Apple's policy is more expensive, the result is less shitty apps, unlike Google Play.[/QUOTE]
I don't have personal experience but isn't this also because Apple has the whole screening process?
Sorry, you need to Log In to post a reply to this thread.