You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Saturday, May 12th 2012, 11:43am

How do I check if a character exists by name?

I've written an addon (AltSync) that does the following
  1. Adds the name of all of your alts to the friends' lists of all of your other alts automatically.
  2. Allows you to delete the name of an alt from the friends' lists of all of your alts. This is currently done manually by simply deleting the name from one alt's friends list and then the deletion will be syncronized to all other alts upon them logging on. You would do this if you deleted an alt.


The 2nd part I want to happen automatically. In order for this to happen I would need to be able to have a way to check if a character with that name exists and if not then delete them from the friends list since that would mean that alt has been deleted. Does anyone know how this check can be done?

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

2

Saturday, May 12th 2012, 12:33pm

All I can think would be to check how the login screen queries the server for the list of characters and if you can get the names then do something similar for your add-on. This could also be used for adding alts as well.
2013... The year from hell....

3

Tuesday, May 15th 2012, 1:17pm

Quoted from "Peryl;530177"

All I can think would be to check how the login screen queries the server for the list of characters and if you can get the names then do something similar for your add-on. This could also be used for adding alts as well.


Does anyone know how I could do what Peryl suggested?

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

4

Tuesday, May 15th 2012, 1:38pm

Extract the files in interface.fdb and look through the extracted files for the login stuff.
2013... The year from hell....

5

Tuesday, May 15th 2012, 5:26pm

lol...send them a test ingame mail from publishers clearinghouse sweepstakes. the error it gives says if its a real toon or not

6

Wednesday, May 16th 2012, 7:00am

I want to do this within a function upon logging on. There is some kind of in-game way of checking because if you try adding a character name to friends list but that character doesn't exist it says player not found. So if I could somehow use that same built-in check then everything would work as intended in my addon.