Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (-1) | Shanky.com
biller coding
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  CTF Flaggers warp. Post :: Post 2 zones on 1 server find out how to do...  View next topic  
Author Message
BDwinsAlt
Agurus's Posse


Age:35
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Wed Jul 21, 2004 1:08 am    Post subject: biller coding Reply to topic Reply with quote

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 biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jul 21, 2004 3:31 am    Post subject: Reply to topic Reply with quote

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 icon_wink.gif
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
MS-DOS
Whats with people wanting their name changed?


Age:57
Gender:Gender:Male
Joined: Apr 04 2004
Posts: 96
Location: Spain
Offline

PostPosted: Wed Jul 21, 2004 8:42 am    Post subject: Reply to topic Reply with quote

icon_lol.gif CypherJF.
BDwinsAlt why you want a welcome message, if you cant even edit it?
_________________
SSN Owner
SSN Biller Programmer Administrator
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jul 21, 2004 9:14 am    Post subject: Reply to topic Reply with quote

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. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
BDwinsAlt
Agurus's Posse


Age:35
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Wed Jul 21, 2004 2:29 pm    Post subject: Reply to topic Reply with quote

lol i think i can find it from here thanks some of you. tongue.gif lol
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Thu Jun 02, 2005 11:51 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Jun 03, 2005 12:07 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Fri Jun 03, 2005 12:11 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Jun 03, 2005 1:22 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Fri Jun 03, 2005 1:32 am    Post subject: Reply to topic Reply with quote

Thanks
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 5:55 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jun 08, 2005 1:49 pm    Post subject: Reply to topic Reply with quote

No. The code I gave you ^-^ is correct - re-read it and try it again.
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 2:00 pm    Post subject: Reply to topic Reply with quote

I did. I tried it two ways
Code: Show/Hide

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");


Code: Show/Hide

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jun 08, 2005 3:21 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 3:24 pm    Post subject: Reply to topic Reply with quote

Hmm, ok, thanks Cypher for helping
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jun 08, 2005 3:35 pm    Post subject: Reply to topic Reply with quote

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. icon_smile.gif Find the IF-THEN statement where it checks to validate a normal - existing player. Then add it before/after it.
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:36
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jun 08, 2005 3:36 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
[Comms]
// Should new users be asked to consider?
AskNewUsers=0


In subbill.ini, make sure that's 0 so the SubSpace registration won't come up in ?man. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jun 08, 2005 3:47 pm    Post subject: Reply to topic Reply with quote

here's the sniplet from my biller...

Code: Show/Hide
LUserNode * user = new LUserNode(Packet->Source, player, NULL, GetLong(Packet->Message, 70));
Packet->Source->UserList.Append(user);

user->SendArena("welcome!");
user->CheckMsg(5000);  // sends a message listing when they enter.

printf("%i - New player entering: %s\n", Packet->Source->ScoreID, player->Name);


Is that what your code looks like?
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 4:00 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide

LUserNode * user = new LUserNode(Packet->Source, player, NULL, GetLong(Packet->Message, 70));
         Packet->Source->UserList.Append(user);
         user->SendArena("Welcome to the SSD Biller. Type ?man for a list of commands");
         user->CheckMsg(10000);
         
         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");
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jun 08, 2005 4:04 pm    Post subject: Reply to topic Reply with quote

And it doesn't work?
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 4:13 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Confess
Zone Hoster


Joined: Feb 10 2004
Posts: 532
Offline

PostPosted: Wed Jun 08, 2005 4:30 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 4:40 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:36
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jun 08, 2005 5:37 pm    Post subject: Reply to topic Reply with quote

The ignore button is cool. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jun 08, 2005 5:37 pm    Post subject: Reply to topic Reply with quote

Oh, I forgot about that, thanks
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 75 page(s) served in previous 5 minutes.

phpBB Created this page in 0.224297 seconds : 49 queries executed (80.8%): GZIP compression disabled