Project 1999

Go Back   Project 1999 > General Community > Off Topic

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 07-10-2017, 02:05 PM
Treefall Treefall is offline
Sarnak


Join Date: Nov 2012
Posts: 246
Default Learn Python for personal P99 apps?

Hi all,

I'd really like to learn programming for fun. I know 0%. It would not be something I'd ever make a career out of.

With that said, I've read that it's all about finding problems/projects you're motivated to fix/make happen.

Would Python be capable of reading p99 chat logs and then using that information to display related information?

My goal isn't to make anything that messes with the software or automates, rather I just want to try making fun projects that turn data into relevant information.

Would another language be better suited?
  #2  
Old 07-10-2017, 02:34 PM
Crookstinger Crookstinger is offline
Sarnak

Crookstinger's Avatar

Join Date: Jan 2016
Posts: 232
Default

Python works fine for writing a log parser. I've written my own in Python that does a variety of tasks. I don't know any other languages extensively, so I can't speak to whether or not Python is best, but for what I need it to do, it works great. I'm sure there are several other languages that would work as well if not better, but I myself am learning Python so that's what I used.
  #3  
Old 07-10-2017, 03:25 PM
Izmael Izmael is offline
Planar Protector

Izmael's Avatar

Join Date: Jul 2015
Posts: 2,289
Default

If on Linux or Mac, I'd recommend just shell scripting. That will teach you a lot of Unix basics that a "real" language won't.

I do not recommend Perl as first language to learn in 2017.

Python pretty good if you end up disliking shell.
  #4  
Old 07-10-2017, 03:26 PM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 10,140
Default

Python is a great option. Javascript might be a better one, because it can be used in places Python can't (eg. web), but for pure file parsing Python is probably easier to learn.
__________________

Loramin Frostseer, Oracle of the Tribunal <Anonymous> and Fan of the "Where To Go For XP/For Treasure?" Guides
Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details.
  #5  
Old 07-10-2017, 03:28 PM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 10,140
Default

Quote:
Originally Posted by quido [You must be logged in to view images. Log in or Register.]
I like Perl for log monitoring.
The 1990s called: they want their programming language back [You must be logged in to view images. Log in or Register.]
__________________

Loramin Frostseer, Oracle of the Tribunal <Anonymous> and Fan of the "Where To Go For XP/For Treasure?" Guides
Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details.
  #6  
Old 07-10-2017, 03:43 PM
skarlorn skarlorn is offline
Banned


Join Date: Jul 2016
Location: The Misty Thicket
Posts: 4,863
Default

when former guide moregan and I were planning on creating custom server events, I started learning Perl to write stuff for EQ

then he went crazy.

so maybe Perl would be a good idea, since a GM and Jeremy both suggest using it
  #7  
Old 07-10-2017, 03:45 PM
maskedmelonpai maskedmelonpai is offline
Fire Giant

maskedmelonpai's Avatar

Join Date: Aug 2016
Location: Left hand of the Master
Posts: 695
Cool

i thought perl is what all the eqemu quest scripts is written in? I learned little bit for when I was gonna make my own server I made a Orator of Faiths NPC to change religion so my dark elf could warship the Duke and it work. it was just a proof of concept thingy, but then I realize the stock axclassic database that I was using was full a bunch a garbage :c and i not liek the idea of all that sql editing since I dunno nothing about it.
Last edited by maskedmelonpai; 07-10-2017 at 03:49 PM..
  #8  
Old 07-10-2017, 03:51 PM
skarlorn skarlorn is offline
Banned


Join Date: Jul 2016
Location: The Misty Thicket
Posts: 4,863
Default

Quote:
Originally Posted by maskedmelonpai;2553717I
made a Orator of Faiths NPC to change religion so my dark elf could warship the Duke and it work.
Quote:
Originally Posted by skarlorn [You must be logged in to view images. Log in or Register.]

*Triggered 4 squirt*
  #9  
Old 07-10-2017, 04:05 PM
Patriam1066 Patriam1066 is offline
Planar Protector

Patriam1066's Avatar

Join Date: Jul 2014
Posts: 5,329
Default

Quote:
Originally Posted by quido [You must be logged in to view images. Log in or Register.]
Which language is better for extraction and manipulation?
Hebrew
__________________
God Bless Texas
Free Iran
  #10  
Old 07-10-2017, 04:10 PM
skarlorn skarlorn is offline
Banned


Join Date: Jul 2016
Location: The Misty Thicket
Posts: 4,863
Default

hueheueheu
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:41 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.