Post by Ryan on Dec 30, 2011 3:21:52 GMT -5
The format for all the URLs used in the guild hall is: synthetic-reality.com/cgi-bin/myCGI/sr-guilds.cgi/WOS/<action>/<guild_number>/<soul_id>.<char_name>/<random_number>/00000000
<action> says what to do; create a guild, petition to join a guild, update a score on the ladder, etc
<guild_number> is the guild number to perform the action on; the cases when it is 0 will be specified
<soul_id> is the soul id of the player affected, as an 8 digit hex number
<char_name> is the name of the character the action is performed on
<random_number> is a random number
Most, if not all, of the actions performed will be sending post data. If this data is a string (such as a character description), then each space is replaced by a '+'.
Generic Actions (Can be used in a normal browser)
Action: create
Guild Number: 0
Post Data Fields (optional): uniform - The short name of the guild
pw - The guild password
Result: Takes you to the edit guild page if the post data fields are provided. Otherwise it takes you to the guild creation page.
Action: editGuild
Post Data Fields: delete - "on" or "off; whether or not the guild should be deleted
guildName - The long name of the guild
homeURL - The guild website
logoURL - A link to the guild logo
homeEmail - The guild email address
enemyUniforms - A list of enemy guild uniforms, separated by commas
allyUniforms - A list of ally guild uniforms, separated by commas
credo - The guild credo/description
rule1 - "on" or "off"; character can't belong to any other guild
rule2 - "on" or "off"; only one character in the guild
rule3 - "on" or "off"; can't be a snert
rule4 - "on" or "off"; guild is closed to new members
rule5 - "on" or "off"; guild is a war guild
pw1 - Change guild password, enter once
pw2 - Change guild password, enter again
pw - Current guild password (required)
Result: Changes the settings for the guild if the password is correct
Action: editMember
Post Data Fields: delete - "on" or "off"; whether or not to remove the member from the guild
rank - The member rank displayed
pw - The current guild password
Result: Updates the specified character's guild membership if the password is correct
Action: guild
Result: Goes to the guild page
Action: hall
Result: Displays the list of guilds
Action: ladder
Special Notes: After the action, the URL just ends in /<ladder_number> without any of the addition things. Default ladder number is 1.
Result: Shows the ladder ranking for the past 45 days.
Action: ladderNew
Special Notes: After the action, the URL just ends in /<ladder_number> without any of the addition things. Default ladder number is 1.
Result: Shows the ladder ranking for the past 2 days.
Action: uniform
Guild Number: 0
Result: Returns a list of guilds the player is a member of
Special Actions (Require user-agent to be wosPost)
Action: petition
Post Data Fields: desc - The character description (level, class, age, world)
stat - The number of kills, pks, deaths, and times pked
name - <soul_id>.<char_name>; must be the same as in the URL
Fun: desc and stat can be changed to say whatever you want them to say
Result: Adds the character as a petitioner to the guild, with the rank Petitioner
Action: score
Post Data Fields: desc - The character description (level, class, age, world)
stat - The number of kills, pks, deaths, and times pked
name - <soul_id>.<char_name>; must be the same as in the URL
l - The ladder number to report to
m - The increase (or decrease) in rating
k - The number of kills gained
d - The number of deaths acquired
Result: Updates the ranking of the user on the specified ladder number by adding the number of kills, deaths, and rating increase to their current rank
Action: quit
Post Data Field: huh - Pseudo-random number. *cough* hack prevention *cough*
Result: The character will be removed from the guild, as if the player had quit the guild.
<action> says what to do; create a guild, petition to join a guild, update a score on the ladder, etc
<guild_number> is the guild number to perform the action on; the cases when it is 0 will be specified
<soul_id> is the soul id of the player affected, as an 8 digit hex number
<char_name> is the name of the character the action is performed on
<random_number> is a random number
Most, if not all, of the actions performed will be sending post data. If this data is a string (such as a character description), then each space is replaced by a '+'.
Generic Actions (Can be used in a normal browser)
Action: create
Guild Number: 0
Post Data Fields (optional): uniform - The short name of the guild
pw - The guild password
Result: Takes you to the edit guild page if the post data fields are provided. Otherwise it takes you to the guild creation page.
Action: editGuild
Post Data Fields: delete - "on" or "off; whether or not the guild should be deleted
guildName - The long name of the guild
homeURL - The guild website
logoURL - A link to the guild logo
homeEmail - The guild email address
enemyUniforms - A list of enemy guild uniforms, separated by commas
allyUniforms - A list of ally guild uniforms, separated by commas
credo - The guild credo/description
rule1 - "on" or "off"; character can't belong to any other guild
rule2 - "on" or "off"; only one character in the guild
rule3 - "on" or "off"; can't be a snert
rule4 - "on" or "off"; guild is closed to new members
rule5 - "on" or "off"; guild is a war guild
pw1 - Change guild password, enter once
pw2 - Change guild password, enter again
pw - Current guild password (required)
Result: Changes the settings for the guild if the password is correct
Action: editMember
Post Data Fields: delete - "on" or "off"; whether or not to remove the member from the guild
rank - The member rank displayed
pw - The current guild password
Result: Updates the specified character's guild membership if the password is correct
Action: guild
Result: Goes to the guild page
Action: hall
Result: Displays the list of guilds
Action: ladder
Special Notes: After the action, the URL just ends in /<ladder_number> without any of the addition things. Default ladder number is 1.
Result: Shows the ladder ranking for the past 45 days.
Action: ladderNew
Special Notes: After the action, the URL just ends in /<ladder_number> without any of the addition things. Default ladder number is 1.
Result: Shows the ladder ranking for the past 2 days.
Action: uniform
Guild Number: 0
Result: Returns a list of guilds the player is a member of
Special Actions (Require user-agent to be wosPost)
Action: petition
Post Data Fields: desc - The character description (level, class, age, world)
stat - The number of kills, pks, deaths, and times pked
name - <soul_id>.<char_name>; must be the same as in the URL
Fun: desc and stat can be changed to say whatever you want them to say
Result: Adds the character as a petitioner to the guild, with the rank Petitioner
Action: score
Post Data Fields: desc - The character description (level, class, age, world)
stat - The number of kills, pks, deaths, and times pked
name - <soul_id>.<char_name>; must be the same as in the URL
l - The ladder number to report to
m - The increase (or decrease) in rating
k - The number of kills gained
d - The number of deaths acquired
Result: Updates the ranking of the user on the specified ladder number by adding the number of kills, deaths, and rating increase to their current rank
Action: quit
Post Data Field: huh - Pseudo-random number. *cough* hack prevention *cough*
Result: The character will be removed from the guild, as if the player had quit the guild.