Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by BillyGraham21
User Post
BillyGraham21

Micro-Goomba
Level: 5

Posts: 1/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-23-05 05:08 PM, in Grand Master Link
pictures of me having sex with your mother.

yah, i decided i really need to wrap up some loose projects, and i've been avoiding this one for about 1 year. I finally got the changes to the text engine done. Had to deal with some vertical and horizontal centering issues, line/row height and shit. Nothing important or incredibly complicated i just wasn't willing to take the time. I'm inserting the rest of the script as we speak, but it's obviously not done yet. Hell, i can't even remember if i have all the required text translated, but one way or another I will be releasing something.

that is all for now. and sorry to Heian for this not having happened last year when i planned it
BillyGraham21

Micro-Goomba
Level: 5

Posts: 2/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-24-05 12:38 PM, in Grand Master Link
Heian
Hey, I'd been wondering what happened to this project!

I'm looking forward to actually playing it; I never played the original and my only knowledge of it is the story panels you sent me.

Looking forward to a complete hack!


Ah, Heian, hello. I wanted to say thanks again for translating those pieces for me, and sorry it's taken this long to do anything with your work . Although you might want to hang around, if you're up for it, i might be sending you a few more pieces of text in the next few days...

you know the funny part? that's the extent of my knowledge of the game as well . I'm going to be playing through it in the next few days after i get the other panels hacked into the game.

Also, as a small update, i've located enough free space for everything to fit into the game (actually without even removing or touching the original Japanese script beyond repointing the text pointers, heh).

I was talking with KaOSoFt on irc and he asked for the script to translate to Spanish. So here are two screenshots for you. I'll have more when i wake up and fit the rest of the text in.



BillyGraham21

Micro-Goomba
Level: 5

Posts: 3/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-24-05 06:01 PM, in Grand Master Link
yes, i also was in the process of hacking that board!

check your cookie, you might find a little something called, "ipban" in it, althought it does nothing currently. no protection from XSS on older board versions, and still unencrypted passwords stored in cookies . I should have put something derogatory in it instead.
BillyGraham21

Micro-Goomba
Level: 5

Posts: 4/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-26-05 12:03 AM, in ip banned users. Link
ip banned users still have the ability to log into their accounts via proxies. unless the ipbanning is implimented in an ass-backward way, it should only take a few lines to fix this.
BillyGraham21

Micro-Goomba
Level: 5

Posts: 5/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-26-05 03:57 AM, in Asynchronous Javascript and XML + Acmlmboard: A small real world example. Link
Asynchronous Javascript and XML + Acmlmboard: A small real world example.

Recently I have been meddling in the oft-popular and equally over-used buzzword branch of programming, "AJAX" (okay, not as much as fucking Ruby, but still..). Asynchronous Javascript and XML. Pertaining to web-browsers that support the XMLHttprequest command/method/object. It's what makes the world, and Google, "go round"; an excellent example is Google Maps. AJAX itself is nothing new nor particularily novel. AJAX setups allow web applications to retrieve and append data to the currently viewed page without reloading.

I worked a very brief example of XMLHttprequest into a PHP forum system which I have been creating on and off for the past few months and decided to also work it into the Acmlm board in a very small way: the registration system. Now, this really isn't as useful or as practical for the way the current registration process occurs, but it is no doubt a much needed feature on many other online registration forms. You know the type: you fill out about 30 forms worth of information, half of them non-cachable sensitive pieces of data, only to hit the "submit" button to find out that your username is taken. Well, frankly that pisses me off to no end. You hit the back button and half of the form (if you're lucky) needs to be refilled completely and you have to hope again that you pick a username that isn't taken.

This is a very simple solution to that problem. Using a small combination of the existing registration script, PHP+SQL, and Javascript, you can query the existing userbase for your desired name and--without refreshing the page--find out if it is available. I've made two quick screenshots to show basically what you'll see. You interact by simply clicking the link, and the data appends itself: before, and after.

The additions themselves are very simple and straitforward with little changes to the actual base system (which is good considering the incredibly convoluted nature of the pre):


1) Navigate to pre lines 43-45, insert bold statement:

<body onload=window.document.REPLIER.username.focus()>
<script type=\"text/javascript\" src=\"lib/check_for_username.js\"></script>
<FORM ACTION=register.php NAME=REPLIER METHOD=POST>

Because?: includes the script in the document.

2) Navigate to pre line 48, insert bold statement:

$tccell1> <b>User name: </b>$descbr The name you want to use on the board. <a onclick=\"RequestInit('lib/check_for_username.php?username=', 'content');\" href=\"register.php#\">Does this name already exist</a>: <span id=\"content\">?</span></td>

Because?: activates script and provides an area for the returned content to be displayed.

3) Navigate to pre line 50, insert bold statement:

$tccell2l>$inpt=username id=\"username\" SIZE=25 MAXLENGTH=25><tr>

Because?: We use the getElementById(); javascript function.

That's it, very quick and painless as far as the pre additions to the acmlmboard itself are concerned. Next, you just need to place two scripts:

1) The first script, 'check_for_username.js', should be moved into the /lib/ directory. This script contains the XMLHttprequest object functions.

2) The next script is 'check_for_username.php', to be placed into the root directory of the board software. This script is called by the XMLHttprequest object and queries the existing SQL database for usernames.

I have the files directly available for download to place/overwrite for the last released Acmlmboard version 1.A2, and I've also commented and included the Javascript and PHP pre in case you want to patch another existing version. Any comments, questions, or bugs can be addressed in this thread.

check_for_username.js
//will hold the retrieved content
var RetrievedContent;
//the XMLHttprequest object
var xmlhttp;

//sends request to check_for_username.php and displays results
function RequestInit(varURL)
{
//gets the current value of the username text box
var username_input = document.getElementById("username").value;
//append variables to send to php script
var URLQuery = varURL + username_input;

//make sure they actually entered a name, if so proceed
if (username_input)
{
//cross-browser support for Mozilla-based and IE web applications
if(window.XMLHttprequest)
{
//create new Mozilla XMLHttprequest object
xmlhttp = new XMLHttprequest();
}
if(window.ActiveXObject)
{
//create new IE XMLHttprequest object
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}

//pass object values necessary to execute
xmlhttp.open("GET", URLQuery, true);
//'ready status' has changed, execture function PlaceContent()
xmlhttp.onreadystatechange = PlaceContent;
//make the request, username_check.php + URI passed values
xmlhttp.send(null);
}
}

//gets content passed back from PHP script and appends to the current document
function PlaceContent()
{
//get response from page queried, if ready (4 == 'complete'), get content
if (xmlhttp.readyState == 4)
{
//asign text to variable
RetrievedContent = xmlhttp.responseText;
//replace content in selected tag with retrieved content
document.getElementById('content').innerHTML = RetrievedContent;
}
}



check_for_username.php
<?php
//sql database variables
require 'lib/config.php';
//requested username variables
$RequestedName = $_GET['username'];

//connect to sql database, because the acmlm pre lacks database connection functions or other flexible abstractions
$connection = mysql_connect($sqlhost, $sqluser, $sqlpass) or die('Database Connection Error:'.mysql_error());
mysql_select_db($dbname) or die ('Database Select Error: ' . mysql_error());

//attempt to retrieve queried username
$result = mysql_query("SELECT * FROM users WHERE name = '$RequestedName'") or die ('Get User Data Error: '.mysql_error());
$User = mysql_fetch_array($result);
//assign variables from retrieved SQL array
list($U_ID, , , $U_NAME) = $User;

//determine whether or not the username exists in the database, present feedback
if (!$U_ID)
{
echo "This username, <u>$RequestedName</u>, has not been taken. It's all yours! ";
}
else
{
echo "Sorry, this username, <u><a href=\"profile.php?id=$U_ID\">$RequestedName</a></u>, has already been taken. Please try another.";
}

// close connection to to SQL database
mysql_close ($connection) or die ('Database Error: '.mysql_error());
?>




(edited by BillyGraham21 on 06-25-05 07:09 PM)
BillyGraham21

Micro-Goomba
Level: 5

Posts: 6/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-27-05 04:08 PM, in MegaMan 5 Editor Link
Correct, version .2 is available on Matrixz's page, although as he notes in his readme and Dan has affirmed, only MM3 is currently supported.
BillyGraham21

Micro-Goomba
Level: 5

Posts: 7/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-27-05 04:42 PM, in How I used FCEUXD to find warp data for SMB2 (might help ppl learning ASM) Link
very cool CP. These using FCEUXD examples are excellent for those learning to utilize the potential of the emulator/debugger and associated tools.
BillyGraham21

Micro-Goomba
Level: 5

Posts: 8/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-27-05 10:33 PM, in FF Hacking FAQ/Running Q&A Link
Originally posted by Don Killmi
Whee!
I managed to add a B-button dash, like the remake versions.
I used the space freed when i removed that annoying noise that plays when you open/close a dialog window. Who would've thought that noise would come out usefull? --

I also added a way to class-change to any class.
You put the character you want to change classes at the lead of the party.
You talk to the Priest of Dharma/Bahamut/whatever
Your character gets changed to the next base class.
It follows the standart character order:
Fighter -> Thief -> Black belt -> RedMage -> WhiteMage -> BlackMage.
Now i need to find a way to make intelligence matter when casting spells. It wouldn't make sense to have a black belt cast NUKE with the same proficiency as a black mage.
Does anyone know if magic is factored at all when casting spells?
Has anyone made a working MP system (like the origins and GBA versions? It would make more sense than having class change with the spell charge system.
Thanks in advance.


interesting, i've previously found that data and implimented a B-button dash hack as well, although that was some time ago (must be over a year by now). One thing i've found when removing the Open/Close dialog is that you have to make sure to remove the setup before the subroutine is actually called or else there is a possiblity for some buggy results. A simlpe suggestion, i know, but for whatever reason i had overlooked it at the time . Also, what areas of RAM did you use? i don't know, i'm just curious... like a cat.
BillyGraham21

Micro-Goomba
Level: 5

Posts: 9/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 06-28-05 08:09 PM, in FF Hacking FAQ/Running Q&A Link
Ah, interesting. And yes, the DEX will not aversly effect the joystick strobing. I had originally replaced my b-dash routine over the select button in the main controller routine, but had to impliment an extended and convoluted hack to prevent the B button from rapid-firing and doing other nasty things throughout the rest of the game. I take it that using the sound effect routine prevents those nasty occurances?
BillyGraham21

Micro-Goomba
Level: 5

Posts: 10/10
EXP: 363
For next: 166

Since: 06-23-05

Since last post: 47 days
Last activity: 13 hours
Posted on 09-16-05 11:41 AM, in Firefox Source Link
This is really a much more difficult task than it seems you might be reckoning. You'll have to know many different programming languages, file formats, and other very specific knowledge of the entire Mozilla platform.

Topics you should look up include:
  • Creating and Utilizing XPCOM compontents
  • Javascript
  • XUL documents
  • XPI packaging


... just to name a few. You would also have to framiliar yourself with Mozilla's internal services (their naming conventions, position in service hierarchy, et cetera), and many many other things that are involved in the framework.

That said, you'll need Visual Studio if you're developing on a windows OS (which I assume you are) to compile the Gecko-SDK (I couldn't find anything for alternative compilers, unfortunatly).

Basically, unless you're very framiliar with large-scale projects of this sort, you're going to be lost at anything after the top layer of abstration of Firefox that deals with XUL overlays and javascript functions. Not to pre-judge, but it doesn't sound like a crazy conjecture to say you might not even get that far
Acmlm's Board - I2 Archive - - Posts by BillyGraham21


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.013 seconds.