IRC chat
Go Back   Sleepywood.net MapleStory Forum > MapleStory > General MapleStory
Welcome to the Sleepywood.net MapleStory Forum.
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
The markets are viewable only if you're a member.

Although sleepywood.net's main theme is MapleStory, don't forget to check out the following sections:

Other Nexon games
Affiliate forums
Miscellaneous
lol MapleStory

Closed Thread
 
Thread Tools Display Modes
Old January 6th, 2008, 5:05 PM   #1
Sp4z
Zombie Mushroom
 
Sp4z's Avatar
 
Join Date: Feb 2005
IGN: Spaz
Gateway: Scania Global
Class: Hero
Guild: TeamIDB
Sp4z is on a distinguished road
Default Presenting openMSsig! (source only)

Over my winter break, I decided to write an open-source MS sig generator. Why? I thought it'd be a fun and useful project, and would help me learn about dynamic image generation with PHP and how to use .htaccess to do cool things like access the script at http://www.site.com/sig/yourIGNhere instead of http://www.site.com/sig/sig.php?char=yourIGNhere. I'm also a little sick of the reinventing the wheel that goes on. We've been through how many accuracy calculators?

Update: Thanks to all who have used openMSsig and contributed suggestions and bug reports. Having a giant thread for it is a bit unwieldy, so I'm moving openMSsig to a sourceforge page. Another reason is that I can host the download there instead of on my cs.stevens.edu space, which I will lose upon graduating. I will no longer put new versions on my cs.stevens.edu space, only "patch" directories of changed files between versions, at least until I have a real patching method.

Right now, the sourceforge page has a tracker for bug reports, feature requests, and support requests, download of the current version, and a forum. No sourceforge login is required for any of that. Please use the tracker and forum if you need help or have a bug report or feature request.

In the future, I'll have documentation on the sourceforge as well.

I may or may not see anything posted here from now on.

Requirements:
  • PHP 5.0 or higher
  • GD Image PHP extension with FreeType support
  • PCRE (perl-compatible regular expressions) PHP extension (this one is enabled by default, it shouldn't be a problem)
  • http fopen wrapper enabled. (enabled by default but some hosts turn this off)
  • If you want users to be able to access the sig by anything other than MSsig.php?char=theirIGN you must be using Apache. One of the options for changing how it can be accessed requires the mod_rewrite Apache module.
I do not have the resources to host my sig generator for the general sleepywood community; however, a friend and guildmate of mine has graciously agreed to host it if I limit access to friends and guildmates, so here's an example of it in action:



(if that gets taken down or moved, here is a static example):
OGM Spoiler!


The script allows many different background images to be stored on the server, with a corresponding background configuration file for each. Background configuration files contain information on what kinds of things to draw on the background image (character image, name, level, etc) and properties of those things (x and y of where to draw, color, size, font, etc). Background configuration is somewhat inflexible right now; it does not allow more than one of the same object to be drawn, specifying the order of drawing, specifying properties after character data has been fetched, or having what is drawn depend on character data. Nevertheless, it should be sufficient for most needs. Version 2's layout format fixes these problems.

By default, the script is accessed via MSsig.php?char=yourIGNhere. If your hosting uses Apache and allows the use of .htaccess files, you can change how the script can be accessed by uncommenting the appropriate lines in the included .htaccess file. You can change it to MSsig.png?char=yourIGNhere, or yoursite.com/directory/yourIGNhere by either sending the user's browser a redirect or by going directly to the script. The redirect is not as clean as going directly to the script, but the latter option requires the mod_rewrite Apache module.

The background to use is specified by appending either "&bg=backgroundname" or "?bg=backgroundname" to the url, depending on how the host has the access set up. If the background is not specified, a default is used.

Installation instructions are included with the source. Please read them before asking for help. Questions, comments, suggestions, background submissions, and code are all welcome. The following features are already on the todo list:
  • Server caching option, for both images and character data
  • Adding character attributes from all the different kinds of character search (eg fame search). openMSsig will figure out how to get all attributes a layout needs in the least amount of searches
  • Removing backwards compatibility for the original drawInfo format
  • Using exceptions instead of return codes to signal errors
  • rankDelta key for charInfo
  • Factoring out things that depend on the rankings site into their own file, making for easier updating
  • More power for layout authors to skip certain steps or replace with their own function. For example, custom authentication methods
  • Custom error functions, allowing for example a "sorry, there was an error" image to be displayed
  • Python GUI app, allowing people to design layouts without needing PHP and a web server to test and without having to manually write the layout file
  • Support for other versions of MS?
  • Option for allowing user-specified background and parameters?
Code written by Sp4z, except expTable.php written by regelus (with help from Hidden Street's experience numbers). Sample background image made by regelus. Sample background configuration made by Sp4z. Job images, world images, immigrant image, character and pet images are owned by Nexon.

All code is licensed under a Creative Commons Attribution License. This means that you can do whatever you want with it, including modify it, distribute it, use for commmercial or noncommercial purposes, relicense it, possibly under a closed source license - as long as you retain the "originally written by ..." line.
__________________

Last edited by Sp4z; October 7th, 2008 at 8:32 PM.
Sp4z is offline  
Old January 6th, 2008, 5:21 PM   #2
Milelke
Lupin
 
Milelke's Avatar
 
Join Date: Jun 2007
Gateway: Scania Global
Gateway2: Demethos Global
Class: Cleric
Milelke is an unknown quantity at this point
Default

I dont like installing anything.
Good idea though, even though theres like, 3 other sig generators
OSS=good
__________________

Last edited by Milelke; January 6th, 2008 at 5:44 PM.
Milelke is offline  
Old January 6th, 2008, 5:30 PM   #3
Milelke
Lupin
 
Milelke's Avatar
 
Join Date: Jun 2007
Gateway: Scania Global
Gateway2: Demethos Global
Class: Cleric
Milelke is an unknown quantity at this point
Default

OSS?
Im sorry, this is one thing i dont know about computers, ill be honest, i really dont see a humongous difference, mabye thier might be a small difference but, nvm.
Just- Whats OSS
__________________
Milelke is offline  
Old January 6th, 2008, 5:38 PM   #4
Crimsonmyst
loldragonfire
 
Crimsonmyst's Avatar
 
Join Date: Sep 2005
IGN: DanmakuRain
Gateway: Bera Global
Gateway2: Windia Global
Class: Corsair
Guild: Typoists
Crimsonmyst is an unknown quantity at this point
Default

Quote:
Originally Posted by Milelke
No offense, but dont we already have a free, to public /no burn/ and better looking sig generator./no burn/
Im not trying to be offensive but really.
I dont like installing anything.
Good idea though, even though theres like, 3 other sig generators
Better looking? It's whatever you want it to look like. Some people like taking the time to customize their signatures. Personally, I don't care but nice work.
__________________
Bera
LakeMyst L123 Bowmaster / DanmakuRain L15x Corsair Scrolling record: 60% 69p38f, 10% 4p43f, 70% 27p2f11b, 30% 29p36f36b
Crimsonmyst is offline  
Old January 6th, 2008, 5:40 PM   #5
SleepyB7
Jr. Boogie
 
SleepyB7's Avatar
 
Join Date: Sep 2005
IGN: AuroraGlow
Gateway: Bera Global
Class: Bishop
SleepyB7 is an unknown quantity at this point
Default

Ooh, this looks fun! :D *downloads and jumps on the new sig bandwagon*

First we had that kind of lame one, then the henesys one that EVERYONE has now, and now this. :3

:D

EDIT: Too bad I have no place to upload this too. Well, I could somewhere, but I'm too lazy. Maybe I'll do this later xdd

Last edited by SleepyB7; January 6th, 2008 at 5:45 PM.
SleepyB7 is offline  
Old January 6th, 2008, 5:40 PM   #6
Zankarst
I kill dem gobay.
 
Zankarst's Avatar
 
Join Date: Dec 2006
IGN: Sn1ppler
Gateway: Khaini Global
Class: Sniper
Guild: SOAP
Zankarst is on a distinguished road
Default

Hey, that's pretty useful, was wondering if someone would actually do something like this.
__________________

[x][x][x]
Zankarst is offline  
Old January 6th, 2008, 5:43 PM   #7
Milelke
Lupin
 
Milelke's Avatar
 
Join Date: Jun 2007
Gateway: Scania Global
Gateway2: Demethos Global
Class: Cleric
Milelke is an unknown quantity at this point
Default

OH
OSS
OMG YAAY
just what i wanted
*edits first post*
__________________
Milelke is offline  
Old January 6th, 2008, 5:44 PM   #8
UltraNova2
Zombie Mushroom
 
Join Date: Jul 2007
IGN: Ultranova2
Gateway: Scania Global
Class: Beginner
UltraNova2 is an unknown quantity at this point
Default

That's very selfless of you to release the source... I respect that trait :D
Nice work.
UltraNova2 is offline  
Old January 6th, 2008, 6:45 PM   #9
simon311A
...
 
simon311A's Avatar
 
Join Date: Jan 2005
IGN: simon311A
Gateway: Scania Global
Class: Shadower
simon311A is an unknown quantity at this point
Default

Thanks :D
__________________
simon311A is offline  
Old January 6th, 2008, 6:48 PM   #10
ramenXramen
Zombie Mushroom
 
ramenXramen's Avatar
 
Join Date: May 2005
ramenXramen is an unknown quantity at this point
Default

wow
very generous of you :D
thx :D:D
__________________
ramenXramen is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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


All times are GMT -7. The time now is 11:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.