Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Event "Janе" Horizon

Pages: 1 ... 29 30 31 [32] 33 34 35 ... 95
466
I still do not see why a database is required.
Even if all 50  Asia world outposts are implemented - these still would static points on the map and easy to add to a list. So the below web code will still be more or less instantaneous.

NOTE: the mini-map doesn't seem to show you your exact coordinates (e.g. 54N 97.78E --> 54N 97.79E jumps to 54N 97.81E).  May need to put a 0.04 buffer in the to ensure you get to the right revive.

Code: [Select]
<html>

// This code is public domain. It can be used and changed without violating copyright.
//  However, it would be nice to have an acknowledgement of Event "Jane" Savon's contribution.

<script>

// Data

var defaultRevives = [
   ["Mugen Village",49.56, 85.79],
   ["New Urengoy",58.61, 94.61],
   ["Norilsk",60.72, 101.14],
   ["Saransk", 50.98, 100.68],
   ["Saransk West",51.16, 94.69],
   ["Surgot",54.59, 87.98],
   ["Turukhansk",56.17, 101.87]
   ];

// Classes

function Player(north,east) {
   var mNorth = north;
   var mEast = east;
   
   this.GetPosition = function() { // --> Point
      var point = new Point();
      point.North = mNorth;
      point.East = mEast;
      return point;
   }
}

function Point() {
   this.North = 0;
   this.East = 0;
   
   this.ToString = function() { // --> String
      return this.North.toFixed(2) "N " this.East.toFixed(2) "E";
   }
}

function Revive(name,north,east) {
   var mName = name;
   var mNorth = north;
   var mEast = east;

   var mId = Revive.id   ;

   this.GetId = function() { // --> id
      return mId;
   }

   this.GetName = function() { // --> name
      return mName;
   }
   
   this.GetPosition = function() { // --> Point
      var point = new Point()
      point.East = mEast;
      point.North = mNorth;
     
      return point;
   }   
}
Revive.id = 0;

function Revives() {
   var list = new Array();
   
   this.Add = function(revive) { // --> void
      list[revive.GetId()] = revive
   }
   this.GetByName = function(name) { // --> revive
      for (i=0; i<list.length; i  ) {
         if (list[i].GetName() == name) {
            return list[i];
         }
      };
   }
   this.GetList = function() { // --> revives list
      return list;
   }
}

// Functions

function GetNearestRevive(revives, point) { // --> Point
   var nearestRevive = null;
   var nearestDistance = Math.pow(2,32) -1;
   var reviveList = revives.GetList();
   var reviveCount = reviveList.length;
     
   for (i=0; i< reviveCount; i  ) {
      revive = reviveList[i];
      position = revive.GetPosition();
      dist = Math.pow(
               Math.pow((point.East - position.East),2)   Math.pow((point.North - position.North),2)
            ,0.5);
     
      if (dist < nearestDistance) {
         nearestDistance = dist;
         nearestRevive = revive;
      }
   }
   
   return nearestRevive;
}


function SetRevives(reviveList) { // --> Revives
   var revive;
   var revives = new Revives();
   for (i=0; i<reviveList.length; i  ) {
      revive = new Revive(reviveList[i][0],reviveList[i][1],reviveList[i][2]);
      revives.Add(revive);
   }
   
   return revives;
}

// Main

var revives = SetRevives(defaultRevives);

var player = new Player(54,97.77);
var revivePoint = GetNearestRevive(revives,player.GetPosition());
alert("Player at "   player.GetPosition().ToString()   " revives at: "   revivePoint.GetName());

var player = new Player(54,97.78);
var revivePoint = GetNearestRevive(revives,player.GetPosition());
alert("Player at "   player.GetPosition().ToString()   " revives at: "   revivePoint.GetName());

</script>
</html>

467
I do not think a database is required.
There are only 7 revives at the moment; of which a player will have between 2 and 7 revives registered.
You do not need to 'pre-test' every point between every revive - the rule is that you revive at the nearest outpost where you have registered your DNA.
So ...
1. draw a straight line between yourself and each DNA registered revive.
2. workout which line is the shortest. This is the nearest revive.
3. if that is your chosen revive point - TA DA - revive now.
4 If you want to revive at an output that is not the nearest - work out where along the line between you and the chosen revive that a point is closer to the chosen revive than any other revive.
5. move directly towards that point until you are past it and - TA DA - revive.

or something like that.

468
The coordinates are written to the log files (see https://my.afterworld.deelogic.net/survival/knowledge-database/building-inside-the-swamp/msg4480/#msg4480 for an example where that data was used).
And the file is updated real time. :)
This is only true when you press the Date/Time/Coordinates keyboard key, 'O' by default. Unless you use a macro program to repeatedly press this for you...
Why would a player need to be continuously reminded of where the revive boundary is?
Wouldn't it be enough that a player is at coordinates 12.45E 67.89N,  presses O and is told that they need to go to 24.68E 35.79N to revive at their selected outpost? They then use their mini-map to get to those coordinates?

469
are coordinates written somewhere into local drive log files? Like sau loots and chat are.

Without that coordinates data in log files as plain text, forget it. Creating tool which would use OCR would be just too much trouble. Both for coder and end-users.
The coordinates are written to the log files (see https://my.afterworld.deelogic.net/survival/knowledge-database/building-inside-the-swamp/msg4480/#msg4480 for an example where that data was used).
And the file is updated real time. :)

470
I think revival points are part of the challenge of playing the game.   Automating/Eliminating all the challenges leaves in EU-WoW zone.
DL doesn't need to do this. However, someone will create an interactive map / utility that does the same since all you need is your map coordinates and a list of revive points.

471
Ideas and suggestions / Revive location indicator [mini-map option]
« on: March 27, 2014, 07:07:44 pm »
Recently, players have asked to know where they will revive if the die / request revival.

I have provided a map with the revive boundaries where all 7 revive points are DNA registered.
However, that is not going to be much help to Newcomers as they will only have two of these registered (I assume a Newcomer has Mugen Village and New Urengoy DNA registered after they arrive at New Urengoy).

Suggestion: Add a special marker to the mini-map that allows a player to indicate a revive point. Have these markers indicate which one is closest to the player (e.g. marker blinks; different color in the marker list).

This will be more important in the Asian World map where there are likely to be dozens of revives scattered across the world.

472
Ideas and suggestions / Re: NU boundaries
« on: March 27, 2014, 08:05:40 am »
...
And since those lines are approximations themselves (unless you've revived along the length of each line segment, requiring hundreds if not thousands of clones), it's even more difficult.
...

A player will be revived at the nearest outpost that they have DNA registered for.
The lines are draw on that basis.
The lines are actually drawn on the full world map. However, I have published a smaller image rather than the 24MB image captured by the mini-map.
The lines should be accurate to something like +/- 0.03 world degrees (I had problems getting the world coordinates to match the pixel positions ... something I'll need to resolve before I attempt to turn this into a map which change be marked up players).
Here is a portion of that much bigger map.


473
Knowledge Database / Re: C220 - World Map
« on: March 25, 2014, 06:31:25 pm »
Map updated using mini-map image

474
Gameplay Discussions / Re: Research problem
« on: March 25, 2014, 02:26:19 am »
That is a good question ... how does a player gain Experimentation skills if they have completed all research when Experimentation can only be given against incomplete research (and research is the only way to get it)?

Research is the best source of several other skills as well (generated by other activities at a much lower level)

What is the point of gaining skills by repeatedly failing to achieve a goal anyway?

Shouldn't a player simply be able to repeat successful research?

475
Ideas and suggestions / Re: PVP loot to return P.Notes out of skills.
« on: March 23, 2014, 11:01:32 pm »
It is much easier to 'exploit' the current PVP setup to the detriment of Dedicated Logic ... at a much higher value than this suggestion.

476
Ideas and suggestions / PVP loot to return P.Notes out of skills.
« on: March 23, 2014, 07:15:07 pm »
I still have a dislike with a PVP area where items that I may never get again are stolen off me. This is too close to violation of person.

I would have a similar dislike if I visited a country encourages their citizen to steal personal items off tourists and I have my grandma's wedding ring stolen from me. The likelihood I would recommend visiting that country is 0% and it is more likely that I would actively advocate not visiting that country ever again.

However, there now is a commodity that feels less personal - the ever more valuable P.Note.
And P.Notes is something that every player has in the form of skill levels.

Suggestion: When a player is killed in a lootable PVP area, if that player is looted - a number of P.Notes is looted from a random skill (potentially blocking that skill - see Lock skills to unblocked portion of blocked skills as to why a player would want to recharge the skill).

Note #1: the random skill looting is to prevent players from abusing the system (somehow) to milk P.Notes from a particular skill (as done for SNIs).
Note #2: the game will send a player to reform camp (under the current 5 times in 60 minutes) if two players cooperate players try to milk P.Notes ... or at least the players would have to do this is an uneconomic way.

477
FYI: I have several skills at levels blocked where the effective skills are at a higher level.

478
Currently, due to the ability to inject skills via SNI, you can have skills blocked where the effective skill level is higher than the blocked level.
For example: you can have level 40 of a skill which is blocked at level 20.

This is an anomaly new players cannot achieve as SNIs are no longer generated.

There is no incentive for a player with elevated levels of Skills to unblock them, this is especially true if a player has injected skills  to a very high level.

Suggestion: a player's skill level should not be their effective skill level - it should be their unblocked level.

So if a player has level 40 of a skill which is blocked at level 20, they will act as if they have level 20 of that skill. The player now has an incentive to earn the P.Notes required to unblock the 20 levels.

479
Ideas and suggestions / Re: NU boundaries
« on: March 23, 2014, 10:51:05 am »
This should help people to know where the revive boundaries are (if you have Norlisk or Turukhansk registered).

480
Life in the AfterWorld / Re: P.Note speculation
« on: March 23, 2014, 02:55:55 am »
Unblocking skills via P.Notes cost speculation.


Assuming that the cost of unblocking a level is based on the cost of getting SAU via item use, the following unblocking P.Note cost would apply.
Level 1: 1 P.Note
Level 5: 8 P.Notes
Level 10: 21 P.Notes
Level 20: 77 P.Notes
Level 40: 595 P.Notes


Level 40 represents 4993 AWD in item decay.

Pages: 1 ... 29 30 31 [32] 33 34 35 ... 95