PDA

View Full Version : Automatic Guild Placement


IANumtin
05-31-2003, 03:45 AM
I wasn't sure what forum this should go in so I chose what I thought would be the best choice....

Is there anyway to automatically place newly created characters in a guild (which would be created ahead of time of course)? Say for instance someone created a human paladin that started in Freeport and the guild name is "Freeport Citizen". Can the newly created character be put into that guild automatically?

k3n
05-31-2003, 06:19 AM
I think this should be in the developemt forum but still.

I havnt tested this out but it logically should work. In world in the file client.cpp
If you search for this
if(GetAdmin()>=100) {
cc.gm=1;
}
I dont know how to put a race on a guild specifically you should add
this undearneath of what is about to set everyone to one guild. if(GetAdmin()>=0) {
cc.guildid=1;
}
I know its quite cheap but still :)
You should then create a guild of your choice with the guildid 1.

IANumtin
05-31-2003, 06:41 AM
Well, thanks for the reply...

However I don't use CVS like a developer does. Was just curious if this could be done using Admin Tools or MySQL.

Thanks though :o