Shako 97 Report post Posted October 26, 2016 Hello guys! I've found that another thing that doesn't work in GameServer configurations is that you can't limit guild members, even if you put the values in. I reckon it is able to be fixed / edited by hex-ing the GameServer itself instead. Does anyone know the address? Any recommendations? Is it possible to do through LUA? Thank you! ShaKo Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted October 26, 2016 Hi Shako. There is no address because this was not implemented. The configures were placed there for future development. Even in 2.x src, this configuration wasn't read by GameServer. 1 Quote Share this post Link to post Share on other sites
Shako 97 Report post Posted October 27, 2016 13 hours ago, KONG said: Hi Shako. There is no address because this was not implemented. The configures were placed there for future development. Even in 2.x src, this configuration wasn't read by GameServer. Hm, I hope someone can make a function to patch gameserver on this one! Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Totoka 152 Report post Posted October 27, 2016 4 hours ago, Shako said: Hm, I hope someone can make a function to patch gameserver on this one! Hey Shako! The weird thing is, looking at the code, I haven't seen any related count against guild members when someone apply to join, or is being accepted. There wasn't a limit ? I thought it was a maximum of 80, but I'm probably mixing with some other game. > emMaxMemberNum Quote Discord: andresc Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 27, 2016 1 hour ago, Totoka said: Hey Shako! The weird thing is, looking at the code, I haven't seen any related count against guild members when someone apply to join, or is being accepted. There wasn't a limit ? I thought it was a maximum of 80, but I'm probably mixing with some other game. [Guild] guild_num = 80 [Guild] guild_try_num = 80 GameServer.cfg - v2.X Quote Share this post Link to post Share on other sites
Shako 97 Report post Posted October 27, 2016 (edited) @Totoka yes, i believe the default limit is 80. Editing the vales on gameserver.cfg doesn't seem to work, haha Edited October 27, 2016 by Shako Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Totoka 152 Report post Posted October 27, 2016 update guild\t\t\t\t\tset try_total =try_total -1,\t\t\t\t\t\tmember_total =member_total +1\t\t\t\t\t\twhere guild_id =%d and member_total <%d and try_total > 0 looking at the query (hex editor) That may can be changed here: member_total <%d for member_total <99 *this way you are limited to a range ( 1-99 ) as the last dynamic parameter, it wont have problems, I guess. but if your idea is to increase it more than 100, you have +3 options 1: move forward the rest of the query ( which is not much, but you may don't have enough space to move it. ) 2: move the whole query to somewhere else where having space, and pointing to your new offset. 3: change instead the magic number by looking where this query is being used, like: in an hex editor should be the address 0x0008A8F3 ( NOTE: there is space for 1 signed byte, the maximun signed byte is 0x7F = 127 ) ( there are also more queries with this magic number, but i think this one does the work you want ). edt:----- V 1.36 2 Quote Discord: andresc Share this post Link to post Share on other sites
Shako 97 Report post Posted October 27, 2016 1 hour ago, Totoka said: update guild\t\t\t\t\tset try_total =try_total -1,\t\t\t\t\t\tmember_total =member_total +1\t\t\t\t\t\twhere guild_id =%d and member_total <%d and try_total > 0 looking at the query (hex editor) That may can be changed here: member_total <%d for member_total <99 *this way you are limited to a range ( 1-99 ) as the last dynamic parameter, it wont have problems, I guess. but if your idea is to increase it more than 100, you have +3 options 1: move forward the rest of the query ( which is not much, but you may don't have enough space to move it. ) 2: move the whole query to somewhere else where having space, and pointing to your new offset. 3: change instead the magic number by looking where this query is being used, like: in an hex editor should be the address 0x0008A8F3 ( NOTE: there is space for 1 signed byte, the maximun signed byte is 0x7F = 127 ) ( there are also more queries with this magic number, but i think this one does the work you want ). edt:----- V 1.36 Have you tested it out? Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Totoka 152 Report post Posted October 27, 2016 6 hours ago, Shako said: Have you tested it out? No; I'm currently unable to test it, It doesn't change the limit ? - Did you tried to set 1, and then join with 2 characters ? Quote Discord: andresc Share this post Link to post Share on other sites
Shako 97 Report post Posted October 27, 2016 11 minutes ago, Totoka said: No; I'm currently unable to test it, It doesn't change the limit ? - Did you tried to set 1, and then join with 2 characters ? I haven't tested it, Will tell you once I have. Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Totoka 152 Report post Posted October 27, 2016 1: This one should be the correct to go, by moving the lessThan operator, there can be a range of 1-999 ex: 2: I think is not applied, this option should not be used. 3: You can also change this number(if you don't go for option 1), but it is very limited upto 127 (01 to 7F) Explanation: This query suppose to be executed when a new member has been approved to join the guild, If it fails, there should be a rollback, and the character shall get a failure message. The reason to fail: This query update the guild, if member_total<999 , which means this guild has reached the maximum amount of users. 2 Quote Discord: andresc Share this post Link to post Share on other sites
Shako 97 Report post Posted October 27, 2016 @Totoka Thanks! I will definitely try it out! Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Eviles 179 Report post Posted November 18, 2016 @Totoka What about Guild Ui Members / Maximum, which there is: MemberQty/80 ? Any idea? Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted November 18, 2016 47 minutes ago, Satan said: @Totoka What about Guild Ui Members / Maximum, which there is: MemberQty/80 ? Any idea? There is a magic number within the gameserver which is being replicated as the maximum, it might be replaced find these yellow bytes on your gameserver, and change the 50 - note: this value is limited to a range from 0 to 7F there is also another solution, for the client side, which is by removing the maximum dynamic value, or just changing the string format to accept a single number instead, " %d " " %d / ?? " " %04d " =) 2 Quote Discord: andresc Share this post Link to post Share on other sites
Eviles 179 Report post Posted November 18, 2016 @Totoka Thank you so much!! Quote Share this post Link to post Share on other sites
Zackeus 2 Report post Posted April 27, 2022 On 10/27/2016 at 12:26 PM, Totoka said: 1: This one should be the correct to go, by moving the lessThan operator, there can be a range of 1-999 ex: 2: I think is not applied, this option should not be used. 3: You can also change this number(if you don't go for option 1), but it is very limited upto 127 (01 to 7F) Explanation: This query suppose to be executed when a new member has been approved to join the guild, If it fails, there should be a rollback, and the character shall get a failure message. The reason to fail: This query update the guild, if member_total<999 , which means this guild has reached the maximum amount of users. After this changes, i couldnt run Gameserver Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted April 27, 2022 Hello @Zackeus, What error did you encounter? Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites