Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Paying $50 USD for a working and accurate version of GRT (Grid Reference Teleport)


Mals
 Share

Recommended Posts

GRTeleport¬†is no longer maintained.¬† The version I have runs but the locations are totally wrong.¬† I think I had a version someone fixed but accidentally updated and lost it. ūüėě

I am willing to pay $50 USD to whomever fixed it or replaces it with a similar plugin.  It is very useful and missed by admins and players.  A replacement would be even better, then you avoid any issues with the original author getting cranky, but I am not fussy here since my server is non-profit.

Thanks!

  • Like 1
Link to comment
Share on other sites

Since the original file is unlicensed, I'm unable to send an edited version. However, I can share a snippet of code shared by MJSU sometime ago. It's not tested, so I'm unsure if this makes it any better. The real issue is how the zoom level of maps fluctuates, so accurately calculating grids is a bit touchy now of days.

private string GetGridPosition(Vector3 pos)
{
    const float gridCellSize = 146.3f;

    int maxGridSize = Mathf.FloorToInt(World.Size / gridCellSize) - 1;
    float halfWorldSize = World.Size / 2f;
    int xGrid = Mathf.Clamp(Mathf.FloorToInt((pos.x + halfWorldSize) / gridCellSize),0, maxGridSize);
    int zGrid = Mathf.Clamp(maxGridSize - Mathf.FloorToInt((pos.z + halfWorldSize) / gridCellSize),0, maxGridSize);
    
    string extraA = xGrid > 26 ? $"{(char) ('A' + (xGrid / 26 - 1))}" : string.Empty;
    return $"{extraA}{(char) ('A' + xGrid % 26)}{zGrid.ToString()}";
}

 

  • Love 1
Link to comment
Share on other sites

Paying $100 USD for a replacement for GrTeleport that has similar functionality.  The map pin teleport is a little too OP, it is okay for admin but not players.

Link to comment
Share on other sites

Someone gave me the code fixes (the one above did not match my version of GRT.  Prize was paid.

Offer still stands for a recoded replacement.

Edited by Mals
Link to comment
Share on other sites

I have paid out the reward to Steen as he provided a code and showed me a working example on Sunday.   Sorry @Nogard  

I am still curious what you came up with so would be glad to have a look.

Edited by Mals
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

4,551 files sold to 469 customers and $67,090 of payments processed this year!

√ó
√ó
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.