Recent Topics

Ads

Searching addon named "CheckRR"

Here you can post addons, or anything related to addons.

Moderators: Management, Web Developer

Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
Zaru
Posts: 41

Searching addon named "CheckRR"

Post#1 » Fri Mar 10, 2017 4:11 pm

Hey folks,

I've seen a slayer guide blog where the poster mentions "CheckRR" addon for getting the renown rank of the enemy target.
But the link, that he is referring to, is a war.curse db link and as we all know, war curse is down.

Thus i've searched the whole www over diffrent search engines finding out nothing worthy.
I've found the programmer (an italian man) but before I distrub him ....

So ... I'm a software developer and it was time to get my hands dirty.
I've programmed a while in lua and I've tried to write a program in C# to gather the renown rank of a player from the ROR website (quite easy with POST).
But due to the fact, that in lua (integrated in warhammer) there is no possibility to get a http/POST socket up and send/get requests from the website. Neither it is possible to access IO to write and read the name of the target enemy and lookup with a C# program in the website armory the renown rank to send it in thefile back again.
Furthermore I've remembered that there is a way to persistent save variables .... SavedVariables.
But it doesn't work properly in my codes.
All I've got now is an addon that retreives the name of the target, but I'm stuck now here.

Ok ok ok you see I've done something, but all I've reached is just a tear in a waterfall.


Does anybody have this addon and is willing to share it with me?
OR: Is another lua/addon developer ready to share his/her knowledge with me to reach my superior goal: Getting the renown rank ingame from my target?



[Aunt EDITH:
The reason why I'm programming ways around is that the WAR API doesn't obtain a target.getRR() method as far as I've seen. If I'm totally on a false way, please tell me!

AND @ Staff: If obtaining renown rank of enemy by addon is forbidden, please tell me.]
Last edited by Zaru on Fri Mar 10, 2017 5:37 pm, edited 1 time in total.
[Ekso]
[Equilibrium]
[Valar Morghulis]

Zaruka - RP 40/7x
Zarucz - Slayer 40/6x
Zaru - Sorceress 40/4x

Ads
User avatar
shaggyboomboom
Posts: 1230

Re: Searching addon named "CheckRR"

Post#2 » Fri Mar 10, 2017 4:36 pm

The API doesn't obtain the target's RR, just use thr armory on the website.
Image

User avatar
Zaru
Posts: 41

Re: Searching addon named "CheckRR"

Post#3 » Fri Mar 10, 2017 5:36 pm

Seriously, did you even read my development details?

I tried to use programmatically the ROR armory website.
If you're interested HOW I did this, tell me in private message.

Otherwise please keep the thread clear for real suggestions/advices. Thanks.
[Ekso]
[Equilibrium]
[Valar Morghulis]

Zaruka - RP 40/7x
Zarucz - Slayer 40/6x
Zaru - Sorceress 40/4x

User avatar
Sigimund
Posts: 658

Re: Searching addon named "CheckRR"

Post#4 » Fri Mar 10, 2017 7:09 pm

The original addon read the renown title (eg lordling) under your target's name and displayed their renown bracket (see http://warhammeronline.wikia.com/wiki/Renown for the titles and brackets).

User avatar
Karl
Posts: 177

Re: Searching addon named "CheckRR"

Post#5 » Fri Mar 10, 2017 8:53 pm

If I recall correct this addon stopped working on live with patch 1.4.1 when ranks 80-100 were introduced. The parameters needed to show correct rank were not available after that patch.

User avatar
Caffeine
Legacy RR80
Posts: 574

Re: Searching addon named "CheckRR"

Post#6 » Sat Mar 11, 2017 12:59 am

Using the armory for this is not the best idea. If I understand you correctly what you are thinking of is:
  • player selects a new target
  • an addon get's player name from API and saves it to file
  • script reads file, parses the name and builds an armory URL
  • script makes a http request with the URL
  • renown is parsed from HTLM code of the page
  • in game addon displays the RR
Right off the bat you will most likely get in to trouble for writing software that interacts with the client.
We have very strict rules regarding that here.

Second issue: latency. The delay between selecting a target and getting the RR is going to be monstrous if you compare it to how often people change targets in this game.

A different way to do this would be to download the list of all players currently online every x seconds, build a json object and store it as a lua file. An in game addon can then parse the file and search for the name of your target every time you select a new one to get the RR (this time much faster).

The problem here is that we no longer have the entire player list in a single web page. You can't even open a specific page of the results via URL manipulation. So it's a lovely idea but it's just not practical.
VinyUI | FPS Guide | Scenario Alert | Image Caffeine Image Decaf Image Vermont Image Nevada

User avatar
Critos
Posts: 22

Re: Searching addon named "CheckRR"

Post#7 » Sat Mar 11, 2017 7:37 am

Actually, you can build an addon specifically for scenarios.

Every time you join scenario (when it starts), browse all enemy via armory and build a json as Caffeine suggested.

User avatar
Zaru
Posts: 41

Re: Searching addon named "CheckRR"

Post#8 » Sat Mar 11, 2017 7:46 am

Hey folks,

thank you very much for all the ideas!
Yeah its a lovely thought though.

Ok ok hm what do I do ...
I think I'll try to program an addon that uses the lookup table of renown titles to specify a range. Somehow I get used to that idea since the origin addon used this method.

Since I'm done, I'll like to share this addon with you guys.
Keep steady ;)
[Ekso]
[Equilibrium]
[Valar Morghulis]

Zaruka - RP 40/7x
Zarucz - Slayer 40/6x
Zaru - Sorceress 40/4x

Ads
User avatar
Zaru
Posts: 41

Re: Searching addon named "CheckRR"

Post#9 » Sat Mar 11, 2017 8:20 am

AhI've forgotten something:
@Caffeine:
IO interactions aren't available in warhammer lua addon programming.
Also Socket building with http POST is not possible.

In WoW there was an addon that allows other addons to import libaries such as socket, io read/write, etc.
If I'm finished with the title renown addon, I'll try to convert the importer to warhammer.
[Ekso]
[Equilibrium]
[Valar Morghulis]

Zaruka - RP 40/7x
Zarucz - Slayer 40/6x
Zaru - Sorceress 40/4x

User avatar
Vance
Posts: 34

Re: Searching addon named "CheckRR"

Post#10 » Tue Jun 27, 2017 11:06 am

Zaru wrote: Since I'm done, I'll like to share this addon with you guys.
Keep steady ;)
Thank you for your effort. Is there any update to the topic?

Cheers,
Vance
We bring [Despair] :twisted:

Proud member of the Destro-Guild "Starilas"
Proud member of the Order-Guild Verzweiflung

Who is online

Users browsing this forum: Brutito and 5 guests