Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Development
HabCtl - The Complete Tool For Habbo Retro
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jepzter" data-source="post: 447739" data-attributes="member: 81100"><p>Hi, sorry I have not updated this yet. The development is ongoing but has been off for a week and a half due to a lot to do at work. Im hoping to make some progress on the remaining issues this weekend and will then share the first version <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> Hope you can hold on for a brief time, and sorry for the delay. <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p></p><p>This is what happens when you run HabCtl with the flag "install" and afterwards "start"</p><p><img src="https://i.gyazo.com/1482546fd753a1d15803724609474b16.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>Accessing the localhost:8080 (apache docker image) running synced with php and mysql</p><p></p><p></p><p>[CODE=php]<h1>HABCTL</h1></p><p><h4>Attempting MySQL connection from php...</h4></p><p><?php</p><p>$host = 'mysql';</p><p>$user = 'root';</p><p>$pass = 'pw';</p><p>$conn = new mysqli($host, $user, $pass);</p><p></p><p>if ($conn->connect_error) {</p><p> die("Connection failed: " . $conn->connect_error);</p><p>}</p><p>echo "Connected to MySQL successfully!";</p><p>?>[/CODE]</p><p><img src="https://i.gyazo.com/669917ec36f10129d2b8058743a06d77.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>I currently don't have a habbo cms to test with, but anyone should go.</p><p>The Habbo emulator Im testing with is facing issues with connecting to Mysql which is the current issue right now</p><p></p><p>Code snippet for either downloading or copy files locally</p><p></p><p>[CODE]func HandleFiles(c *cli.Context, index int, file File) int64 {</p><p></p><p> arg := c.Args().Get(index)</p><p></p><p> if len(arg) > 0 && arg[0:1] == "/" || len(arg) > 0 && arg[0:2] == "./"{</p><p></p><p> err := copyFiles(c.Args().Get(index), file)</p><p></p><p> if err == nil {</p><p></p><p> return 1</p><p></p><p> }</p><p></p><p> } else if len(arg) > 0 && arg[1:4] == "http" {</p><p></p><p> // Go ahead and download the user-preferred downloaded file</p><p></p><p> log.Printf("Downloading from %s", c.Args().Get(3))</p><p></p><p> return Download(file)</p><p></p><p> }</p><p></p><p> return 0</p><p></p><p>}[/CODE]</p><p></p><p>HabCtl is also spinning up a phpMyAdmin container with no configurations needed. Hope that some enjoy that feature <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Jepzter, post: 447739, member: 81100"] Hi, sorry I have not updated this yet. The development is ongoing but has been off for a week and a half due to a lot to do at work. Im hoping to make some progress on the remaining issues this weekend and will then share the first version :) Hope you can hold on for a brief time, and sorry for the delay. :) This is what happens when you run HabCtl with the flag "install" and afterwards "start" [IMG]https://i.gyazo.com/1482546fd753a1d15803724609474b16.png[/IMG] Accessing the localhost:8080 (apache docker image) running synced with php and mysql [CODE=php]<h1>HABCTL</h1> <h4>Attempting MySQL connection from php...</h4> <?php $host = 'mysql'; $user = 'root'; $pass = 'pw'; $conn = new mysqli($host, $user, $pass); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected to MySQL successfully!"; ?>[/CODE] [IMG]https://i.gyazo.com/669917ec36f10129d2b8058743a06d77.png[/IMG] I currently don't have a habbo cms to test with, but anyone should go. The Habbo emulator Im testing with is facing issues with connecting to Mysql which is the current issue right now Code snippet for either downloading or copy files locally [CODE]func HandleFiles(c *cli.Context, index int, file File) int64 { arg := c.Args().Get(index) if len(arg) > 0 && arg[0:1] == "/" || len(arg) > 0 && arg[0:2] == "./"{ err := copyFiles(c.Args().Get(index), file) if err == nil { return 1 } } else if len(arg) > 0 && arg[1:4] == "http" { // Go ahead and download the user-preferred downloaded file log.Printf("Downloading from %s", c.Args().Get(3)) return Download(file) } return 0 }[/CODE] HabCtl is also spinning up a phpMyAdmin container with no configurations needed. Hope that some enjoy that feature :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Development
HabCtl - The Complete Tool For Habbo Retro
Top