Showing Posts For Firilion.3867:

Mumble Data - how far are we allowed to go

in API Development

Posted by: Firilion.3867

Firilion.3867

Hello fellow Developers

currently i’m working a bit with those mumble position data. This is quite fun and a very powerful thing too.
I think that some use cases may extend the game in a way which arenanet did not want to see.

So my question is, how far are we allowed to go? Since the policy is in rework and a lot of the solutions posted in this forum collide with the old policy but are allowed to use…where is the limit?

Please take a look at this short video (excuse the bad quality and the german language).

This is a quick example i wrote using mumble data for 3 things:
(Overlay Window using gw2 in FullScreen – Window Mode)

1) calculate the range i have run to place my portal. The bar on the bottom shows in red how far i have run and the units spend (Portal – Reichweite means portal range) as well as the time till my portal will decay. After placing it, it shows the time till the portal will close. It is quite exact as you can see in the second example where the character is only a few units to far. It also takes into account that a player can jumpd down or run up in the z-axis

2) It shows Mapobjects (here for example waypoints) within the camera-view. It shows their name, the distance (lower left corner) and the estimated time of travel in seconds (lower right corner). This could be used for anythin like events, capture objects in wvw or even player-locations within the map.
(this prototype does not use exact positioning for those information windows, e.g. does not move them into the right place on the screen, but this is just a small tweak to get it work. And when the camera delivers the z-axis, it would be even simplier to juggle them around)

3) Not shown in the video, but also integrated is a function which allows players to put own objects to a map, like mining nodes or cool places or an enemy raid in wvw and so on. Therefore you use a 2D Map where you put those objects on. This is communicated to all other players who are using the tool and these objects appear within the Overlaywindow as well.

I think, you can imagine what’s possible with something like that…

How far are we allowed to go?
Is this allowed and should i continue development?
Or is this forbidden so that i stop development immediatly

Greetings
Firilion

please excuse my bad english, but i hope it was understandable

Riverside[DE] | Engineer since Beta
go with the flow

(edited by Firilion.3867)

GW2's Mumble Link - missing vector data

in API Development

Posted by: Firilion.3867

Firilion.3867

A fix to the missing z-axis would be very much appreciated.
I was getting kinda mad trying to resolve this issue until i found this post here.

I’m trying to build an application like the one Bear on the job is working on. It will bring up Information to the player within a transparent window, a bit like a H.U.D.
It is part of a complete Solution for my guild to enhance the experience of the game.
It has a Client Server Architecture (WPF Service on an IIS with a SQL DB behind and a WPF Client) which provides a calendar, wvw live maps, boss-event timer, countdowntimer, an imagegallery, own chats and a lot more useful functions shared within my guild.
The H.U.D will be the central display unit for all those informations.

But without the z-axis i cannot place the icons correct, when the player pitches his camera.

And thank you for your fast response Cliff an that great API you are providing for us!

Riverside[DE] | Engineer since Beta
go with the flow

Map tiles service intermittently cutting out

in API Development

Posted by: Firilion.3867

Firilion.3867

Could you please help me a bit into the right direction to get Maps working?

This part of my code may give you an idea:

https://github.com/codemasher/gw2api-tools/blob/master/js/gw2maps-jquery.js#L153

		// the map has a clamped view? ok, we use this as bound
		if(floordata.clamped_view){
			clamp = floordata.clamped_view;
			bounds = new L.LatLngBounds(p2ll([clamp[0][0], clamp[1][1]]), p2ll([clamp[1][0], clamp[0][1]])).pad(0.2);
		}
		// we display a specific map? so lets use the maps bounds
		else if(options.region_id && options.map_id){
			clamp = floordata.regions[options.region_id].maps[options.map_id].continent_rect;
			bounds = new L.LatLngBounds(p2ll([clamp[0][0], clamp[1][1]]), p2ll([clamp[1][0], clamp[0][1]])).pad(0.4);
		}
		// else use the texture_dims as bounds
		else{
			//bounds = new L.LatLngBounds(p2ll([0, (1 << options.max_zoom)*256]), p2ll([(1 << options.max_zoom)*256, 0]));
			bounds = new L.LatLngBounds(p2ll([0, floordata.texture_dims[1]]), p2ll([floordata.texture_dims[0], 0])).pad(0.1);
		}
		mapobject.map.setMaxBounds(bounds).fitBounds(bounds);

Thanks for your answer but i don’t get how this effects the tiles i have to download from tiles.guildwars2.com/cID/fID/zLevel/x/y.jpg
How do i matchmake this with the clamped_view?
Since i can’t use leaflet I do not have those options you are using.

Example: The Mists – Map
tiles.guildwars2.com/2/1/2/0/0.jpg does exist
tiles.guildwars2.com/2/1/3/0/0.jpg does not exist or is not available for dl

How can i calculate which map-tiles are available at a specific zoom level?

Thank for your help!

Riverside[DE] | Engineer since Beta
go with the flow

Map tiles service intermittently cutting out

in API Development

Posted by: Firilion.3867

Firilion.3867

Well, not really an outage, but is it just me or aren’t the tiles updated with the new map yet?

Oh and while i’m at it:

According to texture_dims, these tiles should exist, right? (They actually do exist, but only for zoom level 1 and 2)


GET https://tiles.guildwars2.com/2/1/3/0/0.jpg 403 (Forbidden) tiles.guildwars2.com/2/1/3/0/0.jpg:1
GET https://tiles.guildwars2.com/2/1/3/1/0.jpg 403 (Forbidden) tiles.guildwars2.com/2/1/3/1/0.jpg:1
GET https://tiles.guildwars2.com/2/1/3/2/0.jpg 403 (Forbidden) tiles.guildwars2.com/2/1/3/2/0.jpg:1
GET https://tiles.guildwars2.com/2/1/3/3/0.jpg 403 (Forbidden) tiles.guildwars2.com/2/1/3/3/0.jpg:1
GET https://tiles.guildwars2.com/2/1/3/4/0.jpg 403 (Forbidden) tiles.guildwars2.com/2/1/3/4/0.jpg:1
...

http://gw2.chillerlan.net/examples/gw2maps-gmaps-simple.html -> switch to the mists and see

You need to respect the clamped_view from the map_floor api. From the docs: “The map_floor.json API contains useful information like the size of each floor, and bounding rects. The bounding rects define which tiles are available for download, as well as the area of the map that should presented to the user. Tiles outside of the bounding rect are not available for download.”

https://api.guildwars2.com/v1/map_floor.json?continent_id=2&floor=1

“clamped_view”: [
[0,4094], [16382,16382]
]

Sorry if it’s confusing – world maps are complicated.

It is a bit confusing to me how i have to use the clamped_view. I am trying to build a world map in c# (within a WPF Client) without using leaflet and co. and it is very hard to get it running.

This will become part of a tool for my guild which is currently under development. It uses WCF Services hosted on an IIS, Data-Storage within a SQL Server and a WPF – Client for my fellow Guildies. It is currently Alpha status an we are testing a lot.
Right now we have a complete Calendar with Appointments, a Userlist with Auto-Invite, Boss-Timer, Live-WvW Maps and a lot more but the biggest thing missing are integrated Maps.

Could you please help me a bit into the right direction to get Maps working?
Thanks a lot and please excuse my bad english

Many Greetings
Firilion

p.s.: Maybe i’ll post a youtube video of our tool later on (actually i only have some video footage in german language). When it is done, i will try to get it installable and so distributable to anyone who is interested.

Riverside[DE] | Engineer since Beta
go with the flow

Kitten and harvesting sickle animations

in Black Lion Trading Co

Posted by: Firilion.3867

Firilion.3867

Yeah finally a new unlimited harvesting Tool.

I was really looking forward to this, having in mind it could be some kind of a small asurian lawnmower or a giant scythe. Something like that, something cool…

…but then it is animated like the mining pick. This is very disappointing and not worth any gem, especially not 800 of them!

That’s the way to make some quick money but not to keep players spending Gems on the store!

ArenaNet, i hope you know what to do: Back to the Animation-Desk and do something awesome.
Or just design a new enless Logging Axe, which cleaves Trees in the middle. Than you could use the same animation a third time!

Riverside[DE] | Engineer since Beta
go with the flow

(edited by Firilion.3867)

To DTK from Riverside[DE]

in WvW

Posted by: Firilion.3867

Firilion.3867

You’re right. Enough threads are already open to that nightraid issue.
But at least you can play without beeing in the queue over several hours. I would play at night too if my job would allow it. My only chance to play is in the evening hours with very long queues.

I guess we can close this topic

Riverside[DE] | Engineer since Beta
go with the flow

To DTK from Riverside[DE]

in WvW

Posted by: Firilion.3867

Firilion.3867

Hi,

This morning we saw a thief who is hacking/usebug. He dit it just near his guildmates while they were trying to shooting us on Mendon’s ramparts.

I’m providing some screen with this message :

http://imageshack.us/g/13/gw040c.jpg/

He did this exploit several time before dying like a noob when he was “flying” during the exploit. You can see him clearly flying on the second screen.

Thank you to stop it, it’s annoying for everybody.

Hello,

i’m from Riverside[DE] and will pass this over to one of their Guild/WvW Leaders.
We do not tolerate cheating/exploiting/bugusing on our server but if some individuals are doing so we have very few ways to stop them :/
I guess that is a problem every server has, right?

Have a good time im WvW and just do not use the nighttime in europe to win when anyone else is sleeping (‘cause that is an ’exploit’ in some way to me, too)

Riverside[DE] | Engineer since Beta
go with the flow