Home
Forum
Rules
Search
Login
Register
November 25, 2024, 02:58:21 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
G&S Host
is hosting quality Soldat servers for rental (USA, Australia, Germany). 24/7 Uptime servers in High Quality+Super Fast Datacenters! Please support these communities by renting a server.
Official Soldat Forums
Soldat Fans
Developers Corner
(Moderators:
jrgp
,
mar77a
)
Perl REFRESH parser
« previous
next »
Pages: [
1
]
Author
Topic: Perl REFRESH parser (Read 5430 times)
0 Members and 3 Guests are viewing this topic.
jrgp
Administrator
Flamebow Warrior
Posts: 5037
Perl REFRESH parser
«
on:
April 21, 2011, 11:10:39 pm »
http://jrgp.us/snipplets/soldat_perl_refresh_parser.pl.txt
I'll add it to the wiki in just a sec.
http://devs.soldat.pl/wiki/index.php?title=Refresh#Perl
Notice that it only parses the REFRESH format, not REFRESHX. I might add REFRESHX support sometime but for now this is useful enough for proof of concept purposes and simple things.
And since it's perl it can most likely be reduced to half its current size, but I'll leave it verbose and heavily commented since I know most of you hate perl and the least I can do is explain how it works.
Enjoy, or not.
«
Last Edit: April 21, 2011, 11:15:57 pm by jrgp
»
Logged
There are other worlds than these
jrgp
Administrator
Flamebow Warrior
Posts: 5037
Re: Perl REFRESH parser
«
Reply #1 on:
April 22, 2011, 12:34:49 am »
Shameless self promotion for something interesting I'm working on:
gimme a week or so and I'ma totally steal baka's market share. looooool
«
Last Edit: April 22, 2011, 12:40:56 am by jrgp
»
Logged
There are other worlds than these
Bonecrusher
Global Moderator
Veteran
Posts: 1397
High above
Re: Perl REFRESH parser
«
Reply #2 on:
April 22, 2011, 07:12:33 am »
hmm cant wait too see what uve come up with
Logged
Im chill like that
jrgp
Administrator
Flamebow Warrior
Posts: 5037
Re: Perl REFRESH parser
«
Reply #3 on:
April 22, 2011, 08:34:25 am »
Quote from: Bonecrusher on April 22, 2011, 07:12:33 am
hmm cant wait too see what uve come up with
Thanks.
It's happening:
That's xforwarded from my computer at home (putty/xming). I have yet to test it on native windows.
«
Last Edit: April 22, 2011, 09:05:29 am by jrgp
»
Logged
There are other worlds than these
jrgp
Administrator
Flamebow Warrior
Posts: 5037
Re: Perl REFRESH parser
«
Reply #4 on:
April 30, 2011, 12:32:31 pm »
Got a significant chunk of it done last night..
Logged
There are other worlds than these
Pages: [
1
]
« previous
next »
Official Soldat Forums
Soldat Fans
Developers Corner
(Moderators:
jrgp
,
mar77a
)
Perl REFRESH parser