Author Topic: Someone should revive the Online Hex Disassembler...  (Read 31792 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #105 on: February 20, 2010, 04:15:42 am »
I didn't said frames, I said iframes

iframe != frame

This board runs on PHP4, therefore, PHP5 files cannot be integrated directly into it, meaning if we want to use your software directly inside our board, it needs to be iframed. Otherwise, if you can do it for PHP4 I guess we might be good. Then the only issue would be to figure out how to integrate it x.x

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #106 on: February 20, 2010, 10:13:56 am »
I didn't said frames, I said iframes

iframe != frame

This board runs on PHP4, therefore, PHP5 files cannot be integrated directly into it, meaning if we want to use your software directly inside our board, it needs to be iframed. Otherwise, if you can do it for PHP4 I guess we might be good. Then the only issue would be to figure out how to integrate it x.x
In my last post context frames are any kind of frames (frameset or iframe).

The way the hex disassembler scripts are done (in 2 parts) makes it possible to avoid iframes. You can use iframes if you want, anyway.
The board works on PHP4 but from what you posted files with .php5 extension are run with PHP5.
 So just put the HTML front-end (online_asm_file_unsquish.html content) in an article or forum post with HTML and it will direct control to the php5 script.
"online_asm_file_unsquish.html" is just plain HTML that passes the input to unsquisher.php that does the job.

So if you rename unsquisher.php to unsquisher.php5 and change the online_asm_file_unsquish.html to give action to unsquisher.php5 it will work in this host by what I understood.

I could do the Hex Disassembler in one script but I intentionally do this way counting with some circumstances, hopefully covers this one.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #107 on: February 20, 2010, 11:37:49 am »
aaah ok, would the program be able to retrieve the data from the forums after page reloaded, though? I doN,t know much how cookies are dealt with on forums and if your stuff uses any

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #108 on: February 20, 2010, 11:54:39 am »
aaah ok, would the program be able to retrieve the data from the forums after page reloaded, though? I doN,t know much how cookies are dealt with on forums and if your stuff uses any
Well the script takes you away from the forum. You can go back to the forums without problems just there is no link to go back to forum index. So a link to go back should be added in unsquisher script to the forum index...
No cookies are used.

I comprehend your doubts about website software design. In a brief clarification the websites software design is different of normal computer software. Computer software is like one large block of program. Web software is more like many separated programs. (this comparison needs time to be though and written...)
Trying other way and more practical, it is much easier and safer to develop "extensions" or "add-ins" for websites [software] than computer ones because in websites the scripts are more independent from others.
« Last Edit: February 20, 2010, 12:07:10 pm by Galandros »
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #109 on: February 20, 2010, 01:57:59 pm »
It could maybe be made as a SMF mod

http://docs.simplemachines.org/index.php?board=95.0;sort=subject

But yeah I think the best thing to do would be that the thing is coded so it can be easily embeeded in the site, then I upload it, else you would need admin access to Omnimaga forums and FTP then you try to code it in without modifying the SMF PHP files (which would cause the forum to no longer be upgradeable if a new version of SMF addressing security flaws is released in the future)


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #110 on: March 09, 2010, 05:16:24 pm »
* DJ Omnimaga wonders if you had any luck with this

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #111 on: March 12, 2010, 08:23:59 pm »
on a side note i have just gotten a shell that actually can do shelly things so if you want to us it to host/test it your more then welcome to (pm me if you want to :) )

http://57o9.org/~geekboy/onlinespasm/OnlineCodeCounter.php
(btw for that to work i had to edit the php file to redirect to /~geekboy as i cant host in root)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #112 on: March 12, 2010, 08:26:56 pm »
ooh nice, I hope this one remains up permanently, tho?

At one point I planned to have a new navbar button that links to both SourceCoder and Galandros ASM tools

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #113 on: March 12, 2010, 08:33:37 pm »
the only reason i could see it going down is if i get my self banned from the group(doubt it will happen(highly doubt) ) the only other reason is the group disbands and such but i also doubt that for a very long time



Edit: looking at the php files again i see that they are not the same as they used to be so i kindly ask galandros to pm me the working files or post them so i can reup them and make sure it actually works
 y in advanced
« Last Edit: March 12, 2010, 08:47:05 pm by Geekboy1011 »

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #114 on: March 14, 2010, 10:34:19 am »
Roger that.
When I get a hole in time that is free, I will do the PHP4 version of hex disassembler and reupload the source.
I hope I have some time soon. This reminds that there is PHP stuff I wanted to do. xD

EDIT: the uploaded Code Counter unfortunately doesn't work geekboy. This gives me the idea to add some code to check requirements that help anyone hosting it...

I am now also moving to Linux after the Windows 7 has expired, Windows XP doesn't boot and I managed somehow to make the sound card work in Linux (installed OSS and removed ALSA IIRC). :P
For using Linux at full time I need sound to hear music and watch movies. :D I need to install LAMPP in Linux for PHP testing.
Because most hosts are Linux I will add tarbal (.tar i.e. archive with files) support for assembling. (no need to upload files one by one)
« Last Edit: March 14, 2010, 10:41:54 am by Galandros »
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #115 on: March 14, 2010, 06:46:07 pm »
I hope your work/school schedule won,t become hectic to the point where you are forced to leave :( (like last Summer)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #116 on: March 23, 2010, 03:26:07 am »
Hey Galandros, for now, I linked to your unsquisher in a newly added site page (see "MISC" button in navbar or click below):

http://www.omnimaga.org/index.php?action=ezportal;sa=page;p=7

Let me know if the URL gets updated

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #117 on: March 23, 2010, 03:50:26 pm »
That's nice. Thanks. :]

I will start to recover some the lost free time lately in the next few days. I will work on the PHP4 version ASAP.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #118 on: March 23, 2010, 03:53:10 pm »
cool ^^

With PHP4 version I could probably host it myself ^^ (probably through a sub-domain where you have FTP access so you can update it)
« Last Edit: March 23, 2010, 03:54:49 pm by DJ Omnimaga »

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #119 on: March 29, 2010, 07:50:22 am »
Bump ;D

I did the PHP4 version. ;) Tested and working. (it took a bit to find an old XAMPP version with PHP4 to fully test)
Instructions in the readme. (just copy the files and rename the unsquishPHP4.php to unsquish.php)

If you give me ftp account (PM me), I can do it for you. After that just use the link.

Oh, download the attach. The Hex Disassembler is in the "Online TI-83 Plus asm program file unsquisher" folder, of course.
« Last Edit: March 29, 2010, 08:02:02 am by Galandros »
Hobbing in calculator projects.