Code Making...

All Helbreath Server Source Discussion here.
Post Reply
laizkloom
Regular
Posts: 78
Joined: Sun Feb 27, 2005 8:41 am

Post by laizkloom »

Can anyone teach me to make code for guild?
It shud be like this:
I type /Archer
And then i'm in guild Archer.

Plz someone teach or help me with this thing.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

laizkloom wrote: Can anyone teach me to make code for guild?
It shud be like this:
I type /Archer
And then i'm in guild Archer.

Plz someone teach or help me with this thing.
Um...maybe if you request it on the correct forums... :unsure:
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
binarydata
DBfiller
Posts: 3816
Joined: Fri Oct 31, 2003 5:30 am
Location: San Diego CA, USA
Contact:

Post by binarydata »

i moved it here for improper format and unclear src request
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />
Kenshi
Loyal fan
Posts: 208
Joined: Thu Nov 20, 2003 8:27 am

Post by Kenshi »

useless command?
get rooted.
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Kenshi wrote: useless command?
I think he may be onto somthing. Preset guilds could be a good idea.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

Yes, this could be a good idea but who will be the Guildmaster of each guild ? Maybe have gamemasters in both citys that will be guildmasters...


You should first create the guilds, then add a command like this "/joinguild" where you add the guildname. /joinguild mage, /joinguild warrior...

Now your func will have to check the city of the player and change the guild ID and guild rank in his infos... easy to code but i won't do it for you since in think it's useless without solving the gamemasters problem.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Slayer
&lt;3 bd long time
Posts: 947
Joined: Thu Mar 17, 2005 9:08 pm

Post by Slayer »

If he means that anyone can join the guild with a command, that's a gay idea. Though, you could make a command for guildmasters, to do the same as the ticket, popping up a window. You might need to remove a distance check for that though.
<img src='http://i9.tinypic.com/2vs292h.jpg' border='0' alt='user posted image' />
Pener
Member
Posts: 110
Joined: Fri Feb 27, 2004 3:57 pm
Location: Czech Republic

Post by Pener »

he saw this in HBSH , there is 5 classes... take warrior, u type /warrior - u get skills , spells and get guild "Warrior". this guild is for ares n elv same , they can tall in guild chat :blink:
<img src='http://i19.photobucket.com/albums/b153/s00pr/Pener.jpg' border='0' alt='user posted image' /><br><img src='http://i19.photobucket.com/albums/b153/ ... anner3.jpg' border='0' alt='user posted image' />
Slayer
&lt;3 bd long time
Posts: 947
Joined: Thu Mar 17, 2005 9:08 pm

Post by Slayer »

Pener wrote: he saw this in HBSH , there is 5 classes... take warrior, u type /warrior - u get skills , spells and get guild "Warrior". this guild is for ares n elv same , they can tall in guild chat :blink:
Ahh.. well, I don't think it looks at cities, only when joining. If you just force the join I guess it would work. And with premade guilds it's quite possible..
<img src='http://i9.tinypic.com/2vs292h.jpg' border='0' alt='user posted image' />
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

A good idea woul be this...

Code: Select all

- Friend List or Guild Messege
   If you a member of a guild lets say guildname TEST now every member that logs into the game and is a member of TEST it 
   will say a messege in guild chat like "HGServer: User xxx has logged on" and do 1 for logging off.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

locobans wrote: A good idea woul be this...

Code: Select all

- Friend List or Guild Messege
   If you a member of a guild lets say guildname TEST now every member that logs into the game and is a member of TEST it 
   will say a messege in guild chat like "HGServer: User xxx has logged on" and do 1 for logging off.
Hum... not a bad idea!!

But it would have the same problem as the /who command for displaying ares and elv, it will only read the clients connected to this HG.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Jaap
Loyal fan
Posts: 390
Joined: Thu Apr 22, 2004 8:21 am

Post by Jaap »

diuuude wrote:
locobans wrote: A good idea woul be this...

Code: Select all

- Friend List or Guild Messege
   If you a member of a guild lets say guildname TEST now every member that logs into the game and is a member of TEST it 
   will say a messege in guild chat like "HGServer: User xxx has logged on" and do 1 for logging off.
Hum... not a bad idea!!

But it would have the same problem as the /who command for displaying ares and elv, it will only read the clients connected to this HG.
That's what the gateserver is for, so you can send a message to all HG's.
Post Reply