• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[MOD] Guild management

Zysen

=)
Joined
Sep 18, 2010
Messages
2,270
Reaction score
170
Location
Bosnia & Herzegovina
Guild management MOD


Hello guys!

This mod will make it easy to make guilds ingame that you should normally do with talkactions.


Screenshots




ZWoV-H.png



6peUxR.png



eP8ZQb.png



ZhWIyt.png







How to install

Just drop it to your 'modules' directory.


How to configure

You need to modify guild.lua if you have different commands (which most of you have). Let's say you need to replace the !createguild command with !makeguild:

1. !createguild

Lua:
function createGuild()  local text = guildCreate:getChildById('createGuildText'):getText()
  g_game.talk('!createguild ' .. text)
  guildCreate:setVisible(false)
end

2. !makeguild

Lua:
function createGuild()  local text = guildCreate:getChildById('createGuildText'):getText()
  g_game.talk('!makeguild ' .. text)
  guildCreate:setVisible(false)
end


Download

game_guild.zip







 
Last edited:
don't work here, returned this error.

Otclient 0.6.3

ERROR: Unable to load module 'game_guild': LUA ERROR:
/game_guild/guild.lua:5: attempt to call field 'addCustomRightButton' (a nil value)
stack traceback:
[C]: in function 'addCustomRightButton'
/game_guild/guild.lua:5: in function 'init'
/game_guild/guild.otmod:8:[@onLoad]:1: in main chunk
[C]: in function 'reload'
/client_modulemanager/modulemanager.lua:125: in function 'reloadCurrentModule'
...ent_modulemanager/modulemanager.otui:134: [@onClick]:2: in function <...ent_modulemanager/modulemanager.otui:134: [@onClick]:1>
 
Thats actually a really useful idea. Never even thought about that! Gj!!
 
Looks pretty awesome. It's a shame 1.0 doesn't support the in-game guild management :(

Red
 
Back
Top