Perl question

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Perl question

 
0
  #1
Dec 10th, 2006
Hello,

I have a question about perl I wanna connect a program for example a login/user creation to a website It a program That once you make an Account it sends that account to the game server which requires login to play And once you make that Account you can Online. So What I want to do to is have a program where you can create ur account and it sends it to The game server so then you can login
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Perl question

 
0
  #2
Dec 10th, 2006
Look into using the WWW::Mechanize module.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Re: Perl question

 
0
  #3
Dec 10th, 2006
Ok take a look at this source http://www.prodigywow.info/register.php

It a private Server for WoW I dont play on it just found that When you register it sends it to a folder on the server And there u go u can play Basicly What I want is U go to the site you register it sends it automaticlly to the folder and there u go U go an account is there anyway I can do that?
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Re: Perl question

 
0
  #4
Dec 10th, 2006
I dont know if that Was good enough to explain

Ok I have a game lets pretend Its a mmorpg Heh

It requires login to play...

What you do is you go online you agree to the stuff you type in a code Its correct you move foward to the accout creation page
Your there you type in ur name and password... You hit accept it sends it to the account folder where all the acounts are and its now a Txt file which when you try to login it searches for it and ur on!
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Perl question

 
0
  #5
Dec 10th, 2006
It sounds like what you are asking for is bascially a robot that automatically signs you up, and most servers hate people that do that because 999 out of a 1000 times it would be used for some type of abuse. I personally have no interest in helping you with this question besides what I already said, look into WWW::Mechanize (perl).
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Re: Perl question

 
0
  #6
Dec 10th, 2006
Ok then dont... But umm u would need auth key
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,467
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 267
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: Perl question

 
0
  #7
Dec 11th, 2006
So search for some Auth module on CPAN/ActiveState that might help you. There are lots of them.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Re: Perl question

 
0
  #8
Dec 11th, 2006
Uhhh I dont know didnt really look at it what I am saying is this... I have a "Game" That I want your to LOGIN for the game. You need to create a account on my games website... You clik the link you Put in your information, you click "Submit" Then it sends that information DIRECTLY to the the server. Do I need to have the game make a little site login thing with the port 80 at the end for example http://Thecoolestfp.com:8080 ? Or can I just add something on my website like a script program something...
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 263
Reputation: Mushy-pea is an unknown quantity at this point 
Solved Threads: 1
Mushy-pea's Avatar
Mushy-pea Mushy-pea is offline Offline
Posting Whiz in Training

Re: Perl question

 
0
  #9
Dec 11th, 2006
You don't need to deal with ports or FTP to do this. What you require can be done with a form on your website and a Perl script to process the form on the server. There may be open source scripts that can fill your requirements already out there (try HTadmin). However, if you want / need to implement your own solution you need to first assess your requirements. The script will need to do the following things:

1. Validate and process the submitted registration forms.
2. Update a record of registered users, using either a text file or a real database.
3. Process login forms and check username / password details against your database / text file.
4. Serve "members only" pages to those who submit the correct details.

If you do take this approach, look into cgi-lib. It's a Perl library that will make processing forms easier. Also, be sure to check your code is secure before putting it on your website or you might get hacked into. I think your best bet though is to search for existing scripts on Google. Good luck.

Steven.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 13
Reputation: jaguar founder is an unknown quantity at this point 
Solved Threads: 0
jaguar founder jaguar founder is offline Offline
Newbie Poster

Re: Perl question

 
0
  #10
Dec 11th, 2006
Alright, I think you got what I said. So there will be a database...Where? On my computer or site.... And how will the game connect to it?...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum


Views: 2827 | Replies: 13
Thread Tools Search this Thread



Tag cloud for Perl
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC