This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] [C++]  Help with GuildHanlder.cpp  (Read 1619 times)

chamorrorenzo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 27
    • View Profile
[QUESTION] [C++]  Help with GuildHanlder.cpp
« on: April 22, 2014, 07:23:21 am »
Hi Guys i need help with Guild c++

i think its easy i want to remove the CONTROL button from de Guild.
i dont want peopple to use that bottom i really need a solution
just GUild master can use this button but i dont want them to use that

pls i need that fast :(
glad u can helpme
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] [C++]  Help with GuildHanlder.cpp
« Reply #1 on: April 22, 2014, 01:26:27 pm »
Control button ? Do you mean This one ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] [C++]  Help with GuildHanlder.cpp
« Reply #2 on: April 22, 2014, 02:41:31 pm »
Just stop handling all the packets related to this button. You'll have to search for them but it shouldn't be too difficult to find them. Mass comment out the code that handles it / make it so that only GMs can use it.

Then hide it client side.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

chamorrorenzo

  • Registred Member
  • Race Changer
  • *****
  • Posts: 27
    • View Profile
Re: [QUESTION] [C++]  Help with GuildHanlder.cpp
« Reply #3 on: April 22, 2014, 04:18:57 pm »
Quote from: "Ascathos"
Control button ? Do you mean This one ?

yes mate that one!

i really dont know anything about c++ thats why i need ur help :(
please is kinda important hope u can help me  :(




@stoneharry
i need this for my server,  c++ is not my thing
hope u can help me or be more specific im bad at this

I DONT WANT PEOPPLE TO USE THAT BUTTON EVEN IF U ARE GUILD MASTER

thanks u pleaseeeeeeeeee help
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Heliocratic

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Re: [QUESTION] [C++]  Help with GuildHanlder.cpp
« Reply #4 on: June 12, 2014, 11:51:05 pm »
If you want to go another route, you could just remove the control button in the interface's LUA. LUA is techincally easier to learn than C++
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: [QUESTION] [C++]  Help with GuildHanlder.cpp
« Reply #5 on: June 29, 2014, 07:00:10 am »
Quote from: "Heliocratic"
If you want to go another route, you could just remove the control button in the interface's LUA. LUA is techincally easier to learn than C++

I'll second this idea. I, just today in-fact, had to remove a button and all of it's functions from the game and all I did was edit an xml and lua file by doing a few small edits. It's probably the easiest route to go.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.