Jump to content
  • 0

party/guild names with spaces doesnt work anymore?


sizenine

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

i tried using /organize "ha ha ha" but it would say invalid name. is there an option to allow spaces in party names again?

it also happens when im trying to make a guild.

Edited by sizenine
Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  218
  • Reputation:   16
  • Joined:  01/24/12
  • Last Seen:  

Are you sure you're doing it correct? It should work..

/organize "Party Name"

I'll look into this in a bit. Could you tell me what revision you're on?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i think that double quotation mark is disabled in new client....

because kro already removed it

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

i think that double quotation mark is disabled in new client....

because kro already removed it

Yeah, that's what I was thinking.

I'm on r15627, client 2012-02-07

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Just undo whatever was changed in the revision this was applied.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

not sure which changeset that is, couldn't search it in trac.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

that is client side, nothing to do with server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

how do we get rid of it client side then?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

only way is to wait for a diff to come like the restore login window... so it is likely be named as enable quotes on guild and organize command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

For the meantime you can use @guild / @party.

They still work as intended, but there is 1 drawback.

Disbanding a guild would be somewhat impossible, not unless someone decides to make a "@breakguild" mod too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

Yeah but @guild would skip the emperium requirement also

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

You can bind it with ToastOfDoom's Atcommand Events and make the script check for Emperium.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Here is the breakguild command:

@guildbreak - only the game master can break the guild

find:

ACMD_FUNC(guild)

add the code below the function

ACMD_FUNC(guildbreak)
{
struct guild *g;
nullpo_retr(-1,sd);
g=guild_search(sd->status.guild_id);
if(g==NULL)
{
 clif_displaymessage(fd, "You dont have a guild.");
 return -1;
}
if (strcmp(g->master, sd->status.name) != 0)
{
 clif_displaymessage(fd, "Only the guild master can break this guild.");
 return -1;
}
//Verified that the player is the guild master.
guild_broken(g->guild_id,0);
return 0;
}

The result looks like this:


ACMD_FUNC(guild)
{
char guild[NAME_LENGTH];
int prev;
nullpo_retr(-1, sd);

memset(guild, '0', sizeof(guild));

if (!message || !*message || sscanf(message, "%23[^n]", guild) < 1) {
clif_displaymessage(fd, "Please, enter a guild name (usage: @guild <guild_name>).");
return -1;
}

prev = battle_config.guild_emperium_check;
battle_config.guild_emperium_check = 0;
guild_create(sd, guild);
battle_config.guild_emperium_check = prev;

return 0;
}

ACMD_FUNC(guildbreak)
{

struct guild *g;
nullpo_retr(-1,sd);

g=guild_search(sd->status.guild_id);

if(g==NULL)
{
clif_displaymessage(fd, "You dont have a guild.");
return -1;
}

if (strcmp(g->master, sd->status.name) != 0)
{
clif_displaymessage(fd, "Only the guild master can break this guild.");
return -1;

}

//Verified that the player is the guild master.
guild_broken(g->guild_id,0);
return 0;

}


then now find:

 ACMD_DEF(guild),

add below:

  ACMD_DEF(guildbreak),//JayPee

The result looks like this:



 ACMD_DEF(guild),
  ACMD_DEF(guildbreak),//JayPee

Now recompile your server.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

i noticed a bug with your @guildbreak command. when you use the @guildbreak, the guild does not get deleted from the database. with the regular /breakguild, it gets deleted immediately and you can remake the same guild name right away.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...