how can i change guild icon? pw admin isn't working for changing icons of guild
Fresh from the adminnotes found in the PW_Dev package... do some research...
Thanks to
343
Quick tutorial for changing guild icons:
root@pwserver# cd /Your-PWServer-Path/gamedbd
root@pwserver#: ./gamedbd gamesys.conf listfaction
(a list of this kind will appear)
2,"",2,35,2,0
3,"",2,48,2,0
4,"",0,64,2,2
| guild id | name | level | master id |???| membersize |
The rest is in the files (surfaces / iconset / iconlist_guild.txt) and (surfaces / iconset / iconlist_guild.dds)
In the case of the txt file:
16 (height in pixels)
16 (width in pixels)
92 (number of logo on the height of the dds file or in the first grid in the case of multiple servers)
64 (number of logo on the width of the dds file or in the first grid in the case of multiple servers)
0_0.dds (first logo = null)
1_1.dds (logo of the first guild (id = 1))
1_2.dds (logo of the second guild (id = 2))
1_3.dds (etc. ..)
1_4.dds (etc. ..)
1_5.dds (etc. ..)
The 1 before each guild ID is the id of the server in the / userdata / server / serverlist.txt into the game folder!
If the id of the server when the address is 12 he will need to be 12 instead of 1 in the file (iconlist_guild.txt). The reverse is advised and even easier xD, editing serverlist.txt is simpler ...
In the case of the dds file:
to replace a logo with an another one, I use XnView with his DDS plugin and I copy / paste neatly on a new logo that I want replaced. In many respects, the size in pixels! I will not put a logo on with 32x32 on a old logo with 16x16 xD!
The logo are numbered via the txt file.
The first is the logo-null by default. Do not touch! (0_0.dds)
All others are awarded after functions of the id of the guild. The first logo must be assigned to the guild id 1 (1_1.dds), the second guild id 2 (1_2.dds), etc., etc. ...
Again though, copy and paste properly the new logo on the former. Otherwise you might have half a new logo and a half old logo for your guild!