Eyjafjallajokull Posted October 12, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 01/09/13 Last Seen: March 16, 2016 Share Posted October 12, 2013 Attempted to create SQL based script where you can change the Guild Name and Guild Leader. (Basically I just tried to tweak the character rename script I have, but failed.) Searched around for a while and couldn't find anything. Any help or prior scripts anyone has lying around that I might have missed? I appreciate it in advance. Quote Link to comment Share on other sites More sharing options...
Lil Troll Posted October 12, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 276 Reputation: 24 Joined: 07/06/13 Last Seen: April 19, 2014 Share Posted October 12, 2013 If you rename your character when you are in a guild, your name in guild wont change, you must leave guild first. Tested it already. I also tried changing all names available in sql, including Guild, char, etc.. etc.. still not working. Quote Link to comment Share on other sites More sharing options...
Eyjafjallajokull Posted October 13, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 01/09/13 Last Seen: March 16, 2016 Author Share Posted October 13, 2013 Figured out the guild leader changer, but still need help with the Guild Name changer, which..... If you rename your character when you are in a guild, your name in guild wont change, you must leave guild first. Tested it already. I also tried changing all names available in sql, including Guild, char, etc.. etc.. still not working. was not my point. Sorry. Not requesting something to change the character name -- requesting something to change the guild name (if possible, I guess?) Quote Link to comment Share on other sites More sharing options...
GmOcean Posted October 26, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted October 26, 2013 prontera,150,180,4 script GuildName Changer 123,{ mes "Input your new guild name."; input .@name$; set .@a$,charat(.@name$,0); //We run this so we can see if the first "character" is a Space. if( !compare("1234567890",.@a$) && !charisalpha(.@a$,0) ){mes "^FF0000 INVALID NAME ^000000"; close;} //We've determined it's a Space so invalid name. set .@n$,escape_sql(.@name$); query_sql("UPDATE guild SET name='"+ .@n$ +"' WHERE guild_id='"+ getcharid(2) +"'"); next; mes "Guild name successfully updated."; close; Not sure if the update will show without a relog or not. You'd have to test. Quote Link to comment Share on other sites More sharing options...
Question
Eyjafjallajokull
Attempted to create SQL based script where you can change the Guild Name and Guild Leader.
(Basically I just tried to tweak the character rename script I have, but failed.)
Searched around for a while and couldn't find anything.
Any help or prior scripts anyone has lying around that I might have missed?
I appreciate it in advance.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.