| Author |
Message |
BDwinsAlt Agurus's Posse

Age:35 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Wed Jul 21, 2004 1:08 am Post subject: biller coding |
 |
|
|
|
ok if anyone knows how to or has the code to make it when u enter a zone on your biller it says Welcome to the biller blah blah blah type ?man for help, can you tell me what file to put it in and where to write in my own thing to say .
I have Catid's SSB1.1j
If you want to write it in yourself i would like it to say
"Welcome to the SSBD Biller. Please type ?man for help. "
Please help. Explody wasn't that nice about it in the past grr. lol  |
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jul 21, 2004 3:31 am Post subject: |
 |
|
|
|
rotfl (about the comment about explody)... the src is included w/ the biller... but i'd locate the code area where it tells a user whether they have messages or not  _________________ Performance is often the art of cheating carefully. - James Gosling |
|
| Back to top |
|
 |
MS-DOS Whats with people wanting their name changed?

Age:57 Gender: Joined: Apr 04 2004 Posts: 96 Location: Spain Offline
|
Posted: Wed Jul 21, 2004 8:42 am Post subject: |
 |
|
|
|
CypherJF.
BDwinsAlt why you want a welcome message, if you cant even edit it? _________________ SSN Owner
SSN Biller Programmer Administrator
 |
|
| Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Jul 21, 2004 9:14 am Post subject: |
 |
|
|
|
He can edit it if he knows where the message is in the code, meh, that can't be hard to find out.
Too bad I don't feel like doing it.  |
|
| Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:35 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Wed Jul 21, 2004 2:29 pm Post subject: |
 |
|
|
|
lol i think i can find it from here thanks some of you. lol |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Thu Jun 02, 2005 11:51 pm Post subject: |
 |
|
|
|
Well, I've been looking, and I can't find it.
Can someone tell me what the code line is?
it's in the command file, right? _________________ SSE Network Administrator |
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Jun 03, 2005 12:07 am Post subject: |
 |
|
|
|
Can you stop posting in topics that died a year ago?
You just need to locate where the biller authenticates the player onto the biller - find the block that allows the OK player in and send the message. |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Fri Jun 03, 2005 12:11 am Post subject: |
 |
|
|
|
Umm, don't you yell at people for creating new threads?
I continued in this one so that I didn't get yelled at.. Sorry.. I'll just start making new threads for everything that I ask |
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Jun 03, 2005 1:22 am Post subject: |
 |
|
|
|
fine. in rpc.h you should be able to locate the line:
printf("%i - New player entering: %s\n", Packet->Source->ScoreID, player->Name);
Add..
user->SendArena("welcome!");
above it.... and it should send 'welcome' when they login. |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Fri Jun 03, 2005 1:32 am Post subject: |
 |
|
|
|
| Thanks |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 5:55 am Post subject: |
 |
|
|
|
Umm, I tried that, and it didn't work. tried about and below it, as well as:
player->SendArena("welcome!");
What's the correct code, and where to put it, or what am I doing wrong? |
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jun 08, 2005 1:49 pm Post subject: |
 |
|
|
|
| No. The code I gave you ^-^ is correct - re-read it and try it again. |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 2:00 pm Post subject: |
 |
|
|
|
I did. I tried it two ways
printf("%i - New player entering: %s\n", Packet->Source->ScoreID, player->Name);
user->SendArena("Welcome to the SSD Biller. Type ?man for a list of commands");
|
user->SendArena("Welcome to the SSD Biller. Type ?man for a list of commands");
printf("%i - New player entering: %s\n", Packet->Source->ScoreID, player->Name);
|
|
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jun 08, 2005 3:21 pm Post subject: |
 |
|
|
|
| Dunno, it works fine for me - as I added it in while I was retrofiting the biller to use a MySQL database - and it worked then. :shrug: |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 3:24 pm Post subject: |
 |
|
|
|
| Hmm, ok, thanks Cypher for helping |
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jun 08, 2005 3:35 pm Post subject: |
 |
|
|
|
Oh rather, sorry. That message will only appear when they are new to the biller - not when they're just logging in. That's why. Find the IF-THEN statement where it checks to validate a normal - existing player. Then add it before/after it. |
|
| Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:36 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
|
| Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jun 08, 2005 4:04 pm Post subject: |
 |
|
|
|
| And it doesn't work? |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 4:13 pm Post subject: |
 |
|
|
|
No..
Should:
user->CheckMsg(10000);
be
user.)CheckMsg(5000);?
Change 10000 to 5000?
EDIT:
I added this, so that I didn't have to make a new post.
I copied what you had cypher, and pasted it in my src, compiled it, and ran it, and it still didn't work. |
|
| Back to top |
|
 |
Confess Zone Hoster
Joined: Feb 10 2004 Posts: 532 Offline
|
Posted: Wed Jun 08, 2005 4:30 pm Post subject: |
 |
|
|
|
| If you are going to create a biller, make something unique, dont copy biller formats like the tsunade, versettian, and SSI Biller. Copying a format is stealing, ya know? |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 4:40 pm Post subject: |
 |
|
|
|
| Confess, I don't give a crap what you say. I'm not going to listen to a thing that you say, I'm editing/making my own biller. I'm using catid's biller to edit, and that's not stealingl. |
|
| Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:36 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Wed Jun 08, 2005 5:37 pm Post subject: |
 |
|
|
|
The ignore button is cool.  |
|
| Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jun 08, 2005 5:37 pm Post subject: |
 |
|
|
|
| Oh, I forgot about that, thanks |
|
| Back to top |
|
 |
|