Search found 9 matches

by arcasok
Thu Apr 28, 2005 11:49 am
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

yea..Drajwer im using ur ShowNotice =)


but Jaap is still wont work...although im using a Elvine player (not a gm)

the result still Aresden:0 Elvine:0...=(

can u try it out......
by arcasok
Thu Apr 28, 2005 8:30 am
Forum: Helbreath Server Source
Topic: Auto Generate Msg Ingame
Replies: 0
Views: 550

how to code .....inorder to generate a auto msg in game.....
like every 10 minutes the client will auto generate msg like advertising.
by arcasok
Thu Apr 28, 2005 8:20 am
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

oh...i have another function before the "/who" command function end

ShowNotice(iClientH,who);
void CGame::ShowNotice(int iClientH,char *pMsg)
{
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_NOTICEMSG, NULL, NULL, NULL, pMsg);
}


and i think this is the function tat print the array on the client.

So i ...
by arcasok
Thu Apr 28, 2005 8:13 am
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

the "WORD)" actually is copied error....in my code is"(WORD)"

And one thing mind i ask....izzit this command line should print it to the client?
wsprintf(who,"Total players connected: %d. Aresden: %d. Elvine: %d.",(WORD)m_iTotalGameServerClients,aresdenCount,elvineCount)

let assuming there is ...
by arcasok
Wed Apr 27, 2005 6:09 pm
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

i edited the code u gave me


void CGame::CountSides(int* aresdens, int* elvines) {
register int i;

for (i = 0; i < DEF_MAXCLIENTS; i++) {

if (m_pClientList != NULL) {

if (memcmp(m_pClientList ->m_cLocation, "are", 3) == 0) {
*aresdens++;
} else if (memcmp(m_pClientList ->m_cLocation, "elv", 3 ...
by arcasok
Fri Apr 22, 2005 9:06 am
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

sry ...jaap i facing problem again on the code...i edited the code...n the result i get is 0 for both side..and i have 1 aresden player login in the game
the result should be aresden 1 elvine 0

where went wrg?

by arcasok
Thu Apr 21, 2005 6:14 pm
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

THKs you THKs you THKs you very much Jaap
thks for the code...nice code ......ohyea
by arcasok
Thu Apr 21, 2005 4:44 pm
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

thks Jaap,

But izzit the algorithm u gave me is for the number of elvine n aresden tat have registed to the server.....
And wat i need is ....to create a command like /who ,the only different thing is the command show u how many elvines n aresdens is in the game.(active player)
by arcasok
Thu Apr 21, 2005 5:27 am
Forum: Helbreath Server Source
Topic: Seek Help
Replies: 17
Views: 3114

wat is the code or which function i can get it?
to get the total number of elvines and aresdens
(Note! not the total number of player in server)

thks very much